Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1075

openejb.home system properties not correctly set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • None
    • None
    • OSX 10.8, Java 1.7

    Description

      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.

      Attachments

        Activity

          People

            jgallimore Jonathan Gallimore
            jgallimore Jonathan Gallimore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: