-   Fedora (
-   -   Install Tomcat into Fedora Core 2 (

treotan 11-09-2004 08:52 AM

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
export CATALINA_BASE=/usr/tomcat
export CATALINA_HOME=/usr/tomcat

and reboot the machine; Finally try startup the tomcat "/usr/tomcat/bin/ It prompted:
[root@localhost bin]#
-bash: 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.


csfalcon 11-09-2004 11:36 AM



The shell can't find the script, it has nothing to do with JAVA_HOME or anything else.

treotan 11-09-2004 08:23 PM

[root@localhost bin]# ./
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??

csfalcon 11-17-2004 04:32 PM

yep, that looks right.

check http://localhost:8080 to see if tomcat page loads up.

treotan 11-18-2004 08:33 PM

its alright now!


All times are GMT -5. The time now is 10:12 PM.