I have SuSE 9.3 runniung on my dell laptop. I went to install Tomcat using Yast. It installed Tomcat 5.0.30-4 onto the system in /srv/www as well as some files in /etc and /usr/share/tomcat5.
When I enabled the service from services applet in Yast, it came up with an asterisk. Looking at the log file (/var/log/tomcat5/base/catalina.out) I get:
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal: repository='file:/usr/share/tomcat5/common/endorsed/[xml-commons-apis].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:204)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:70)
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:944)
The start.log files in the same folder shows:
Using CATALINA_BASE: /usr/share/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JAVA_HOME: /usr/lib/jvm/java
/usr/share/tomcat5/bin/catalina.sh: line 284: /var/run/tomcat5.pid: Permission denied
I looked for /var/run/tomcat5.pid and there isn't such a file. I also googled that and only found another person with a similar issue. Based on a response there, I set permissionss on /var/run to 777 and that particularl line went away. I still have the java exceptions, tho.
(By the way, I had Tomcat running on a 9.2 install on another box.)
http://issues.apache.org/bugzilla/show_bug.cgi?id=35487
Ideas?
Thanks in advance!