Where is uriworkermap.properties??
Hi all, I've been using tomcat 3.3.1 (on Windows with IIS) for some time now and decided to upgrade to the latest (4.1.18). Were can I get these files that were missing from the conf directory: uriworkermap.properties workers.properties Thanks in advance Antoni Unkovich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
IIS and uriworkermap.properties
Hi, I am still new to Tomcat but was hoping someone could provide some insight on how this properties file is used and how I can eliminate all the calls to Tomcat for static data. I still do not have a complete grasp of contexts but I would like to direct any incoming URL-Path patterns to Tomcat only if they handle JSP or Servlets. I have been reading the Tomcat IIS howto but it is limited at best. I am using Tomcat 3.2.4 with IIS. Any insight would be appreciated. Thanks, Daniel Egan Phone 401-421-7740 X396 Email [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS and uriworkermap.properties
All you have to do is include the URL patterns you want passed to tomcat in the uriworkermap.properties files. For Example: snippet of uriworkermap.properties # Example URL URI combination /demo.somesite.com/ams/*.jsp=$(default.worker) # Example URI only /ams/*.jsp=$(default.worker) # Example pass everything /ams/reports/=$(default.worker) /ams/reports/*=$(default.worker) # Example, pass specific document only to a specific named instance # where named instance is defined in workers.properties /content.jsp=public /snippet Everything else (ie: /ams/images/some.gif) should be served out of the IIS structure (ie: wwwroot/ams/images) Hope this helps! John cute, pithy quote removed for the benefit of others -Original Message- From: Dan Egan [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 2:55 PM To: [EMAIL PROTECTED] Subject: IIS and uriworkermap.properties Hi, I am still new to Tomcat but was hoping someone could provide some insight on how this properties file is used and how I can eliminate all the calls to Tomcat for static data. I still do not have a complete grasp of contexts but I would like to direct any incoming URL-Path patterns to Tomcat only if they handle JSP or Servlets. I have been reading the Tomcat IIS howto but it is limited at best. I am using Tomcat 3.2.4 with IIS. Any insight would be appreciated. Thanks, Daniel Egan Phone 401-421-7740 X396 Email [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS and uriworkermap.properties
Thanks, John I will give it a try :) -Original Message- From: John Roth [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 3:22 PM To: 'Tomcat Users List' Subject: RE: IIS and uriworkermap.properties All you have to do is include the URL patterns you want passed to tomcat in the uriworkermap.properties files. For Example: snippet of uriworkermap.properties # Example URL URI combination /demo.somesite.com/ams/*.jsp=$(default.worker) # Example URI only /ams/*.jsp=$(default.worker) # Example pass everything /ams/reports/=$(default.worker) /ams/reports/*=$(default.worker) # Example, pass specific document only to a specific named instance # where named instance is defined in workers.properties /content.jsp=public /snippet Everything else (ie: /ams/images/some.gif) should be served out of the IIS structure (ie: wwwroot/ams/images) Hope this helps! John cute, pithy quote removed for the benefit of others -Original Message- From: Dan Egan [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 2:55 PM To: [EMAIL PROTECTED] Subject: IIS and uriworkermap.properties Hi, I am still new to Tomcat but was hoping someone could provide some insight on how this properties file is used and how I can eliminate all the calls to Tomcat for static data. I still do not have a complete grasp of contexts but I would like to direct any incoming URL-Path patterns to Tomcat only if they handle JSP or Servlets. I have been reading the Tomcat IIS howto but it is limited at best. I am using Tomcat 3.2.4 with IIS. Any insight would be appreciated. Thanks, Daniel Egan Phone 401-421-7740 X396 Email [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
uriworkermap.properties ???
I have IIs and tomcat on 2 different machines and they work perfectly. But when I add a new context in tomcat, that does not write it in the uriworkermap.properties (which is on iis machine). How can I do that?? Thanks jc -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
How do I configure uriworkermap.properties in IIS?
Hi, How do I configure uriworkermap.properties to allow all jsp files on a virtual host that's not in the %CATALINDA_HOME% directory? Thanx, Alexander Höglind
TC 4.0.2-b2 + NT4 + mod_jk: uriworkermap.properties?
Have given up trying to get mod_webapp to work for now and am configuring mod_jk. So far, so good. Question: Is uriworkermap.properties used and, if so, how is it configured? Can't seem to find it in the documentation, except from a reference from an earlier TC version with IIS (uriworkermap.properties-auto). Here's what I'm using: - Apache 1.3.22 + TC 4.0.2-b2 + mod_jk.dll - NT 4 Server Someone recommended I put uriworkermap.properties in %CATALINA_HOME%\conf. Here is what I have in it: # # Simple worker configuration file # # Mount the servlet context to the ajp13 worker /servlet/*=ajp13 # Mount the examples context to the ajp13 worker /examples/*=ajp13 # Advanced mount of the examples context /examples/*.jsp=ajp13 /examples/servlet/*=ajp13 # ??? /dennis/*=ajp13 /root/*=ajp13 /manager/*=ajp13 # I don't know what it's doing or how it might be called. I have the following in my httpd.conf: # Adding Tomcat via mod_jk and ajp13 (WDJ) JkWorkersFile C:\PROGRA~1\jakarta-tomcat-4.0.2-b2\conf\workers.properties JkLogFileC:\PROGRA~1\APACHE~1\Apache\logs\mod_jk.log JkLogLevel info JkLogStampFormat [%a %b %d %H:%M:%S %Y] # And here's a little from my workers.properties: # # The workers that your plugins should create and work with # # Add 'inprocess' if you want JNI connector worker.list=ajp12, ajp13 # , inprocess # # Definition for Ajp13 worker # worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 # Thanks for any help you can provide. Dennis -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Getting IIS to pick up changes to uriworkermap.properties?
Ah-ha! That explains it. Thanks much! Christian -- Christian Cryder [[EMAIL PROTECTED]] Internet Architect, ATMReports.com Instant Messenger: ChristianSCryder Barracuda - http://barracuda.enhydra.org -- What a great time to be a Geek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] he.org]On Behalf Of Ignacio J. Ortega Sent: Monday, January 14, 2002 3:07 PM To: 'Tomcat Users List' Subject: RE: Getting IIS to pick up changes to uriworkermap.properties? De: Christian Cryder [mailto:[EMAIL PROTECTED]] Enviado el: lunes 14 de enero de 2002 22:40 Isapi_redirector.dll is loaded by inetinfo.exe, that's the IISAdmin service, so you need to Restart IISAdmin Service itself, not IIS alone.. Saludos , Ignacio J. Ortega -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Getting IIS to pick up changes to uriworkermap.properties?
Hi folks, I have followed the very excellent instructions at http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/ that describe how to integrate Tomcat 4.0.1 with IIS. At this point, I have everything working, but I am observing a (hopefully) minor problem. When I want to add a new webapp to Tomcat, I modify a) server.xml to point to the new web app directory (ie e:\test99) b) uriworkermap.properties to map the request url from IIS to Tomcat (/test99) Then I cycle both Tomcat and IIS services. What I notice, however, is that the new webapp is still not accesible until I reboot: if I try to access http://localhost:8080/test99 (Tomcat direct) I can get to it, but at http://localhost/test99 (IIS) I cannot. Consequently, it seems to me that Tomcat is picking up the changes (since I can access the app on its local 8080 port), but IIS is not. I am wondering if there is something else I need to do in order to get IIS to notice the change (short of actually rebooting *blech!*). Am I doing something stupid? Have I missed some essential piece of documentation? If anyone has any suggestions I'd love to hear them... Christian -- Christian Cryder [[EMAIL PROTECTED]] Internet Architect, ATMReports.com Instant Messenger: ChristianSCryder Barracuda - http://barracuda.enhydra.org -- What a great time to be a Geek -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Getting IIS to pick up changes to uriworkermap.properties?
De: Christian Cryder [mailto:[EMAIL PROTECTED]] Enviado el: lunes 14 de enero de 2002 22:40 Isapi_redirector.dll is loaded by inetinfo.exe, that's the IISAdmin service, so you need to Restart IISAdmin Service itself, not IIS alone.. Saludos , Ignacio J. Ortega -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Question regarding servlet/jsp mapping using uriworkermap.properties
I have a question regarding mapping with uriworkermap.properties. We have Tomcat running with IIS and I would like to set things up so that IIS serves up static content (html files) leaving Tomcat to handle JSP and Struts. My question is this: if the directories holding the JSPs are structured as follows: \myContext\jsp\a1\b1\ {some JSP files} \myContext\jsp\a1\b2\ {some JSP files} \myContext\jsp\a2\c1\ {some JSP files} \myContext\jsp\a3\c2\ {some JSP files} Can I map these to Tomcat using the following entries in uriworkermap.properties? \myContext\jsp\*.jsp=ajp12 Or will I need to specify a rule for each directory? \myContext\jsp\a1\b1\*.jsp=ajp12 \myContext\jsp\a1\b2\*.jsp=ajp12 \myContext\jsp\a2\c1\*.jsp=ajp12 \myContext\jsp\a3\c2\*.jsp=ajp12 Eric Wu Java Architect GlobalMedic Inc., a Canadian Medical Association subsidiary 8200 Decarie Blvd., Suite 205 Montreal, Qc. Canada, H4P 2P5 Tel: (514) 738-6770 Ext. 239 Fax: (514) 738-4827 Email: [EMAIL PROTECTED] Web: http://www.globalmedic.com/ Gold Medal Winner at the 2000 WWW Health Awards
AUTH: j_security uriworkermap.properties
Hi, because I get a error.-.message of [EMAIL PROTECTED] I post it once again: 1. I tried the FORM-authentification in Tomcat 3.2.1: login.jsp: form method=POST action=j_security_check Username: input type=text name=j_usernamebr Password: input type=password name=j_passwordbr br input type=submit value=login name=j_security_check /form I get the correct Form but when I press 'submit', I allways get the error: URL j_security_check not found So I searched for a java-class or a method inside a class which is called 'j_security_check' but found only a CONSTANT with this name and not method or class-file. What's the meaning of this URL and where should I declare it that TOMCAT can find it? 2. I cannot find any documentation about the uriworkermap.properties-auto file which is generate every time tomcat starts. In this file the default-worker is allways 'ajp12' but in mod-jk.conf I forward all contextes to 'ajp13'. I found only documentation for workers.properties but not of the file mentioned above. Please give me some hints Many thanks for your help, Peter
RE: format of uriworkermap.properties file?
AFAIK, you need to declare a foo context too.. because if you does not have a foo context the redirection should work but Tomcat does not find /foo/b.xml at all.. Its only a weird tought, Donald. Saludos , Ignacio J. Ortega -Mensaje original- De: Donald Ball [mailto:[EMAIL PROTECTED]] Enviado el: miércoles 30 de mayo de 2001 7:08 Para: [EMAIL PROTECTED] Asunto: format of uriworkermap.properties file? heya. i've got iis and tomcat-3.2.1 talking to each other, hurrah! now what i'd like to do is have iis pass all requests for a uri with a given extension, say .xml, on to tomcat, but i can't tell how to write that in uriworkermap.properties. my first guess would be: /*.xml=ajp12 but it doesn't seem to be work everywhere. /foo.xml is passed through to tomcat but /foo/bar.xml is not. is this the expected behavior? what should i put in my uriworkermap.properties file instead? is the format of that file actually documented anywhere? the tomcat+iis instruction page, while very helpful in getting things working, isn't terribly good as a reference. - donald
RE: format of uriworkermap.properties file?
On Wed, 30 May 2001, Ignacio J. Ortega wrote: AFAIK, you need to declare a foo context too.. because if you does not have a foo context the redirection should work but Tomcat does not find /foo/b.xml at all.. actually, the only context that tomcat is serving is the ROOT context. my .xml files live all over the web tree. - donald
format of uriworkermap.properties file?
heya. i've got iis and tomcat-3.2.1 talking to each other, hurrah! now what i'd like to do is have iis pass all requests for a uri with a given extension, say .xml, on to tomcat, but i can't tell how to write that in uriworkermap.properties. my first guess would be: /*.xml=ajp12 but it doesn't seem to be work everywhere. /foo.xml is passed through to tomcat but /foo/bar.xml is not. is this the expected behavior? what should i put in my uriworkermap.properties file instead? is the format of that file actually documented anywhere? the tomcat+iis instruction page, while very helpful in getting things working, isn't terribly good as a reference. - donald
Configuring uriworkermap.properties (ISAPI REDIRECTOR for Tomcat/IIS 5.0)
Hello I have managed to get IIS 5.0 to serve the JSP examples. I have added a context for my own files which are sitting under the Jakarta directory and this works fine. How can I get JSP files located under c:/inetpub/wwwroot/ to work ? I suspect I may have to add another context , can anyone help ? Many thanks Hamant
RE: Configuring uriworkermap.properties (ISAPI REDIRECTOR for Tomcat /IIS 5.0)
I believe you've answered your own question:) -Jamey -Original Message- From: test test [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 09, 2001 6:46 PM To: '[EMAIL PROTECTED]' Cc: Daniel Kang Subject: Configuring uriworkermap.properties (ISAPI REDIRECTOR for Tomcat /IIS 5.0) Hello I have managed to get IIS 5.0 to serve the JSP examples. I have added a context for my own files which are sitting under the Jakarta directory and this works fine. How can I get JSP files located under c:/inetpub/wwwroot/ to work ? I suspect I may have to add another context , can anyone help ? Many thanks Hamant
isapi_redirect.dll uriworkermap.properties and virtual hosts
hi all, tomcat version : 3.2.1 iis:5.0 (sp1) we have quite a view virtual web-sites hosted on iis (it is a running system so switching to apache is only a long term issue). now I would like to use apache-tomcat from within iis. the *simple* single server configuration is no problem - everything works great. but what I want is a tomcat-worker for every iis-virtual web. the problem is that, as far as I know, uriworkermap.properties only is capable of mapping the url-path, which is for instance /somecontext/*=someworker #defined in workers.properties and by design the isapi_redirect.dll only has one single location for the uriworkermap.properties file (under HKEY_LOCAL_MACHINE./worker_mount_file ), which is a kind of bottleneck. ( every virtual web site's filter looks in the *same* registry location an thus in the same uriworkermap.properties file! ). so my question: is it possible to include the host information somehow in the uriworkermap.properties file, or do I have to rewrite the isapi filter to be capable of obtaining multiple versions of the uriworkermap.properties file? (or has anybody already rewritten the isapi;-)) thanks in advance.
RE: isapi_redirect.dll uriworkermap.properties and virtual hosts
Hola Praher: Very interesting thoughts.. I will highly interested on help you to achieve this.., last C programmed 6 years ago :)... but we can try it.. what do you think? Saludos , Ignacio J. Ortega -Mensaje original- De: Jakob Praher [mailto:[EMAIL PROTECTED]] Enviado el: sábado 28 de abril de 2001 17:05 Para: [EMAIL PROTECTED] Asunto: isapi_redirect.dll uriworkermap.properties and virtual hosts hi all, tomcat version : 3.2.1 iis: 5.0 (sp1) we have quite a view virtual web-sites hosted on iis (it is a running system so switching to apache is only a long term issue). now I would like to use apache-tomcat from within iis. the *simple* single server configuration is no problem - everything works great. but what I want is a tomcat-worker for every iis-virtual web. the problem is that, as far as I know, uriworkermap.properties only is capable of mapping the url-path, which is for instance /somecontext/*=someworker #defined in workers.properties and by design the isapi_redirect.dll only has one single location for the uriworkermap.properties file (under HKEY_LOCAL_MACHINE./worker_mount_file ), which is a kind of bottleneck. ( every virtual web site's filter looks in the *same* registry location an thus in the same uriworkermap.properties file! ). so my question: is it possible to include the host information somehow in the uriworkermap.properties file, or do I have to rewrite the isapi filter to be capable of obtaining multiple versions of the uriworkermap.properties file? (or has anybody already rewritten the isapi;-)) thanks in advance.
AW: isapi_redirect.dll uriworkermap.properties and virtual hosts
Hola Ignacio, I would also give it a try. Some time ago I have already did some isapi-filter hacking. as far as I checked the source of isapi_redirect.c, I noticed that on initialization the worker_mount property, as all the others, get resolved and stored in a map like structure. iis stores it's virtual web site information in the iis metabase ( a directoy structure ). one obvious solution would be to add an extra key to the registry for every web site name: instead of: HKEY_LOCAL_MACHINE\Software\Apache ...\Jakart ..\1.0 extension_uri = ... log_file= '%TOMCAT_HOME%\isapi.log' log_level = 'debug' worker_file = '%TOMCAT_HOME%\conf\workers.properties' worker_mount_file = '%TOMCAT_HOME%\conf\uriworkermap.properties' we could add HKEY_LOCAL_MACHINE\Software\Apache ...\Jakart ..\2.0 virtual_web1\ extension_uri = ... log_file= '%TOMCAT_HOME%\isapi.log' log_level = 'debug' worker_file = '%TOMCAT_HOME%\conf\workers.properties' worker_mount_file = '%TOMCAT_HOME%\conf\uriworkermap.properties' virtual_web2\ extension_uri = ... log_file= '%TOMCAT_HOME%\isapi.log' log_level = 'debug' worker_file = '%TOMCAT_HOME%\conf\workers.properties' worker_mount_file = '%TOMCAT_HOME%\conf\uriworkermap.properties' the other obvious solution would be to store the information right in the meta-base of iis, which I would prefer. (if possible). what do you think about that? bye -Ursprüngliche Nachricht- Von: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Gesendet: Samstag, 28. April 2001 17:17 An: '[EMAIL PROTECTED]' Betreff: RE: isapi_redirect.dll uriworkermap.properties and virtual hosts Hola Praher: Very interesting thoughts.. I will highly interested on help you to achieve this.., last C programmed 6 years ago :)... but we can try it.. what do you think? Saludos , Ignacio J. Ortega -Mensaje original- De: Jakob Praher [mailto:[EMAIL PROTECTED]] Enviado el: sábado 28 de abril de 2001 17:05 Para: [EMAIL PROTECTED] Asunto: isapi_redirect.dll uriworkermap.properties and virtual hosts hi all, tomcat version : 3.2.1 iis: 5.0 (sp1) we have quite a view virtual web-sites hosted on iis (it is a running system so switching to apache is only a long term issue). now I would like to use apache-tomcat from within iis. the *simple* single server configuration is no problem - everything works great. but what I want is a tomcat-worker for every iis-virtual web. the problem is that, as far as I know, uriworkermap.properties only is capable of mapping the url-path, which is for instance /somecontext/*=someworker #defined in workers.properties and by design the isapi_redirect.dll only has one single location for the uriworkermap.properties file (under HKEY_LOCAL_MACHINE./worker_mount_file ), which is a kind of bottleneck. ( every virtual web site's filter looks in the *same* registry location an thus in the same uriworkermap.properties file! ). so my question: is it possible to include the host information somehow in the uriworkermap.properties file, or do I have to rewrite the isapi filter to be capable of obtaining multiple versions of the uriworkermap.properties file? (or has anybody already rewritten the isapi;-)) thanks in advance.
Clarification on uriworkermap.properties-auto
Title: Clarification on uriworkermap.properties-auto Does Tomcat read both uriworkermap.properties and uriworkermap.properties-auto? Or do I have to copy uriworkermap.properties-auto to uriworkermap.properties in order for Tomcat to use its entries? Thanks in advance for any help, Keith