You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2018/06/21 06:53:00 UTC

[jira] [Created] (TOMEE-2197) openejb.xml does not work

Mark Struberg created TOMEE-2197:
------------------------------------

             Summary: openejb.xml <Deployments jar="..."/> does not work
                 Key: TOMEE-2197
                 URL: https://issues.apache.org/jira/browse/TOMEE-2197
             Project: TomEE
          Issue Type: Bug
          Components: TomEE Core Server
    Affects Versions: 7.0.4
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 8.0.0, 7.0.5


When declaring a deployment in openejb.xml or tomee.xml we scan <Deployments> sections.
This contains a file= and a jar= attribute. 
The jar= does not work because it later gets overridden by the (often empty) file attribute.

WORKAROUND: just use the file= attribute and be done
Should be fixed nonetheless. And should issue a warning if both attributes are used.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)