tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gallimore (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (OPENEJB-956) Installation of Java Agent fails when used with Tomcat and CATALINA_HOME != CATALINA_BASE
Date Wed, 19 Nov 2008 12:05:44 GMT

     [ https://issues.apache.org/jira/browse/OPENEJB-956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Gallimore reassigned OPENEJB-956:
------------------------------------------

    Assignee: Jonathan Gallimore

> Installation of Java Agent fails when used with Tomcat and CATALINA_HOME != CATALINA_BASE
> -----------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-956
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-956
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: tomcat
>    Affects Versions: 3.1
>         Environment: All
>            Reporter: Rainer Jung
>            Assignee: Jonathan Gallimore
>            Priority: Minor
>         Attachments: openejb.patch
>
>
> The war installer for using openejb in Tomcat installs the java agent into CATALINA_HOME/lib.
> Then it patches catalina.sh and catalina.bat to add a -javaagent parameter during startup.
That code erroneously assumes the agent was installed into CATALINA_BASE (instead of CATALINA_HOME).
If both are the same that's fine, if not, it breaks.
> I attach the simple patch.
> Note: Installing into CATALINA_BASE might actually be nicer, but CATALINA_BASE/lib is
not on the default search path of the Tomcat loaders, so one would also have to patch common.loader
in CATALINA_BASE/conf/catalina.properties.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message