3 Replies Latest reply on Feb 11, 2008 3:18 PM by Laurent Nepveu

    UseJBossWebLoader=true problem

    Laurent Nepveu Newbie

      I was led to modify the following option:

       <attribute name="UseJBossWebLoader">true</attribute>
      

      in my jboss-service.xml file in server\prod\deploy\jboss-web.deployer\META-INF.

      When I turn this option to true, I get the following errors, which I don't when it is false.


      08:04:01,562 ERROR [GWTService] Error initializing GWT14Service. Please ensure the GWT 1.4 libraries are in the classpa
      th.
      08:04:01,562 ERROR [[/poker]] Exception sending context initialized event to listener instance of class org.jboss.seam.s
      ervlet.SeamListener
      java.lang.RuntimeException: exception invoking: startup
       at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:135)
       at org.jboss.seam.Component.callComponentMethod(Component.java:2074)
       at org.jboss.seam.Component.callCreateMethod(Component.java:1997)
       at org.jboss.seam.Component.newInstance(Component.java:1968)
       at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
       at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
       at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95)
       at org.jboss.seam.init.Initialization.init(Initialization.java:555)
       at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
       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:553)
       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:585)
       at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)
       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:585)
       at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
       at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
       at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
       at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
       at org.jboss.web.WebModule.startModule(WebModule.java:83)
       at org.jboss.web.WebModule.startService(WebModule.java:61)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
       at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      


      Any idea how to solve this?

      Thanks!

      Laurent

        • 1. Re: UseJBossWebLoader=true problem
          Laurent Nepveu Newbie

          One thing I just noticed is that when the option if false, it seems like it is not even trying to bring up GWT, which I am not using:

          08:13:04,749 INFO [Contexts] starting up: org.jboss.seam.ui.resource.styleResource
          08:13:04,749 INFO [Contexts] starting up: org.jboss.seam.ui.graphicImage.graphicImageResource
          08:13:04,749 INFO [Contexts] starting up: org.jboss.seam.ui.resource.webResource
          08:13:04,749 INFO [Contexts] starting up: org.jboss.seam.remoting.remoting
          08:13:04,749 INFO [Initialization] done initializing Seam
          08:13:04,749 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.loggingFilter
          08:13:04,749 INFO [SeamFilter] Initializing filter: org.jboss.seam.web.ajax4jsfFilter


          • 2. Re: UseJBossWebLoader=true problem
            Norman Richards Master

            Are you in a WAR or an EAR? If you are in a WAR, I strongly recommend you do NOT set UseJBossWebLoader. Seam prefers an isolated classloader. What problem were you hoping to solve with that setting?

            • 3. Re: UseJBossWebLoader=true problem
              Laurent Nepveu Newbie

              I am in a EAR.

              I was trying to use a dynamic binding of rich:dataTable tag. Which didn't work with UseJBossWebLoader=false.

              It actually solved my problem in my dev env. I tried to move all this in prod and got the following error.

              Thanks