You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2013/11/18 08:51:22 UTC

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

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

Romain Manni-Bucau closed TOMEE-1075.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.1

mea culpa Jon, I wanted to reuse our altdd logic in PersistenceBootstrap but it is quite not possible. Should be fixed btw!

> 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
>             Fix For: 1.6.1
>
>
> 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)