5 Replies Latest reply on Jun 27, 2007 10:36 AM by Arjan van Bentem

    problem with 1.3.0 alpha

    Levent Aksu Newbie

      Hi,
      To avoid another bug I have switched to 1.3.0alpha and my working application does not even deploy with the following stacktrace. Note that, I use Glassfish.


      WebModule[/payroll-war]Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
      java.lang.RuntimeException: Could not create Component: org.jboss.seam.core.manager
       at org.jboss.seam.init.Initialization.addComponent(Initialization.java:896)
       at org.jboss.seam.init.Initialization.installComponents(Initialization.java:827)
       at org.jboss.seam.init.Initialization.init(Initialization.java:498)
       at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4760)
       at com.sun.enterprise.web.WebModule.start(WebModule.java:292)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:833)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:817)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662)
       at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1479)
       at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1143)
       at com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1068)
       at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:128)
       at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:322)
       at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:216)
       at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:189)
       at com.sun.enterprise.server.ApplicationManager.applicationEnabled(ApplicationManager.java:754)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:914)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:892)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:445)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
       at com.sun.enterprise.admin.server.core.AdminNotificationHelper.sendNotification(AdminNotificationHelper.java:128)
       at com.sun.enterprise.admin.server.core.ConfigInterceptor.postInvoke(ConfigInterceptor.java:109)
       at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:97)
       at $Proxy1.invoke(Unknown Source)
       at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
       at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:56)
       at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:142)
       at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:109)
       at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:180)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      Caused by: java.lang.IllegalArgumentException: no such setter method: org.jboss.seam.core.Manager.conversationIsLongRunningParameter
       at org.jboss.seam.util.Reflections.getSetterMethod(Reflections.java:220)
       at org.jboss.seam.Component.initInitializers(Component.java:417)
       at org.jboss.seam.Component.<init>(Component.java:279)
       at org.jboss.seam.Component.<init>(Component.java:210)
       at org.jboss.seam.init.Initialization.addComponent(Initialization.java:882)
       at org.jboss.seam.init.Initialization.installComponents(Initialization.java:827)
       at org.jboss.seam.init.Initialization.init(Initialization.java:498)
       at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4760)
       at com.sun.enterprise.web.WebModule.start(WebModule.java:292)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:833)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:817)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662)
       at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1479)
       at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1143)
       at com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1068)
       at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:128)
       at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:322)
       at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:216)
       at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:189)
       at com.sun.enterprise.server.ApplicationManager.applicationEnabled(ApplicationManager.java:754)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:914)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:892)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:445)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
       at com.sun.enterprise.admin.server.core.AdminNotificationHelper.sendNotification(AdminNotificationHelper.java:128)
       at com.sun.enterprise.admin.server.core.ConfigInterceptor.postInvoke(ConfigInterceptor.java:109)
       at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:97)
       at $Proxy1.invoke(Unknown Source)
       at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
       at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:56)
      Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/payroll-war'
      java.lang.NullPointerException:
       at org.jboss.seam.jsf.SeamApplicationMessageBundle.handleGetObject(SeamApplicationMessageBundle.java:28)
       at java.util.ResourceBundle.getObject(ResourceBundle.java:380)
       at java.util.ResourceBundle.getString(ResourceBundle.java:346)
       at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:108)
       at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:80)
       at com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:276)
       at com.sun.faces.util.Util.createInstance(Util.java:585)
       at com.sun.faces.util.Util.createInstance(Util.java:544)
       at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:713)
       at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:596)
       at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:496)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4760)
       at com.sun.enterprise.web.WebModule.start(WebModule.java:292)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:833)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:817)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662)
       at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1479)
       at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1143)
       at com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1068)
       at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:128)
       at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:322)
       at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:216)
       at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:189)
       at com.sun.enterprise.server.ApplicationManager.applicationEnabled(ApplicationManager.java:754)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:914)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:892)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:445)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
       at com.sun.enterprise.admin.server.core.AdminNotificationHelper.sendNotification(AdminNotificationHelper.java:128)
       at com.sun.enterprise.admin.server.core.ConfigInterceptor.postInvoke(ConfigInterceptor.java:109)
       at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:97)
      Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/payroll-war'
      WebModule[/payroll-war]Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
      javax.faces.FacesException: java.lang.NullPointerException:
       at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:502)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4760)
       at com.sun.enterprise.web.WebModule.start(WebModule.java:292)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:833)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:817)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662)
       at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1479)
       at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1143)
       at com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1068)
       at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:128)
       at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:322)
       at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:216)
       at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:189)
       at com.sun.enterprise.server.ApplicationManager.applicationEnabled(ApplicationManager.java:754)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:914)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:892)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:445)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
       at com.sun.enterprise.admin.server.core.AdminNotificationHelper.sendNotification(AdminNotificationHelper.java:128)
       at com.sun.enterprise.admin.server.core.ConfigInterceptor.postInvoke(ConfigInterceptor.java:109)
       at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:97)
       at $Proxy1.invoke(Unknown Source)
       at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
       at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:56)
       at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:142)
       at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:109)
       at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:180)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
       at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
      Caused by: java.lang.NullPointerException:
       at org.jboss.seam.jsf.SeamApplicationMessageBundle.handleGetObject(SeamApplicationMessageBundle.java:28)
       at java.util.ResourceBundle.getObject(ResourceBundle.java:380)
       at java.util.ResourceBundle.getString(ResourceBundle.java:346)
       at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:108)
       at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:80)
       at com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:276)
       at com.sun.faces.util.Util.createInstance(Util.java:585)
       at com.sun.faces.util.Util.createInstance(Util.java:544)
       at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:713)
       at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:596)
       at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:496)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4760)
       at com.sun.enterprise.web.WebModule.start(WebModule.java:292)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:833)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:817)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662)
       at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1479)
       at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1143)
       at com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1068)
       at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:128)
       at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:322)
       at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:216)
       at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:189)
       at com.sun.enterprise.server.ApplicationManager.applicationEnabled(ApplicationManager.java:754)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:914)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:892)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:445)
       at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
       at com.sun.enterprise.admin.server.core.AdminNotificationHelper.sendNotification(AdminNotificationHelper.java:128)
       at com.sun.enterprise.admin.server.core.ConfigInterceptor.postInvoke(ConfigInterceptor.java:109)
       at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:97)
      Context startup failed due to previous errors
      


      Should I register an issue?

        • 1. Re: problem with 1.3.0 alpha
          Joshua Jackson Master

          Has it worked on previous Seam version?

          Show us your component.xml and other necessary source code here before claiming that it is a bug

          • 2. Re: problem with 1.3.0 alpha
            Pete Muir Master

             

            Caused by: java.lang.IllegalArgumentException: no such setter method: org.jboss.seam.core.Manager.co
            nversationIsLongRunningParameter


            This parameter has been removed from Seam, update your components.xml

            • 3. Re: problem with 1.3.0 alpha
              Levent Aksu Newbie

              Yes it is working well with 1.2.1 GA
              Here is my components.xml:

              <?xml version="1.0" encoding="UTF-8"?>
              
              <components xmlns="http://jboss.com/products/seam/components"
               xmlns:core="http://jboss.com/products/seam/core"
               xmlns:security="http://jboss.com/products/seam/security"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="
               http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd
               http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.1.xsd
               http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.1.xsd
              ">
               <core:init jndi-pattern="java:comp/env/gop-ejb/#{ejbName}/local" debug="true"/>
              
               <core:manager conversation-timeout="120000"
               concurrent-request-timeout="500"
               conversation-id-parameter="cid"
               conversation-is-long-running-parameter="clr"/>
              
               <core:transactionListener/>
               <!--core:ejb installed="@embeddedEjb@"/-->
               <security:identity authenticate-method="#{otantikamator.otantikmi}"/>
              
               <event type="org.jboss.seam.notLoggedIn">
               <action expression="#{redirect.captureCurrentView}"/>
               </event>
               <event type="org.jboss.seam.postAuthenticate">
               <action expression="#{redirect.returnToCapturedView}"/>
               </event>
              
               <!--component name="org.jboss.seam.ui.entityConverter">
               <property name="entityManager">#{isteklerAction}</property>
               </component-->
              
               <component class="org.jboss.seam.web.MultipartFilter">
               <property name="createTempFiles">true</property>
               <property name="maxRequestSize">1000000</property>
               </component>
              
               <event type="isteklerRefresh">
               <action expression="#{isteklerAra.refresh}"/>
               </event>
              
              </components>
              


              • 4. Re: problem with 1.3.0 alpha
                Levent Aksu Newbie

                ok, upon removing conversation-is-long-running-parameter="clr" line, it no longer throws that exception. Now hitting something else, I will look into. Thank you very much.

                • 5. Re: problem with 1.3.0 alpha
                  Arjan van Bentem Novice

                  > Now hitting something else

                  Don't forget to read seam2migration.txt!

                  Arjan.