]
Richard Opalka updated AS7-1101:
--------------------------------
Git Pull Request:
Parser error when processing security-identity/description
ejb-jar.xml element
------------------------------------------------------------------------------
Key: AS7-1101
URL:
https://issues.jboss.org/browse/AS7-1101
Project: Application Server 7
Issue Type: Bug
Components: EJB
Reporter: Richard Opalka
Assignee: Richard Opalka
Fix For: 7.0.0.CR1
According to ejb-jar_3_1.xsd 'description' element is optional under
'security-identity' element.
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[12,9]
Message: Unexpected element '{http://java.sun.com/xml/ns/javaee}description'
encountered
at
org.jboss.metadata.parser.util.MetaDataElementParser.unexpectedElement(MetaDataElementParser.java:109)
at
org.jboss.metadata.ejb.parser.spec.SecurityIdentityParser.processElement(SecurityIdentityParser.java:46)
at
org.jboss.metadata.ejb.parser.spec.SecurityIdentityParser.processElement(SecurityIdentityParser.java:16)
at
org.jboss.metadata.ejb.parser.spec.AbstractMetaDataParser.processElements(AbstractMetaDataParser.java:65)
at
org.jboss.metadata.ejb.parser.spec.SecurityIdentityParser.parse(SecurityIdentityParser.java:24)
at
org.jboss.metadata.ejb.parser.spec.SessionBeanMetaDataParser.processElement(SessionBeanMetaDataParser.java:224)
at
org.jboss.metadata.ejb.parser.spec.SessionBean30MetaDataParser.processElement(SessionBean30MetaDataParser.java:126)
at
org.jboss.metadata.ejb.parser.spec.SessionBean30MetaDataParser.processElement(SessionBean30MetaDataParser.java:47)
at
org.jboss.metadata.ejb.parser.spec.AbstractMetaDataParser.processElements(AbstractMetaDataParser.java:65)
at
org.jboss.metadata.ejb.parser.spec.SessionBeanMetaDataParser.parse(SessionBeanMetaDataParser.java:76)
at
org.jboss.metadata.ejb.parser.spec.EnterpriseBeansMetaDataParser.parse(EnterpriseBeansMetaDataParser.java:62)
at
org.jboss.metadata.ejb.parser.spec.EjbJarMetaDataParser.parseEjbJarElements(EjbJarMetaDataParser.java:274)
at
org.jboss.metadata.ejb.parser.spec.EjbJarMetaDataParser.parse(EjbJarMetaDataParser.java:142)
at
org.jboss.as.ejb3.deployment.processors.EjbJarParsingDeploymentUnitProcessor.deploy(EjbJarParsingDeploymentUnitProcessor.java:143)
... 6 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: