Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-31-2005, 01:15 PM   #1
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/, it displays the following information:
using CATALINA_HOME="<cat_home_dir>"
using JAVA_HOME="<java_home_dir>"
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 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.

Old 09-01-2005, 06:46 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,843

Rep: Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596
ps -ef|grep tomcat
to see if it's running.
Also you can run
netstat -tpan|grep 8080
to see if port 8080 is open and by which app.
Old 09-04-2005, 09:17 AM   #3
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 it yielded the following result:
[root@localhost ~]# /usr/local/tomcat/bin/
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 is not starting up my tomcat. Please help.



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 07:33 PM
Tomcat 5.0.28 into Fedora Core 2 treotan Linux - Software 3 11-09-2004 09:50 AM
Fedora Core 2 + Apache + Tomcat + JDBC paulecoyote Linux - Newbie 9 07-27-2004 06:58 PM
non-root user unable to run tomcat with usb ports mar38 Linux - Software 0 07-21-2004 02:45 AM
Cannot install fedora core 1 or core 2: Initial setup crashes: "Unable to mount root" ovelasco Linux - Newbie 10 07-15-2004 07:19 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:03 AM.

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