RE: mod_jk to remote host
Logs and config files would help here. Substitute out real ips with Xs or fake ones; or just post them. In any event it is difficult for anyone to provide help based on the information you have provided. ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: John Richard Moser [mailto:[EMAIL PROTECTED] Sent: Monday, November 26, 2007 12:28 PM To: users@tomcat.apache.org Subject: mod_jk to remote host Hi I have a mod_jk connector that works on localhost. I am trying to change the host to the remote IP address and configure it on another server (port 8009 is open) but I'm getting nowhere. The error log consistently says the worker name=tomcat_ajp does not exist but I put it in worker.list= and configured it appropriately. Any help? Note: Tomcat itself is NOT installed locally on that machine. Also tcpdump on the remote machine shows no attempt to access the remote machine from the Web server. -- Bring back the Firefox plushy! http://digg.com/linux_unix/Is_the_Firefox_plush_gone_for_good https://bugzilla.mozilla.org/show_bug.cgi?id=322367 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- This message is a CONFIDENTIAL communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk to remote host
hmm. I replied an hour ago with the logs but it hasn't shown up... testing... Charlie Wingate wrote: Logs and config files would help here. Substitute out real ips with Xs or fake ones; or just post them. In any event it is difficult for anyone to provide help based on the information you have provided. ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: John Richard Moser [mailto:[EMAIL PROTECTED] Sent: Monday, November 26, 2007 12:28 PM To: users@tomcat.apache.org Subject: mod_jk to remote host Hi I have a mod_jk connector that works on localhost. I am trying to change the host to the remote IP address and configure it on another server (port 8009 is open) but I'm getting nowhere. The error log consistently says the worker name=tomcat_ajp does not exist but I put it in worker.list= and configured it appropriately. Any help? Note: Tomcat itself is NOT installed locally on that machine. Also tcpdump on the remote machine shows no attempt to access the remote machine from the Web server. -- Bring back the Firefox plushy! http://digg.com/linux_unix/Is_the_Firefox_plush_gone_for_good https://bugzilla.mozilla.org/show_bug.cgi?id=322367 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk to remote host
here are my configuration files. Logs are compressed. Charlie Wingate wrote: Logs and config files would help here. Substitute out real ips with Xs or fake ones; or just post them. In any event it is difficult for anyone to provide help based on the information you have provided. ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: John Richard Moser [mailto:[EMAIL PROTECTED] Sent: Monday, November 26, 2007 12:28 PM To: users@tomcat.apache.org Subject: mod_jk to remote host Hi I have a mod_jk connector that works on localhost. I am trying to change the host to the remote IP address and configure it on another server (port 8009 is open) but I'm getting nowhere. The error log consistently says the worker name=tomcat_ajp does not exist but I put it in worker.list= and configured it appropriately. Any help? Note: Tomcat itself is NOT installed locally on that machine. Also tcpdump on the remote machine shows no attempt to access the remote machine from the Web server. -- Bring back the Firefox plushy! http://digg.com/linux_unix/Is_the_Firefox_plush_gone_for_good https://bugzilla.mozilla.org/show_bug.cgi?id=322367 IfModule mod_jk.c JkWorkersFile /var/www/portal/fubar/workers.properties JkLogFile /var/www/portal/fubar/log/apache_mod_jk.log JkLogLevel debug #JkLogLevel warning JkMount /fubar/* fubar JkMount /fubar fubar /IfModule # Worker list worker.list=fubar # Worker settings for fubar worker.fubar.port=8009 worker.fubar.host=10.1.1.21 worker.fubar.type=ajp13 worker.fubar.mount=/fubar /fubar/* apache_mod_jk.log.bz2 Description: application/bzip - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk to remote host
John- you will need to have an ajp (of worker.ajp13.type) connector configured and listening (on worker.ajp13.port) on the *worker.ajp13.host* you have specified in $CATALINA_HOME/conf/workers.properties file http://www.stanford.edu/group/coursework/stanfordoki/apacheChecklist.html M- - Original Message - From: John Richard Moser [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, November 26, 2007 12:28 PM Subject: mod_jk to remote host Hi I have a mod_jk connector that works on localhost. I am trying to change the host to the remote IP address and configure it on another server (port 8009 is open) but I'm getting nowhere. The error log consistently says the worker name=tomcat_ajp does not exist but I put it in worker.list= and configured it appropriately. Any help? Note: Tomcat itself is NOT installed locally on that machine. Also tcpdump on the remote machine shows no attempt to access the remote machine from the Web server. -- Bring back the Firefox plushy! http://digg.com/linux_unix/Is_the_Firefox_plush_gone_for_good https://bugzilla.mozilla.org/show_bug.cgi?id=322367 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk to remote host
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, John Richard Moser wrote: # Worker list worker.list=fubar # Worker settings for fubar worker.fubar.port=8009 worker.fubar.host=10.1.1.21 worker.fubar.type=ajp13 worker.fubar.mount=/fubar /fubar/* This looks good, except that last line. I've never seen that used, although I can see it in the mod_jk documentation. I would remove it, as it is not necessary IMO. Have you tried using telnet to 10.1.1.21:8009 from your Apache server? There are at least 3 opportunities for firewalls to interfere with communication. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHSxnW9CaO5/Lv0PARAp09AJ0YZ+lSH0e2J+NhpOJqVMSMMlCG3wCdF/V5 zAGEZrAuUtCS7mWiTcKkhk0= =41uJ -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk to remote host
explain what you mean. What I have is... HOST A Host B Tomcat (8080:http) | | Tomcat (8009:ajp) --- Apache (443:https) Apache (80:http) | | Apache (80:http) If I go to Host A on 8080 or 80, I get the same content. On Host B at 80, I get an internal server error. nmap sees Host A on 8009 as open from Host B Is there something I need to do on Host A to tell it Host B is allowed to do that? Martin Gainty wrote: John- you will need to have an ajp (of worker.ajp13.type) connector configured and listening (on worker.ajp13.port) on the *worker.ajp13.host* you have specified in $CATALINA_HOME/conf/workers.properties file http://www.stanford.edu/group/coursework/stanfordoki/apacheChecklist.html M- - Original Message - From: John Richard Moser [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, November 26, 2007 12:28 PM Subject: mod_jk to remote host Hi I have a mod_jk connector that works on localhost. I am trying to change the host to the remote IP address and configure it on another server (port 8009 is open) but I'm getting nowhere. The error log consistently says the worker name=tomcat_ajp does not exist but I put it in worker.list= and configured it appropriately. Any help? Note: Tomcat itself is NOT installed locally on that machine. Also tcpdump on the remote machine shows no attempt to access the remote machine from the Web server. -- Bring back the Firefox plushy! http://digg.com/linux_unix/Is_the_Firefox_plush_gone_for_good https://bugzilla.mozilla.org/show_bug.cgi?id=322367 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Bring back the Firefox plushy! http://digg.com/linux_unix/Is_the_Firefox_plush_gone_for_good https://bugzilla.mozilla.org/show_bug.cgi?id=322367 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk to remote host
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, John Richard Moser wrote: # Worker list worker.list=fubar # Worker settings for fubar worker.fubar.port=8009 worker.fubar.host=10.1.1.21 worker.fubar.type=ajp13 worker.fubar.mount=/fubar /fubar/* This looks good, except that last line. I've never seen that used, although I can see it in the mod_jk documentation. I would remove it, as it is not necessary IMO. Yeah, I added that at some point and it did nothing Have you tried using telnet to 10.1.1.21:8009 from your Apache server? There are at least 3 opportunities for firewalls to interfere with communication. I have tested the network on all levels. I custom-wrote the firewall and used nmap and just plain shut the thing off to test if it's interfering. That port is open. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHSxnW9CaO5/Lv0PARAp09AJ0YZ+lSH0e2J+NhpOJqVMSMMlCG3wCdF/V5 zAGEZrAuUtCS7mWiTcKkhk0= =41uJ -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Bring back the Firefox plushy! http://digg.com/linux_unix/Is_the_Firefox_plush_gone_for_good https://bugzilla.mozilla.org/show_bug.cgi?id=322367 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk to remote host
ok I noticed the logs mentioned ajp13 on localhost:8009 I ssh -L 8009:localhost:8009 to the remote server and change the mount to use worker ajp13 (NOT defined in my workers.properties) and it works! If I change the JkWorkersFile setting Apache refuses to start because it can't find the file, so I know I'm loading the workers file. I added a worker to workers.properties for ajp13, still no go, it just uses localhost:8009 and ignores my settings. This is broken. What the hell? John Richard Moser wrote: Hi I have a mod_jk connector that works on localhost. I am trying to change the host to the remote IP address and configure it on another server (port 8009 is open) but I'm getting nowhere. The error log consistently says the worker name=tomcat_ajp does not exist but I put it in worker.list= and configured it appropriately. Any help? Note: Tomcat itself is NOT installed locally on that machine. Also tcpdump on the remote machine shows no attempt to access the remote machine from the Web server. -- Bring back the Firefox plushy! http://digg.com/linux_unix/Is_the_Firefox_plush_gone_for_good https://bugzilla.mozilla.org/show_bug.cgi?id=322367 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk to remote host
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, John Richard Moser wrote: I have tested the network on all levels. I custom-wrote the firewall and used nmap and just plain shut the thing off to test if it's interfering. That port is open. :( You mentioned that tcpdump on the target (Tomcat) machine shows no traffic. What about running tcpdump on the source (Apache httpd) machine? Does mod_jk even try to call out? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHSydA9CaO5/Lv0PARAr0oAJ9R6B2BgL+by3XTsCt7VV7c6k3wugCgg5Kw OWUqV7EUJF+e53uiimg6BTM= =s14j -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk to remote host
John Richard Moser wrote: here are my configuration files. Logs are compressed. I had a look at the log file. You are using version 1.2.18. We are at the moment at version 1.2.25 with a very long changelog. Do yourself and us a favour and use the most recent version 1.2.25. For me it looks like your workers.properties does not get picked up correctly and mod_jk does only configure it's alternative build in default worker (ajp13, localhost, 8009). Either it can't find or read the fiole, or the JkWorkersFile directive is not active in the httpd config, or maybe not inside the global server (it's not allowed inside a vhost). More recent versions will very explicitely log the config they read during startup (with debug log level). Regards, Rainer Charlie Wingate wrote: Logs and config files would help here. Substitute out real ips with Xs or fake ones; or just post them. In any event it is difficult for anyone to provide help based on the information you have provided. ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: John Richard Moser [mailto:[EMAIL PROTECTED] Sent: Monday, November 26, 2007 12:28 PM To: users@tomcat.apache.org Subject: mod_jk to remote host Hi I have a mod_jk connector that works on localhost. I am trying to change the host to the remote IP address and configure it on another server (port 8009 is open) but I'm getting nowhere. The error log consistently says the worker name=tomcat_ajp does not exist but I put it in worker.list= and configured it appropriately. Any help? Note: Tomcat itself is NOT installed locally on that machine. Also tcpdump on the remote machine shows no attempt to access the remote machine from the Web server. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk to remote host
Rainer Jung wrote: John Richard Moser wrote: here are my configuration files. Logs are compressed. I had a look at the log file. You are using version 1.2.18. We are at the moment at version 1.2.25 with a very long changelog. Do yourself and us a favour and use the most recent version 1.2.25. For me it looks like your workers.properties does not get picked up correctly and mod_jk does only configure it's alternative build in default worker (ajp13, localhost, 8009). Either it can't find or read the fiole, or the JkWorkersFile directive is not active in the httpd config, or maybe not inside the global server (it's not allowed inside a vhost). Put the directive in the global scope and it works. Thanks all. More recent versions will very explicitely log the config they read during startup (with debug log level). Regards, Rainer Charlie Wingate wrote: Logs and config files would help here. Substitute out real ips with Xs or fake ones; or just post them. In any event it is difficult for anyone to provide help based on the information you have provided. ~Charlie The significant problems we have cannot be solved at the same level of thinking with which we created them. - Albert Einstein -Original Message- From: John Richard Moser [mailto:[EMAIL PROTECTED] Sent: Monday, November 26, 2007 12:28 PM To: users@tomcat.apache.org Subject: mod_jk to remote host Hi I have a mod_jk connector that works on localhost. I am trying to change the host to the remote IP address and configure it on another server (port 8009 is open) but I'm getting nowhere. The error log consistently says the worker name=tomcat_ajp does not exist but I put it in worker.list= and configured it appropriately. Any help? Note: Tomcat itself is NOT installed locally on that machine. Also tcpdump on the remote machine shows no attempt to access the remote machine from the Web server. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Bring back the Firefox plushy! http://digg.com/linux_unix/Is_the_Firefox_plush_gone_for_good https://bugzilla.mozilla.org/show_bug.cgi?id=322367 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk to remote host
John Richard Moser wrote: Rainer Jung wrote: John Richard Moser wrote: here are my configuration files. Logs are compressed. I had a look at the log file. You are using version 1.2.18. We are at the moment at version 1.2.25 with a very long changelog. Do yourself and us a favour and use the most recent version 1.2.25. For me it looks like your workers.properties does not get picked up correctly and mod_jk does only configure it's alternative build in default worker (ajp13, localhost, 8009). Either it can't find or read the fiole, or the JkWorkersFile directive is not active in the httpd config, or maybe not inside the global server (it's not allowed inside a vhost). Put the directive in the global scope and it works. Really consider upgrading: version 1.2.25 would e.g. warn, if it found the directive in a non-global context. Have fun with mod_jk. Regards, Rainer - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]