tomcat resource agent script does not support setting CATALINA_BASE environment variable

Bug #607461 reported by timdaman
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cluster-agents (Ubuntu)
Fix Released
Low
Andres Rodriguez

Bug Description

Binary package hint: heartbeat

The Tomcat 6 package stores tomcat binaries in /var/share/tomcat6 and stores users content in /var/lib/tomcat6. Unfortunately the tomcat resource agent, /usr/lib/ocf/resource.d/heartbeat/tomcat, assumes both are stored in the same directory. The tomcat projects specifies two environmental variables to allow the separation of these;

CATALINA_HOME The location where tomcat binaries are stored
CATALINA_BASE The location where user content is stored

I added support for CATALINA_BASE to the tomcat resource agent to get it work. Attached is a patch to add support for CATALINA_BASE.

Tags: patch

CVE References

Revision history for this message
timdaman (timdaman-gmail) wrote :
tags: added: patch
affects: heartbeat (Ubuntu) → cluster-agents (Ubuntu)
Changed in cluster-agents (Ubuntu):
assignee: nobody → Andres Rodriguez (andreserl)
status: New → In Progress
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cluster-agents - 1:1.0.4-0ubuntu1

---------------
cluster-agents (1:1.0.4-0ubuntu1) natty; urgency=low

  * Resync from debian unstable.
  * New upstream release (LP: #720304)
    - Fixes (LP: #689944, LP: #607461)
  * debian/patches:
    - CVE-2010-3389--bug598549.patch: Drop. Fixed upstream.
    - spelling-fixes.patch: Drop. Fixed upstream.
    - mysql.path: Refreshed.
  * debian/cluster-agents.{install,manpages}: Install new agents/manpages.
  * debian/cluster-agents.links: Add for compatibility with upstream changes.
  * debian/rules: Add dh_link to handle above added file.
 -- Andres Rodriguez <email address hidden> Wed, 16 Feb 2011 18:22:03 -0500

Changed in cluster-agents (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Patches

Remote bug watches

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