RE: tomcat 4.1.12 with apache1.3.26 and mod_jk integration error.
The hosts file is now correct. I'm now able to load the /examples directory the following ways: http://w121c20.legacyhs:8080/examples http://w121c20.legacyhs/examples but not with http://localhost:8080/examples or http://localhost/examples Also, when I test a jsp example as standalone, it works fine (http://w121c20.legacyhs:8080/examples/jsp/num/numguess.jsp) but not when I remove the port 8080 from the URL: http://w121c20.legacyhs/examples/jsp/num/numguess.jsp The only strange config problem was that jk directory under CATALINA_HOME/conf didn't exist prior to me creating the workers.properties file! I'm not sure if this meaningful. Suggestions anyone? -Original Message- From: Josh G [mailto:josh;gfunk007.com] Sent: Wednesday, October 30, 2002 5:37 PM To: Tomcat Users List Subject: Re: tomcat 4.1.12 with apache1.3.26 and mod_jk integration error. You don't have localhost in your HOSTS file, add this entry and it'll all be good :) -Josh Who can it be knocking at my door? Go away, don't come round here no more. Can't you see that it's late at night? I'm very tired, and I'm not feeling right. - Original Message - From: Lambert, Stephen : CO IR [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, October 31, 2002 11:20 AM Subject: RE: tomcat 4.1.12 with apache1.3.26 and mod_jk integration error. John, I still can't get this to work?! I started over from scratch with your docs and was able correct the duplicate mod_jk.conf problem. However, when I try the following URL's, localhost still doesn't work. http://localhost result= Netscape starts searching the internet http://localhost:8080 result= Netscape starts searching the internet http://w121c20.legacyhs:8080 result= works fine! http://w121c20.legacyhs result= works fine! Is this a Netscape issue? -Original Message- From: Turner, John [mailto:JTurner;AAS.com] Sent: Tuesday, October 08, 2002 5:34 AM To: 'Tomcat Users List' Subject: RE: tomcat 4.1.12 with apache1.3.26 and mod_jk integration error . Take a look at the docs for the ApacheConfig Listener...there are parameters there to stop things like appending to mod_jk.conf, which might be what is happening. In other words, shut everything down, wait a bit, delete mod_jk.conf, then start up Tomcat and see if the mod_jk.conf file is correct (make sure permissions on mod_jk.conf file are correct, too...the user Tomcat is running as should have write/delete access to that file). It's possible that you just keep using the same mod_jk.conf file, a new one may not be getting written everytime Tomcat starts. For the 8080 message, make sure you have a HTTP connector on 8080 enabled in server.xml. Take a second and go back through my HOWTO (not the connector build steps). There are only 4 or 5 specific changes to make to httpd.conf and server.xml to get Apache working with Tomcat...and none of those changes are major. John -Original Message- -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: tomcat 4.1.12 with apache1.3.26 and mod_jk integration error.
John, I still can't get this to work?! I started over from scratch with your docs and was able correct the duplicate mod_jk.conf problem. However, when I try the following URL's, localhost still doesn't work. http://localhost result= Netscape starts searching the internet http://localhost:8080 result= Netscape starts searching the internet http://w121c20.legacyhs:8080 result= works fine! http://w121c20.legacyhs result= works fine! Is this a Netscape issue? -Original Message- From: Turner, John [mailto:JTurner;AAS.com] Sent: Tuesday, October 08, 2002 5:34 AM To: 'Tomcat Users List' Subject: RE: tomcat 4.1.12 with apache1.3.26 and mod_jk integration error . Take a look at the docs for the ApacheConfig Listener...there are parameters there to stop things like appending to mod_jk.conf, which might be what is happening. In other words, shut everything down, wait a bit, delete mod_jk.conf, then start up Tomcat and see if the mod_jk.conf file is correct (make sure permissions on mod_jk.conf file are correct, too...the user Tomcat is running as should have write/delete access to that file). It's possible that you just keep using the same mod_jk.conf file, a new one may not be getting written everytime Tomcat starts. For the 8080 message, make sure you have a HTTP connector on 8080 enabled in server.xml. Take a second and go back through my HOWTO (not the connector build steps). There are only 4 or 5 specific changes to make to httpd.conf and server.xml to get Apache working with Tomcat...and none of those changes are major. John -Original Message- From: Lambert, Stephen : CO IR [mailto:SLambert;LHS.ORG] Sent: Monday, October 07, 2002 7:31 PM To: 'Tomcat Users List' Subject: RE: tomcat 4.1.12 with apache1.3.26 and mod_jk integration error . Changes below completed. Apache now starts with no warning! However, result of http://localhost:8080/examples is unable to locate server localhost:8080 And result of http://localhost/examples finds the jsp examples with a URL of http://w121c20.legacyhs/examples/ What's bizarre is that the mod_jk.conf file is once again populated with a second VirtualHost directive after starting Tomcat. So if I stop/start Tomcat/Apache the VirtualHost warning message re-appears. Stephen. -Original Message- From: Turner, John [mailto:JTurner;AAS.com] Sent: Monday, October 07, 2002 3:08 PM To: 'Tomcat Users List' Subject: RE: tomcat 4.1.12 with apache1.3.26 and mod_jk intergration error . In your server.xml, change the defaultHost parameter of your Engine element to localhost. You're getting that Apache error because you have two VirtualHost definitions for w121c20.legacyhs in mod_jk.conf. There should only be one. Also, change ServerName in httpd.conf to w121c20.legacyhs. Give that a try, and see what happens. John -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
tomcat 4.1.12 with apache1.3.26 and mod_jk intergration error.
HELP!!! I'm getting an error that is very confusing when starting Apache after Tomcat: [warn] VirtualHost w121c20.legacyhs;80 overlaps with VirtualHost w121c20.legacyhs:80, ./apachectl start:httpd started The Virtual Host directive is commented out in my httpd.conf, so I'm not sure why I'm receiving this error. I only wish to use localhost and the server name in the URL. Can someone shed some light on this? Thanks Stephen. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: tomcat 4.1.12 with apache1.3.26 and mod_jk intergration error .
-Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 2:50 PM To: 'Tomcat Users List' Subject: RE: tomcat 4.1.12 with apache1.3.26 and mod_jk intergration error . Post your httpd.conf, and mod_jk.conf if your JK commands are not in httpd.conf. John -Original Message- From: Lambert, Stephen : CO IR [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 5:48 PM To: 'Tomcat Users List' Subject: tomcat 4.1.12 with apache1.3.26 and mod_jk intergration error. HELP!!! I'm getting an error that is very confusing when starting Apache after Tomcat: [warn] VirtualHost w121c20.legacyhs;80 overlaps with VirtualHost w121c20.legacyhs:80, ./apachectl start:httpd started The Virtual Host directive is commented out in my httpd.conf, so I'm not sure why I'm receiving this error. I only wish to use localhost and the server name in the URL. Can someone shed some light on this? Thanks Stephen. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] httpd.conf Description: Binary data mod_jk.conf Description: Binary data server.xml Description: Binary data workers.properties Description: Binary data -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: tomcat 4.1.12 with apache1.3.26 and mod_jk integration error .
Changes below completed. Apache now starts with no warning! However, result of http://localhost:8080/examples is unable to locate server localhost:8080 And result of http://localhost/examples finds the jsp examples with a URL of http://w121c20.legacyhs/examples/ What's bizarre is that the mod_jk.conf file is once again populated with a second VirtualHost directive after starting Tomcat. So if I stop/start Tomcat/Apache the VirtualHost warning message re-appears. Stephen. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 3:08 PM To: 'Tomcat Users List' Subject: RE: tomcat 4.1.12 with apache1.3.26 and mod_jk intergration error . In your server.xml, change the defaultHost parameter of your Engine element to localhost. You're getting that Apache error because you have two VirtualHost definitions for w121c20.legacyhs in mod_jk.conf. There should only be one. Also, change ServerName in httpd.conf to w121c20.legacyhs. Give that a try, and see what happens. John -Original Message- From: Lambert, Stephen : CO IR [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 5:58 PM To: 'Tomcat Users List' Subject: RE: tomcat 4.1.12 with apache1.3.26 and mod_jk intergration error . -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 2:50 PM To: 'Tomcat Users List' Subject: RE: tomcat 4.1.12 with apache1.3.26 and mod_jk intergration error . Post your httpd.conf, and mod_jk.conf if your JK commands are not in httpd.conf. John -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Setting JAVA_HOME path on Linux 7.0
On the Redhat 6.2 server, I'm running JDK1.3 with Tomcat 1.3(standalone) and all of the JSP examples work fine! On the RedHat 7 server, once the path is rectified, then I will install the latest version of Tomcat. Since I can't shutdown the server without fully qualifying the path to /sbin, it appears setting environment variables just don''t take. :( I'm not sure why! I tried all combinations that I can think of! -Original Message- From: Sterling [mailto:[EMAIL PROTECTED]] Sent: Friday, November 10, 2000 11:48 AM To: [EMAIL PROTECTED] Cc: '[EMAIL PROTECTED]' Subject: Re: Setting JAVA_HOME path on Linux 7.0 H- This might not be relevant now, but I have read that Tomcat 3.1 doesn't work with JDK1.3. It only works with JDK1.2. I was having problems getting Tomcat running using JDK1.3. I switched and changed my JAVA_HOME to point to JDK1.2 and all the problems went away. Well not all, but it started working as soon as I set my CLASS_PATH correctly. (The whole 500 error terror. 8^) Newbies .002$. -Sterling "Lambert, Stephen : CO IR" wrote: I have Tomcat 3.1 running standalone on a RedHat 6.2 server(yeah). However, on a Redhat 7.0 server, I having difficulty setting the path for JAVA_HOME after installing JDK1.3 I can't cd to $JAVA_HOME. The .bash_profile is as follows: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH:$HOME/bin:/usr/local/jdk1.3/bin BASH_ENV=$HOME/.bashrc USERNAME="root" export USERNAME BASH_ENV PATH JAVA_HOME=/usr/local/jdk1.3 export JAVA_HOME --- Also, when I shutdown the server, it requires /sbin/./shutdown -h now The only difference I can tell between the two Linux version is the ENV(6.2) vs BASH_ENV(7.0) Can someone help? Thanks.
RE: Setting JAVA_HOME path on Linux 7.0
# .bashrc # User specific aliases and functions alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi -Original Message- From: James Harman [mailto:[EMAIL PROTECTED]] Sent: Friday, November 10, 2000 12:07 PM To: Tomcat-Linux Subject: Re: Setting JAVA_HOME path on Linux 7.0 Is there something in your .bashrc that sets the JAVA_HOME value? On Fri, 10 Nov 2000, Lambert, Stephen : CO IR wrote: I have Tomcat 3.1 running standalone on a RedHat 6.2 server(yeah). However, on a Redhat 7.0 server, I having difficulty setting the path for JAVA_HOME after installing JDK1.3 I can't cd to $JAVA_HOME. The .bash_profile is as follows: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH:$HOME/bin:/usr/local/jdk1.3/bin BASH_ENV=$HOME/.bashrc USERNAME="root" export USERNAME BASH_ENV PATH JAVA_HOME=/usr/local/jdk1.3 export JAVA_HOME --- Also, when I shutdown the server, it requires /sbin/./shutdown -h now The only difference I can tell between the two Linux version is the ENV(6.2) vs BASH_ENV(7.0) Can someone help? Thanks. James Harman Requisite Technology [EMAIL PROTECTED] -- For Technical Support, email: [EMAIL PROTECTED] phone: 303-474-2288
Setting JAVA_HOME path on Linux 7.0
I have Tomcat 3.1 running standalone on a RedHat 6.2 server(yeah). However, on a Redhat 7.0 server, I having difficulty setting the path for JAVA_HOME after installing JDK1.3 I can't cd to $JAVA_HOME. The .bash_profile is as follows: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH:$HOME/bin:/usr/local/jdk1.3/bin BASH_ENV=$HOME/.bashrc USERNAME="root" export USERNAME BASH_ENV PATH JAVA_HOME=/usr/local/jdk1.3 export JAVA_HOME --- Also, when I shutdown the server, it requires /sbin/./shutdown -h now The only difference I can tell between the two Linux version is the ENV(6.2) vs BASH_ENV(7.0) Can someone help? Thanks.