[CentOS] Starting tomcat5: /usr/bin/rebuild-jar-repository: error: Could not find jdbc-stdext Java extension for this JVM

Wed Jul 7 16:44:29 UTC 2010
testwreq wreq <testwreq at gmail.com>

Due to some XML issues, we installed *1.6 from Sun  jdk-6u20-nb-6_8-linux-ml.sh
on Centos. *
**
*below is the output from  *[root at www2 tmp]# alternatives --config  java

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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100707/ba215264/attachment-0004.html>