Jonathan Gallimore created TOMEE-2154:
-----------------------------------------

             Summary: Using properties-provider attribute in tomee.xml throws 
JAXB error
                 Key: TOMEE-2154
                 URL: https://issues.apache.org/jira/browse/TOMEE-2154
             Project: TomEE
          Issue Type: Bug
    Affects Versions: 1.7.5
            Reporter: Jonathan Gallimore
            Assignee: Jonathan Gallimore


Using properties-provider on a <Container> element in tomee.xml throws the 
following exception:

org.apache.openejb.OpenEJBException: Unable to read OpenEJB configuration file 
at /path/to/tomee.xml: Unsupported Attribute(s): properties-provider. Supported 
Attributes are: type, jar, provider, id, class-name, constructor, factory-name, 
classpath, ctype. If the setting is a configuration property it must be placed 
inside the element body.

at org.apache.openejb.config.sys.JaxbOpenejb.readConfig(JaxbOpenejb.java:219)
at 
org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:458)
at 
org.apache.openejb.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:591)
at 
org.apache.openejb.assembler.classic.Assembler.getOpenEjbConfiguration(Assembler.java:487)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to