jars included with tomcat break jaxp

Bug #173692 reported by Craig
4
Affects Status Importance Assigned to Milestone
tomcat5.5 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: tomcat5.5

When deploying a war which uses Spring WS, the application will fail to work correctly, raising this error:
Class not found: org.springframework.xml.xpath.Jaxp13XPathExpressionFactory
I assume that other applications may also fail with similar class not found exceptions, too.
The jar that contains this class is in the war (the jar is spring-xml-1.0.2.jar).
After much web searching, I ran across this page: http://brian.pontarelli.com/2007/10/15/ubuntu-gusty-and-tomcat-55/ Following those directions, I deleted /usr/share/tomcat5.5/common/endorsed/*, restarted tomcat, and now the application works.

Stock Tomcat 5.5 does not include those the jars that Ubuntu does in its /usr/share/tomcat5.5/common/endorsed/ directory. Perhaps those jars should not be included in this package?

I'm running Ubuntu Gutsy, Tomcat 5.5, and JDK6.

Thanks!

Revision history for this message
Matti Lindell (mlind) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tomcat5.5 - 5.5.25-5ubuntu1

---------------
tomcat5.5 (5.5.25-5ubuntu1) hardy; urgency=low

  * Merge from Debian unstable (LP: #153672, LP: #159661, LP: #161882,
    LP: #173692, LP: #179491), remaining changes:
    - debian/control: Change the Maintainer address.
    - debian/rules: Force flag passed to rm to `prune files that should not be
      installed at all'.

tomcat5.5 (5.5.25-5) unstable; urgency=low

  * debian/tomcat5.5.init: Check if tomcat-users.xml exists.
    Thanks to Javier Serrano Polo for the patch. Closes: #445857.
  * debian/tomcat5.5-webapps.postrm: Purge links created in postinst script.
    Closes: #453879.
  * debian/tomcat5.5-admin.links: Fix symlink for commons-io.jar.
    Closes: #452366.
  * debian/tomcat5.5.init: Check user id of the user running the init script.
    Closes: #457956.
  * Renamed /etc/cron.daily/tomcat5.5 to /etc/cron.daily/tomcat55.
    Closes: #454296.
  * debian/tomcat5.5.init: source /etc/default/locale and export LANG so
    tomcat gets started with system locale. Originally reported to
    https://bugs.launchpad.net/ubuntu/+source/tomcat5.5/+bug/153672.

tomcat5.5 (5.5.25-4) unstable; urgency=high

  * CVE-2007-5342: Fix unauthorized modification of data because of
    too open permissions. Closes: #458237.
  * Always clean temporary directory on startup. Closes: #456608.

tomcat5.5 (5.5.25-3) unstable; urgency=low

  * debian/libtomcat5.5-java.links: Removed links for xml-apis.jar and
    xercesImpl.jar. Closes: #443382, #455495.
  * Added libgnumail-java to Build-Depends. Closes: #454312.
  * Updated Standards-Version to 3.7.3.

tomcat5.5 (5.5.25-2) unstable; urgency=high

  [ Michael Koch ]
  CVE-2007-5461:
  * Fix absolute path traversal vulnerability. Closes: #448664.

  [ Marcus Better ]
  * Add required commons-io symlink to the admin webapp, which fixes WAR
    file uploads. (Closes: #452366)
  * debian/control: Use the new Homepage and Vcs-* fields.
  * debian/NEWS: Remove outdated entry.

 -- Matti Lindell <email address hidden> Thu, 03 Jan 2008 20:30:59 +0200

Changed in tomcat5.5:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.