RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
Can anybody please help The situation: I a running Apache 1.3.20-16 (rpm version number) with tomcat-mod 3.2.1-1 (rpm version number) on a Red Hat 7.1. Also running Jakarta Tomcat 3.3.1 with the mod_jk.dll on a win2k (bad,I know). I am trying to make a connection from the Apache to the Tomcat through mod_jk with the ajp13 protocol. Problem: When I connect to the Apache on Redhat 7.1 with say http://192.168.1.1/test it is supposed to call this page from the Tomcat on the win2k machine but it just keeps on loading into infinity and never shows nothing. The config of Tomcat and Apache is not that important. I'll explain why. I have set up a second Apache on a seperate win2k box with the same config settings as the Red Hat one but when i connect to the win2k box with say http://192.168.1.2/test it connect just fine. Anybody have any clue why this might be happening between Linux -- w2k and not with w2k -- w2k? Any help please. (desperate). I have spent about 48hours in total on it. I have Google'd read manuals but still nothing. Bertus Keyser -Original Message- From: Bertus Keyser [mailto:bertus.keyser;impress.co.za] Sent: 29 October 2002 06:18 To: [EMAIL PROTECTED] Subject: Compatibility between Windows and Linux tomcat Hallo I would like to know if there are any compatibility issues between running Linux Apache with mod_jk and running Tomcat on Windows with the ajp13 protocol. Bertus Keyser IMPRESS SOFTWARE (SA) Peter Place Park Bryanston, Johannesburg Phone +27 11 706-0339 Fax +27 11 706-8753 Mobile +27 83 459-5624 -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
The best way for someone to help you is for you to post relevant snippets of your config files, and any pertinent information from log files. Just saying it doesn't work doesn't help us help you. Off the top of my head, I would guess that the Red Hat server can't resolve a domain name for the Win2K/Tomcat server, but without getting more specific information from you, there's really no way to tell. John -Original Message- From: Bertus Keyser [mailto:bertus.keyser;impress.co.za] Sent: Thursday, October 31, 2002 3:21 AM To: Tomcat Users List Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) Can anybody please help The situation: I a running Apache 1.3.20-16 (rpm version number) with tomcat-mod 3.2.1-1 (rpm version number) on a Red Hat 7.1. Also running Jakarta Tomcat 3.3.1 with the mod_jk.dll on a win2k (bad,I know). I am trying to make a connection from the Apache to the Tomcat through mod_jk with the ajp13 protocol. Problem: When I connect to the Apache on Redhat 7.1 with say http://192.168.1.1/test it is supposed to call this page from the Tomcat on the win2k machine but it just keeps on loading into infinity and never shows nothing. The config of Tomcat and Apache is not that important. I'll explain why. I have set up a second Apache on a seperate win2k box with the same config settings as the Red Hat one but when i connect to the win2k box with say http://192.168.1.2/test it connect just fine. Anybody have any clue why this might be happening between Linux -- w2k and not with w2k -- w2k? Any help please. (desperate). I have spent about 48hours in total on it. I have Google'd read manuals but still nothing. Bertus Keyser -Original Message- From: Bertus Keyser [mailto:bertus.keyser;impress.co.za] Sent: 29 October 2002 06:18 To: [EMAIL PROTECTED] Subject: Compatibility between Windows and Linux tomcat Hallo I would like to know if there are any compatibility issues between running Linux Apache with mod_jk and running Tomcat on Windows with the ajp13 protocol. Bertus Keyser IMPRESS SOFTWARE (SA) Peter Place Park Bryanston, Johannesburg Phone +27 11 706-0339 Fax +27 11 706-8753 Mobile+27 83 459-5624 -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
Sorry, I am new to this list and don't yet understand the information required. Thanks for the reply. The logs does not show anything. Its as If the message never reaches the w2k pc. The real issue as I can see it is: why can w2k connect to w2k but no matter how I try I can't get Linux to connect to w2k. I have tested this now with about 4 pc's in total. I have done and redone the settings about 10 times now and still nothing with the same result every time. If I shutdown the Tomcat on the w2k pc the apache instantly notifies me with an error but if Tomcat is running it just waits for infinite. If you think the logs and config will really help please ask, again. :) -Original Message- From: Turner, John [mailto:JTurner;AAS.com] Sent: 31 October 2002 03:39 To: 'Tomcat Users List' Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) The best way for someone to help you is for you to post relevant snippets of your config files, and any pertinent information from log files. Just saying it doesn't work doesn't help us help you. Off the top of my head, I would guess that the Red Hat server can't resolve a domain name for the Win2K/Tomcat server, but without getting more specific information from you, there's really no way to tell. John -Original Message- From: Bertus Keyser [mailto:bertus.keyser;impress.co.za] Sent: Thursday, October 31, 2002 3:21 AM To: Tomcat Users List Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) Can anybody please help The situation: I a running Apache 1.3.20-16 (rpm version number) with tomcat-mod 3.2.1-1 (rpm version number) on a Red Hat 7.1. Also running Jakarta Tomcat 3.3.1 with the mod_jk.dll on a win2k (bad,I know). I am trying to make a connection from the Apache to the Tomcat through mod_jk with the ajp13 protocol. Problem: When I connect to the Apache on Redhat 7.1 with say http://192.168.1.1/test it is supposed to call this page from the Tomcat on the win2k machine but it just keeps on loading into infinity and never shows nothing. The config of Tomcat and Apache is not that important. I'll explain why. I have set up a second Apache on a seperate win2k box with the same config settings as the Red Hat one but when i connect to the win2k box with say http://192.168.1.2/test it connect just fine. Anybody have any clue why this might be happening between Linux -- w2k and not with w2k -- w2k? Any help please. (desperate). I have spent about 48hours in total on it. I have Google'd read manuals but still nothing. Bertus Keyser -Original Message- From: Bertus Keyser [mailto:bertus.keyser;impress.co.za] Sent: 29 October 2002 06:18 To: [EMAIL PROTECTED] Subject: Compatibility between Windows and Linux tomcat Hallo I would like to know if there are any compatibility issues between running Linux Apache with mod_jk and running Tomcat on Windows with the ajp13 protocol. Bertus Keyser IMPRESS SOFTWARE (SA) Peter Place Park Bryanston, Johannesburg Phone +27 11 706-0339 Fax +27 11 706-8753 Mobile+27 83 459-5624 -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
If you don't supply the config files, the answer to your question is don't use Red Hat. If that is a sufficient answer, then read no further. At the very least, workers.properties. If you are guaranteeing that workers.properties on the Win2K boxes are identical to the workers.properties file on the Red Hat server, then the problem is either: 1. Apache on the Red Hat server has a problem, in which case the Apache access logs would be very helpful. Not all of them, just the 5-10 lines around the time of the failed request or 2. There is a network problem that is preventing mod_jk on the Red Hat server from resolving the Win2K/Tomcat server name or preventing it from reaching the Win2K/Tomcat server, perhaps a route, a missing default gateway, a bad cable, or whatever. John -Original Message- From: Bertus Keyser [mailto:bertus.keyser;impress.co.za] Sent: Thursday, October 31, 2002 9:48 AM To: Tomcat Users List Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) Sorry, I am new to this list and don't yet understand the information required. Thanks for the reply. The logs does not show anything. Its as If the message never reaches the w2k pc. The real issue as I can see it is: why can w2k connect to w2k but no matter how I try I can't get Linux to connect to w2k. I have tested this now with about 4 pc's in total. I have done and redone the settings about 10 times now and still nothing with the same result every time. If I shutdown the Tomcat on the w2k pc the apache instantly notifies me with an error but if Tomcat is running it just waits for infinite. If you think the logs and config will really help please ask, again. :) -Original Message- From: Turner, John [mailto:JTurner;AAS.com] Sent: 31 October 2002 03:39 To: 'Tomcat Users List' Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) The best way for someone to help you is for you to post relevant snippets of your config files, and any pertinent information from log files. Just saying it doesn't work doesn't help us help you. Off the top of my head, I would guess that the Red Hat server can't resolve a domain name for the Win2K/Tomcat server, but without getting more specific information from you, there's really no way to tell. John -Original Message- From: Bertus Keyser [mailto:bertus.keyser;impress.co.za] Sent: Thursday, October 31, 2002 3:21 AM To: Tomcat Users List Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) Can anybody please help The situation: I a running Apache 1.3.20-16 (rpm version number) with tomcat-mod 3.2.1-1 (rpm version number) on a Red Hat 7.1. Also running Jakarta Tomcat 3.3.1 with the mod_jk.dll on a win2k (bad,I know). I am trying to make a connection from the Apache to the Tomcat through mod_jk with the ajp13 protocol. Problem: When I connect to the Apache on Redhat 7.1 with say http://192.168.1.1/test it is supposed to call this page from the Tomcat on the win2k machine but it just keeps on loading into infinity and never shows nothing. The config of Tomcat and Apache is not that important. I'll explain why. I have set up a second Apache on a seperate win2k box with the same config settings as the Red Hat one but when i connect to the win2k box with say http://192.168.1.2/test it connect just fine. Anybody have any clue why this might be happening between Linux -- w2k and not with w2k -- w2k? Any help please. (desperate). I have spent about 48hours in total on it. I have Google'd read manuals but still nothing. Bertus Keyser -Original Message- From: Bertus Keyser [mailto:bertus.keyser;impress.co.za] Sent: 29 October 2002 06:18 To: [EMAIL PROTECTED] Subject: Compatibility between Windows and Linux tomcat Hallo I would like to know if there are any compatibility issues between running Linux Apache with mod_jk and running Tomcat on Windows with the ajp13 protocol. Bertus Keyser IMPRESS SOFTWARE (SA) Peter Place Park Bryanston, Johannesburg Phone +27 11 706-0339 Fax +27 11 706-8753 Mobile +27 83 459-5624 -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
To me it's not clear what you are doing at all. On which level do you try to connect from linux to win2k ? - browser - apache - apache - tomcat - can you ping the ip of the win2k server from linux ? - can you ping the name of the win2k server from linux ? - can you telnet to the name and port on the win2k server from linux ? Depending on the answer to the first question, the port varies. Either it's the apache port or the connector port for tomcat. If all answers are yes: - can you see the request in the access log ? -Original Message- From: Bertus Keyser [mailto:bertus.keyser;impress.co.za] Sent: Thursday, October 31, 2002 3:48 PM To: Tomcat Users List Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) why can w2k connect to w2k but no matter how I try I can't get Linux to connect to w2k. I have done and redone the settings about 10 times now and still nothing with the same result every time. If I shutdown the Tomcat on the w2k pc the apache instantly notifies me with an error but if Tomcat is running it just waits for infinite. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
SSLEngine on SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key Files ~ \.(cgi|shtml|phtml|php3?)$ SSLOptions +StdEnvVars /Files Directory /var/www/cgi-bin SSLOptions +StdEnvVars /Directory SetEnvIf User-Agent .*MSIE.* \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 CustomLog logs/ssl_request_log \ %t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \%r\ %b /VirtualHost /IfDefine IfModule mod_jk.c Include /etc/httpd/conf/mod_jk.conf /IfModule End of the httpd.conf --- Start of the workers.properties - -- workers.tomcat_home=/var/tomcat workers.java_home=/opt/IBMJava2-13 ps=/ worker.list=ajp13 worker.ajp12.port=8007 worker.ajp12.host=localhost worker.ajp12.type=ajp12 worker.ajp12.lbfactor=1 worker.ajp13.port=8009 worker.ajp13.host=192.168.1.90 worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp12, ajp13 worker.inprocess.type=jni worker.inprocess.class_path=$(workers.tomcat_home)$(ps)classes worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)xml.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jaxp.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)parser.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jasper.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)servlet.jar worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)webserver.jar worker.inprocess.class_path=$(workers.java_home)$(ps)lib$(ps)tools.jar worker.inprocess.cmd_line=-config worker.inprocess.cmd_line=$(workers.tomcat_home)/conf/jni_server.xml worker.inprocess.cmd_line=-home worker.inprocess.cmd_line=$(workers.tomcat_home) worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(p s)jvm.dll worker.inprocess.stdout=$(workers.tomcat_home)$(ps)inprocess.stdout worker.inprocess.stderr=$(workers.tomcat_home)$(ps)inprocess.stderr worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home) End of the workers.properties - -- Start of Mod_jk.conf JkWorkersFile /etc/httpd/conf/workers.properties JkLogFile /var/log/httpd/mod_jk.log JkLogLevel error JkMount /*.jsp ajp12 JkMount /servlet/* ajp12 Alias /examples /var/tomcat/webapps/examples Directory /var/tomcat/webapps/examples Options Indexes FollowSymLinks /Directory JkMount /examples/servlet/* ajp12 JkMount /examples/*.jsp ajp12 Location /examples/WEB-INF/ AllowOverride None deny from all /Location Alias /admin /var/tomcat/webapps/admin Directory /var/tomcat/webapps/admin Options Indexes FollowSymLinks /Directory JkMount /admin/servlet/* ajp12 JkMount /admin/*.jsp ajp12 Location /admin/WEB-INF/ AllowOverride None deny from all /Location Alias /test /var/tomcat/webapps/test Directory /var/tomcat/webapps/test Options Indexes FollowSymLinks /Directory JkMount /test/servlet/* ajp12 JkMount /test/*.jsp ajp12 Location /test/WEB-INF/ AllowOverride None deny from all /Location Alias /webcomm1.5/ /webcomm1.5 Directory /webcomm1.5 Options Indexes FollowSymLinks /Directory JkMount /webcomm1.5/* ajp13 End of Mod_jk.conf -Original Message- From: Turner, John [mailto:JTurner;AAS.com] Sent: 31 October 2002 04:51 To: 'Tomcat Users List' Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) If you don't supply the config files, the answer to your question is don't use Red Hat. If that is a sufficient answer, then read no further. At the very least, workers.properties. If you are guaranteeing that workers.properties on the Win2K boxes are identical to the workers.properties file on the Red Hat server, then the problem is either: 1. Apache on the Red Hat server has a problem, in which case the Apache access logs would be very helpful. Not all of them, just the 5-10 lines around the time of the failed request or 2. There is a network problem that is preventing mod_jk on the Red Hat server from resolving the Win2K/Tomcat server name or preventing it from reaching the Win2K/Tomcat server, perhaps a route, a missing default gateway, a bad cable, or whatever. John -Original Message- From: Bertus Keyser [mailto:bertus.keyser;impress.co.za] Sent: Thursday, October 31, 2002 9:48 AM To: Tomcat Users List Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) Sorry, I am new to this list and don't yet understand the information required. Thanks for the reply. The logs does not show anything. Its as If the message never reaches the w2k pc. The real issue as I can
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
I am trying to: browser - apache - tomcat use browser to view Apache which calls page from Tomcat yes yes yes access.log is included in a mail I just sent. Thanks for the reply. -Original Message- From: Ralph Einfeldt [mailto:ralph.einfeldt;uptime-isc.de] Sent: 31 October 2002 05:02 To: Tomcat Users List Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) To me it's not clear what you are doing at all. On which level do you try to connect from linux to win2k ? - browser - apache - apache - tomcat - can you ping the ip of the win2k server from linux ? - can you ping the name of the win2k server from linux ? - can you telnet to the name and port on the win2k server from linux ? Depending on the answer to the first question, the port varies. Either it's the apache port or the connector port for tomcat. If all answers are yes: - can you see the request in the access log ? -Original Message- From: Bertus Keyser [mailto:bertus.keyser;impress.co.za] Sent: Thursday, October 31, 2002 3:48 PM To: Tomcat Users List Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) why can w2k connect to w2k but no matter how I try I can't get Linux to connect to w2k. I have done and redone the settings about 10 times now and still nothing with the same result every time. If I shutdown the Tomcat on the w2k pc the apache instantly notifies me with an error but if Tomcat is running it just waits for infinite. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
A suggestion: Take out everything to do with ajp12 from workers.properties. Delete the load-balance line. All you need are: worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=192.168.1.90 worker.ajp13.type=ajp13 John -Original Message- From: Bertus Keyser [mailto:bertus.keyser;impress.co.za] Sent: Thursday, October 31, 2002 10:58 AM To: Tomcat Users List Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) I can connect to the w2k machine easily with samba. I have included the config files below and attached for w2k. If you require any more information please just ask. Config files: access_log on linux/apache 192.168.1.115 - - [31/Oct/2002:16:59:53 -0200] GET /webcomm1.5 HTTP/1.1 404 291 - Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) tomcat logs on w2k unfortunately there is no change in either servlet jk.log or jasper ( no new servlet or jasper has been created with today date either ) The config files of the w2k/tomcat pc is attached. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
First of all Please post ONLY the relevant part of your httpd.conf, we don't need to know all your LoadModules lines Second, Your are using ajp12, and that isn't included in your worker.list, and even if it were, it probably would using 8007 (ajp12) unless you change your worker.properties Aryeh worker.list=ajp13 ^^^ worker.ajp12.port=8007 ^ worker.ajp12.host=localhost worker.ajp12.type=ajp12 JkMount /examples/servlet/* ajp12 JkMount /examples/*.jsp ajp12 --- Aryeh Katz VASCO www.vasco.com -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
Good catch. John -Original Message- From: Aryeh Katz [mailto:aryeh;vasco.com] Sent: Thursday, October 31, 2002 11:09 AM To: Tomcat Users List Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) First of all Please post ONLY the relevant part of your httpd.conf, we don't need to know all your LoadModules lines Second, Your are using ajp12, and that isn't included in your worker.list, and even if it were, it probably would using 8007 (ajp12) unless you change your worker.properties Aryeh worker.list=ajp13 ^^^ worker.ajp12.port=8007 ^ worker.ajp12.host=localhost worker.ajp12.type=ajp12 JkMount /examples/servlet/* ajp12 JkMount /examples/*.jsp ajp12 --- Aryeh Katz VASCO www.vasco.com -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
Just did that plus a restart of Apache but still the same result. -Original Message- From: Turner, John [mailto:JTurner;AAS.com] Sent: 31 October 2002 06:05 To: 'Tomcat Users List' Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) A suggestion: Take out everything to do with ajp12 from workers.properties. Delete the load-balance line. All you need are: worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=192.168.1.90 worker.ajp13.type=ajp13 John -Original Message- From: Bertus Keyser [mailto:bertus.keyser;impress.co.za] Sent: Thursday, October 31, 2002 10:58 AM To: Tomcat Users List Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) I can connect to the w2k machine easily with samba. I have included the config files below and attached for w2k. If you require any more information please just ask. Config files: access_log on linux/apache 192.168.1.115 - - [31/Oct/2002:16:59:53 -0200] GET /webcomm1.5 HTTP/1.1 404 291 - Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) tomcat logs on w2k unfortunately there is no change in either servlet jk.log or jasper ( no new servlet or jasper has been created with today date either ) The config files of the w2k/tomcat pc is attached. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
Did you delete ajp12 from your JkMount lines and sub in ajp13? John -Original Message- From: Bertus Keyser [mailto:bertus.keyser;impress.co.za] Sent: Thursday, October 31, 2002 11:18 AM To: Tomcat Users List Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) Just did that plus a restart of Apache but still the same result. -Original Message- From: Turner, John [mailto:JTurner;AAS.com] Sent: 31 October 2002 06:05 To: 'Tomcat Users List' Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) A suggestion: Take out everything to do with ajp12 from workers.properties. Delete the load-balance line. All you need are: worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=192.168.1.90 worker.ajp13.type=ajp13 John -Original Message- From: Bertus Keyser [mailto:bertus.keyser;impress.co.za] Sent: Thursday, October 31, 2002 10:58 AM To: Tomcat Users List Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) I can connect to the w2k machine easily with samba. I have included the config files below and attached for w2k. If you require any more information please just ask. Config files: access_log on linux/apache 192.168.1.115 - - [31/Oct/2002:16:59:53 -0200] GET /webcomm1.5 HTTP/1.1 404 291 - Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) tomcat logs on w2k unfortunately there is no change in either servlet jk.log or jasper ( no new servlet or jasper has been created with today date either ) The config files of the w2k/tomcat pc is attached. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
Sorry. will remember next time. I have uncommented ajp12 and it hasn't changed anything. Thanks for the help -Original Message- From: Aryeh Katz [mailto:aryeh;vasco.com] Sent: 31 October 2002 06:09 To: Tomcat Users List Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) First of all Please post ONLY the relevant part of your httpd.conf, we don't need to know all your LoadModules lines Second, Your are using ajp12, and that isn't included in your worker.list, and even if it were, it probably would using 8007 (ajp12) unless you change your worker.properties Aryeh worker.list=ajp13 ^^^ worker.ajp12.port=8007 ^ worker.ajp12.host=localhost worker.ajp12.type=ajp12 JkMount /examples/servlet/* ajp12 JkMount /examples/*.jsp ajp12 --- Aryeh Katz VASCO www.vasco.com -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
I just commented the ajp12 statements out and kept the ajp13 mounts. -Original Message- From: Turner, John [mailto:JTurner;AAS.com] Sent: 31 October 2002 06:19 To: 'Tomcat Users List' Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) Did you delete ajp12 from your JkMount lines and sub in ajp13? John -Original Message- From: Bertus Keyser [mailto:bertus.keyser;impress.co.za] Sent: Thursday, October 31, 2002 11:18 AM To: Tomcat Users List Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) Just did that plus a restart of Apache but still the same result. -Original Message- From: Turner, John [mailto:JTurner;AAS.com] Sent: 31 October 2002 06:05 To: 'Tomcat Users List' Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) A suggestion: Take out everything to do with ajp12 from workers.properties. Delete the load-balance line. All you need are: worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=192.168.1.90 worker.ajp13.type=ajp13 John -Original Message- From: Bertus Keyser [mailto:bertus.keyser;impress.co.za] Sent: Thursday, October 31, 2002 10:58 AM To: Tomcat Users List Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) I can connect to the w2k machine easily with samba. I have included the config files below and attached for w2k. If you require any more information please just ask. Config files: access_log on linux/apache 192.168.1.115 - - [31/Oct/2002:16:59:53 -0200] GET /webcomm1.5 HTTP/1.1 404 291 - Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) tomcat logs on w2k unfortunately there is no change in either servlet jk.log or jasper ( no new servlet or jasper has been created with today date either ) The config files of the w2k/tomcat pc is attached. -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
Sorry. will remember next time. I have uncommented ajp12 and it hasn't changed anything. JkMount /examples/servlet/* ajp12 JkMount /examples/*.jsp ajp12 As John pointed out, (and I left in to show your config), you need to change the JkMount to use the ajp13 worker. e.g JkMount /examples/servlet/* ajp13 --- Aryeh Katz VASCO www.vasco.com -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org --- Aryeh Katz VASCO www.vasco.com -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
for everything? I ask because I didn't have to do this for the Linux to Linux or w2k to w2k setups. Would I ever use JkMount /examples/servlet/* ajp13 ? -Original Message- From: Aryeh Katz [mailto:aryeh;vasco.com] Sent: 31 October 2002 06:43 To: Tomcat Users List Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) Sorry. will remember next time. I have uncommented ajp12 and it hasn't changed anything. JkMount /examples/servlet/* ajp12 JkMount /examples/*.jsp ajp12 As John pointed out, (and I left in to show your config), you need to change the JkMount to use the ajp13 worker. e.g JkMount /examples/servlet/* ajp13 --- Aryeh Katz VASCO www.vasco.com -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org --- Aryeh Katz VASCO www.vasco.com -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
for everything? I ask because I didn't have to do this for the Linux to Linux or w2k to w2k setups. shrug Your subject stated that you were using ajp13. We generally answer questions based on the information given. Would I ever use JkMount /examples/servlet/* ajp13 ? I assume you mean apj12? As long as ajp12 is working for you, there is no reason not to use it (even if ajp13 is recommended). However, you must make sure that you have the correct listener (port 8007) if you are going to use it. --- Aryeh Katz VASCO www.vasco.com -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
Ok I just configures it to use ajp12 instead of ajp13. And now it works. Now I am really confused. Any ideas why this works but not ajp13? -Original Message- From: Aryeh Katz [mailto:aryeh;vasco.com] Sent: 31 October 2002 07:11 To: [EMAIL PROTECTED] Subject: RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 ) for everything? I ask because I didn't have to do this for the Linux to Linux or w2k to w2k setups. shrug Your subject stated that you were using ajp13. We generally answer questions based on the information given. Would I ever use JkMount /examples/servlet/* ajp13 ? I assume you mean apj12? As long as ajp12 is working for you, there is no reason not to use it (even if ajp13 is recommended). However, you must make sure that you have the correct listener (port 8007) if you are going to use it. --- Aryeh Katz VASCO www.vasco.com -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13 )
Ok I just configures it to use ajp12 instead of ajp13. And now it works. Now I am really confused. First of all, in order for anyone to help you further, you should really specify EXACTLY what you did (preferably with a screen scrape so any typos can be caught), instead of saying it. Second of all, the fact that you were able to connect using ajp12, that would seem to indicate that you had some kind of configuration error with ajp13. The easiest way to determine why would be to look at the tomcat log files (and maybe the apache log files). I'm sure that something will pop up if you set the logging high enough --- Aryeh Katz VASCO www.vasco.com -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Compatibility between Windows and Linux tomcat ( mod_jk ajp13)
On Thu, 31 Oct 2002, Aryeh Katz wrote: Ok I just configures it to use ajp12 instead of ajp13. And now it works. Now I am really confused. First of all, in order for anyone to help you further, you should really specify EXACTLY what you did (preferably with a screen scrape so any typos can be caught), instead of saying it. Let me echo this. I found it very hard to follow what the person had/hadn't tried, what changed from post to post, etc.. And as a result, I just stayed out of the thread instead of trying to help, figuring it would be too much effort. And the whole idea of it worked from w2k to w2k but not from linux to w2k, so I don't have to show the configuration was a real red herring, because there are still so many configuration-related things that could have been involved. Second of all, the fact that you were able to connect using ajp12, that would seem to indicate that you had some kind of configuration error with ajp13. The easiest way to determine why would be to look at the tomcat log files (and maybe the apache log files). I'm sure that something will pop up if you set the logging high enough Another possibility (which perhaps has already been covered; as I said, I didn't follow the details of this thread) has to do with what's running on the remote machine running Tomcat. For example, if it's only got an ajp12 connector on port 8007, then looking for an ajp13 connector on port 8009 isn't going to work (and vice-versa). Milt Epstein Research Programmer Integration and Software Engineering (ISE) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org