LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 06-20-2005, 09:03 PM   #1
os2
Member
 
Registered: Dec 2003
Location: Canada
Distribution: Suse 10
Posts: 206

Rep: Reputation: 30
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
 
Old 06-21-2005, 02:41 PM   #2
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
Did you set JAVA_HOME correctly? Are you sure you didn't make a mistake ie. /usr/lib/jvm/java/jdk1.5.0?
 
Old 06-22-2005, 07:59 PM   #3
os2
Member
 
Registered: Dec 2003
Location: Canada
Distribution: Suse 10
Posts: 206

Original Poster
Rep: Reputation: 30
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
 
Old 06-22-2005, 08:24 PM   #4
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
You are using the Java Development Kit, are you? I think Tomcat will not work with just the JRE.
 
Old 06-22-2005, 09:20 PM   #5
os2
Member
 
Registered: Dec 2003
Location: Canada
Distribution: Suse 10
Posts: 206

Original Poster
Rep: Reputation: 30
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
 
Old 06-27-2005, 08:57 PM   #6
os2
Member
 
Registered: Dec 2003
Location: Canada
Distribution: Suse 10
Posts: 206

Original Poster
Rep: Reputation: 30
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat problem roger600 Linux - Software 1 10-12-2005 06:12 AM
Tomcat Related Problem finattack Linux - Networking 0 04-04-2005 03:01 PM
Problem of Tomcat chinaundead Linux - Software 6 03-29-2004 06:35 PM
Problem of Tomcat chinaundead Linux - Networking 1 03-26-2004 05:59 PM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 01:31 AM


All times are GMT -5. The time now is 02:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration