Java.lang.runtimeexception Error While Reading /web-inf/components.xml
not work correctly without it enabled. Please turn JavaScript back on and reload this page. All Places > Seam > Discussions Please enter a title. You can not post a blank message. Please type your message and try again. 1 2 Previous Next 21 Replies Latest reply on Feb 15, 2008 12:50 PM by Rey Jexter Bumalay error while reading /WEB-INF/components.xml Mussie Woldemi Jan 13, 2008 12:33 PM Hi does any one has an idea where this error comes from?I tried to create a CRUD Database Application with Seam according to this doc: http://docs.jboss.org/tools/2.0.0.GA/seam/en/html/crud_database_application.htmlWhen trying to generate entities I get following error!INFO [Initialization] reading /WEB-INF/components.xml 17:31:17,687 ERROR [[/crudappwar]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener java.lang.RuntimeException: error while reading /WEB-INF/components.xml at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:136) Does anyone has an idea? My HSQLDB is running in server mode but test connection (ping!) was fine so I guess thats no problem! I'd appreciate any comments. thanks and best regards, Mussie 20541Views Tags: none (add) This content has been marked as final. Show 21 replies 1. Re: error while reading /WEB-INF/components.xml Nicklas Karlsson Jan 14, 2008 1:55 AM (in response to Mussie Woldemi) Post your components.xml as deployed, that is, from the deployed archive on the app server. Like Show 0 Likes(0) Actions 2. Re: error while reading /WEB-INF/components.xml Mussie Woldemi Jan 14, 2008 6:06 AM (in response to Mussie Woldemi) this is my components.xml https://developer.jboss.org/thread/140820 0 mark Seam Asynchronous Email | Vineet Manohar's blog vineetmanohar.com | 6 months ago java.lang.RuntimeException: Could not create Component: org.jboss.seam.async.dispatcher find similars org.jboss.seam Glassfish Core 0 0 mark db:: 3.86::To extend seam's Pages component p1 hivmr.com | 7 months ago java.lang.RuntimeException: error while reading /WEB-INF/components.xml https://samebug.io/exceptions/103949/java.lang.RuntimeException/error-while-reading-web-infcomponentsxml?soft=false find similars org.jboss.seam 0 Speed up your debug routine! Automated exception search integrated into your IDE Test Samebug Integration for IntelliJ IDEA 0 mark JBoss Seam 2.0 Beta 1 premiers tours de clefs - Le Touilleur Express touilleur-express.fr | 6 months ago java.lang.RuntimeException: error while reading /WEB-INF/components.xml find similars org.jboss.seam Glassfish Core Java RT 0 0 mark java.lang.RuntimeException: Could not create Co... | JBoss Developer jboss.org | 1 year ago java.lang.RuntimeException: Could not create Component: authenticator find similars org.jboss.seam 0 See more Not finding the right solution? Take a tour to get the most out of Samebug. Tired of useless tips? Automated exception search integrated into your IDE Test Samebug Integration for IntelliJ IDEA Root Cause Analysis java.lang.RuntimeException error while reading /WEB-INF/components.xml at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument() 0 similar org.jboss.seam SeamListener.contextInitialized org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:233) org.jboss.seam.init.Initialization.create(Initialization.java:135) org.jboss.seam.servlet.SeamListener.context
Manual ZeroTurnaround Homepage https://zeroturnaround.com/forums/topic/seam-jboss-ear-problems/ › Forums › JRebel Support › Seam / Jboss https://forums.manning.com/posts/list/16218.page / ear problems Tagged:seam jboss ear This topic contains 6 replies, has 3 voices, and was last updated by anonymous 7 years ago. Viewing 7 posts - 1 through 7 (of 7 total) Author java.lang.runtimeexception error Posts July 15, 2009 at 4:57 pm #13293 anonymousParticipant I am having a problem with javarebel in a project that runs in Jboss and uses Seam. It is an ear file containing several jars that we build (two of them are ejb jars) java.lang.runtimeexception error while and two war files. It is built by Maven and if I put this block in my pom files to enable reloading with JavaRebel: org.zeroturnaround javarebel-maven-plugin generate-rebel-xml process-resources generate Then my app no longer deploys. Deployment is fine in the absence of the rebel.xml files that are generated. Here is an example of the error that I get during deployment (which seems to occur when two different modules rely on the same Seam component): 12:45:28,718 INFO [ServletContextListener] Welcome to Seam 2.1.1.GA 12:46:04,843 ERROR /gotm-rest Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener java.lang.RuntimeException: error while reading file:/C:/devel/gotm/gotm-jar/src/main/resources/META-INF/components.xml at org.jboss.seam.init.Initialization.initComponentsFromXmlDocuments(Initialization.java:210) at org.jboss.seam.init.Initialization.create(Initialization.java:136) at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:35) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144) at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) at org.jboss.web.
works fine. I do the following to convert over to seam 2.1.0.GA 1) change version of jboss-seam to be 2.1.0.SP1 2) change all schema locations in components.xml from 2.0.xsd to 2.1.xsd 3) change pages.xml doctype from pages-2.0.dtd to 2.1.dtd The result is that at jboss 4.2.0.GA startup I get the below error. Is there some other conversion step I am missing? ---------------------- 09:02:19,687 ERROR [ContainerBase] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener java.lang.RuntimeException: error while reading /WEB-INF/components.xml at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:221) at org.jboss.seam.init.Initialization.create(Initialization.java:124) at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854 . . . Caused by: java.lang.RuntimeException: Error loading element EjbTransaction with component name null and component class null at org.jboss.seam.init.Initialization.installComponentsFromXmlElements(Initialization.java:342) ----------------------------- Here is my components.xml --------------------- xmlns:core="http://jboss.com/products/seam/core" xmlns:framework="http://jboss.com/products/seam/framework" xmlns:persistence="http://jboss.com/products/seam/persistence" xmlns:security="http://jboss.com/products/seam/security" xmlns:transaction="http://jboss.com/products/seam/transaction" xmlns:mail="http://jboss.com/products/seam/mail" xmlnssi="http://www.w3.org/2001/XMLSchema-instance" xmlns:web="http://jboss.com/products/seam/web" xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.1.xsd http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.1.xsd http://jboss.com/products/seam/security http://jboss.co