[jboss-user] [JBoss Seam] - Cant't deploy on Tomcat 5.5.9

mpikula do-not-reply at jboss.com
Thu Mar 29 14:40:23 EDT 2007


Hi,

 I tried to deploy the dvdstore example on a tomcat 5.5.9 and I got the following exception.

 Can anybody help me?

 Thanks!
Marcin

20:34:34,826 INFO  [Lifecycle] starting up: org.jboss.seam.core.ejb
  | 20:34:34,826 INFO  [Ejb] starting the embedded EJB container
  | 20:34:35,527 ERROR [Util] Failed to create schema loader.
  | java.lang.ClassCastException: org.apache.xerces.dom.DOMXSImplementationSourceImp
  | l
  |         at org.w3c.dom.bootstrap.DOMImplementationRegistry.newInstance(DOMImplem
  | entationRegistry.java:144)
  |         at org.jboss.xb.binding.Util$2.run(Util.java:506)
  |         at java.security.AccessController.doPrivileged(Native Method)
  |         at org.jboss.xb.binding.Util.getXSImplementation(Util.java:482)
  |         at org.jboss.xb.binding.Util.loadSchema(Util.java:381)
  |         at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.ja
  | va:177)
  |         at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.ja
  | va:148)
  |         at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resol
  | ve(DefaultSchemaResolver.java:248)
  |         at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startE
  | lement(SundayContentHandler.java:159)
  |         at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHan
  | dler.startElement(SaxJBossXBParser.java:299)
  |         at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
  | ce)
  |         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
  | own Source)
  |         at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.s
  | canRootElementHook(Unknown Source)
  |         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
  | Dispatcher.dispatch(Unknown Source)
  |         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
  | known Source)
  |         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  |         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  |         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  |         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  |         at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars
  | er.java:124)
  |         at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java
  | :132)
  |         at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXM
  | LDeployer.java:85)
  |         at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBo
  | otstrap.java:380)
  |         at org.jboss.seam.core.Ejb.startup(Ejb.java:42)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
  |         at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123)
  |         at org.jboss.seam.Component.callComponentMethod(Component.java:1834)
  |         at org.jboss.seam.Component.callCreateMethod(Component.java:1757)
  |         at org.jboss.seam.Component.newInstance(Component.java:1746)
  |         at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:175)
  |         at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:167)
  |         at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:14
  | 5)
  |         at org.jboss.seam.init.Initialization.init(Initialization.java:504)
  |         at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.j
  | ava:33)
  |         at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
  | t.java:3669)
  |         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
  | 104)
  |         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
  | .java:759)
  |         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
  | 9)
  |         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  | 
  |         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:788)
  | 
  |         at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:677
  | )
  |         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:473
  | )
  |         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
  |         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
  | :311)
  |         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
  | eSupport.java:119)
  |         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
  | 
  |         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
  |         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
  | 
  |         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442
  | )
  |         at org.apache.catalina.core.StandardService.start(StandardService.java:4
  | 50)
  |         at org.apache.catalina.core.StandardServer.start(StandardServer.java:683
  | )
  |         at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
  |         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
  | 20:34:35,678 ERROR [[/jboss-seam-dvd]] Exception sending context initialized eve
  | nt to listener instance of class org.jboss.seam.servlet.SeamListener
  | java.lang.RuntimeException: org.jboss.xb.binding.JBossXBException: Failed to par
  | se source: jar:file:/E:/DevZone/jakarta-tomcat-5.5.9/webapps/jboss-seam-dvd/WEB-
  | INF/lib/mc-conf.jar!/embedded-jboss-beans.xml at 5,45
  |         at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBo
  | otstrap.java:391)
  |         at org.jboss.seam.core.Ejb.startup(Ejb.java:42)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
  |         at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123)
  |         at org.jboss.seam.Component.callComponentMethod(Component.java:1834)
  |         at org.jboss.seam.Component.callCreateMethod(Component.java:1757)
  |         at org.jboss.seam.Component.newInstance(Component.java:1746)
  |         at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:175)
  |         at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:167)
  |         at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:14
  | 5)
  |         at org.jboss.seam.init.Initialization.init(Initialization.java:504)
  |         at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.j
  | ava:33)
  |         at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
  | t.java:3669)
  |         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
  | 104)
  |         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
  | .java:759)
  |         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
  | 9)
  |         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  | 
  |         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:788)
  | 
  |         at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:677
  | )
  |         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:473
  | )
  |         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
  |         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
  | :311)
  |         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
  | eSupport.java:119)
  |         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
  | 
  |         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
  |         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
  | 
  |         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442
  | )
  |         at org.apache.catalina.core.StandardService.start(StandardService.java:4
  | 50)
  |         at org.apache.catalina.core.StandardServer.start(StandardServer.java:683
  | )
  |         at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
  |         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
  | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: jar:fi
  | le:/E:/DevZone/jakarta-tomcat-5.5.9/webapps/jboss-seam-dvd/WEB-INF/lib/mc-conf.j
  | ar!/embedded-jboss-beans.xml at 5,45
  |         at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars
  | er.java:128)
  |         at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java
  | :132)
  |         at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXM
  | LDeployer.java:85)
  |         at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBo
  | otstrap.java:380)
  |         ... 39 more
  | Caused by: java.lang.IllegalStateException: Failed to create schema loader: org.
  | apache.xerces.dom.DOMXSImplementationSourceImpl
  |         at org.jboss.xb.binding.Util$2.run(Util.java:512)
  |         at java.security.AccessController.doPrivileged(Native Method)
  |         at org.jboss.xb.binding.Util.getXSImplementation(Util.java:482)
  |         at org.jboss.xb.binding.Util.loadSchema(Util.java:381)
  |         at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.ja
  | va:177)
  |         at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.ja
  | va:148)
  |         at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resol
  | ve(DefaultSchemaResolver.java:248)
  |         at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startE
  | lement(SundayContentHandler.java:159)
  |         at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHan
  | dler.startElement(SaxJBossXBParser.java:299)
  |         at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
  | ce)
  |         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
  | own Source)
  |         at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.s
  | canRootElementHook(Unknown Source)
  |         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
  | Dispatcher.dispatch(Unknown Source)
  |         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
  | known Source)
  |         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  |         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  |         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  |         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  |         at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars
  | er.java:124)
  |         ... 42 more

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032895#4032895

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032895



More information about the jboss-user mailing list