2 Replies Latest reply on Jun 6, 2012 5:11 AM by Sergiu Pienar

    xmbean-dd in jboss-service.xml

    Sergiu Pienar Expert

      Hi,

       

      Using JBoss 7.1.1 Final. I have a SAR within an EAR.

       

      The jboss-service.xml inside the META-INF directory looks is using the xmbean-dd optional attribute (works fine on JBoss 5) and this throws an error on JBoss startup :

       

      Caused by: java.lang.IllegalStateException: Not a textual event (START_ELEMENT)

              at com.ctc.wstx.sr.BasicStreamReader.throwNotTextual(BasicStreamReader.java:5444)

              at com.ctc.wstx.sr.BasicStreamReader.getText(BasicStreamReader.java:833)

              at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.getText(XMLExtendedStreamReaderImpl.java:275) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

              at org.jboss.as.service.descriptor.JBossServiceXmlDescriptorParser.unexpectedContent(JBossServiceXmlDescriptorParser.java:622)

              at org.jboss.as.service.descriptor.JBossServiceXmlDescriptorParser.parseMBean(JBossServiceXmlDescriptorParser.java:212)

              at org.jboss.as.service.descriptor.JBossServiceXmlDescriptorParser.readElement(JBossServiceXmlDescriptorParser.java:183)

       

      Is this attribute still supported in JBoss 7 ?


      Thank you