R
rviradia
Guest
Hi, have a client who wants tomcat 5, so I installed but get the error below, do you know where I'm going wrong,
Thanks
-bash-2.05b# /etc/init.d/tomcat5 restart
Starting tomcat5: /usr/bin/rebuild-jar-repository: error: could not find ant-launcher Java extension for this JVM
/usr/bin/rebuild-jar-repository: error: All detected jars were not found for this jvm
[ OK ]
--------------
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal: repository='file:/var/lib/tomcat5/common/lib/[ant-launcher].jar'
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:957)
at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:153)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:207)
at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:163)
at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:104)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)
Caused by: java.util.zip.ZipException: No such file or directory
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:65)
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:944)
... 6 more
Thanks
-bash-2.05b# /etc/init.d/tomcat5 restart
Starting tomcat5: /usr/bin/rebuild-jar-repository: error: could not find ant-launcher Java extension for this JVM
/usr/bin/rebuild-jar-repository: error: All detected jars were not found for this jvm
[ OK ]
--------------
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal: repository='file:/var/lib/tomcat5/common/lib/[ant-launcher].jar'
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:957)
at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:153)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:207)
at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:163)
at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:104)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)
Caused by: java.util.zip.ZipException: No such file or directory
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:65)
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:944)
... 6 more