title: JBoss client and endorsed lib have stax-api.jar that conflicts with POI 3.11 XML jars
body: <p>I am having issues with stax-api.jar presence in these folders..</p>
  
  <pre><code>java.lang.NoSuchMethodError: javax.xml.stream.XMLEventFactory.newFactory()Ljavax/xml/stream/XMLEventFactory;
  at org.apache.poi.openxml4j.opc.internal.marshallers.PackagePropertiesMarshaller.&lt;clinit&gt;(PackagePropertiesMarshaller.java:45)
  at org.apache.poi.openxml4j.opc.OPCPackage.init(OPCPackage.java:161)
  at org.apache.poi.openxml4j.opc.OPCPackage.&lt;init&gt;(OPCPackage.java:141)
  at org.apache.poi.openxml4j.opc.Package.&lt;init&gt;(Package.java:37)
  </code></pre>
  
  <p>If I get rid of the stax-api.jar, which shouldn't have caused any trouble in the first place since JBoss announced that these jars are not necessary and not bundled anymore because JDK1.6 has the requisite functionality, I land up with another set of problems, JBoss doesn't start up..</p>
  
  <pre><code>Caused by: java.lang.IllegalStateException: Container configuration not found: CTS Message Driven Bean available: {Clustered CMPEntityBean=org.jboss.metadata.ejb.jboss.ContainerConfigurationMetaDataWrapper@300dec94{Clustered CMP EntityBean}, Instance Per Transaction CMP EntityBean=org.jboss.metadata.ejb.jboss.ContainerConfigurationMetaDataWrapper@59edf8fd{Instance Per Transaction CMP EntityBean}, Singleton Message Driven ...
  ...
  </code></pre>
  
  <p>...
  Anybody resolve the stax jar conflicts in JBoss, please?</p>