SEAM ERROR: Could not instantiate Seam component: org.jboss.seam.navigation.pages
eabohorquezs1 Feb 9, 2012 5:05 PMHi guys,
I have an issue with a seam application.
Could please anyone help me?
I am getting this error:
16:57:46,921 ERROR [[/svr]] Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.jboss.seam.servlet.SeamListener
org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.navigation.pages
at org.jboss.seam.Component.newInstance(Component.java:2144)
at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
.
.
.
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: org.dom4j.DocumentException: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.
at org.jboss.seam.navigation.Pages.getDocumentRoot(Pages.java:1080)
at org.jboss.seam.navigation.Pages.parse(Pages.java:1066)
at org.jboss.seam.navigation.Pages.parsePages(Pages.java:173)
at org.jboss.seam.navigation.Pages.initialize(Pages.java:149)
at org.jboss.seam.navigation.Pages.create(Pages.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
at org.jboss.seam.Component.callComponentMethod(Component.java:2249)
at org.jboss.seam.Component.callCreateMethod(Component.java:2172)
at org.jboss.seam.Component.newInstance(Component.java:2132)
... 141 more
Caused by: org.dom4j.DocumentException: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:343)
at org.jboss.seam.util.XML.getRootElement(XML.java:24)
at org.jboss.seam.navigation.Pages.getDocumentRoot(Pages.java:1076)
... 154 more
16:57:46,921 ERROR [StandardContext] Error listenerStart
16:57:46,921 ERROR [StandardContext] Falló en arranque del Contexto [/svr] debido a errores previos
16:57:46,937 WARN [ServiceController] Problem starting service jboss.web.deployment:war=svr.war,id=1998176005
org.jboss.deployment.DeploymentException: URL file:/C:/BinTech/jboss-4.2.3.GA/server/default/tmp/deploy/tmp679570139593672830svr.ear-contents/svr-exp.war/ deployment failed
at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:386)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
.
.
.
16:57:46,937 ERROR [MainDeployer] Could not start deployment: file:/C:/BinTech/jboss-4.2.3.GA/server/default/tmp/deploy/tmp679570139593672830svr.ear-contents/svr.war
org.jboss.deployment.DeploymentException: URL file:/C:/BinTech/jboss-4.2.3.GA/server/default/tmp/deploy/tmp679570139593672830svr.ear-contents/svr-exp.war/ deployment failed
at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:386)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
.
.
.
org.jboss.deployment.DeploymentInfo@a0a0964c { url=file:/C:/BinTech/jboss-4.2.3.GA/server/default/deploy/svr-dev-ds.xml.txt }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/BinTech/jboss-4.2.3.GA/server/default/deploy/svr-dev-ds.xml.txt
altDD: null
lastDeployed: 1328824666937
lastModified: 1328824666937
mbeans:
org.jboss.deployment.DeploymentInfo@86637f18 { url=file:/C:/BinTech/jboss-4.2.3.GA/server/default/deploy/svr-ds.xml.2.txt }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/BinTech/jboss-4.2.3.GA/server/default/deploy/svr-ds.xml.2.txt
altDD: null
lastDeployed: 1328824666937
lastModified: 1328824666937
mbeans:
org.jboss.deployment.DeploymentInfo@1094a514 { url=file:/C:/BinTech/jboss-4.2.3.GA/server/default/deploy/svr-ds.xml.txt }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/BinTech/jboss-4.2.3.GA/server/default/deploy/svr-ds.xml.txt
altDD: null
lastDeployed: 1328824666937
lastModified: 1328824666937
mbeans:
--- MBeans waiting for other MBeans ---
ObjectName: jboss.web.deployment:war=svr.war,id=1998176005
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:/C:/BinTech/jboss-4.2.3.GA/server/default/tmp/deploy/tmp679570139593672830svr.ear-contents/svr-exp.war/ deployment failed
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.web.deployment:war=svr.war,id=1998176005
State: FAILED
Reason: org.jboss.deployment.DeploymentException: URL file:/C:/BinTech/jboss-4.2.3.GA/server/default/tmp/deploy/tmp679570139593672830svr.ear-contents/svr-exp.war/ deployment failed
THANKS FOR YOUR HELP.