0 Replies Latest reply on Mar 25, 2007 11:02 PM by Joshua Jackson

    Seam 1.2.0 on Tomcat 6.0.10 with Microcontainer

    Joshua Jackson Master

      Dear all,

      Environment
      Tomcat 6.0.10
      Seam 1.2.0.Patch1

      I tried deploying Seam apps on Tomcat 6.0.10 with Microcontainer without EJB3 embeddable container, just plain POJO and hibernate.

      At some stage I gain this error:

      Mar 25, 2007 4:01:52 PM org.apache.catalina.core.StandardContext listenerStart
      SEVERE: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
      java.lang.IllegalStateException: Failed to create schema loader: org.apache.xerces.dom.DOMXSImplementationSourceImpl
       at org.jboss.xb.binding.Util$5.run(Util.java:518)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.jboss.xb.binding.Util.getXSImplementation(Util.java:488)
       at org.jboss.xb.binding.Util.loadSchema(Util.java:357)
       at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:106)
       at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:93)
       at org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding$GetBeanSchemaBinding.run(BeanSchemaBinding.java:1275)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding.readXsd(BeanSchemaBinding.java:1122)
       at org.jboss.kernel.plugins.deployment.xml.BeanSchemaBinding.getSchemaBinding(BeanSchemaBinding.java:238)
       at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.<init>(BeanXMLDeployer.java:49)
       at org.jboss.kernel.plugins.bootstrap.standalone.StandaloneBootstrap.bootstrap(StandaloneBootstrap.java:80)
       at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:91)
       at org.jboss.kernel.plugins.bootstrap.standalone.StandaloneBootstrap.main(StandaloneBootstrap.java:61)
       at org.jboss.seam.core.Microcontainer.startup(Microcontainer.java:31)
       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:18)
       at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:121)
       at org.jboss.seam.Component.callComponentMethod(Component.java:1802)
       at org.jboss.seam.Component.callCreateMethod(Component.java:1725)
       at org.jboss.seam.Component.newInstance(Component.java:1714)
       at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:165)
       at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:137)
       at org.jboss.seam.init.Initialization.init(Initialization.java:479)
       at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
       at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
       at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
       at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
       at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
       at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
       at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
       at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
       at org.apache.catalina.core.StandardService.start(StandardService.java:448)
       at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
       at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
       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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Mar 25, 2007 4:01:53 PM org.apache.catalina.core.ApplicationContext log
      INFO: ContextListener: contextInitialized()
      Mar 25, 2007 4:01:53 PM org.apache.catalina.core.ApplicationContext log
      INFO: SessionListener: contextInitialized()


      I think this message is from JBoss XML Binding, buat from the error stack I don't know what XML file cause the error.

      Has anyone experienced this problem before and know the workaround?

      Thanks in advance