You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jonathan Gallimore (JIRA)" <ji...@apache.org> on 2013/11/17 23:33:20 UTC

[jira] [Created] (TOMEE-1075) openejb.home system properties not correctly set

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)