LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-09-2004, 07:52 AM   #1
treotan
Member
 
Registered: Jun 2004
Posts: 126

Rep: Reputation: 15
Unhappy Install Tomcat into Fedora Core 2


I just install J2SDK 1.4.2 and tomcat 5.0.28 into the Fedora Core 2; and modified the /etc/profile is like as following:

export JAVA_HOME=/usr/java/j2sdk1.4.2_06
CLASSPATH=$JAVA_HOME/lib:$JAVA_HOME/jre/lib
export CLASSPATH
export CATALINA_BASE=/usr/tomcat
export CATALINA_HOME=/usr/tomcat
PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH:$HOME/bin

and reboot the machine; Finally try startup the tomcat "/usr/tomcat/bin/startup.sh. It prompted:
[root@localhost bin]# startup.sh
-bash: startup.sh: command not found

How do I fix it? I sure that the Java already installed, coz i check "echo $JAVA_HOME" it shown the path correctly! and type from console "javac" it shown parameter correctly.

Help,
 
Old 11-09-2004, 10:36 AM   #2
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
try

Code:
./startup.sh
The shell can't find the script, it has nothing to do with JAVA_HOME or anything else.
 
Old 11-09-2004, 07:23 PM   #3
treotan
Member
 
Registered: Jun 2004
Posts: 126

Original Poster
Rep: Reputation: 15
[root@localhost bin]# ./startup.sh
Using CATALINA_BASE: /usr/tomcat
Using CATALINA_HOME: /usr/tomcat
Using CATALINA_TMPDIR: /usr/tomcat/temp
Using JAVA_HOME: /usr/java/j2sdk1.4.2_06

It seem correct??
 
Old 11-17-2004, 03:32 PM   #4
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
yep, that looks right.

check http://localhost:8080 to see if tomcat page loads up.
 
Old 11-18-2004, 07:33 PM   #5
treotan
Member
 
Registered: Jun 2004
Posts: 126

Original Poster
Rep: Reputation: 15
its alright now!

Thks
 
  


Reply



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
Unable to run Tomcat 5.5.9 on Fedora core 4 tech_j Linux - Software 2 09-04-2005 09:17 AM
If i install Fedora Core 2, can i just update to Core 3 from internet? FocusedWolf Fedora 12 02-07-2005 01:03 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
install Java (Servlet), Tomcat on Fedora need help. learn Fedora 2 02-24-2004 11:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:31 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
Open Source Consulting | Domain Registration