RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
Did you tried the RPM for TC 4.0.1 ? - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 9:37 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi; I've been trying to install and use Tomcat 4.0.1 in stand alone mode on Suse 7.2 linux. I haven't been able to get my tomcat files to come up in my browser( Netscape 6.2.1 ) using http://localhost:8080/ I also haven't gotten any error messages that might give me a clue :). I don't have a web server or any kind of networking software running on my box. These are the messages I got from std out when I ran startup.sh: === Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK === These are the messages I got when running shutdown.sh: === steves linux /usr/local/Tomcat/bin/catalina.sh line 234: 1265 Segment Fault $JAVA_HOME /usr/local/JDK/bin/java$CATALINA_OPTS -classpath $CP -Dcatalina.base=$CATALINA_BASE -Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap $@ stop root@linux:/home/steve/KDesktop Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK = Any clues would be greatly appreciated Thanks in advance -- Steve The Java Resource Dump http://www.geocities.com/beforewisdom/Java/index.html --- Rancor is an outpouring of a feeling of inferiority - Jose' Ortega y Gasset -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
Steve I'm not sure (I'm a relative newbie and my platform is typically Windows :( ) but I thought the default port on Linux was 8180, not 8080. If you've not changed the defaults, have you tried http://localhost:8180? Best wishes, John John Niven johnDOTnivenATmarcatDOTcom -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: 14 January 2002 10:33 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi Nelson. I did download install the jdk 1.3.1_02, tomcat 4.0.1 I put my JAVA_HOME, TOMCAT_HOME, CATALINA_HOME paths into /etc/profile ( so I could use these things any where ). The paths are set and tomcat is reporting the correct paths back to me before it sits there and does nothing. Nelson Yip wrote: FOLLOW THESE SIMPLE INSTRUCTIONS AND IT SHOULD WORK. BTW, I INSTALLED TOMCAT ON REDHAT 7.2. 1. Download both attached file j2sdk-1_3_1_02-linux-i386.bin and jakarta-tomcat-4.0.1.tar.gz 2. Ftp the files over to your home directory. 3. Gunzip the file gunzip jakarta-tomcat-4.0.1.tar.gz after that you should see a file name jakarta-tomcat-4.0.1.tar 4. Extract the tar file tar -xvf jakarta-tomcat-4.0.1.tar you should get a folder called jakarta-tomcat-4.0.1 5. This is a binary file and we no compiling is needed. 6. The folder is currently in your home directory and all you need to do is move it over to the path you want Tomcat to be located. mv jakarta-tomcat-4.0.1 /usr/local/bin 7. You cannot run Tomcat without installing the java jdk pack. 8. Next is to install j2sdk-1_3_1_02-linux-i386.bin 9. Just type the command ./j2sdk-1_3_1_02-linux-i386.bin 10. Follow the on screen instruction for the install and you should have specify the path to be /usr/local/bin 11. The next thing is to set your environment so it will recognized JAVA_HOME and TOMCAT_HOME. 12. I am running the bash shell, so you must edit your .bash_profile, the file is hidden and is located in your home directory. 13. Make sure your .bash_profile contains the following: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin BASH_ENV=$HOME/.bashrc JAVA_HOME=$JAVA_HOME/usr/local/bin/jdk1.3.1_02 TOMCAT_HOME=$TOMCAT_HOME/usr/local/bin/jakarta-tomcat-4.0.1 export TOMCAT_HOME JAVA_HOME BASH_ENV PATH unset USERNAME 14. The final step is to reboot the Linux box by typing shutdown -r now 15. You can startup Tomcat by type $TOMCAT_HOME/bin/catalina.sh start 16. To check if Tomcat is working type this in your browser http://www.domain.com:8080;, make sure you use port 8080. 17. Done. -Original Message- From: Todd Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 4:37 PM To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I have Suse 7.2 with jdk 1.4beta-3 fresh install and It came right up. I never use the distro jdk, I've been burnt too many times. Todd Wright At 04:14 PM 1/14/2002 -0500, you wrote: Do you have jdk installed on your system? Also did u setup your JAVA_HOME and CATALINA_HOME? -n -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 3:37 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi; I've been trying to install and use Tomcat 4.0.1 in stand alone mode on Suse 7.2 linux. I haven't been able to get my tomcat files to come up in my browser( Netscape 6.2.1 ) using http://localhost:8080/ I also haven't gotten any error messages that might give me a clue :). I don't have a web server or any kind of networking software running on my box. These are the messages I got from std out when I ran startup.sh: === Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK === These are the messages I got when running shutdown.sh: === steves linux /usr/local/Tomcat/bin/catalina.sh line 234: 1265 Segment Fault $JAVA_HOME /usr/local/JDK/bin/java$CATALINA_OPTS -classpath $CP -Dcatalina.base=$CATALINA_BASE -Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap $@ stop root@linux:/home/steve/KDesktop Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools .jar Using CATALINA_BASE
RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
Did you get the RPM or the standard binary? The RPM open port 8180 (this is set in catalina_home/bin/conf/server.xml) while the standard binary (jakarta-tomcat)open port 8080. I've found that with the rpm version, ./service tomcat4 start doesn't start tomcat (even though it claim so). I think it something to do with not being able to find the java path (even if it is correctly defined in /etc/tomcat4/conf/tomcat4.conf) which binary did you get? RPM or standard binary? Dom -Original Message- From: John Niven [mailto:[EMAIL PROTECTED]] Sent: 15 January 2002 12:50 To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Steve I'm not sure (I'm a relative newbie and my platform is typically Windows :( ) but I thought the default port on Linux was 8180, not 8080. If you've not changed the defaults, have you tried http://localhost:8180? Best wishes, John John Niven johnDOTnivenATmarcatDOTcom -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: 14 January 2002 10:33 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi Nelson. I did download install the jdk 1.3.1_02, tomcat 4.0.1 I put my JAVA_HOME, TOMCAT_HOME, CATALINA_HOME paths into /etc/profile ( so I could use these things any where ). The paths are set and tomcat is reporting the correct paths back to me before it sits there and does nothing. Nelson Yip wrote: FOLLOW THESE SIMPLE INSTRUCTIONS AND IT SHOULD WORK. BTW, I INSTALLED TOMCAT ON REDHAT 7.2. 1. Download both attached file j2sdk-1_3_1_02-linux-i386.bin and jakarta-tomcat-4.0.1.tar.gz 2. Ftp the files over to your home directory. 3. Gunzip the file gunzip jakarta-tomcat-4.0.1.tar.gz after that you should see a file name jakarta-tomcat-4.0.1.tar 4. Extract the tar file tar -xvf jakarta-tomcat-4.0.1.tar you should get a folder called jakarta-tomcat-4.0.1 5. This is a binary file and we no compiling is needed. 6. The folder is currently in your home directory and all you need to do is move it over to the path you want Tomcat to be located. mv jakarta-tomcat-4.0.1 /usr/local/bin 7. You cannot run Tomcat without installing the java jdk pack. 8. Next is to install j2sdk-1_3_1_02-linux-i386.bin 9. Just type the command ./j2sdk-1_3_1_02-linux-i386.bin 10. Follow the on screen instruction for the install and you should have specify the path to be /usr/local/bin 11. The next thing is to set your environment so it will recognized JAVA_HOME and TOMCAT_HOME. 12. I am running the bash shell, so you must edit your .bash_profile, the file is hidden and is located in your home directory. 13. Make sure your .bash_profile contains the following: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin BASH_ENV=$HOME/.bashrc JAVA_HOME=$JAVA_HOME/usr/local/bin/jdk1.3.1_02 TOMCAT_HOME=$TOMCAT_HOME/usr/local/bin/jakarta-tomcat-4.0.1 export TOMCAT_HOME JAVA_HOME BASH_ENV PATH unset USERNAME 14. The final step is to reboot the Linux box by typing shutdown -r now 15. You can startup Tomcat by type $TOMCAT_HOME/bin/catalina.sh start 16. To check if Tomcat is working type this in your browser http://www.domain.com:8080;, make sure you use port 8080. 17. Done. -Original Message- From: Todd Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 4:37 PM To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I have Suse 7.2 with jdk 1.4beta-3 fresh install and It came right up. I never use the distro jdk, I've been burnt too many times. Todd Wright At 04:14 PM 1/14/2002 -0500, you wrote: Do you have jdk installed on your system? Also did u setup your JAVA_HOME and CATALINA_HOME? -n -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 3:37 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi; I've been trying to install and use Tomcat 4.0.1 in stand alone mode on Suse 7.2 linux. I haven't been able to get my tomcat files to come up in my browser( Netscape 6.2.1 ) using http://localhost:8080/ I also haven't gotten any error messages that might give me a clue :). I don't have a web server or any kind of networking software running on my box. These are the messages I got from std out when I ran startup.sh: === Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local
Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
I didn't use an rpm so I guess I got the standard binaries. I tried both ports in my browser...8180 and 8080. I copied the same Tomcat 4.0.1 download to the windows 98 side of my hard drive. I had no trouble getting it to work with http://localhost:8080 there. Cressatti, Dominique wrote: Did you get the RPM or the standard binary? The RPM open port 8180 (this is set in catalina_home/bin/conf/server.xml) while the standard binary (jakarta-tomcat)open port 8080. I've found that with the rpm version, ./service tomcat4 start doesn't start tomcat (even though it claim so). I think it something to do with not being able to find the java path (even if it is correctly defined in /etc/tomcat4/conf/tomcat4.conf) which binary did you get? RPM or standard binary? Dom -Original Message- From: John Niven [mailto:[EMAIL PROTECTED]] Sent: 15 January 2002 12:50 To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Steve I'm not sure (I'm a relative newbie and my platform is typically Windows :( ) but I thought the default port on Linux was 8180, not 8080. If you've not changed the defaults, have you tried http://localhost:8180? Best wishes, John John Niven johnDOTnivenATmarcatDOTcom -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: 14 January 2002 10:33 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi Nelson. I did download install the jdk 1.3.1_02, tomcat 4.0.1 I put my JAVA_HOME, TOMCAT_HOME, CATALINA_HOME paths into /etc/profile ( so I could use these things any where ). The paths are set and tomcat is reporting the correct paths back to me before it sits there and does nothing. Nelson Yip wrote: FOLLOW THESE SIMPLE INSTRUCTIONS AND IT SHOULD WORK. BTW, I INSTALLED TOMCAT ON REDHAT 7.2. 1. Download both attached file j2sdk-1_3_1_02-linux-i386.bin and jakarta-tomcat-4.0.1.tar.gz 2. Ftp the files over to your home directory. 3. Gunzip the file gunzip jakarta-tomcat-4.0.1.tar.gz after that you should see a file name jakarta-tomcat-4.0.1.tar 4. Extract the tar file tar -xvf jakarta-tomcat-4.0.1.tar you should get a folder called jakarta-tomcat-4.0.1 5. This is a binary file and we no compiling is needed. 6. The folder is currently in your home directory and all you need to do is move it over to the path you want Tomcat to be located. mv jakarta-tomcat-4.0.1 /usr/local/bin 7. You cannot run Tomcat without installing the java jdk pack. 8. Next is to install j2sdk-1_3_1_02-linux-i386.bin 9. Just type the command ./j2sdk-1_3_1_02-linux-i386.bin 10. Follow the on screen instruction for the install and you should have specify the path to be /usr/local/bin 11. The next thing is to set your environment so it will recognized JAVA_HOME and TOMCAT_HOME. 12. I am running the bash shell, so you must edit your .bash_profile, the file is hidden and is located in your home directory. 13. Make sure your .bash_profile contains the following: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin BASH_ENV=$HOME/.bashrc JAVA_HOME=$JAVA_HOME/usr/local/bin/jdk1.3.1_02 TOMCAT_HOME=$TOMCAT_HOME/usr/local/bin/jakarta-tomcat-4.0.1 export TOMCAT_HOME JAVA_HOME BASH_ENV PATH unset USERNAME 14. The final step is to reboot the Linux box by typing shutdown -r now 15. You can startup Tomcat by type $TOMCAT_HOME/bin/catalina.sh start 16. To check if Tomcat is working type this in your browser http://www.domain.com:8080;, make sure you use port 8080. 17. Done. -Original Message- From: Todd Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 4:37 PM To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I have Suse 7.2 with jdk 1.4beta-3 fresh install and It came right up. I never use the distro jdk, I've been burnt too many times. Todd Wright At 04:14 PM 1/14/2002 -0500, you wrote: Do you have jdk installed on your system? Also did u setup your JAVA_HOME and CATALINA_HOME? -n -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 3:37 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi; I've been trying to install and use Tomcat 4.0.1 in stand alone mode on Suse 7.2 linux. I haven't been able to get my tomcat files to come up in my browser( Netscape 6.2.1 ) using http://localhost:8080/ I also haven't gotten any error messages that might give me a clue :). I don't have a web server or any kind of networking software running on my box. These are the messages I got from
RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
stupid question but have you set JAVA_HOME and CATALINA_HOME ? what do you get when you do echo $JAVA_HOME ? Dom -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: 15 January 2002 02:32 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I didn't use an rpm so I guess I got the standard binaries. I tried both ports in my browser...8180 and 8080. I copied the same Tomcat 4.0.1 download to the windows 98 side of my hard drive. I had no trouble getting it to work with http://localhost:8080 there. Cressatti, Dominique wrote: Did you get the RPM or the standard binary? The RPM open port 8180 (this is set in catalina_home/bin/conf/server.xml) while the standard binary (jakarta-tomcat)open port 8080. I've found that with the rpm version, ./service tomcat4 start doesn't start tomcat (even though it claim so). I think it something to do with not being able to find the java path (even if it is correctly defined in /etc/tomcat4/conf/tomcat4.conf) which binary did you get? RPM or standard binary? Dom -Original Message- From: John Niven [mailto:[EMAIL PROTECTED]] Sent: 15 January 2002 12:50 To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Steve I'm not sure (I'm a relative newbie and my platform is typically Windows :( ) but I thought the default port on Linux was 8180, not 8080. If you've not changed the defaults, have you tried http://localhost:8180? Best wishes, John John Niven johnDOTnivenATmarcatDOTcom -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: 14 January 2002 10:33 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi Nelson. I did download install the jdk 1.3.1_02, tomcat 4.0.1 I put my JAVA_HOME, TOMCAT_HOME, CATALINA_HOME paths into /etc/profile ( so I could use these things any where ). The paths are set and tomcat is reporting the correct paths back to me before it sits there and does nothing. Nelson Yip wrote: FOLLOW THESE SIMPLE INSTRUCTIONS AND IT SHOULD WORK. BTW, I INSTALLED TOMCAT ON REDHAT 7.2. 1. Download both attached file j2sdk-1_3_1_02-linux-i386.bin and jakarta-tomcat-4.0.1.tar.gz 2. Ftp the files over to your home directory. 3. Gunzip the file gunzip jakarta-tomcat-4.0.1.tar.gz after that you should see a file name jakarta-tomcat-4.0.1.tar 4. Extract the tar file tar -xvf jakarta-tomcat-4.0.1.tar you should get a folder called jakarta-tomcat-4.0.1 5. This is a binary file and we no compiling is needed. 6. The folder is currently in your home directory and all you need to do is move it over to the path you want Tomcat to be located. mv jakarta-tomcat-4.0.1 /usr/local/bin 7. You cannot run Tomcat without installing the java jdk pack. 8. Next is to install j2sdk-1_3_1_02-linux-i386.bin 9. Just type the command ./j2sdk-1_3_1_02-linux-i386.bin 10. Follow the on screen instruction for the install and you should have specify the path to be /usr/local/bin 11. The next thing is to set your environment so it will recognized JAVA_HOME and TOMCAT_HOME. 12. I am running the bash shell, so you must edit your .bash_profile, the file is hidden and is located in your home directory. 13. Make sure your .bash_profile contains the following: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin BASH_ENV=$HOME/.bashrc JAVA_HOME=$JAVA_HOME/usr/local/bin/jdk1.3.1_02 TOMCAT_HOME=$TOMCAT_HOME/usr/local/bin/jakarta-tomcat-4.0.1 export TOMCAT_HOME JAVA_HOME BASH_ENV PATH unset USERNAME 14. The final step is to reboot the Linux box by typing shutdown -r now 15. You can startup Tomcat by type $TOMCAT_HOME/bin/catalina.sh start 16. To check if Tomcat is working type this in your browser http://www.domain.com:8080;, make sure you use port 8080. 17. Done. -Original Message- From: Todd Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 4:37 PM To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I have Suse 7.2 with jdk 1.4beta-3 fresh install and It came right up. I never use the distro jdk, I've been burnt too many times. Todd Wright At 04:14 PM 1/14/2002 -0500, you wrote: Do you have jdk installed on your system? Also did u setup your JAVA_HOME and CATALINA_HOME? -n -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 3:37 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi; I've been trying to install and use Tomcat 4.0.1 in stand alone mode on Suse 7.2 linux. I
RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
Maybe your firewall is too strict, or ping localhost doesn't work? (add it to /etc/hosts if it doesn't..) Mvgr, Martin -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 03:32 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I didn't use an rpm so I guess I got the standard binaries. I tried both ports in my browser...8180 and 8080. I copied the same Tomcat 4.0.1 download to the windows 98 side of my hard drive. I had no trouble getting it to work with http://localhost:8080 there. Cressatti, Dominique wrote: Did you get the RPM or the standard binary? The RPM open port 8180 (this is set in catalina_home/bin/conf/server.xml) while the standard binary (jakarta-tomcat)open port 8080. I've found that with the rpm version, ./service tomcat4 start doesn't start tomcat (even though it claim so). I think it something to do with not being able to find the java path (even if it is correctly defined in /etc/tomcat4/conf/tomcat4.conf) which binary did you get? RPM or standard binary? Dom -Original Message- From: John Niven [mailto:[EMAIL PROTECTED]] Sent: 15 January 2002 12:50 To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Steve I'm not sure (I'm a relative newbie and my platform is typically Windows :( ) but I thought the default port on Linux was 8180, not 8080. If you've not changed the defaults, have you tried http://localhost:8180? Best wishes, John John Niven johnDOTnivenATmarcatDOTcom -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: 14 January 2002 10:33 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi Nelson. I did download install the jdk 1.3.1_02, tomcat 4.0.1 I put my JAVA_HOME, TOMCAT_HOME, CATALINA_HOME paths into /etc/profile ( so I could use these things any where ). The paths are set and tomcat is reporting the correct paths back to me before it sits there and does nothing. Nelson Yip wrote: FOLLOW THESE SIMPLE INSTRUCTIONS AND IT SHOULD WORK. BTW, I INSTALLED TOMCAT ON REDHAT 7.2. 1. Download both attached file j2sdk-1_3_1_02-linux-i386.bin and jakarta-tomcat-4.0.1.tar.gz 2. Ftp the files over to your home directory. 3. Gunzip the file gunzip jakarta-tomcat-4.0.1.tar.gz after that you should see a file name jakarta-tomcat-4.0.1.tar 4. Extract the tar file tar -xvf jakarta-tomcat-4.0.1.tar you should get a folder called jakarta-tomcat-4.0.1 5. This is a binary file and we no compiling is needed. 6. The folder is currently in your home directory and all you need to do is move it over to the path you want Tomcat to be located. mv jakarta-tomcat-4.0.1 /usr/local/bin 7. You cannot run Tomcat without installing the java jdk pack. 8. Next is to install j2sdk-1_3_1_02-linux-i386.bin 9. Just type the command ./j2sdk-1_3_1_02-linux-i386.bin 10. Follow the on screen instruction for the install and you should have specify the path to be /usr/local/bin 11. The next thing is to set your environment so it will recognized JAVA_HOME and TOMCAT_HOME. 12. I am running the bash shell, so you must edit your .bash_profile, the file is hidden and is located in your home directory. 13. Make sure your .bash_profile contains the following: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin BASH_ENV=$HOME/.bashrc JAVA_HOME=$JAVA_HOME/usr/local/bin/jdk1.3.1_02 TOMCAT_HOME=$TOMCAT_HOME/usr/local/bin/jakarta-tomcat-4.0.1 export TOMCAT_HOME JAVA_HOME BASH_ENV PATH unset USERNAME 14. The final step is to reboot the Linux box by typing shutdown -r now 15. You can startup Tomcat by type $TOMCAT_HOME/bin/catalina.sh start 16. To check if Tomcat is working type this in your browser http://www.domain.com:8080;, make sure you use port 8080. 17. Done. -Original Message- From: Todd Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 4:37 PM To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I have Suse 7.2 with jdk 1.4beta-3 fresh install and It came right up. I never use the distro jdk, I've been burnt too many times. Todd Wright At 04:14 PM 1/14/2002 -0500, you wrote: Do you have jdk installed on your system? Also did u setup your JAVA_HOME and CATALINA_HOME? -n -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 3:37 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand
RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
Maybe your firewall is too strict, or ping localhost doesn't work? (add it... I wouldn't go into that at this point. Dom -Original Message- From: Martin van den Bemt [mailto:[EMAIL PROTECTED]] Sent: 15 January 2002 14:45 To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Maybe your firewall is too strict, or ping localhost doesn't work? (add it to /etc/hosts if it doesn't..) Mvgr, Martin -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 03:32 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I didn't use an rpm so I guess I got the standard binaries. I tried both ports in my browser...8180 and 8080. I copied the same Tomcat 4.0.1 download to the windows 98 side of my hard drive. I had no trouble getting it to work with http://localhost:8080 there. Cressatti, Dominique wrote: Did you get the RPM or the standard binary? The RPM open port 8180 (this is set in catalina_home/bin/conf/server.xml) while the standard binary (jakarta-tomcat)open port 8080. I've found that with the rpm version, ./service tomcat4 start doesn't start tomcat (even though it claim so). I think it something to do with not being able to find the java path (even if it is correctly defined in /etc/tomcat4/conf/tomcat4.conf) which binary did you get? RPM or standard binary? Dom -Original Message- From: John Niven [mailto:[EMAIL PROTECTED]] Sent: 15 January 2002 12:50 To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Steve I'm not sure (I'm a relative newbie and my platform is typically Windows :( ) but I thought the default port on Linux was 8180, not 8080. If you've not changed the defaults, have you tried http://localhost:8180? Best wishes, John John Niven johnDOTnivenATmarcatDOTcom -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: 14 January 2002 10:33 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi Nelson. I did download install the jdk 1.3.1_02, tomcat 4.0.1 I put my JAVA_HOME, TOMCAT_HOME, CATALINA_HOME paths into /etc/profile ( so I could use these things any where ). The paths are set and tomcat is reporting the correct paths back to me before it sits there and does nothing. Nelson Yip wrote: FOLLOW THESE SIMPLE INSTRUCTIONS AND IT SHOULD WORK. BTW, I INSTALLED TOMCAT ON REDHAT 7.2. 1. Download both attached file j2sdk-1_3_1_02-linux-i386.bin and jakarta-tomcat-4.0.1.tar.gz 2. Ftp the files over to your home directory. 3. Gunzip the file gunzip jakarta-tomcat-4.0.1.tar.gz after that you should see a file name jakarta-tomcat-4.0.1.tar 4. Extract the tar file tar -xvf jakarta-tomcat-4.0.1.tar you should get a folder called jakarta-tomcat-4.0.1 5. This is a binary file and we no compiling is needed. 6. The folder is currently in your home directory and all you need to do is move it over to the path you want Tomcat to be located. mv jakarta-tomcat-4.0.1 /usr/local/bin 7. You cannot run Tomcat without installing the java jdk pack. 8. Next is to install j2sdk-1_3_1_02-linux-i386.bin 9. Just type the command ./j2sdk-1_3_1_02-linux-i386.bin 10. Follow the on screen instruction for the install and you should have specify the path to be /usr/local/bin 11. The next thing is to set your environment so it will recognized JAVA_HOME and TOMCAT_HOME. 12. I am running the bash shell, so you must edit your .bash_profile, the file is hidden and is located in your home directory. 13. Make sure your .bash_profile contains the following: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin BASH_ENV=$HOME/.bashrc JAVA_HOME=$JAVA_HOME/usr/local/bin/jdk1.3.1_02 TOMCAT_HOME=$TOMCAT_HOME/usr/local/bin/jakarta-tomcat-4.0.1 export TOMCAT_HOME JAVA_HOME BASH_ENV PATH unset USERNAME 14. The final step is to reboot the Linux box by typing shutdown -r now 15. You can startup Tomcat by type $TOMCAT_HOME/bin/catalina.sh start 16. To check if Tomcat is working type this in your browser http://www.domain.com:8080;, make sure you use port 8080. 17. Done. -Original Message- From: Todd Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 4:37 PM To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I have Suse 7.2 with jdk 1.4beta-3 fresh install and It came right up. I never use the distro jdk, I've been burnt too many times. Todd Wright At 04:14 PM 1/14/2002
Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
hmmm if you do a ps -a | grep java, do you get a list of java threads? That'll show that TC is actually working and not getting a seg fault on startup or something. Also netstat -tln should provide a list of open server ports for your machine and you should see some ports open [8005 (AJP12), 8008 (WARP), 8080 or 8180 (HTTP), maybe 8009 (AJP13)] as a result of TC working. I modified my startup.sh and shutdown.sh to include ulimit -s 2048 because TC would die on startup with a seg fault. (Mandrake 8 and TC 4.0.1) Just something to think about. --David On Monday 14 January 2002 08:21 am, you wrote: Hi I just thought I would send more information into the list in case I am missing any insights into my puzzle that somebody else might see I have Suse 7.2 with the KDE 2.1.2 I installed Sun's JDK 1.3.1_02 in usr/local/JDK I installed Tomcat 4.0.1 in usr/local/Tomcat In my /etc/profile I added the following variables: JAVA_HOME=/usr/local/JDK TOMCAT_HOME=/usr/local/Tomcat CATALINA_HOME=/usr/local/Tomcat All of the directories involved grant read, write, and execute permissions to the users group. When I execute Tomcat 4.0.1 through startup.sh Tomcat repeats back all of the paths/environmental variables correctly with no error messages. The Tomcat logs show no error messages. However when I go to http://localhost:8080/ in Netscape 6.2.1 ( and konqueror ) nothing happens. When I run the shutdown script more then once I get an error so I believe Tomcat, in some way is on. I would like to get Tomcat working in stand alone mode, but I am clueless about what else I can try ( I did put the ulimit command at the top of catalina.sh ). Any ideas? Thanks in advance Steve The Java Resource Dump http://www.geocities.com/beforewisdom/Java/index.html --- Rancor is an outpouring of a feeling of inferiority - Jose' Ortega y Gasset -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
I don't have a firewall set up. I know this because when Suse boots up it sends me a note saying that the firewall is not in use( I am using this box as a desktop/development environment). I did ping localhost I am getting responses( no error messages )...it is still going. Martin van den Bemt wrote: Maybe your firewall is too strict, or ping localhost doesn't work? (add it to /etc/hosts if it doesn't..) Mvgr, Martin -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 03:32 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I didn't use an rpm so I guess I got the standard binaries. I tried both ports in my browser...8180 and 8080. I copied the same Tomcat 4.0.1 download to the windows 98 side of my hard drive. I had no trouble getting it to work with http://localhost:8080 there. Cressatti, Dominique wrote: Did you get the RPM or the standard binary? The RPM open port 8180 (this is set in catalina_home/bin/conf/server.xml) while the standard binary (jakarta-tomcat)open port 8080. I've found that with the rpm version, ./service tomcat4 start doesn't start tomcat (even though it claim so). I think it something to do with not being able to find the java path (even if it is correctly defined in /etc/tomcat4/conf/tomcat4.conf) which binary did you get? RPM or standard binary? Dom -Original Message- From: John Niven [mailto:[EMAIL PROTECTED]] Sent: 15 January 2002 12:50 To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Steve I'm not sure (I'm a relative newbie and my platform is typically Windows :( ) but I thought the default port on Linux was 8180, not 8080. If you've not changed the defaults, have you tried http://localhost:8180? Best wishes, John John Niven johnDOTnivenATmarcatDOTcom -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: 14 January 2002 10:33 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi Nelson. I did download install the jdk 1.3.1_02, tomcat 4.0.1 I put my JAVA_HOME, TOMCAT_HOME, CATALINA_HOME paths into /etc/profile ( so I could use these things any where ). The paths are set and tomcat is reporting the correct paths back to me before it sits there and does nothing. Nelson Yip wrote: FOLLOW THESE SIMPLE INSTRUCTIONS AND IT SHOULD WORK. BTW, I INSTALLED TOMCAT ON REDHAT 7.2. 1. Download both attached file j2sdk-1_3_1_02-linux-i386.bin and jakarta-tomcat-4.0.1.tar.gz 2. Ftp the files over to your home directory. 3. Gunzip the file gunzip jakarta-tomcat-4.0.1.tar.gz after that you should see a file name jakarta-tomcat-4.0.1.tar 4. Extract the tar file tar -xvf jakarta-tomcat-4.0.1.tar you should get a folder called jakarta-tomcat-4.0.1 5. This is a binary file and we no compiling is needed. 6. The folder is currently in your home directory and all you need to do is move it over to the path you want Tomcat to be located. mv jakarta-tomcat-4.0.1 /usr/local/bin 7. You cannot run Tomcat without installing the java jdk pack. 8. Next is to install j2sdk-1_3_1_02-linux-i386.bin 9. Just type the command ./j2sdk-1_3_1_02-linux-i386.bin 10. Follow the on screen instruction for the install and you should have specify the path to be /usr/local/bin 11. The next thing is to set your environment so it will recognized JAVA_HOME and TOMCAT_HOME. 12. I am running the bash shell, so you must edit your .bash_profile, the file is hidden and is located in your home directory. 13. Make sure your .bash_profile contains the following: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin BASH_ENV=$HOME/.bashrc JAVA_HOME=$JAVA_HOME/usr/local/bin/jdk1.3.1_02 TOMCAT_HOME=$TOMCAT_HOME/usr/local/bin/jakarta-tomcat-4.0.1 export TOMCAT_HOME JAVA_HOME BASH_ENV PATH unset USERNAME 14. The final step is to reboot the Linux box by typing shutdown -r now 15. You can startup Tomcat by type $TOMCAT_HOME/bin/catalina.sh start 16. To check if Tomcat is working type this in your browser http://www.domain.com:8080;, make sure you use port 8080. 17. Done. -Original Message- From: Todd Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 4:37 PM To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I have Suse 7.2 with jdk 1.4beta-3 fresh install and It came right up. I never use the distro jdk, I've been burnt too many times. Todd Wright At 04:14 PM 1/14/2002 -0500, you wrote: Do you have jdk installed on your system? Also did u setup your JAVA_HOME and CATALINA_HOME? -n -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 3:37 AM To: [EMAIL
RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
David have you got the mod-webbapp working under Mandrake? Dom -Original Message- From: David Smith [mailto:[EMAIL PROTECTED]] Sent: 15 January 2002 15:25 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode hmmm if you do a ps -a | grep java, do you get a list of java threads? That'll show that TC is actually working and not getting a seg fault on startup or something. Also netstat -tln should provide a list of open server ports for your machine and you should see some ports open [8005 (AJP12), 8008 (WARP), 8080 or 8180 (HTTP), maybe 8009 (AJP13)] as a result of TC working. I modified my startup.sh and shutdown.sh to include ulimit -s 2048 because TC would die on startup with a seg fault. (Mandrake 8 and TC 4.0.1) Just something to think about. --David On Monday 14 January 2002 08:21 am, you wrote: Hi I just thought I would send more information into the list in case I am missing any insights into my puzzle that somebody else might see I have Suse 7.2 with the KDE 2.1.2 I installed Sun's JDK 1.3.1_02 in usr/local/JDK I installed Tomcat 4.0.1 in usr/local/Tomcat In my /etc/profile I added the following variables: JAVA_HOME=/usr/local/JDK TOMCAT_HOME=/usr/local/Tomcat CATALINA_HOME=/usr/local/Tomcat All of the directories involved grant read, write, and execute permissions to the users group. When I execute Tomcat 4.0.1 through startup.sh Tomcat repeats back all of the paths/environmental variables correctly with no error messages. The Tomcat logs show no error messages. However when I go to http://localhost:8080/ in Netscape 6.2.1 ( and konqueror ) nothing happens. When I run the shutdown script more then once I get an error so I believe Tomcat, in some way is on. I would like to get Tomcat working in stand alone mode, but I am clueless about what else I can try ( I did put the ulimit command at the top of catalina.sh ). Any ideas? Thanks in advance Steve The Java Resource Dump http://www.geocities.com/beforewisdom/Java/index.html --- Rancor is an outpouring of a feeling of inferiority - Jose' Ortega y Gasset -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
I have no problem with those questions. I have set both in my /etc/profile thus: JAVA_HOME=/usr/local/JDK CATALINA_HOME=/usr/local/Tomcat I get those same exact paths with the $echo commands. Cressatti, Dominique wrote: stupid question but have you set JAVA_HOME and CATALINA_HOME ? what do you get when you do echo $JAVA_HOME ? Dom -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: 15 January 2002 02:32 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I didn't use an rpm so I guess I got the standard binaries. I tried both ports in my browser...8180 and 8080. I copied the same Tomcat 4.0.1 download to the windows 98 side of my hard drive. I had no trouble getting it to work with http://localhost:8080 there. Cressatti, Dominique wrote: Did you get the RPM or the standard binary? The RPM open port 8180 (this is set in catalina_home/bin/conf/server.xml) while the standard binary (jakarta-tomcat)open port 8080. I've found that with the rpm version, ./service tomcat4 start doesn't start tomcat (even though it claim so). I think it something to do with not being able to find the java path (even if it is correctly defined in /etc/tomcat4/conf/tomcat4.conf) which binary did you get? RPM or standard binary? Dom -Original Message- From: John Niven [mailto:[EMAIL PROTECTED]] Sent: 15 January 2002 12:50 To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Steve I'm not sure (I'm a relative newbie and my platform is typically Windows :( ) but I thought the default port on Linux was 8180, not 8080. If you've not changed the defaults, have you tried http://localhost:8180? Best wishes, John John Niven johnDOTnivenATmarcatDOTcom -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: 14 January 2002 10:33 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi Nelson. I did download install the jdk 1.3.1_02, tomcat 4.0.1 I put my JAVA_HOME, TOMCAT_HOME, CATALINA_HOME paths into /etc/profile ( so I could use these things any where ). The paths are set and tomcat is reporting the correct paths back to me before it sits there and does nothing. Nelson Yip wrote: FOLLOW THESE SIMPLE INSTRUCTIONS AND IT SHOULD WORK. BTW, I INSTALLED TOMCAT ON REDHAT 7.2. 1. Download both attached file j2sdk-1_3_1_02-linux-i386.bin and jakarta-tomcat-4.0.1.tar.gz 2. Ftp the files over to your home directory. 3. Gunzip the file gunzip jakarta-tomcat-4.0.1.tar.gz after that you should see a file name jakarta-tomcat-4.0.1.tar 4. Extract the tar file tar -xvf jakarta-tomcat-4.0.1.tar you should get a folder called jakarta-tomcat-4.0.1 5. This is a binary file and we no compiling is needed. 6. The folder is currently in your home directory and all you need to do is move it over to the path you want Tomcat to be located. mv jakarta-tomcat-4.0.1 /usr/local/bin 7. You cannot run Tomcat without installing the java jdk pack. 8. Next is to install j2sdk-1_3_1_02-linux-i386.bin 9. Just type the command ./j2sdk-1_3_1_02-linux-i386.bin 10. Follow the on screen instruction for the install and you should have specify the path to be /usr/local/bin 11. The next thing is to set your environment so it will recognized JAVA_HOME and TOMCAT_HOME. 12. I am running the bash shell, so you must edit your .bash_profile, the file is hidden and is located in your home directory. 13. Make sure your .bash_profile contains the following: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin BASH_ENV=$HOME/.bashrc JAVA_HOME=$JAVA_HOME/usr/local/bin/jdk1.3.1_02 TOMCAT_HOME=$TOMCAT_HOME/usr/local/bin/jakarta-tomcat-4.0.1 export TOMCAT_HOME JAVA_HOME BASH_ENV PATH unset USERNAME 14. The final step is to reboot the Linux box by typing shutdown -r now 15. You can startup Tomcat by type $TOMCAT_HOME/bin/catalina.sh start 16. To check if Tomcat is working type this in your browser http://www.domain.com:8080;, make sure you use port 8080. 17. Done. -Original Message- From: Todd Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 4:37 PM To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I have Suse 7.2 with jdk 1.4beta-3 fresh install and It came right up. I never use the distro jdk, I've been burnt too many times. Todd Wright At 04:14 PM 1/14/2002 -0500, you wrote: Do you have jdk installed on your system? Also did u setup your JAVA_HOME and CATALINA_HOME? -n -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 3:37 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.0.1 Suse 7.2 Can't Get
RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
u said that you added JAVA_HOME (and etc) in your profile but have you checked that they are set to some value before starting tomcat? -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: 15 January 2002 03:29 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I don't have a firewall set up. I know this because when Suse boots up it sends me a note saying that the firewall is not in use( I am using this box as a desktop/development environment). I did ping localhost I am getting responses( no error messages )...it is still going. Martin van den Bemt wrote: Maybe your firewall is too strict, or ping localhost doesn't work? (add it to /etc/hosts if it doesn't..) Mvgr, Martin -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 03:32 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I didn't use an rpm so I guess I got the standard binaries. I tried both ports in my browser...8180 and 8080. I copied the same Tomcat 4.0.1 download to the windows 98 side of my hard drive. I had no trouble getting it to work with http://localhost:8080 there. Cressatti, Dominique wrote: Did you get the RPM or the standard binary? The RPM open port 8180 (this is set in catalina_home/bin/conf/server.xml) while the standard binary (jakarta-tomcat)open port 8080. I've found that with the rpm version, ./service tomcat4 start doesn't start tomcat (even though it claim so). I think it something to do with not being able to find the java path (even if it is correctly defined in /etc/tomcat4/conf/tomcat4.conf) which binary did you get? RPM or standard binary? Dom -Original Message- From: John Niven [mailto:[EMAIL PROTECTED]] Sent: 15 January 2002 12:50 To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Steve I'm not sure (I'm a relative newbie and my platform is typically Windows :( ) but I thought the default port on Linux was 8180, not 8080. If you've not changed the defaults, have you tried http://localhost:8180? Best wishes, John John Niven johnDOTnivenATmarcatDOTcom -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: 14 January 2002 10:33 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi Nelson. I did download install the jdk 1.3.1_02, tomcat 4.0.1 I put my JAVA_HOME, TOMCAT_HOME, CATALINA_HOME paths into /etc/profile ( so I could use these things any where ). The paths are set and tomcat is reporting the correct paths back to me before it sits there and does nothing. Nelson Yip wrote: FOLLOW THESE SIMPLE INSTRUCTIONS AND IT SHOULD WORK. BTW, I INSTALLED TOMCAT ON REDHAT 7.2. 1. Download both attached file j2sdk-1_3_1_02-linux-i386.bin and jakarta-tomcat-4.0.1.tar.gz 2. Ftp the files over to your home directory. 3. Gunzip the file gunzip jakarta-tomcat-4.0.1.tar.gz after that you should see a file name jakarta-tomcat-4.0.1.tar 4. Extract the tar file tar -xvf jakarta-tomcat-4.0.1.tar you should get a folder called jakarta-tomcat-4.0.1 5. This is a binary file and we no compiling is needed. 6. The folder is currently in your home directory and all you need to do is move it over to the path you want Tomcat to be located. mv jakarta-tomcat-4.0.1 /usr/local/bin 7. You cannot run Tomcat without installing the java jdk pack. 8. Next is to install j2sdk-1_3_1_02-linux-i386.bin 9. Just type the command ./j2sdk-1_3_1_02-linux-i386.bin 10. Follow the on screen instruction for the install and you should have specify the path to be /usr/local/bin 11. The next thing is to set your environment so it will recognized JAVA_HOME and TOMCAT_HOME. 12. I am running the bash shell, so you must edit your .bash_profile, the file is hidden and is located in your home directory. 13. Make sure your .bash_profile contains the following: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin BASH_ENV=$HOME/.bashrc JAVA_HOME=$JAVA_HOME/usr/local/bin/jdk1.3.1_02 TOMCAT_HOME=$TOMCAT_HOME/usr/local/bin/jakarta-tomcat-4.0.1 export TOMCAT_HOME JAVA_HOME BASH_ENV PATH unset USERNAME 14. The final step is to reboot the Linux box by typing shutdown -r now 15. You can startup Tomcat by type $TOMCAT_HOME/bin/catalina.sh start 16. To check if Tomcat is working type this in your browser http://www.domain.com:8080;, make sure you use port 8080. 17. Done. -Original Message- From: Todd Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 4:37 PM To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I have Suse 7.2 with jdk 1.4beta-3 fresh install and It came right up. I
Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
David Smith wrote: hmmm if you do a ps -a | grep java, do you get a list of java threads? That'll show that TC is actually working and not getting a seg fault on startup or something. Also netstat -tln should provide a list of open server ports for your machine and you should see some ports open [8005 (AJP12), 8008 (WARP), 8080 or 8180 (HTTP), maybe 8009 (AJP13)] as a result of TC working. Okay, thanks to the wonders of the KDE 2.1.2 file manager with its optional shell gutter I can copy/paste my shell output here. All the outputs are in sequence with how I exectuted them. I took CATALINA_HOME out of my /etc/profile. I didn't know if it should be Tomcat or Tomcat/bin. I execuated all of these commands from Tomcat/bin Okay here it is: == Here is my console output when starting tomcat 4.0.1 == steve@linux:/usr/local/Tomcat/bin startup.sh Guessing CATALINA_HOME from catalina.sh to ./.. Setting CATALINA_HOME to ./.. Using CLASSPATH: ./../bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: ./.. Using CATALINA_HOME: ./.. Using JAVA_HOME: /usr/local/JDK Output from ps -a | grep java after startup.sh === steve@linux:/usr/local/Tomcat/bin ps -a | grep java 1368 pts/200:00:10 java 1395 pts/200:00:00 java 1396 pts/200:00:01 java 1397 pts/200:00:00 java 1398 pts/200:00:00 java 1399 pts/200:00:00 java 1400 pts/200:00:00 java 1401 pts/200:00:00 java 1402 pts/200:00:01 java 1403 pts/200:00:00 java 1404 pts/200:00:00 java 1405 pts/200:00:00 java 1406 pts/200:00:00 java 1407 pts/200:00:00 java 1408 pts/200:00:00 java 1409 pts/200:00:00 java 1410 pts/200:00:00 java 1411 pts/200:00:00 java 1412 pts/200:00:00 java 1413 pts/200:00:00 java 1414 pts/200:00:00 java 1415 pts/200:00:00 java steve@linux:/usr/local/Tomcat/bin = Output from netstat -tln = steve@linux:/usr/local/Tomcat/bin netstat -tln Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp0 0 0.0.0.0:32770 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:515 0.0.0.0:* LISTEN tcp0 0 127.0.0.1:8005 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:80080.0.0.0:* LISTEN tcp0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:80800.0.0.0:* LISTEN tcp0 0 0.0.0.0:60000.0.0.0:* LISTEN tcp0 0 :::22 :::*LISTEN steve@linux:/usr/local/Tomcat/bin Output from ping localhost ( I had to abort it, it kept going. I cut it off when icmp_seq=100 === PING localhost (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.269 ms 64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.164 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.158 ms 64 bytes from 127.0.0.1: icmp_seq=3 ttl=255 time=0.158 ms 64 bytes from 127.0.0.1: icmp_seq=4 ttl=255 time=0.161 ms 64 bytes from 127.0.0.1: icmp_seq=5 ttl=255 time=0.158 ms 64 bytes from 127.0.0.1: icmp_seq=6 ttl=255 time=0.171 ms 64 bytes from 127.0.0.1: icmp_seq=7 ttl=255 time=0.168 ms 64 bytes from 127.0.0.1: icmp_seq=8 ttl=255 time=0.164 ms 64 bytes from 127.0.0.1: icmp_seq=9 ttl=255 time=0.165 ms 64 bytes from 127.0.0.1: icmp_seq=10 ttl=255 time=0.163 ms 64 bytes from 127.0.0.1: icmp_seq=11 ttl=255 time=0.168 ms 64 bytes from 127.0.0.1: icmp_seq=12 ttl=255 time=0.169 ms = Output from shutdown.sh = steve@linux:/usr/local/Tomcat/bin shutdown.sh Guessing CATALINA_HOME from catalina.sh to ./.. Setting CATALINA_HOME to ./.. Using CLAS == Here is my console output when starting tomcat 4.0.1 == steve@linux:/usr/local/Tomcat/bin startup.sh Guessing CATALINA_HOME from catalina.sh to ./.. Setting CATALINA_HOME to ./.. Using CLASSPATH: ./../bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: ./.. Using CATALINA_HOME: ./.. Using JAVA_HOME: /usr/local/JDK Output from ps -a | grep java after startup.sh ===
Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
Yeah. I built mine from the nightly snapshots posted to http://nagoya.apache.org/~pier/snapshots/ It's worked like a charm for me. I probably should take a look at the history for the project since my build is a couple of months old. --David On Tuesday 15 January 2002 10:37 am, you wrote: David have you got the mod-webbapp working under Mandrake? Dom -Original Message- From: David Smith [mailto:[EMAIL PROTECTED]] Sent: 15 January 2002 15:25 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode hmmm if you do a ps -a | grep java, do you get a list of java threads? That'll show that TC is actually working and not getting a seg fault on startup or something. Also netstat -tln should provide a list of open server ports for your machine and you should see some ports open [8005 (AJP12), 8008 (WARP), 8080 or 8180 (HTTP), maybe 8009 (AJP13)] as a result of TC working. I modified my startup.sh and shutdown.sh to include ulimit -s 2048 because TC would die on startup with a seg fault. (Mandrake 8 and TC 4.0.1) Just something to think about. --David On Monday 14 January 2002 08:21 am, you wrote: Hi I just thought I would send more information into the list in case I am missing any insights into my puzzle that somebody else might see I have Suse 7.2 with the KDE 2.1.2 I installed Sun's JDK 1.3.1_02 in usr/local/JDK I installed Tomcat 4.0.1 in usr/local/Tomcat In my /etc/profile I added the following variables: JAVA_HOME=/usr/local/JDK TOMCAT_HOME=/usr/local/Tomcat CATALINA_HOME=/usr/local/Tomcat All of the directories involved grant read, write, and execute permissions to the users group. When I execute Tomcat 4.0.1 through startup.sh Tomcat repeats back all of the paths/environmental variables correctly with no error messages. The Tomcat logs show no error messages. However when I go to http://localhost:8080/ in Netscape 6.2.1 ( and konqueror ) nothing happens. When I run the shutdown script more then once I get an error so I believe Tomcat, in some way is on. I would like to get Tomcat working in stand alone mode, but I am clueless about what else I can try ( I did put the ulimit command at the top of catalina.sh ). Any ideas? Thanks in advance Steve The Java Resource Dump http://www.geocities.com/beforewisdom/Java/index.html --- Rancor is an outpouring of a feeling of inferiority - Jose' Ortega y Gasset -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
Yes. I used $echo JAVA_HOME and Tomcat is echoing JAVA_HOME correctly on start up Steve Cressatti, Dominique wrote: u said that you added JAVA_HOME (and etc) in your profile but have you checked that they are set to some value before starting tomcat? -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: 15 January 2002 03:29 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I don't have a firewall set up. I know this because when Suse boots up it sends me a note saying that the firewall is not in use( I am using this box as a desktop/development environment). I did ping localhost I am getting responses( no error messages )...it is still going. Martin van den Bemt wrote: Maybe your firewall is too strict, or ping localhost doesn't work? (add it to /etc/hosts if it doesn't..) Mvgr, Martin -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 03:32 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I didn't use an rpm so I guess I got the standard binaries. I tried both ports in my browser...8180 and 8080. I copied the same Tomcat 4.0.1 download to the windows 98 side of my hard drive. I had no trouble getting it to work with http://localhost:8080 there. Cressatti, Dominique wrote: Did you get the RPM or the standard binary? The RPM open port 8180 (this is set in catalina_home/bin/conf/server.xml) while the standard binary (jakarta-tomcat)open port 8080. I've found that with the rpm version, ./service tomcat4 start doesn't start tomcat (even though it claim so). I think it something to do with not being able to find the java path (even if it is correctly defined in /etc/tomcat4/conf/tomcat4.conf) which binary did you get? RPM or standard binary? Dom -Original Message- From: John Niven [mailto:[EMAIL PROTECTED]] Sent: 15 January 2002 12:50 To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Steve I'm not sure (I'm a relative newbie and my platform is typically Windows :( ) but I thought the default port on Linux was 8180, not 8080. If you've not changed the defaults, have you tried http://localhost:8180? Best wishes, John John Niven johnDOTnivenATmarcatDOTcom -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: 14 January 2002 10:33 To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi Nelson. I did download install the jdk 1.3.1_02, tomcat 4.0.1 I put my JAVA_HOME, TOMCAT_HOME, CATALINA_HOME paths into /etc/profile ( so I could use these things any where ). The paths are set and tomcat is reporting the correct paths back to me before it sits there and does nothing. Nelson Yip wrote: FOLLOW THESE SIMPLE INSTRUCTIONS AND IT SHOULD WORK. BTW, I INSTALLED TOMCAT ON REDHAT 7.2. 1. Download both attached file j2sdk-1_3_1_02-linux-i386.bin and jakarta-tomcat-4.0.1.tar.gz 2. Ftp the files over to your home directory. 3. Gunzip the file gunzip jakarta-tomcat-4.0.1.tar.gz after that you should see a file name jakarta-tomcat-4.0.1.tar 4. Extract the tar file tar -xvf jakarta-tomcat-4.0.1.tar you should get a folder called jakarta-tomcat-4.0.1 5. This is a binary file and we no compiling is needed. 6. The folder is currently in your home directory and all you need to do is move it over to the path you want Tomcat to be located. mv jakarta-tomcat-4.0.1 /usr/local/bin 7. You cannot run Tomcat without installing the java jdk pack. 8. Next is to install j2sdk-1_3_1_02-linux-i386.bin 9. Just type the command ./j2sdk-1_3_1_02-linux-i386.bin 10. Follow the on screen instruction for the install and you should have specify the path to be /usr/local/bin 11. The next thing is to set your environment so it will recognized JAVA_HOME and TOMCAT_HOME. 12. I am running the bash shell, so you must edit your .bash_profile, the file is hidden and is located in your home directory. 13. Make sure your .bash_profile contains the following: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin BASH_ENV=$HOME/.bashrc JAVA_HOME=$JAVA_HOME/usr/local/bin/jdk1.3.1_02 TOMCAT_HOME=$TOMCAT_HOME/usr/local/bin/jakarta-tomcat-4.0.1 export TOMCAT_HOME JAVA_HOME BASH_ENV PATH unset USERNAME 14. The final step is to reboot the Linux box by typing shutdown -r now 15. You can startup Tomcat by type $TOMCAT_HOME/bin/catalina.sh start 16. To check if Tomcat is working type this in your browser http://www.domain.com:8080;, make sure you use port 8080. 17. Done. -Original Message- From: Todd Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 4:37 PM To: Tomcat Users List
Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
Dont use SUSE its a pain in the ass, stick with RedHat or Mandrake L Marcus - Original Message - From: Steve [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 14, 2002 3:36 AM Subject: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi; I've been trying to install and use Tomcat 4.0.1 in stand alone mode on Suse 7.2 linux. I haven't been able to get my tomcat files to come up in my browser( Netscape 6.2.1 ) using http://localhost:8080/ I also haven't gotten any error messages that might give me a clue :). I don't have a web server or any kind of networking software running on my box. These are the messages I got from std out when I ran startup.sh: === Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK === These are the messages I got when running shutdown.sh: === steves linux /usr/local/Tomcat/bin/catalina.sh line 234: 1265 Segment Fault $JAVA_HOME /usr/local/JDK/bin/java$CATALINA_OPTS -classpath $CP -Dcatalina.base=$CATALINA_BASE -Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap $@ stop root@linux:/home/steve/KDesktop Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK = Any clues would be greatly appreciated Thanks in advance -- Steve The Java Resource Dump http://www.geocities.com/beforewisdom/Java/index.html --- Rancor is an outpouring of a feeling of inferiority - Jose' Ortega y Gasset -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
You may have to set a ulimit parameter... ulimit -s 2048 for details see: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/ -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 12:37 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi; I've been trying to install and use Tomcat 4.0.1 in stand alone mode on Suse 7.2 linux. I haven't been able to get my tomcat files to come up in my browser( Netscape 6.2.1 ) using http://localhost:8080/ I also haven't gotten any error messages that might give me a clue :). I don't have a web server or any kind of networking software running on my box. These are the messages I got from std out when I ran startup.sh: === Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK === These are the messages I got when running shutdown.sh: === steves linux /usr/local/Tomcat/bin/catalina.sh line 234: 1265 Segment Fault $JAVA_HOME /usr/local/JDK/bin/java$CATALINA_OPTS -classpath $CP -Dcatalina.base=$CATALINA_BASE -Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap $@ stop root@linux:/home/steve/KDesktop Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK = Any clues would be greatly appreciated Thanks in advance -- Steve The Java Resource Dump http://www.geocities.com/beforewisdom/Java/index.html --- Rancor is an outpouring of a feeling of inferiority - Jose' Ortega y Gasset -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
Do you have jdk installed on your system? Also did u setup your JAVA_HOME and CATALINA_HOME? -n -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 3:37 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi; I've been trying to install and use Tomcat 4.0.1 in stand alone mode on Suse 7.2 linux. I haven't been able to get my tomcat files to come up in my browser( Netscape 6.2.1 ) using http://localhost:8080/ I also haven't gotten any error messages that might give me a clue :). I don't have a web server or any kind of networking software running on my box. These are the messages I got from std out when I ran startup.sh: === Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK === These are the messages I got when running shutdown.sh: === steves linux /usr/local/Tomcat/bin/catalina.sh line 234: 1265 Segment Fault $JAVA_HOME /usr/local/JDK/bin/java$CATALINA_OPTS -classpath $CP -Dcatalina.base=$CATALINA_BASE -Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap $@ stop root@linux:/home/steve/KDesktop Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK = Any clues would be greatly appreciated Thanks in advance -- Steve The Java Resource Dump http://www.geocities.com/beforewisdom/Java/index.html --- Rancor is an outpouring of a feeling of inferiority - Jose' Ortega y Gasset -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
I have Suse 7.2 with jdk 1.4beta-3 fresh install and It came right up. I never use the distro jdk, I've been burnt too many times. Todd Wright At 04:14 PM 1/14/2002 -0500, you wrote: Do you have jdk installed on your system? Also did u setup your JAVA_HOME and CATALINA_HOME? -n -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 3:37 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi; I've been trying to install and use Tomcat 4.0.1 in stand alone mode on Suse 7.2 linux. I haven't been able to get my tomcat files to come up in my browser( Netscape 6.2.1 ) using http://localhost:8080/ I also haven't gotten any error messages that might give me a clue :). I don't have a web server or any kind of networking software running on my box. These are the messages I got from std out when I ran startup.sh: === Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK === These are the messages I got when running shutdown.sh: === steves linux /usr/local/Tomcat/bin/catalina.sh line 234: 1265 Segment Fault $JAVA_HOME /usr/local/JDK/bin/java$CATALINA_OPTS -classpath $CP -Dcatalina.base=$CATALINA_BASE -Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap $@ stop root@linux:/home/steve/KDesktop Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK = Any clues would be greatly appreciated Thanks in advance -- Steve The Java Resource Dump http://www.geocities.com/beforewisdom/Java/index.html --- Rancor is an outpouring of a feeling of inferiority - Jose' Ortega y Gasset -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Todd Wright Software Developer / Technical Trainer www.jtconsult.com Supposing is good, but finding out is better. - Mark Twain -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
Did you setup your path? In your .bash_profile if you are using bash shell? -n -Original Message- From: Todd Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 4:37 PM To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I have Suse 7.2 with jdk 1.4beta-3 fresh install and It came right up. I never use the distro jdk, I've been burnt too many times. Todd Wright At 04:14 PM 1/14/2002 -0500, you wrote: Do you have jdk installed on your system? Also did u setup your JAVA_HOME and CATALINA_HOME? -n -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 3:37 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi; I've been trying to install and use Tomcat 4.0.1 in stand alone mode on Suse 7.2 linux. I haven't been able to get my tomcat files to come up in my browser( Netscape 6.2.1 ) using http://localhost:8080/ I also haven't gotten any error messages that might give me a clue :). I don't have a web server or any kind of networking software running on my box. These are the messages I got from std out when I ran startup.sh: === Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK === These are the messages I got when running shutdown.sh: === steves linux /usr/local/Tomcat/bin/catalina.sh line 234: 1265 Segment Fault $JAVA_HOME /usr/local/JDK/bin/java$CATALINA_OPTS -classpath $CP -Dcatalina.base=$CATALINA_BASE -Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap $@ stop root@linux:/home/steve/KDesktop Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK = Any clues would be greatly appreciated Thanks in advance -- Steve The Java Resource Dump http://www.geocities.com/beforewisdom/Java/index.html --- Rancor is an outpouring of a feeling of inferiority - Jose' Ortega y Gasset -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Todd Wright Software Developer / Technical Trainer www.jtconsult.com Supposing is good, but finding out is better. - Mark Twain -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
FOLLOW THESE SIMPLE INSTRUCTIONS AND IT SHOULD WORK. BTW, I INSTALLED TOMCAT ON REDHAT 7.2. 1. Download both attached file j2sdk-1_3_1_02-linux-i386.bin and jakarta-tomcat-4.0.1.tar.gz 2. Ftp the files over to your home directory. 3. Gunzip the file gunzip jakarta-tomcat-4.0.1.tar.gz after that you should see a file name jakarta-tomcat-4.0.1.tar 4. Extract the tar file tar -xvf jakarta-tomcat-4.0.1.tar you should get a folder called jakarta-tomcat-4.0.1 5. This is a binary file and we no compiling is needed. 6. The folder is currently in your home directory and all you need to do is move it over to the path you want Tomcat to be located. mv jakarta-tomcat-4.0.1 /usr/local/bin 7. You cannot run Tomcat without installing the java jdk pack. 8. Next is to install j2sdk-1_3_1_02-linux-i386.bin 9. Just type the command ./j2sdk-1_3_1_02-linux-i386.bin 10. Follow the on screen instruction for the install and you should have specify the path to be /usr/local/bin 11. The next thing is to set your environment so it will recognized JAVA_HOME and TOMCAT_HOME. 12. I am running the bash shell, so you must edit your .bash_profile, the file is hidden and is located in your home directory. 13. Make sure your .bash_profile contains the following: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin BASH_ENV=$HOME/.bashrc JAVA_HOME=$JAVA_HOME/usr/local/bin/jdk1.3.1_02 TOMCAT_HOME=$TOMCAT_HOME/usr/local/bin/jakarta-tomcat-4.0.1 export TOMCAT_HOME JAVA_HOME BASH_ENV PATH unset USERNAME 14. The final step is to reboot the Linux box by typing shutdown -r now 15. You can startup Tomcat by type $TOMCAT_HOME/bin/catalina.sh start 16. To check if Tomcat is working type this in your browser http://www.domain.com:8080;, make sure you use port 8080. 17. Done. -Original Message- From: Todd Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 4:37 PM To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I have Suse 7.2 with jdk 1.4beta-3 fresh install and It came right up. I never use the distro jdk, I've been burnt too many times. Todd Wright At 04:14 PM 1/14/2002 -0500, you wrote: Do you have jdk installed on your system? Also did u setup your JAVA_HOME and CATALINA_HOME? -n -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 3:37 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi; I've been trying to install and use Tomcat 4.0.1 in stand alone mode on Suse 7.2 linux. I haven't been able to get my tomcat files to come up in my browser( Netscape 6.2.1 ) using http://localhost:8080/ I also haven't gotten any error messages that might give me a clue :). I don't have a web server or any kind of networking software running on my box. These are the messages I got from std out when I ran startup.sh: === Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK === These are the messages I got when running shutdown.sh: === steves linux /usr/local/Tomcat/bin/catalina.sh line 234: 1265 Segment Fault $JAVA_HOME /usr/local/JDK/bin/java$CATALINA_OPTS -classpath $CP -Dcatalina.base=$CATALINA_BASE -Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap $@ stop root@linux:/home/steve/KDesktop Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK = Any clues would be greatly appreciated Thanks in advance -- Steve The Java Resource Dump http://www.geocities.com/beforewisdom/Java/index.html --- Rancor is an outpouring of a feeling of inferiority - Jose' Ortega y Gasset -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Todd Wright Software Developer / Technical Trainer www.jtconsult.com Supposing is good, but finding out is better. - Mark Twain -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL
Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
Hi Nelson. I did download install the jdk 1.3.1_02, tomcat 4.0.1 I put my JAVA_HOME, TOMCAT_HOME, CATALINA_HOME paths into /etc/profile ( so I could use these things any where ). The paths are set and tomcat is reporting the correct paths back to me before it sits there and does nothing. Nelson Yip wrote: FOLLOW THESE SIMPLE INSTRUCTIONS AND IT SHOULD WORK. BTW, I INSTALLED TOMCAT ON REDHAT 7.2. 1. Download both attached file j2sdk-1_3_1_02-linux-i386.bin and jakarta-tomcat-4.0.1.tar.gz 2. Ftp the files over to your home directory. 3. Gunzip the file gunzip jakarta-tomcat-4.0.1.tar.gz after that you should see a file name jakarta-tomcat-4.0.1.tar 4. Extract the tar file tar -xvf jakarta-tomcat-4.0.1.tar you should get a folder called jakarta-tomcat-4.0.1 5. This is a binary file and we no compiling is needed. 6. The folder is currently in your home directory and all you need to do is move it over to the path you want Tomcat to be located. mv jakarta-tomcat-4.0.1 /usr/local/bin 7. You cannot run Tomcat without installing the java jdk pack. 8. Next is to install j2sdk-1_3_1_02-linux-i386.bin 9. Just type the command ./j2sdk-1_3_1_02-linux-i386.bin 10. Follow the on screen instruction for the install and you should have specify the path to be /usr/local/bin 11. The next thing is to set your environment so it will recognized JAVA_HOME and TOMCAT_HOME. 12. I am running the bash shell, so you must edit your .bash_profile, the file is hidden and is located in your home directory. 13. Make sure your .bash_profile contains the following: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin BASH_ENV=$HOME/.bashrc JAVA_HOME=$JAVA_HOME/usr/local/bin/jdk1.3.1_02 TOMCAT_HOME=$TOMCAT_HOME/usr/local/bin/jakarta-tomcat-4.0.1 export TOMCAT_HOME JAVA_HOME BASH_ENV PATH unset USERNAME 14. The final step is to reboot the Linux box by typing shutdown -r now 15. You can startup Tomcat by type $TOMCAT_HOME/bin/catalina.sh start 16. To check if Tomcat is working type this in your browser http://www.domain.com:8080;, make sure you use port 8080. 17. Done. -Original Message- From: Todd Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 4:37 PM To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I have Suse 7.2 with jdk 1.4beta-3 fresh install and It came right up. I never use the distro jdk, I've been burnt too many times. Todd Wright At 04:14 PM 1/14/2002 -0500, you wrote: Do you have jdk installed on your system? Also did u setup your JAVA_HOME and CATALINA_HOME? -n -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 3:37 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi; I've been trying to install and use Tomcat 4.0.1 in stand alone mode on Suse 7.2 linux. I haven't been able to get my tomcat files to come up in my browser( Netscape 6.2.1 ) using http://localhost:8080/ I also haven't gotten any error messages that might give me a clue :). I don't have a web server or any kind of networking software running on my box. These are the messages I got from std out when I ran startup.sh: === Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK === These are the messages I got when running shutdown.sh: === steves linux /usr/local/Tomcat/bin/catalina.sh line 234: 1265 Segment Fault $JAVA_HOME /usr/local/JDK/bin/java$CATALINA_OPTS -classpath $CP -Dcatalina.base=$CATALINA_BASE -Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap $@ stop root@linux:/home/steve/KDesktop Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK = Any clues would be greatly appreciated Thanks in advance -- Steve The Java Resource Dump http://www.geocities.com/beforewisdom/Java/index.html --- Rancor is an outpouring of a feeling of inferiority - Jose' Ortega y Gasset -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL
RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
I wouldn't put JAVA_HOME, TOMCAT_HOME, CATALINA_HOME paths into /etc/profile. Put it in the catalina.sh script and when it starts up it will load up the paths. I had a hard time before of getting the path to work but this is the only solution that worked. Make sure you download the binary version and not the version that needs to be compiled. -nelson -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 5:33 AM To: Tomcat Users List Subject: Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi Nelson. I did download install the jdk 1.3.1_02, tomcat 4.0.1 I put my JAVA_HOME, TOMCAT_HOME, CATALINA_HOME paths into /etc/profile ( so I could use these things any where ). The paths are set and tomcat is reporting the correct paths back to me before it sits there and does nothing. Nelson Yip wrote: FOLLOW THESE SIMPLE INSTRUCTIONS AND IT SHOULD WORK. BTW, I INSTALLED TOMCAT ON REDHAT 7.2. 1. Download both attached file j2sdk-1_3_1_02-linux-i386.bin and jakarta-tomcat-4.0.1.tar.gz 2. Ftp the files over to your home directory. 3. Gunzip the file gunzip jakarta-tomcat-4.0.1.tar.gz after that you should see a file name jakarta-tomcat-4.0.1.tar 4. Extract the tar file tar -xvf jakarta-tomcat-4.0.1.tar you should get a folder called jakarta-tomcat-4.0.1 5. This is a binary file and we no compiling is needed. 6. The folder is currently in your home directory and all you need to do is move it over to the path you want Tomcat to be located. mv jakarta-tomcat-4.0.1 /usr/local/bin 7. You cannot run Tomcat without installing the java jdk pack. 8. Next is to install j2sdk-1_3_1_02-linux-i386.bin 9. Just type the command ./j2sdk-1_3_1_02-linux-i386.bin 10. Follow the on screen instruction for the install and you should have specify the path to be /usr/local/bin 11. The next thing is to set your environment so it will recognized JAVA_HOME and TOMCAT_HOME. 12. I am running the bash shell, so you must edit your .bash_profile, the file is hidden and is located in your home directory. 13. Make sure your .bash_profile contains the following: # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin BASH_ENV=$HOME/.bashrc JAVA_HOME=$JAVA_HOME/usr/local/bin/jdk1.3.1_02 TOMCAT_HOME=$TOMCAT_HOME/usr/local/bin/jakarta-tomcat-4.0.1 export TOMCAT_HOME JAVA_HOME BASH_ENV PATH unset USERNAME 14. The final step is to reboot the Linux box by typing shutdown -r now 15. You can startup Tomcat by type $TOMCAT_HOME/bin/catalina.sh start 16. To check if Tomcat is working type this in your browser http://www.domain.com:8080;, make sure you use port 8080. 17. Done. -Original Message- From: Todd Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 4:37 PM To: Tomcat Users List Subject: RE: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode I have Suse 7.2 with jdk 1.4beta-3 fresh install and It came right up. I never use the distro jdk, I've been burnt too many times. Todd Wright At 04:14 PM 1/14/2002 -0500, you wrote: Do you have jdk installed on your system? Also did u setup your JAVA_HOME and CATALINA_HOME? -n -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 3:37 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode Hi; I've been trying to install and use Tomcat 4.0.1 in stand alone mode on Suse 7.2 linux. I haven't been able to get my tomcat files to come up in my browser( Netscape 6.2.1 ) using http://localhost:8080/ I also haven't gotten any error messages that might give me a clue :). I don't have a web server or any kind of networking software running on my box. These are the messages I got from std out when I ran startup.sh: === Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local/Tomcat Using JAVA_HOME: /usr/local/JDK === These are the messages I got when running shutdown.sh: === steves linux /usr/local/Tomcat/bin/catalina.sh line 234: 1265 Segment Fault $JAVA_HOME /usr/local/JDK/bin/java$CATALINA_OPTS -classpath $CP -Dcatalina.base=$CATALINA_BASE -Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap $@ stop root@linux:/home/steve/KDesktop Using CLASSPATH: /usr/local/Tomcat/bin/bootstrap.jar:/usr/local/JDK/lib/tools.jar Using CATALINA_BASE: /usr/local/Tomcat Using CATALINA_HOME: /usr/local
Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
Hi I just thought I would send more information into the list in case I am missing any insights into my puzzle that somebody else might see I have Suse 7.2 with the KDE 2.1.2 I installed Sun's JDK 1.3.1_02 in usr/local/JDK I installed Tomcat 4.0.1 in usr/local/Tomcat In my /etc/profile I added the following variables: JAVA_HOME=/usr/local/JDK TOMCAT_HOME=/usr/local/Tomcat CATALINA_HOME=/usr/local/Tomcat All of the directories involved grant read, write, and execute permissions to the users group. When I execute Tomcat 4.0.1 through startup.sh Tomcat repeats back all of the paths/environmental variables correctly with no error messages. The Tomcat logs show no error messages. However when I go to http://localhost:8080/ in Netscape 6.2.1 ( and konqueror ) nothing happens. When I run the shutdown script more then once I get an error so I believe Tomcat, in some way is on. I would like to get Tomcat working in stand alone mode, but I am clueless about what else I can try ( I did put the ulimit command at the top of catalina.sh ). Any ideas? Thanks in advance Steve The Java Resource Dump http://www.geocities.com/beforewisdom/Java/index.html --- Rancor is an outpouring of a feeling of inferiority - Jose' Ortega y Gasset -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]