1 Reply Latest reply on May 9, 2012 9:01 AM by Sergiu Pienar

    Is it possible to package a SAR compatible between JBoss 4.2.3 and JBoss AS 7?

    Gerald Turner Newbie

      I have a SAR that includes META-INF/jboss-service.xml using xmbean-dd attribute pointed at a META-INF/jboss-xmbean.xml which defines all the attributes/operations for the MBean interface.  Works great on JBoss 4 and 5.  Never tried 6.  JBoss 7 has stax errors reading jboss-service.xml, first it failed because of the DTD declaration, commented that out (probably breaking JBoss 4 compatibility) and now it's breaking on "Not a textual event (START_ELEMENT)", no clue what to fix now.  Seems like I'll ultimately have to fork my applications, completely rewrite them for EJB3, ditch MBeans even though they're incredibly useful (wired into all kinds of monitoring in our organization, including JBoss SNMP Adaptor - I imagine that's been thrown out too).