I have a dedicated server with Fedora 6 + dual xeon processor(64-bit).
Earlier there was java 1.4.2 . But I removed it and install the jdk-6-linux-i586-rpm.bin( From Sun Micro system-32 bit). I am able to execute java and javac from any directory. It means some configuration is already done by the installation process.
These are the folder created.
/usr/java/default
/usr/java/latest
/usr/java/jdk1.6.0
After that I unpacked the apache-tomcat-6.0.10.tar.g
z. It created the (/usr/apache-tomcat-6.0.10
) folder.
I created the environment variable JAVA_HOME=/usr/java/defaul
t in the /etc/profile and exported that variable. I restarted the system for chanes to take effect.
I get the following error in the $CATALINA_HOME/logs/catali
na.out
java.lang.ClassNotFoundExc
eption: org.apache.catalina.startu
p.Catalina
at java.net.URLClassLoader$1.
run(URLCla
ssLoader.j
ava:200)
at java.security.AccessContro
ller.doPri
vileged(Na
tive Method)
at java.net.URLClassLoader.fi
ndClass(UR
LClassLoad
er.java:18
8)
at java.lang.ClassLoader.load
Class(Clas
sLoader.ja
va:306)
at java.lang.ClassLoader.load
Class(Clas
sLoader.ja
va:251)
at org.apache.catalina.startu
p.Bootstra
p.init(Boo
tstrap.jav
a:215)
at org.apache.catalina.startu
p.Bootstra
p.main(Boo
tstrap.jav
a:390)
It means the java runtime is not able to find tomcat related jar files.
What is the cause for error? Is it
(1) some defualt configuration done by the java installation process
(2) Some extra configuration needs to be done?
Start Free Trial