Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3250

jboss-ejb-client.xml parse error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.Final
    • 7.1.0.CR1b
    • EJB
    • None
    • Hide

      deploy application with following deploy descriptor

      <?xml version="1.0" encoding="UTF-8"?>
      <jboss-ejb-client xmlns="urn:jboss:ejb-client:1.0">
       <client-context>
        <ejb-receivers>
         <remoting-ejb-receiver
           outbound-connection-ref="remote-ejb"/>
         <remoting-ejb-receiver
           outbound-connection-ref="remote-ejb2"/>
        </ejb-receivers>
       </client-context>
      </jboss-ejb-client>
      
      Show
      deploy application with following deploy descriptor <?xml version="1.0" encoding="UTF-8"?> <jboss-ejb-client xmlns="urn:jboss:ejb-client:1.0"> <client-context> <ejb-receivers> <remoting-ejb-receiver outbound-connection-ref="remote-ejb"/> <remoting-ejb-receiver outbound-connection-ref="remote-ejb2"/> </ejb-receivers> </client-context> </jboss-ejb-client>

    Description

      Deploy application with jboss-ejb-client.xml cause following parse error.

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011096: Exception while parsing jboss-ejb-client.xml file found at C:\git\jorsef\jboss-as\jboss-as\build\target\jboss-as-7.1.0.Final-SNAPSHOT\standalone\tmp\vfs\tempf48fc3926988e074\content-d91a2f2ac23e7a89\contents\META-INF\jboss-ejb-client.xml
      	at org.jboss.as.ee.structure.EJBClientDescriptorParsingProcessor.parse(EJBClientDescriptorParsingProcessor.java:144)
      	at org.jboss.as.ee.structure.EJBClientDescriptorParsingProcessor.parse(EJBClientDescriptorParsingProcessor.java:122)
      	at org.jboss.as.ee.structure.EJBClientDescriptorParsingProcessor.deploy(EJBClientDescriptorParsingProcessor.java:104)
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      	... 5 more
      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[7,4]
      Message: JBAS011094: Unexpected element '{urn:jboss:ejb-client:1.0}remoting-ejb-receiver' encountered
      	at org.jboss.as.ee.structure.EJBClientDescriptor10Parser.unexpectedElement(EJBClientDescriptor10Parser.java:270)
      	at org.jboss.as.ee.structure.EJBClientDescriptor10Parser.parseClientContext(EJBClientDescriptor10Parser.java:171)
      	at org.jboss.as.ee.structure.EJBClientDescriptor10Parser.readElement(EJBClientDescriptor10Parser.java:138)
      	at org.jboss.as.ee.structure.EJBClientDescriptor10Parser.readElement(EJBClientDescriptor10Parser.java:60)
      	at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:100)
      	at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:59)
      	at org.jboss.as.ee.structure.EJBClientDescriptorParsingProcessor.parse(EJBClientDescriptorParsingProcessor.java:138)
      	... 8 more
      

      Attachments

        Activity

          People

            jaikiran Jaikiran Pai (Inactive)
            jorsef_jira Yokoyama Yasuo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: