1 Reply Latest reply: Feb 9, 2012 10:26 AM by Developer NY City RSS

    JAXP issue with Java 1.6.0_25, Jboss 6.0

    Developer NY City Newbie

      I use JAXP in my application and it works with jboss 5 and 5 but not 6.0.

      Not sure why am I getting the error message bellow.


      15:40:17,427 ERROR [LogInterceptor] Unexpected Error in method: public abstract void initCore() throws java.rmi.RemoteException: javax.xml.parsers.FactoryConfigurationError:

      com.sun.xml.parser.DocumentBuilderFactoryImpl from BaseClassLoader@56dee1b4{vfs:///C:/apps/jboss-6.0.0/server/default/deploy/test.ear}

              at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:80) [:1.6.0_25]


      Also, when I put debug for JAXP I can see in the console:

      JAXP: find factoryId =javax.xml.parsers.DocumentBuilderFactory

      JAXP: loaded from fallback value: com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl

      JAXP: created new instance of class com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl using ClassLoader: null

      JAXP: find factoryId =javax.xml.datatype.DatatypeFactory


      any idea why I get the error message mentioned above?