tomcat7-admin: Incorrect path for manager webapp

Bug #1128067 reported by TJ
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tomcat7 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

On 12.04.2 server the tomcat7-admin package installs the manager application to

/usr/share/tomcat7-admin/manager

but "/usr/share/tomcat7-admin/host-manager/manager.xml" contains a non-existent path which results in container failures when the manager.xml is deployed.

The change required is:

# git diff
diff --git a/host-manager/manager.xml b/host-manager/manager.xml
index 8416263..08e885c 100644
--- a/host-manager/manager.xml
+++ b/host-manager/manager.xml
@@ -24,7 +24,7 @@
 -->

-<Context docBase="${catalina.home}/webapps/manager"
+<Context docBase="${catalina.home}/../tomcat7-admin/manager"
          privileged="true" antiResourceLocking="false" antiJARLocking="false">

 </Context>

TJ (tj)
description: updated
Changed in tomcat7 (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hi TJ, I think I patched it, could you please try the patch?
http://anonscm.debian.org/gitweb/?p=pkg-java/tomcat7.git;a=commitdiff;h=8d327c26e0308256c6499bb300e38d62c7b6f667
this commit fixes also another bug.

Changed in tomcat7 (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tomcat7 - 7.0.47-1

---------------
tomcat7 (7.0.47-1) unstable; urgency=low

  [ Gianfranco Costamagna ]
  * Team upload.
  * New upstream release, patch refresh.
  * Renamed patch fix-manager-webapp.path
    to fix-manager-webapp.patch (extension typo).
  * Refresh patches for upstream release.
  * Removed -Djava.net.preferIPv4Stack=true
    from init script (lp: #1088681),
    thanks Hendrik Haddorp.
  * Added webapp manager path patch (lp: #1128067)
    thanks TJ.

  [ tony mancill ]
  * Bump Standards-Version to 3.9.5.
  * Change copyright year in javadocs to 2013.
  * Add patch to include the distribution name in error pages.
    (Closes: #729840)

 -- tony mancill <email address hidden> Tue, 24 Dec 2013 16:46:34 +0000

Changed in tomcat7 (Ubuntu):
status: Fix Committed → 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.