tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve <stevesuse...@yahoo.com>
Subject Re: Tomcat 4.0.1 Suse 7.2 Can't Get It To Work In Stand Alone Mode
Date Tue, 15 Jan 2002 04:22:36 GMT
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:stevesusenet@yahoo.com]
> 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:stevesusenet@yahoo.com]
>>>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:John.Niven@marcat.com]
>>>>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:stevesusenet@yahoo.com]
>>>>>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:jakarta@jtconsult.com]
>>>>>>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:stevesusenet@yahoo.com]
>>>>>>>Sent: Monday, January 14, 2002 3:37 AM
>>>>>>>To: tomcat-user@jakarta.apache.org
>>>>>>>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:tomcat-user-unsubscribe@jakarta.apache.org>
>>>>
>>>>>>For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>>>>>>Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>>>>>>
>>>>>>
>>>>>>
>>>>>>--
>>>>>>To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>>>>>>For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>>>>>>Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>>>>>>
>>>>>Todd Wright
>>>>>Software Developer / Technical Trainer
>>>>>
>>>>>www.jtconsult.com
>>>>>
>>>>>Supposing is good, but finding out is better.
>>>>>- Mark Twain
>>>>>
>>>>>
>>>>>--
>>>>>To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>>>>>For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>>>>>Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>>>>>
>>>>>
>>>>>
>>>>>--
>>>>>To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>>>>>For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>>>>>Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>>>>>
>>>>
>>>--
>>>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:tomcat-user-unsubscribe@jakarta.apache.org>
>>>For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>>>Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>>>
>>>
>>
>>--
>>To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>>For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>>Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>>
> 
> 


-- 
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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message