[ 
https://issues.apache.org/jira/browse/TOMEE-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16522171#comment-16522171
 ] 

Romain Manni-Bucau commented on TOMEE-2197:
-------------------------------------------

I'd check in ConfigurationFactory. Rephrased the parser is not the right place 
cause we have 3 or 4 parsers for that model and none validates this so better 
to validates it only one. Fail == throw an exception

> 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
>            Priority: Minor
>             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)

Reply via email to