RE: Access denied with jk1 and iis
I think this may have something to do with the IIS server handling web sites for two different ip addresses. Christoph > -Original Message- > From: Chris Donges > Sent: Wednesday, 10 December 2003 11:18 AM > To: [EMAIL PROTECTED] > Subject: Access denied with jk1 and iis > > > > I have a site running ok with tomcat and can browse at port 8080. > > I have set up the jk1 redirector and when I first try to open > a jsp page I get "error: access denied" in the web browser. > The second time I try to open a jsp page I just get the > source of the jsp page. I think the isapi_redirector.dll is crashing. > > Can somebody please help or give me more information? I have > included the debug output from jk. > > > Christoph > > > ~ > > [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (1018)]: Using > registry. > [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (1020)]: Using > log file C:\web\tomcat\logs\jk.log. > [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (1021)]: Using > log level 0. > [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (1022)]: Using > extension uri /jakarta/isapi_redirect.dll. > [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (1023)]: Using > worker file C:\web\tomcat\conf\workers.properties. > [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (1024)]: Using > worker mount file C:\web\tomcat\conf\uriworkermap.properties. > [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (1025)]: Using > uri select 0. > [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (172)]: Into > jk_uri_worker_map_t::uri_worker_map_alloc > [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (375)]: Into > jk_uri_worker_map_t::uri_worker_map_open > [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (396)]: > jk_uri_worker_map_t::uri_worker_map_open, rule map size is 1 > [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (299)]: Into > jk_uri_worker_map_t::uri_worker_map_open, suffix rule > /***.**.**.**/webtest/.jsp=defworker was added > [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (408)]: Into > jk_uri_worker_map_t::uri_worker_map_open, there are 1 rules > [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (422)]: > jk_uri_worker_map_t::uri_worker_map_open, done > [Wed Dec 10 11:21:11 2003] [jk_worker.c (88)]: Into wc_open > [Wed Dec 10 11:21:11 2003] [jk_worker.c (222)]: Into > build_worker_map, creating 1 workers > [Wed Dec 10 11:21:11 2003] [jk_worker.c (228)]: > build_worker_map, creating worker defworker > [Wed Dec 10 11:21:11 2003] [jk_worker.c (148)]: Into wc_create_worker > [Wed Dec 10 11:21:11 2003] [jk_worker.c (162)]: > wc_create_worker, about to create instance defworker of ajp13 > [Wed Dec 10 11:21:11 2003] [jk_ajp13_worker.c (108)]: Into > ajp13_worker_factory > [Wed Dec 10 11:21:11 2003] [jk_worker.c (171)]: > wc_create_worker, about to validate and init defworker > [Wed Dec 10 11:21:11 2003] [jk_ajp_common.c (1343)]: Into > jk_worker_t::validate > [Wed Dec 10 11:21:11 2003] [jk_ajp_common.c (1364)]: In > jk_worker_t::validate for worker defworker contact is 127.0.0.1:8009 > [Wed Dec 10 11:21:11 2003] [jk_ajp_common.c (1397)]: Into > jk_worker_t::init > [Wed Dec 10 11:21:11 2003] [jk_ajp_common.c (1421)]: In > jk_worker_t::init, setting socket timeout to 300 > [Wed Dec 10 11:21:11 2003] [jk_worker.c (187)]: > wc_create_worker, done > [Wed Dec 10 11:21:11 2003] [jk_worker.c (238)]: > build_worker_map, removing old defworker worker > [Wed Dec 10 11:21:11 2003] [jk_worker.c (250)]: > build_worker_map, done > [Wed Dec 10 11:21:11 2003] [jk_worker.c (111)]: wc_open, done 1 > [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (655)]: > Detected IIS >= 5.0 > [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (696)]: > HttpFilterProc started > [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (759)]: In > HttpFilterProc Virtual Host redirection of > /***.**.***.**/webtest/test.jsp > [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (460)]: Into > jk_uri_worker_map_t::map_uri_to_worker > [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (477)]: > Attempting to map URI '/***.**.***.**/webtest/test.jsp' > [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (558)]: > jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match > defworker -> *.jsp > [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (775)]: > HttpFilterProc [/webtest/test.jsp] is a servlet url - should > redirect to defworker > [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (838)]: > HttpFilterProc check if [/webtest/test.jsp] is points to the > web-inf directory > [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (190)]: Into > jk_uri_worker_map_t::uri_worker_map_free > [Wed Dec
Problems with jk2 and iis
I am having problems with jk2 and iis. I am getting the following errors in my application log: Error: [jk_worker_api13.c (740)]: api13.init(): No channel localhost:8009 Error: [jk_workerEnv.c (193)]: workerEnv.initWorkers() init failed for ajp13:localhost:8009 Then if I try to open a jsp I get: The servlet container is temporary unavailable or being upgraded Can somebody help please? Christoph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Access denied with jk1 and iis
I have a site running ok with tomcat and can browse at port 8080. I have set up the jk1 redirector and when I first try to open a jsp page I get "error: access denied" in the web browser. The second time I try to open a jsp page I just get the source of the jsp page. I think the isapi_redirector.dll is crashing. Can somebody please help or give me more information? I have included the debug output from jk. Christoph ~ [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (1018)]: Using registry. [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (1020)]: Using log file C:\web\tomcat\logs\jk.log. [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (1021)]: Using log level 0. [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (1022)]: Using extension uri /jakarta/isapi_redirect.dll. [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (1023)]: Using worker file C:\web\tomcat\conf\workers.properties. [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (1024)]: Using worker mount file C:\web\tomcat\conf\uriworkermap.properties. [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (1025)]: Using uri select 0. [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (172)]: Into jk_uri_worker_map_t::uri_worker_map_alloc [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (375)]: Into jk_uri_worker_map_t::uri_worker_map_open [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (396)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size is 1 [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (299)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /***.**.**.**/webtest/.jsp=defworker was added [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (408)]: Into jk_uri_worker_map_t::uri_worker_map_open, there are 1 rules [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (422)]: jk_uri_worker_map_t::uri_worker_map_open, done [Wed Dec 10 11:21:11 2003] [jk_worker.c (88)]: Into wc_open [Wed Dec 10 11:21:11 2003] [jk_worker.c (222)]: Into build_worker_map, creating 1 workers [Wed Dec 10 11:21:11 2003] [jk_worker.c (228)]: build_worker_map, creating worker defworker [Wed Dec 10 11:21:11 2003] [jk_worker.c (148)]: Into wc_create_worker [Wed Dec 10 11:21:11 2003] [jk_worker.c (162)]: wc_create_worker, about to create instance defworker of ajp13 [Wed Dec 10 11:21:11 2003] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Wed Dec 10 11:21:11 2003] [jk_worker.c (171)]: wc_create_worker, about to validate and init defworker [Wed Dec 10 11:21:11 2003] [jk_ajp_common.c (1343)]: Into jk_worker_t::validate [Wed Dec 10 11:21:11 2003] [jk_ajp_common.c (1364)]: In jk_worker_t::validate for worker defworker contact is 127.0.0.1:8009 [Wed Dec 10 11:21:11 2003] [jk_ajp_common.c (1397)]: Into jk_worker_t::init [Wed Dec 10 11:21:11 2003] [jk_ajp_common.c (1421)]: In jk_worker_t::init, setting socket timeout to 300 [Wed Dec 10 11:21:11 2003] [jk_worker.c (187)]: wc_create_worker, done [Wed Dec 10 11:21:11 2003] [jk_worker.c (238)]: build_worker_map, removing old defworker worker [Wed Dec 10 11:21:11 2003] [jk_worker.c (250)]: build_worker_map, done [Wed Dec 10 11:21:11 2003] [jk_worker.c (111)]: wc_open, done 1 [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (655)]: Detected IIS >= 5.0 [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /***.**.***.**/webtest/test.jsp [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/***.**.***.**/webtest/test.jsp' [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match defworker -> *.jsp [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (775)]: HttpFilterProc [/webtest/test.jsp] is a servlet url - should redirect to defworker [Wed Dec 10 11:21:11 2003] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/webtest/test.jsp] is points to the web-inf directory [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (190)]: Into jk_uri_worker_map_t::uri_worker_map_free [Wed Dec 10 11:21:11 2003] [jk_uri_worker_map.c (441)]: Into jk_uri_worker_map_t::uri_worker_map_close [Wed Dec 10 11:21:11 2003] [jk_worker.c (118)]: Into wc_close [Wed Dec 10 11:21:11 2003] [jk_worker.c (199)]: close_workers got 1 workers to destroy [Wed Dec 10 11:21:11 2003] [jk_worker.c (206)]: close_workers will destroy worker defworker [Wed Dec 10 11:21:11 2003] [jk_ajp_common.c (1461)]: Into jk_worker_t::destroy [Wed Dec 10 11:21:11 2003] [jk_ajp_common.c (1468)]: Into jk_worker_t::destroy up to 10 endpoint to close [Wed Dec 10 11:21:11 2003] [jk_worker.c (120)]: wc_close, done - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem with tomcat, iis and jk2
Those jk1 docs have an error that I have corrected. logLevel in the registry should be log_level. Christoph > -Original Message- > From: Mark Eggers [mailto:[EMAIL PROTECTED] > Sent: Thursday, 4 December 2003 8:50 AM > To: Tomcat Users List > Subject: Re: Problem with tomcat, iis and jk2 > > > See the following, among others: > > http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatWeb > > /mde/ > just my two cents . . . . > > __ > Do you Yahoo!? > Free Pop-Up Blocker - Get it now > http://companion.yahoo.com/ > > - > 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]
Problem with tomcat, iis and jk2
I am having trouble getting jk installed correctly. It seems no matter what I do I always get the red arrow in the isapi-filters tab. I am using tomcat 4.1, iis 5 and jk 2.0.2. Can someone please help me? Is thre any way I can find out more information on why it's not working. It doesn't seem to create any log files. Windows registry: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\2.0] "severRoot"="C:\\j2sdk1.4.2\\tomcat-4.1.24" "extensionUri"="/tomcat/isapi_redirector2.dll" "workersFile"="C:\\j2sdk1.4.2\\tomcat-4.1.24\\conf\\workers2.properties" "logLevel"="DEBUG" workers2.properties: [logger.file:0] level=INFO file=c:/j2sdk1/tomcat-4.1.24/logs/iis_jk2.log [shm:] info=Shared memory file. Required for multiprocess servers file=C:\j2sdk1.4.2\tomcat-4.1.24\work\jk2.shm size=100 [ajp13:localhost:8009] info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol channel=channel.socket:localhost:8009 [uri:/examples/jsp/*.jsp] info=JSP examples, map requests for all JSP pages to Tomcat. Context=/examples/jsp [uri:/examples/servlets/*] info=Servlet examples, map requests for all servets to Tomcat context=/examples/servlet uriworkermap.properties: /examples/*=testWorker /examples/*.jsp=testWorker /examples/servlet/*=testWorker tomcat startup messages: 3/12/2003 23:04:53 org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information 3/12/2003 23:04:53 org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance 3/12/2003 23:04:54 org.apache.commons.modeler.Registry getServer INFO: Creating MBeanServer 3/12/2003 23:04:55 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.24 3/12/2003 23:05:01 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8080 3/12/2003 23:05:01 org.apache.jk.server.JkMain start INFO: APR not loaded, disabling jni components: java.io.IOException: no jkjni in java.library.path 3/12/2003 23:05:01 org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 3/12/2003 23:05:01 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/40 config=C:\j2sdk1.4.2\tomcat-4.1.24\conf\jk2.pro perties - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]