i am using JBoss 4.0.5 for my enterprise application. i would like to update my application server from JBoss 4.0.5 to JBoss 5.1.0. i am using EJB project. i have EJB jar, WAR file and EAR file. this project is working in JBoss 4.0.5, but not in JBoss 5.1.0. i am getting this error.
Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser
... 74 more
Caused by: javax.xml.parsers.ParserConfigurationException: Feature 'http://apache.org/xml/features/xinclude' is not recognized.
at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
... 76 more
10:54:25,656 ERROR [JBossContextConfig] XML error parsing: jboss.web/localhost/context.xml.default
org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
i have gone through some of the discussion given in this site. based on that i have removed xml related jar files like (xerces.jar, xercesImpl.jar). and i have changed all xml config file(application.xml, jboss-web.xml) from JBoss 4.0.5 to JBoss 5.1.0. still i am getting this error. somebody could help me to resolve this issue. so that i can use JBoss 5.1.0. i need your help to proceed with JBoss 5.1.0.
herewith i have attached the error log.
If you have followed this link below in fixing the error, then it would work.
But in case, if it didn't then some where in your class path the jar files are being referenced. Please verify the location,If possible run the project build and delete the xerces related jars then deploy on to JBoss 5.1 fresh install.
|Retrieving data ...|