LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-10-2005, 09:50 AM   #1
PerfectReign
Member
 
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(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!
 
Old 08-11-2005, 02:36 PM   #2
PerfectReign
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: openSUSE / Ubuntu
Posts: 294

Original Poster
Rep: Reputation: 33
Allright...


...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
danielwong
Newbie
 
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?
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:08 PM.

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