Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29th November 2005, 06:00 AM
bhamail Offline
Registered User
 
Join Date: Nov 2005
Posts: 8
Tomcat5 package is missing xml-commons-apis dependency

I hope this helps someone else.

For what it's worth: I'm pretty sure there is a bug in the dependencies of the tomcat5 package.
The error below should be fixed if you install the package:
xml-commons-apis

The xml-commons package is installed, but the "apis" package is required and is NOT installed. Not sure who to report this to at Fedora...but that fixed it for me.

(Also, there were warnings about this file during the yum installation of tomcat5)

Error details below:

After installing tomcat5 via yum, you get errors like this in the tomcat log (/usr/share/tomcat5/logs/catalina.out):

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.add RepositoryInternal(java.lang.String) (/usr/lib/libtomcat-bootstrap-5.0.30.jar.so)
at org.apache.catalina.loader.StandardClassLoader.Sta ndardClassLoader(java.lang.String[]) (/usr/lib/libtomcat-bootstrap-5.0.30.jar.so)
at org.apache.catalina.startup.ClassLoaderFactory.cre ateClassLoader(java.io.File[], java.io.File[], java.net.URL[], java.lang.ClassLoader) (/usr/lib/libtomcat-bootstrap-5.0.30.jar.so)
at org.apache.catalina.startup.Bootstrap.createClassL oader(java.lang.String, java.lang.ClassLoader) (/usr/lib/libtomcat-bootstrap-5.0.30.jar.so)
at org.apache.catalina.startup.Bootstrap.initClassLoa ders() (/usr/lib/libtomcat-bootstrap-5.0.30.jar.so)
at org.apache.catalina.startup.Bootstrap.init() (/usr/lib/libtomcat-bootstrap-5.0.30.jar.so)
at org.apache.catalina.startup.Bootstrap.main(java.la ng.String[]) (/usr/lib/libtomcat-bootstrap-5.0.30.jar.so)
at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
Caused by: java.io.FileNotFoundException: /usr/share/tomcat5/common/endorsed/[xml-commons-apis].jar (No such file or directory)
at gnu.java.nio.channels.FileChannelImpl.open(java.la ng.String, int) (/usr/lib/libgcj.so.6.0.0)
at gnu.java.nio.channels.FileChannelImpl.FileChannelI mpl(java.lang.String, int) (/usr/lib/libgcj.so.6.0.0)
at java.io.RandomAccessFile.RandomAccessFile(java.lan g.String, java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.util.zip.ZipFile.ZipFile(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.util.jar.JarFile.JarFile(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0)
at java.util.jar.JarFile.JarFile(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at org.apache.catalina.loader.StandardClassLoader.add RepositoryInternal(java.lang.String) (/usr/lib/libtomcat-bootstrap-5.0.30.jar.so)
...8 more

At this point, the link shown in the error message above is broken because the xml-commons-apis.jar was never installed.
Reply With Quote
Reply

Tags
dependency, missing, package, tomcat5, xmlcommonsapis

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing xml-commons-apis seattle-guy Using Fedora 0 12th September 2008 08:24 PM
xmms x86_64 package is missing dependency metadata bgoodr Using Fedora 2 7th July 2007 04:55 PM
FC5 Missing Dependency: gcc = 4.1.0 is needed by package libtool scog28 Using Fedora 1 24th February 2007 07:24 PM
Missing Dependency, even though package is installed muskote33 Using Fedora 3 22nd February 2007 10:06 PM
Missing Dependency: libpisock.so.8 is needed by package evolution tomwitmer Using Fedora 3 10th May 2006 07:19 PM


Current GMT-time: 16:47 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat