Jonathan Gallimore created TOMEE-1075:
-----------------------------------------
Summary: openejb.home system properties not correctly set
Key: TOMEE-1075
URL: https://issues.apache.org/jira/browse/TOMEE-1075
Project: TomEE
Issue Type: Bug
Affects Versions: 1.6.0
Environment: OSX 10.8, Java 1.7
Reporter: Jonathan Gallimore
Assignee: Jonathan Gallimore
When org.apache.openejb.config.NewLoaderLogic.getExclusions() calls
SystemInstance.get().getConf(EXCLUSION_FILE), openejb.home has not been set.
SystemInstance therefore tries 'user.directory', which in my case was
$TOMEE_HOME/bin and not $TOMEE_HOME.
Seems that this happens *before* the TomcatLoader is invoked, which does set
the property correctly. Looks like the javaagent loading is causing this
behaviour at first glance.
--
This message was sent by Atlassian JIRA
(v6.1#6144)