I also tried to modify the run.bat file and added these parts (well !!! customized to fit the jboss3.0RC2) :
REM Add the XML parser jars and set the JAXP factory names
REM Crimson parser JAXP setup(default)
set JAXP=%JAXP% -Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactoryImpl
rem Setup JBoss sepecific properties
set JAVA_OPTS=%JAVA_OPTS% -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
set JAVA_OPTS=%JAVA_OPTS% -Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactoryImpl
But I still got the same parsing error. Thanks for any feedback.
hmm, I'm not getting much of a response !!! Let me put it this way. In the patching instructions for the petstore 1.1.2, it says to remove jaxp.jar and parser.jar from the lib folder before you build the ear file. I found out that if I didn't remove those files, the petore app is unable to parse the requestmappings.xml file. If I remove those 2 files, then I don't have this problem. There is obviously a conflict between those 2 files and the xml parser used by jboss. Does anyone understand why this was happening and why the patching instructions asked to remove those 2 files explicitly.