Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-10-2005, 09:50 AM   #1
Registered: Apr 2005
Location: Los Angeles
Distribution: openSUSE / Ubuntu
Posts: 294

Rep: Reputation: 33
Tomcat Unable to Start - Exception

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(
at org.apache.catalina.loader.StandardClassLoader.<init>(
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(
at org.apache.catalina.startup.Bootstrap.createClassLoader(
at org.apache.catalina.startup.Bootstrap.initClassLoaders(
at org.apache.catalina.startup.Bootstrap.init(
at org.apache.catalina.startup.Bootstrap.main(
Caused by: No such file or directory
at Method)
at java.util.jar.JarFile.<init>(
at java.util.jar.JarFile.<init>(
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(

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/ line 284: /var/run/ Permission denied

I looked for /var/run/ 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.)


Thanks in advance!
Old 08-11-2005, 02:36 PM   #2
Registered: Apr 2005
Location: Los Angeles
Distribution: openSUSE / Ubuntu
Posts: 294

Original Poster
Rep: Reputation: 33

...having banged my head against the proverbial wall for a bit, I took a step back. I just reinstalled the RPM for the JDK 1.5.0_04 and then reinstalled Tomcat through Yast. Now all is well. Go figure.
Old 08-10-2006, 05:24 PM   #3
Registered: May 2005
Posts: 5

Rep: Reputation: 0
security issue

I am having the same permission issue, but I'm hesitant about doing chmod 777. Doesn't that create some security hazzard?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I get an exception when trying to start Azureus dr_zayus69 Linux - Software 7 12-15-2007 12:30 AM
help createing exception class from base STL exception qwijibow Programming 4 04-20-2005 05:23 AM
Unable to shut down tomcat MakingOfAGeek Linux - Newbie 1 10-26-2003 07:48 AM
No games will start w/ winex: Unhandled Exception sboy Linux - Games 3 10-15-2003 10:41 AM
Unable to start Tomcat 4 on Linux Manav Linux - Newbie 5 08-22-2003 05:59 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration