Unable to redirect from Windows 2003 server 64 bit and IIS 6.0 to Tomcat 4.1.31 using JK2 ajp1.3
Hi everyone, Problem We believe we have all components installed properly but requests for Tomcat are not redirected. There are no errors in the Tomcat stderr or stdout logs, nor are any errors found in either the Windows application or system event logs. Requests to IIS root work and requests directly to Tomcat via 8080 work. We have the same environment working ok on Windows 2003 server 32 bit. Has anyone got Tomcat, JK2/ajp1.3 OR JK 1.2.14 working with IIS 6.0 under Microsoft 2003 Windows 64 bit? Thanks for your experience and ideas! Steve Environment Installed Microsoft Windows 2003 server SP1 in 64 bit mode w/ all patches IIS 6.0 - enabled for 32 bit child processes (instead of the default 64 bit mode) IIS 6.0 not in IIS 5.0 isolation mode (can't load isapi_redirector2.dll when set on) Tomcat 4.1.31 Tomcat connector - JK2 AJP/1.3 isapi_redirector2.dll (32 bit) ISAPII filter (Isapi_redirector2.dll) loaded and green under IIS manager for websites node ISAPI web service extension set to ALLOWED Registry entries under both 64 bit and 32 bit nodes are correct HKLM\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector 2.0 HKLM\SOFTWARE\Wow6432bitnode\Apache Software Foundation\Jakarta Isapi Redirector 2.0 Virtual directory created and working Workers2.properties: file=c:\Apache Group\Tomcat 4.1\logs\jk2.log [shm] info=Shared memory file. Required for multiprocess servers file=c:\Apache Group\Tomcat 4.1\work\jk2.shm size=100 [channel.socket:localhost:8009] info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol tomcatId=localhost:8009 [uri:/examples/*] info=JSP examples, map requests for all JSP pages to Tomcat. [uri:/servlets/*] info=Map the whole webapp. [uri:/srvConfig/*] info= map server's config servlet to outside [uri:/ae/GlmServlet/*] info=Company.com azAccess context=/ae/GlmServlet
== ADDENDA 2 very strange.... : the Isapi Log : Isapi redirector Installation problem betweeen IIs 6.0 and Tomcat 5.0.28 with redirector 1.2.8
Hi, I'm looking for some help, again Thanx in advance. Last test : When I'm installing on another server : Windows Server 200 SP4, it works fine !! So what ?? 4 days for nothing ??? Does Tomcat 5.0.x works on Windows 2003 ? Could windows 2003 works with Tomcat 5.0.x ? Could you help me please ** SOFT RELEASE My server : Windows server 2003 My Web server : IIS 6.0 My Tomcat server : 5.0.28 My JDK : JDK 1.4.2 My redirector : 1.2.8 * After the last mail exchange, I delete my jk2 connector and config. But all over the web I find only some help for an installation of Tomcat 4.x and IIS. With tomcat 5.0.28, the path for the samples directory and servlets are not the same. But even with some modifications in the uriworkermap.properties, I've got an error 404 from Tomcat... ** == Log ISAPI.log ** [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1040): Using registry. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1043): Using log file c:\Tomcat5\logs\isapi.log. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1044): Using log level 1. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1045): Using extension uri /jakarta/isapi_redirect.dll. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1046): Using worker file C:\Tomcat5\conf\worker.properties. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1047): Using worker mount file c:\Tomcat5\conf\uriworkermap.properties. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1049): Using uri select 0. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 7 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (406): exact rule /jsp-examples=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (382): match rule /jsp-examples/=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (360): suffix rule /jsp-examples/.jsp=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (382): match rule /servlets-examples/=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (406): exact rule /tomcat-docs=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (382): match rule /tomcat-docs/=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (360): suffix rule /.jsp=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_open::jk_uri_worker_map.c (478): there are 7 rules [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] build_worker_map::jk_worker.c (196): creating worker ajp13 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] wc_create_worker::jk_worker.c (120): about to create instance ajp13 of ajp13 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] wc_create_worker::jk_worker.c (133): about to validate and init ajp13 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_validate::jk_ajp_common.c (1721): worker ajp13 contact is localhost:8009 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1767): setting socket keepalive to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1806): setting socket timeout to -1 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1810): setting connection recycle timeout to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1814): setting cache timeout to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1818): setting connect timeout to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1822): setting reply timeout to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1826): setting prepost timeout to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1830): setting recovery opts to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1834): setting number of retries to 3 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1854): setting connection cache size to 1 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] build_worker_map::jk_worker.c (208): removing old ajp13 worker [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] HttpFilterProc::jk_isapi_plugin.c (636): Detected IIS = 5.0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] HttpFilterProc::jk_isapi_plugin.c (687): Filter started [Tue Apr 05 16:38:25
Re: == ADDENDA 2 very strange.... : the Isapi Log : Isapi redirector Installation problem betweeen IIs 6.0 and Tomcat 5.0.28 with redirector 1.2.8
I replyed to you yesterday. you are missing configuration for a coyote JK or AJP connector on port 8009 in server.xml bye -reynir [EMAIL PROTECTED] wrote: Hi, I'm looking for some help, again Thanx in advance. Last test : When I'm installing on another server : Windows Server 200 SP4, it works fine !! So what ?? 4 days for nothing ??? Does Tomcat 5.0.x works on Windows 2003 ? Could windows 2003 works with Tomcat 5.0.x ? Could you help me please ** SOFT RELEASE My server : Windows server 2003 My Web server : IIS 6.0 My Tomcat server : 5.0.28 My JDK : JDK 1.4.2 My redirector : 1.2.8 * After the last mail exchange, I delete my jk2 connector and config. But all over the web I find only some help for an installation of Tomcat 4.x and IIS. With tomcat 5.0.28, the path for the samples directory and servlets are not the same. But even with some modifications in the uriworkermap.properties, I've got an error 404 from Tomcat... ** == Log ISAPI.log ** [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1040): Using registry. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1043): Using log file c:\Tomcat5\logs\isapi.log. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1044): Using log level 1. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1045): Using extension uri /jakarta/isapi_redirect.dll. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1046): Using worker file C:\Tomcat5\conf\worker.properties. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1047): Using worker mount file c:\Tomcat5\conf\uriworkermap.properties. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1049): Using uri select 0. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 7 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (406): exact rule /jsp-examples=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (382): match rule /jsp-examples/=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (360): suffix rule /jsp-examples/.jsp=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (382): match rule /servlets-examples/=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (406): exact rule /tomcat-docs=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (382): match rule /tomcat-docs/=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (360): suffix rule /.jsp=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_open::jk_uri_worker_map.c (478): there are 7 rules [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] build_worker_map::jk_worker.c (196): creating worker ajp13 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] wc_create_worker::jk_worker.c (120): about to create instance ajp13 of ajp13 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] wc_create_worker::jk_worker.c (133): about to validate and init ajp13 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_validate::jk_ajp_common.c (1721): worker ajp13 contact is localhost:8009 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1767): setting socket keepalive to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1806): setting socket timeout to -1 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1810): setting connection recycle timeout to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1814): setting cache timeout to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1818): setting connect timeout to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1822): setting reply timeout to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1826): setting prepost timeout to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1830): setting recovery opts to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1834): setting number of retries to 3 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1854): setting connection cache size to 1 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] build_worker_map::jk_worker.c (208): removing old ajp13 worker [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] HttpFilterProc
== Isapi redirector Installation problem betweeen IIs 6.0 and Tomcat 5.0.28 with redirector 1.2.8
Hi, I'm looking for some help, again Thanx in advance. ** SOFT RELEASE My server : Windows server 2003 My Web server : IIS 6.0 My Tomcat server : 5.0.28 My JDK : JDK 1.4.2 My redirector : 1.2.8 * After the last mail exchange, I delete my jk2 connector and config. But all over the web I find only some help for an installation of Tomcat 4.x and IIS. With tomcat 5.0.28, the path for the samples directory and servlets are not the same. But even with some modifications in the uriworkermap.properties, I've got an error the page cannot be found... URL test : http://localhost/jsp-examples/index.html I'll try too with the data from http://www.reynir.net/java/greinar/nr/52;, without any results... *** MY ACTIONS *** ** * == 1 - Tests IIs and Tomcat without the connector : ** open url : http://localhost = IIs respond good open url : http://localhost:8080/ and http://localhost:8080/jsp-examples/index.html, works good ** * == 2 - Installing the Isapi filter : ** I copy the file in ht directory : c:\Tomcat5\bin\win32\i386\isapi_redirect.dll where CATALINA_HOME = c:\Tomcat5 and JAVA_HOME = c:\JDK ** * == 3 - Uddating the windows registry for ISAPI filter : ** [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] extension_uri=/jakarta/isapi_redirect.dll log_file=c:\\Tomcat5\\logs\\isapi.log worker_file=c:\\Tomcat5\\conf\\workers.properties) worker_mount_file=c:\\Tomcat5\\conf\\uriworkermap.properties log_level=debug ** * == 4 - Configuring Tomcat Workers (workers.properties file) ** worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13 worker.tomcat_home=C:\Tomcat5\ worker.java_home=C:\JDK ps=\ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=127.0.0.1 ** * == 5 - configuring the uriworkermap.properties ** /jsp-examples=ajp13 /jsp-examples/*=ajp13 /jsp-examples/*.jsp=ajp13 /servlets-examples/*=ajp13 /tomcat-docs=ajp13 /tomcat-docs/*=ajp13 /*.jsp=ajp13 ** * == 6 - Creating virtual directory under IIS ** Every thing indicates it's ok : green arrow, and the virtual directory is called : jakarta ** * == 7 - Adding the ISAPI filter to IIS ** With the Allow green flag ** * == 8 - Configuring the connector in tomcat's server.xml : ** Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/ Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener debug=0/ !-- Global JNDI resources -- GlobalNamingResources !-- Test entry for demonstration purposes -- Environment name=simpleValue type=java.lang.Integer value=30/ Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved /Resource ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams /GlobalNamingResources Service name=Catalina !-- Define a non-SSL Coyote HTTP/1.1 Connector on the port specified during installation -- Connector port=8080 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100 debug=9 connectionTimeout=2 disableUploadTimeout=true / !-- Define the top level container in our container hierarchy -- Engine name=Catalina defaultHost=localhost debug=9 !-- The request dumper valve dumps useful debugging information abou !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger
== Isapi redirector Installation problem betweeen IIs 6.0 and Tomcat 5.0.28 with redirector 1.2.8
Hi, I'm looking for some help, again Thanx in advance. ** SOFT RELEASE My server : Windows server 2003 My Web server : IIS 6.0 My Tomcat server : 5.0.28 My JDK : JDK 1.4.2 My redirector : 1.2.8 * After the last mail exchange, I delete my jk2 connector and config. But all over the web I find only some help for an installation of Tomcat 4.x and IIS. With tomcat 5.0.28, the path for the samples directory and servlets are not the same. But even with some modifications in the uriworkermap.properties, I've got an error the page cannot be found... URL test : http://localhost/jsp-examples/index.html I'll try too with the data from http://www.reynir.net/java/greinar/nr/52 , without any results... *** MY ACTIONS *** ** * == 1 - Tests IIs and Tomcat without the connector : ** open url : http://localhost = IIs respond good open url : http://localhost:8080/ and http://localhost:8080/jsp-examples/index.html, works good ** * == 2 - Installing the Isapi filter : ** I copy the file in ht directory : c:\Tomcat5\bin\win32\i386\isapi_redirect.dll where CATALINA_HOME = c:\Tomcat5 and JAVA_HOME = c:\JDK ** * == 3 - Uddating the windows registry for ISAPI filter : ** [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] extension_uri=/jakarta/isapi_redirect.dll log_file=c:\\Tomcat5\\logs\\isapi.log worker_file=c:\\Tomcat5\\conf\\workers.properties) worker_mount_file=c:\\Tomcat5\\conf\\uriworkermap.properties log_level=debug ** * == 4 - Configuring Tomcat Workers (workers.properties file) ** worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13 worker.tomcat_home=C:\Tomcat5\ worker.java_home=C:\JDK ps=\ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=127.0.0.1 ** * == 5 - configuring the uriworkermap.properties ** /jsp-examples=ajp13 /jsp-examples/*=ajp13 /jsp-examples/*.jsp=ajp13 /servlets-examples/*=ajp13 /tomcat-docs=ajp13 /tomcat-docs/*=ajp13 /*.jsp=ajp13 ** * == 6 - Creating virtual directory under IIS ** Every thing indicates it's ok : green arrow, and the virtual directory is called : jakarta ** * == 7 - Adding the ISAPI filter to IIS ** With the Allow green flag ** * == 8 - Configuring the connector in tomcat's server.xml : ** Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/ Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener debug=0/ !-- Global JNDI resources -- GlobalNamingResources !-- Test entry for demonstration purposes -- Environment name=simpleValue type=java.lang.Integer value=30/ Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved /Resource ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams /GlobalNamingResources Service name=Catalina !-- Define a non-SSL Coyote HTTP/1.1 Connector on the port specified during installation -- Connector port=8080 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100 debug=9 connectionTimeout=2 disableUploadTimeout=true / !-- Define the top level container in our container hierarchy -- Engine name=Catalina defaultHost=localhost debug=9 !-- The request dumper valve dumps useful debugging information abou !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger
Re: == Isapi redirector Installation problem betweeen IIs 6.0 and Tomcat 5.0.28 with redirector 1.2.8
hi, you dont have a connector in server.xml for jk requests ... you need to have ajp connector, defined something like this : Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=0 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ you have defiend worker.ajp13.port=8009 to use port 8009 so that should fit. hope it helps. -reynir.net [EMAIL PROTECTED] wrote: Hi, I'm looking for some help, again Thanx in advance. ** SOFT RELEASE My server : Windows server 2003 My Web server : IIS 6.0 My Tomcat server : 5.0.28 My JDK : JDK 1.4.2 My redirector : 1.2.8 * After the last mail exchange, I delete my jk2 connector and config. But all over the web I find only some help for an installation of Tomcat 4.x and IIS. With tomcat 5.0.28, the path for the samples directory and servlets are not the same. But even with some modifications in the uriworkermap.properties, I've got an error the page cannot be found... URL test : http://localhost/jsp-examples/index.html I'll try too with the data from http://www.reynir.net/java/greinar/nr/52 , without any results... *** MY ACTIONS *** ** * == 1 - Tests IIs and Tomcat without the connector : ** open url : http://localhost = IIs respond good open url : http://localhost:8080/ and http://localhost:8080/jsp-examples/index.html, works good ** * == 2 - Installing the Isapi filter : ** I copy the file in ht directory : c:\Tomcat5\bin\win32\i386\isapi_redirect.dll where CATALINA_HOME = c:\Tomcat5 and JAVA_HOME = c:\JDK ** * == 3 - Uddating the windows registry for ISAPI filter : ** [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0] extension_uri=/jakarta/isapi_redirect.dll log_file=c:\\Tomcat5\\logs\\isapi.log worker_file=c:\\Tomcat5\\conf\\workers.properties) worker_mount_file=c:\\Tomcat5\\conf\\uriworkermap.properties log_level=debug ** * == 4 - Configuring Tomcat Workers (workers.properties file) ** worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13 worker.tomcat_home=C:\Tomcat5\ worker.java_home=C:\JDK ps=\ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=127.0.0.1 ** * == 5 - configuring the uriworkermap.properties ** /jsp-examples=ajp13 /jsp-examples/*=ajp13 /jsp-examples/*.jsp=ajp13 /servlets-examples/*=ajp13 /tomcat-docs=ajp13 /tomcat-docs/*=ajp13 /*.jsp=ajp13 ** * == 6 - Creating virtual directory under IIS ** Every thing indicates it's ok : green arrow, and the virtual directory is called : jakarta ** * == 7 - Adding the ISAPI filter to IIS ** With the Allow green flag ** * == 8 - Configuring the connector in tomcat's server.xml : ** Server port=8005 shutdown=SHUTDOWN debug=0 Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/ Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener debug=0/ !-- Global JNDI resources -- GlobalNamingResources !-- Test entry for demonstration purposes -- Environment name=simpleValue type=java.lang.Integer value=30/ Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved /Resource ResourceParams name=UserDatabase parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams /GlobalNamingResources Service name=Catalina !-- Define a non-SSL Coyote HTTP/1.1 Connector on the port specified during installation -- Connector port=8080
== ADDENDA : the Isapi Log : Isapi redirector Installation problem betweeen IIs 6.0 and Tomcat 5.0.28 with redirector 1.2.8
Hi, I'm looking for some help, again Thanx in advance. ** SOFT RELEASE My server : Windows server 2003 My Web server : IIS 6.0 My Tomcat server : 5.0.28 My JDK : JDK 1.4.2 My redirector : 1.2.8 * After the last mail exchange, I delete my jk2 connector and config. But all over the web I find only some help for an installation of Tomcat 4.x and IIS. With tomcat 5.0.28, the path for the samples directory and servlets are not the same. But even with some modifications in the uriworkermap.properties, I've got an error 404 from Tomcat... ** == Log ISAPI.log ** [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1040): Using registry. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1043): Using log file c:\Tomcat5\logs\isapi.log. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1044): Using log level 1. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1045): Using extension uri /jakarta/isapi_redirect.dll. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1046): Using worker file C:\Tomcat5\conf\worker.properties. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1047): Using worker mount file c:\Tomcat5\conf\uriworkermap.properties. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] init_jk::jk_isapi_plugin.c (1049): Using uri select 0. [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 7 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (406): exact rule /jsp-examples=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (382): match rule /jsp-examples/=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (360): suffix rule /jsp-examples/.jsp=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (382): match rule /servlets-examples/=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (406): exact rule /tomcat-docs=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (382): match rule /tomcat-docs/=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_add::jk_uri_worker_map.c (360): suffix rule /.jsp=ajp13 was added [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] uri_worker_map_open::jk_uri_worker_map.c (478): there are 7 rules [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] build_worker_map::jk_worker.c (196): creating worker ajp13 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] wc_create_worker::jk_worker.c (120): about to create instance ajp13 of ajp13 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] wc_create_worker::jk_worker.c (133): about to validate and init ajp13 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_validate::jk_ajp_common.c (1721): worker ajp13 contact is localhost:8009 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1767): setting socket keepalive to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1806): setting socket timeout to -1 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1810): setting connection recycle timeout to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1814): setting cache timeout to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1818): setting connect timeout to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1822): setting reply timeout to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1826): setting prepost timeout to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1830): setting recovery opts to 0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1834): setting number of retries to 3 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] ajp_init::jk_ajp_common.c (1854): setting connection cache size to 1 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] build_worker_map::jk_worker.c (208): removing old ajp13 worker [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] HttpFilterProc::jk_isapi_plugin.c (636): Detected IIS = 5.0 [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] HttpFilterProc::jk_isapi_plugin.c (687): Filter started [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] HttpFilterProc::jk_isapi_plugin.c (753): Virtual Host redirection of /s0058/jsp-examples/index.html [Tue Apr 05 16:38:25 2005] [2440:3504] [debug] map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI '/s0058/jsp
IIS 6.0 and Tomcat
Hi all, Does anyone know if the mod_jk.dll is compatible with Windows 2003 ? I'm planning to buy a new system, so this will definitely influence in my decision. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS 6.0 and Tomcat
JK2 does not work with IIS6 -Original Message- From: webmaster [mailto:[EMAIL PROTECTED] Sent: 10. júlí 2003 13:23 To: [EMAIL PROTECTED] Subject: IIS 6.0 and Tomcat Hi all, Does anyone know if the mod_jk.dll is compatible with Windows 2003 ? I'm planning to buy a new system, so this will definitely influence in my decision. Thanks. - 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]