Jboss 5.1 Xml Error Parsing Context.xml
not work correctly without it enabled. Please turn JavaScript back on and reload this page. All Places > JBoss AS > Discussions Please enter a title. You can not post a blank message. Please type your message and try again. 4 Replies Latest reply on Oct 2, 2009 4:09 PM by Puneet Agrawal Failed to create new SAX Parser error in JBoss 5.1.0 Puneet Agrawal Oct 2, 2009 2:12 PM I am upgrading from JBoss 4.2.2 to JBoss 5.1.0. We package xercesImpl.jar file in our war file. I am getting following traceback while deployment2009-10-02 19:18:02,961 ERROR [org.jboss.web.tomcat.service.deployers.JBossContextConfig] (HDScanner) XML error parsing: WEB-INF/context.xml org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100) at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:549) at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:540) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)I tried the option #2 mentioned at following link but I still get same error. http://www.jboss.org/community/wiki/useJBossWebClassLoaderinJBoss5 This is an urgent situation for us. Removing xercesImpl.jar from war file is not an option for me. 3518Views Tags: none (add) This content has been marked as
Technologies Java EE Development WebSphere App Coding Spring Tools & IDE JavaScript with JSjet REST Web Services Web Development Tools Maven Enablement Eclipse Code Sharing for Slack Live Preview Database & Persistence View All RegisterLog In 0 Items Products MyEclipse IDE Secure Delivery Center Webclipse GapDebug WebPad Our Company About Careers Contact Us Community Blog Press Twitter Support Genuitec Advanced Support Services Select Page Your Internet https://developer.jboss.org/thread/2589 Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close Problem starting Application deployed to JBoss 5.1 GA Genuitec :: Driving Development for Leading Organizations › Forums › MyEclipse IDE › Spring Development This topic https://www.genuitec.com/forums/topic/problem-starting-application-deployed-to-jboss-5-1-ga/ contains 3 replies, has 4 voices, and was last updated by jkennedy 5 years, 6 months ago. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts March 17, 2010 at 10:48 am #306843 Reply Jamie DanielMember I have deployed an application with the following: Scaffolding for Security Scaffolding for CRUD I deployed this to JBoss 5.1 GA and the deployments fail: Here is the error: 09:59:29,958 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#ORACLE11SRV 09:59:29,989 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=#ORACLE11SRV state=Create java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] - You have not defined a jta-data-source for a JTA enabled persistence context named: ORACLE11SRV at org.jboss.jpa.deployment.PersistenceUnitInfoImpl.
Certification Databases Caching Books Engineering Languages Frameworks Products This Site https://coderanch.com/t/459496/JBoss/Failed-create-SAX-parser Careers Other all forums Forum: JBoss/WildFly Failed to create a new SAX parser sridhar addanki Greenhorn Posts: 22 posted 7 years ago Hi, I want to deploy my jasper reports workspace into JBoss 5.1. I was successful when i deployed in jboss 4.2.2. But jboss 5.1 i am getting "Failed to create a new SAX parser" error while deploying into jboss 5.1.0 GA. I am using xmlparserv2.jar. I required this jar for my reports. I have tried by writing jboss_classloading.xml file also. Still i am getting the same error. Please help me jboss 5.1 xml out. Thanks in Advance. Sridhar. Jaikiran Pai Marshal Posts: 10447 227 I like... posted 7 years ago Please post the entire exception stacktrace. While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. [My Blog] [JavaRanch Journal] sridhar addanki Greenhorn Posts: 22 posted 7 years ago Hai JaiKira, Thanks for reply. Here is my complete error. 13:09:05,625 INFO [TomcatDeployment] deploy, ctxPath=/admin-console 13:09:05,796 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console' 13:09:16,625 INFO [TomcatDeployment] deploy, ctxPath=/HandlingReports-0024 13:09:16,640 ERROR [JBossContextConfig] XML error parsing: context.xml org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100) at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:549) at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:536) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436) at org.apache.catalina.cor