RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem - RESOLVED
Hi guys, Well, simply said, the Server Reboot magical solution made it work... (thanks David for that one) Now, did all the previous modifications (shm file, etc) also make the JK2 connector work too !? I don't know. In any case, all URLs are now working fine : http://localhost:8080/examples/ and http://localhost/examples/. Thanks to all of you who helped me, this is my 2nd day on this list and it really saved me a lot of time. For those still stuck with this problem, I would say : - follow the instructions (those on Apache's web site are complete. Just a note though : if you want to install the JK2 module, go to the last 2 chapters in the documentation that are -exclusively- reserved to the JK2 and not the JK1 module, as registry key/values are NOT the same for both modules ! This is something which is not very clear in the Apache documentation), - DOUBLE-CHECK the registry entries (the red arrow problem is mostly due to that), - REBOOT THE SERVER (guess this is IIS who requires it ? Or the Environment variable as Jason pointed out) !!! All this should (hopefully) make it work. I also just noticed that my tomcat installation path has spaces in it (I kept the initial proposed Apache Group\Tomcat 4.1 path), which some people say should be avoided. Well on Windows it doesn't seem to cause problem (maybe on Linux it would), and for me it works fine (for the moment...). Can someone confirm this ? Thanks a lot. Regards Alain -Message d'origine- De : Jason Bainbridge [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 17:50 À : Tomcat Users List Objet : Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Can you try a netstat -a and see if your machine is listening on port 8009? It could be the relevant section in CATALINA_HOME\conf\server.xml is commentedo ut. You shouldn't have to reboot after changing a properties file it is only environment variables that can be stubborn and require a reboot. Regards, -- Jason Bainbridge http://jblinux.org ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
To answer your questions (maybe it might help others ?) : - No, no Firewall running - Yes, I created a blank workers2.properties file and copied the text into it - The error page was (don't know the HTTP Error code for it) : The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. etc Alain -Message d'origine- De : Jason Bainbridge [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 18:23 À : Tomcat Users List Objet : Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Okay silly question time... Are you running any sort of firewall? Also when you added: [shm] file=C:\tomcat4\logs\shm.file size=1048576 Did you create a blank file for it or has Tomcat created one, if it has its hould contain lots of data? What error is it throwing when trying to access http://localhost/examples/ a 404 or something else? Regards, Jason ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Do you have an entry for [shm] in your workers2.properties file? It is essential that it is present for the JK2 connector to work correctly. This didn't appear in any documentation I found. Most of the error messages you mention are there even in working configurations so don't worry about them. Regards, David Legg Webmaster - 3Dlabs Phone: +44 (0)118 982 8254 http://www.3dlabs.com mailto:[EMAIL PROTECTED] -Original Message- From: Hertenstein Alain [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 14:45 To: 'Tomcat Users List' Subject: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Hi everybody, Seems like this problem is quite known, so I hope you can help me (after searching the web and reading Apache docs, I can't figure it out) : I've installed IIS, JDK 1.4.1_01 and Tomcat 4.1.24 on a Win2k Server computer : everything works fine, all pages work (http://localhost for IIS and http://localhost:8080 for Tomcat, as well as the JSP and Servlets examples). After that I followed the instructions on the jakarta web site to install the JK2 connector : after some trials (and some typo errors from my side in the Registry...), I finally got that green arrow in the IIS Console regarding the isapi_redirector2.dll ! Seems everything was working fine, but... 1) the http://localhost/examples/ page doesn't show up (web error page instead) 2) in the Event Log, the following error entries appear each time I try to access the upper URL : -- Error: [jk_worker_lb.c (192)]: lb.getWorker() reenable ajp13:localhost:8009 Error: [jk_endpoint.c (90)]: workerEnv.init() create slot epStat.0 failed Error: [jk_worker_lb.c (402)]: lb.service() worker failed 12 for ajp13:localhost:8009 Error: [jk_worker_lb.c (415)]: lb.service() unrecoverable error... --- I don't know what to do, I think all configuration is correct but still it doesn't work. Can anyone help me please ? Thanks a lot Alain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Hi David, No I don't have any, here is what I have in my workers2.properties file : #Define the communication channel [channel.socket:localhost:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp - What is that [shm] entry you mentioned ? Thanks again, Alain -Message d'origine- De : David Legg [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 16:23 À : 'Tomcat Users List' Objet : RE: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Do you have an entry for [shm] in your workers2.properties file? It is essential that it is present for the JK2 connector to work correctly. This didn't appear in any documentation I found. Most of the error messages you mention are there even in working configurations so don't worry about them. Regards, David Legg Webmaster - 3Dlabs Phone: +44 (0)118 982 8254 http://www.3dlabs.com mailto:[EMAIL PROTECTED] -Original Message- From: Hertenstein Alain [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 14:45 To: 'Tomcat Users List' Subject: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Hi everybody, Seems like this problem is quite known, so I hope you can help me (after searching the web and reading Apache docs, I can't figure it out) : I've installed IIS, JDK 1.4.1_01 and Tomcat 4.1.24 on a Win2k Server computer : everything works fine, all pages work (http://localhost for IIS and http://localhost:8080 for Tomcat, as well as the JSP and Servlets examples). After that I followed the instructions on the jakarta web site to install the JK2 connector : after some trials (and some typo errors from my side in the Registry...), I finally got that green arrow in the IIS Console regarding the isapi_redirector2.dll ! Seems everything was working fine, but... 1) the http://localhost/examples/ page doesn't show up (web error page instead) 2) in the Event Log, the following error entries appear each time I try to access the upper URL : -- Error: [jk_worker_lb.c (192)]: lb.getWorker() reenable ajp13:localhost:8009 E rror: [jk_endpoint.c (90)]: workerEnv.init() create slot epStat.0 failed Error: [jk_worker_lb.c (402)]: lb.service() worker failed 12 for ajp13:localhost:8009 Error: [jk_worker_lb.c (415)]: lb.service() unrecoverable error... --- I don't know what to do, I think all configuration is correct but still it doesn't work. Can anyone help me please ? Thanks a lot Alain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Aha! I thought so :-) Here's my workers2.properties file: - # # workers2.properties # [shm] file=C:\tomcat4\logs\shm.file size=1048576 [channel.socket:127.0.0.1:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp -- The [shm] entry seems to be some sort of shared memory area and I've seen references to something called the 'scoreboard' in conjunction with it. Anyway, the bottom line is you need this entry for JK2 to work on IIS. If you look in your W2k Event log you'll probably also notice a tell-tale Tomcat application error similar to this: - Error: [jk_shm.c (333)]: shm.init(): No file Hope this helps. Regards, David Legg Webmaster - 3Dlabs http://www.3dlabs.com mailto:[EMAIL PROTECTED] -Original Message- From: Hertenstein Alain [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 15:32 To: 'Tomcat Users List' Subject: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Hi David, No I don't have any, here is what I have in my workers2.properties file : #Define the communication channel [channel.socket:localhost:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp - What is that [shm] entry you mentioned ? Thanks again, Alain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Did you restart Tomcat? And reboot your machine? - Original Message - From: Hertenstein Alain To: 'Tomcat Users List' Sent: Wednesday, June 25, 2003 5:38 PM Subject: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Hi again, Just replaced my workers2.properties file with yours (and changing the path to the shm file according to my Tomcat 4 installation): exactly the same problem... Besides, I double-checked the W2K Event log entries and couldn't find that entry (or similar) you mentioned : Error: [jk_shm.c (333)]: shm.init(): No file I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Thanks again for your help... Alain -Message d'origine- De : David Legg [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 16:59 À : 'Tomcat Users List' Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Aha! I thought so :-) Here's my workers2.properties file: - # # workers2.properties # [shm] file=C:\tomcat4\logs\shm.file size=1048576 [channel.socket:127.0.0.1:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp -- The [shm] entry seems to be some sort of shared memory area and I've seen references to something called the 'scoreboard' in conjunction with it. Anyway, the bottom line is you need this entry for JK2 to work on IIS. If you look in your W2k Event log you'll probably also notice a tell-tale Tomcat application error similar to this: - Error: [jk_shm.c (333)]: shm.init(): No file Hope this helps. Regards, David Legg Webmaster - 3Dlabs http://www.3dlabs.com mailto:[EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
No I didn't reboot W2K, but restarted Tomcat -and- IIS (stop IIS and Tomcat, Start Tomcat, wait, Start IIS, test the URL). Is it necessary to completely reboot the server !? -Message d'origine- De : Dominic Parry [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 17:45 À : Tomcat Users List Objet : Re: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Did you restart Tomcat? And reboot your machine? - Original Message - From: Hertenstein Alain To: 'Tomcat Users List' Sent: Wednesday, June 25, 2003 5:38 PM Subject: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Hi again, Just replaced my workers2.properties file with yours (and changing the path to the shm file according to my Tomcat 4 installation): exactly the same problem... Besides, I double-checked the W2K Event log entries and couldn't find that entry (or similar) you mentioned : Error: [jk_shm.c (333)]: shm.init(): No file I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Thanks again for your help... Alain ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Its a pain because: - the pool of people who understand the connectors from a development aspect is small - the pool of people who understand the connectors and have time to submit code is smaller still - the pool of people who understand the connectors, can submit code, and understand ISAPI is smaller still - the pool of people who understand the connectors, can submit code, understand ISAPI, and can build/test actual ISAPI filters using commercial Microsoft development environments instead of free open source environments is smaller still - the pool of people who can do all of the above as well as create and submit good documentation are just about nonexistent John On Wed, 25 Jun 2003 17:38:01 +0200, Hertenstein Alain [EMAIL PROTECTED] wrote: Hi again, Just replaced my workers2.properties file with yours (and changing the path to the shm file according to my Tomcat 4 installation): exactly the same problem... Besides, I double-checked the W2K Event log entries and couldn't find that entry (or similar) you mentioned : Error: [jk_shm.c (333)]: shm.init(): No file I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Thanks again for your help... Alain -Message d'origine- De : David Legg [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 16:59 À : 'Tomcat Users List' Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Aha! I thought so :-) Here's my workers2.properties file: - # # workers2.properties # [shm] file=C:\tomcat4\logs\shm.file size=1048576 [channel.socket:127.0.0.1:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp -- The [shm] entry seems to be some sort of shared memory area and I've seen references to something called the 'scoreboard' in conjunction with it. Anyway, the bottom line is you need this entry for JK2 to work on IIS. If you look in your W2k Event log you'll probably also notice a tell-tale Tomcat application error similar to this: - Error: [jk_shm.c (333)]: shm.init(): No file Hope this helps. Regards, David Legg Webmaster - 3Dlabs http://www.3dlabs.com mailto:[EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Can you try a netstat -a and see if your machine is listening on port 8009? It could be the relevant section in CATALINA_HOME\conf\server.xml is commented out. You shouldn't have to reboot after changing a properties file it is only environment variables that can be stubborn and require a reboot. Regards, -- Jason Bainbridge http://jblinux.org On Wed, 25 Jun 2003 23:38, Hertenstein Alain wrote: Hi again, Just replaced my workers2.properties file with yours (and changing the path to the shm file according to my Tomcat 4 installation): exactly the same problem... Besides, I double-checked the W2K Event log entries and couldn't find that entry (or similar) you mentioned : Error: [jk_shm.c (333)]: shm.init(): No file I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Thanks again for your help... Alain -Message d'origine- De : David Legg [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 16:59 À : 'Tomcat Users List' Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Aha! I thought so :-) Here's my workers2.properties file: - # # workers2.properties # [shm] file=C:\tomcat4\logs\shm.file-- Jason Bainbridge http://jblinux.org size=1048576 [channel.socket:127.0.0.1:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp -- The [shm] entry seems to be some sort of shared memory area and I've seen references to something called the 'scoreboard' in conjunction with it. Anyway, the bottom line is you need this entry for JK2 to work on IIS. If you look in your W2k Event log you'll probably also notice a tell-tale Tomcat application error similar to this: - Error: [jk_shm.c (333)]: shm.init(): No file Hope this helps. Regards, David Legg Webmaster - 3Dlabs http://www.3dlabs.com mailto:[EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - 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 5 + Tomcat 4.1.24 + JK2 Connector problem
Yes it does listen, here's a summary of netstat -a : Proto Local Address Foreign AddressState TCPweberi:8009weberi:0 LISTENING Even in the Tomcat command window, the following text appears : Starting service Tomcat-Standalone Apache Tomcat/4.1.24 Jun 25, 2003 5:35:25 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8080 Jun 25, 2003 5:35:26 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Jun 25, 2003 5:35:26 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/47 config=C:\Program Files\Apache Group\Tomcat 4.1 \conf\jk2.properties Regards Alain -Message d'origine- De : Jason Bainbridge [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 17:50 À : Tomcat Users List Objet : Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Can you try a netstat -a and see if your machine is listening on port 8009? It could be the relevant section in CATALINA_HOME\conf\server.xml is commentedo ut. You shouldn't have to reboot after changing a properties file it is only environment variables that can be stubborn and require a reboot. Regards, -- Jason Bainbridge http://jblinux.org ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
I can only second and third the following: I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? -Original Message- From: Hertenstein Alain [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 11:38 AM To: 'Tomcat Users List' Subject: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Hi again, Just replaced my workers2.properties file with yours (and changing the path to the shm file according to my Tomcat 4 installation): exactly the same problem... Besides, I double-checked the W2K Event log entries and couldn't find that entry (or similar) you mentioned : Error: [jk_shm.c (333)]: shm.init(): No file I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Thanks again for your help... Alain -Message d'origine- De : David Legg [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 16:59 À : 'Tomcat Users List' Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Aha! I thought so :-) Here's my workers2.properties file: - # # workers2.properties # [shm] file=C:\tomcat4\logs\shm.file size=1048576 [channel.socket:127.0.0.1:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp -- The [shm] entry seems to be some sort of shared memory area and I've seen references to something called the 'scoreboard' in conjunction with it. Anyway, the bottom line is you need this entry for JK2 to work on IIS. If you look in your W2k Event log you'll probably also notice a tell-tale Tomcat application error similar to this: - Error: [jk_shm.c (333)]: shm.init(): No file Hope this helps. Regards, David Legg Webmaster - 3Dlabs http://www.3dlabs.com mailto:[EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Thanks for the explanation, John. I'm still at a loss on my similar problem from yesterday and have wondered the same thing: why is it so hard? This at least clarifies the problem a bit. Wish I could add something helpful myself. Ken -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 11:50 AM To: Tomcat Users List Subject: Re: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Its a pain because: - the pool of people who understand the connectors from a development aspect is small - the pool of people who understand the connectors and have time to submit code is smaller still - the pool of people who understand the connectors, can submit code, and understand ISAPI is smaller still - the pool of people who understand the connectors, can submit code, understand ISAPI, and can build/test actual ISAPI filters using commercial Microsoft development environments instead of free open source environments is smaller still - the pool of people who can do all of the above as well as create and submit good documentation are just about nonexistent John On Wed, 25 Jun 2003 17:38:01 +0200, Hertenstein Alain [EMAIL PROTECTED] wrote: Hi again, Just replaced my workers2.properties file with yours (and changing the path to the shm file according to my Tomcat 4 installation): exactly the same problem... Besides, I double-checked the W2K Event log entries and couldn't find that entry (or similar) you mentioned : Error: [jk_shm.c (333)]: shm.init(): No file I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Thanks again for your help... Alain -Message d'origine- De : David Legg [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 16:59 À : 'Tomcat Users List' Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Aha! I thought so :-) Here's my workers2.properties file: - # # workers2.properties # [shm] file=C:\tomcat4\logs\shm.file size=1048576 [channel.socket:127.0.0.1:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp -- The [shm] entry seems to be some sort of shared memory area and I've seen references to something called the 'scoreboard' in conjunction with it. Anyway, the bottom line is you need this entry for JK2 to work on IIS. If you look in your W2k Event log you'll probably also notice a tell-tale Tomcat application error similar to this: - Error: [jk_shm.c (333)]: shm.init(): No file Hope this helps. Regards, David Legg Webmaster - 3Dlabs http://www.3dlabs.com mailto:[EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Okay silly question time... Are you running any sort of firewall? Also when you added: [shm] file=C:\tomcat4\logs\shm.file size=1048576 Did you create a blank file for it or has Tomcat created one, if it has it should contain lots of data? What error is it throwing when trying to access http://localhost/examples/ a 404 or something else? Regards, Jason On Wed, 25 Jun 2003 23:54, Hertenstein Alain wrote: Yes it does listen, here's a summary of netstat -a : Proto Local Address Foreign AddressState TCPweberi:8009weberi:0 LISTENING Even in the Tomcat command window, the following text appears : Starting service Tomcat-Standalone Apache Tomcat/4.1.24 Jun 25, 2003 5:35:25 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8080 Jun 25, 2003 5:35:26 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Jun 25, 2003 5:35:26 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/47 config=C:\Program Files\Apache Group\Tomcat 4.1 \conf\jk2.properties Regards Alain -Message d'origine- De : Jason Bainbridge [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 17:50 À : Tomcat Users List Objet : Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Can you try a netstat -a and see if your machine is listening on port 8009? It could be the relevant section in CATALINA_HOME\conf\server.xml is commentedo ut. You shouldn't have to reboot after changing a properties file it is only environment variables that can be stubborn and require a reboot. Regards, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
On Thu, 26 Jun 2003 00:20, Januski, Ken wrote: I can only second and third the following: I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Mainly because the number of Apache Web Server + Tomcat users far out weigh the number of MS IIS + Tomcat users and when it comes to development I would say the numbers are even further apart. This means unfortunately for people that must use IIS that it isn't as well supported as the Apache Web Server. All I can suggest is that you scratch your own itch by either digging into the source and submitting patches to improve it or even just creating documentation based upon your experiences. Regards, -- Jason Bainbridge http://jblinux.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Yes, you're right, as John Turner mentioned in another response. Once I get it working I'll be happy to document it. I both wish I could avoid IIS and wish I could submit patches but I'm afraid neither of those will happen. When I get the thing working I will send the documentation for those few of us stuck with integrating IIS and Tomcat. -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 12:27 PM To: Tomcat Users List Subject: Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem On Thu, 26 Jun 2003 00:20, Januski, Ken wrote: I can only second and third the following: I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Mainly because the number of Apache Web Server + Tomcat users far out weigh the number of MS IIS + Tomcat users and when it comes to development I would say the numbers are even further apart. This means unfortunately for people that must use IIS that it isn't as well supported as the Apache Web Server. All I can suggest is that you scratch your own itch by either digging into the source and submitting patches to improve it or even just creating documentation based upon your experiences. Regards, -- Jason Bainbridge http://jblinux.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Check out http://www.reynir.net/tomcat/tomcat_IIS_service.html for JK or http://www.reynir.net/tomcat/tomcat_IIS_service_jk2.html for JK2 installation instructions, that work. Regards, Joshua White -Original Message- From: Dominic Parry [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 11:45 AM To: Tomcat Users List Subject: Re: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Did you restart Tomcat? And reboot your machine? - Original Message - From: Hertenstein Alain To: 'Tomcat Users List' Sent: Wednesday, June 25, 2003 5:38 PM Subject: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Hi again, Just replaced my workers2.properties file with yours (and changing the path to the shm file according to my Tomcat 4 installation): exactly the same problem... Besides, I double-checked the W2K Event log entries and couldn't find that entry (or similar) you mentioned : Error: [jk_shm.c (333)]: shm.init(): No file I really don't know what to do. Why is this such a pain to simply connect IIS and Tomcat, even when following the instructions ? Thanks again for your help... Alain -Message d'origine- De : David Legg [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. juin 2003 16:59 À : 'Tomcat Users List' Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem Aha! I thought so :-) Here's my workers2.properties file: - # # workers2.properties # [shm] file=C:\tomcat4\logs\shm.file size=1048576 [channel.socket:127.0.0.1:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp -- The [shm] entry seems to be some sort of shared memory area and I've seen references to something called the 'scoreboard' in conjunction with it. Anyway, the bottom line is you need this entry for JK2 to work on IIS. If you look in your W2k Event log you'll probably also notice a tell-tale Tomcat application error similar to this: - Error: [jk_shm.c (333)]: shm.init(): No file Hope this helps. Regards, David Legg Webmaster - 3Dlabs http://www.3dlabs.com mailto:[EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]