LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
Search this Thread
Old 08-31-2005, 02:15 PM   #1
tech_j
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
Unable to run Tomcat 5.5.9 on Fedora core 4


Hi all:

I need help configuring my tomcat installation on my newly installed Fedora core 4. I have removed Tomcat installation that came with core 4 and I took the following steps to install Tomcat 5.5.9 on my box.

1) unpacked Tomcat distribution in /usr/local/<tomcat_5.5.9>
2) Created a user and group with name "tomcat"
2.a) chown -R tomcat:tomcat <tomcat_5.5.9>
3) created symbolic link for /usr/local/<tomcat_5.5.9> to /usr/local/tomcat
4) created CATALINA_HOME, JAVA_HOME, JRE_HOME and varified their existence by echoing their values
5) Now, when I fire this off /usr/local/tomcat/bin/startup.sh, it displays the following information:
using CATALINA_HOME="<cat_home_dir>"
using JAVA_HOME="<java_home_dir>"
using JRE_HOME="<JRE_HOME>"
....................
..............
nothing serious tho

Then system returns to the command prompt.

6) when I try to access localhost:8080 through firefox it displays "connection refuse" message

Is there a way to know if the tomcat is up and running or perhaps run startup.sh in debug mode (it is not logging anything useful under <tomcat>/log dir).

What else do I have to do to make Tomcat run? Please help.

-Jay
 
Old 09-01-2005, 07:46 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Run
Code:
ps -ef|grep tomcat
to see if it's running.
Also you can run
Code:
netstat -tpan|grep 8080
to see if port 8080 is open and by which app.
 
Old 09-04-2005, 10:17 AM   #3
tech_j
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Nothing appeared when I ran "netstat" command as suggested, however, ps command yeilded the following results:
[root@localhost ~]# ps -ef | grep tomcat
root 31637 31593 0 10:03 pts/1 00:00:00 grep tomcat

Also, when I ran startup.sh it yielded the following result:
[root@localhost ~]# /usr/local/tomcat/bin/startup.sh
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /opt/j2sdk1.4.2_09/jre
[root@localhost ~]#


Is there a way for me to see why startup.sh is not starting up my tomcat. Please help.

Jay
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Tomcat into Fedora Core 2 treotan Fedora 4 11-18-2004 08:33 PM
Tomcat 5.0.28 into Fedora Core 2 treotan Linux - Software 3 11-09-2004 10:50 AM
Fedora Core 2 + Apache + Tomcat + JDBC paulecoyote Linux - Newbie 9 07-27-2004 07:58 PM
non-root user unable to run tomcat with usb ports mar38 Linux - Software 0 07-21-2004 03:45 AM
Cannot install fedora core 1 or core 2: Initial setup crashes: "Unable to mount root" ovelasco Linux - Newbie 10 07-15-2004 08:19 PM


All times are GMT -5. The time now is 08:58 AM.

Main Menu
Advertisement
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