LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problem with tomcat... (https://www.linuxquestions.org/questions/linux-software-2/problem-with-tomcat-335582/)

os2 06-20-2005 09:03 PM

problem with tomcat...
 
hi

i use suse 9.3

i start tomcat:

linux:/usr/share/hal/fdi/95userpolicy # /usr/share/tomcat5/bin/startup.sh
Using CATALINA_BASE: /usr/share/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JAVA_HOME: /usr/lib/jvm/java


with konqueror i type: http://localhost:8080
i get:

not able to connect to localhost (8080 port)

i use java 1.5

the tomcat start.log return:

cat /var/log/tomcat5/base/start.log
No JAVA_HOME specified in @@@TCCONF@@@/tomcat5.conf and no java found, exiting...

JAVA_HOME return me:

linux:/usr/share/hal/fdi/95userpolicy # echo $JAVA_HOME
/usr/lib/jvm/java


any idea?

thanks
--
www.laboiteaprog.com

mrcheeks 06-21-2005 02:41 PM

Did you set JAVA_HOME correctly? Are you sure you didn't make a mistake ie. /usr/lib/jvm/java/jdk1.5.0?

os2 06-22-2005 07:59 PM

Quote:

Originally posted by mrcheeks
Did you set JAVA_HOME correctly? Are you sure you didn't make a mistake ie. /usr/lib/jvm/java/jdk1.5.0?

JAVA_HOME return me:

linux:/usr/share/hal/fdi/95userpolicy # echo $JAVA_HOME
/usr/lib/jvm/java


i run java program without problem

merchtemeagle 06-22-2005 08:24 PM

You are using the Java Development Kit, are you? I think Tomcat will not work with just the JRE.

os2 06-22-2005 09:20 PM

Quote:

Originally posted by merchtemeagle
You are using the Java Development Kit, are you? I think Tomcat will not work with just the JRE.
i have the jdk

javac -version
javac 1.5.0_03

os2 06-27-2005 08:57 PM

echo $JAVA_HOME
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03
linux:/usr/lib/jvm/java-1.5.0-sun-1.5.0_03 # /usr/share/tomcat5/bin/startup.sh
Using CATALINA_BASE: /usr/share/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JAVA_HOME: /usr/lib/jvm/java-1.5.0-sun-1.5.0_03
linux:/usr/lib/jvm/java-1.5.0-sun-1.5.0_03 # cat /var/log/tomcat5/base/start.log
No JAVA_HOME specified in @@@TCCONF@@@/tomcat5.conf and no java found, exiting...


All times are GMT -5. The time now is 01:46 PM.