There are 3 programs which provide 'java'.
Selection Command
-----------------------------------------------
1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
* 2 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
+ 3 /usr/local/jdk1.6.0_20/bin/java
It has been set to use SUN JDk from /usr/local/jdk1.6.0_20/bin/java instead of open source /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
Tomcat did not startup sucessfully after making the following change in tomcat5.conf
#JAVA_HOME="/usr/lib/jvm/java"
JAVA_HOME="/usr/local/jdk1.6.0_20/bin/java"
[root@devwww init.d]# ./tomcat5 start
Starting tomcat5: /usr/bin/rebuild-jar-repository: error: Could not find jdbc-stdext Java extension for this JVM
/usr/bin/rebuild-jar-repository: error: Could not find jndi Java extension for this JVM
/usr/bin/rebuild-jar-repository: error: Some detected jars were not found for this jvm
/usr/bin/rebuild-jar-repository: error: Could not find jaas Java extension for this JVM
/usr/bin/rebuild-jar-repository: error: Some detected jars were not found for this jvm
[ OK ]
I cannot bring up tomcat default page. Please guide me to fix this issue.
Thanks in advance,
vm
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos