0 Replies Latest reply on Jun 9, 2008 8:41 AM by Ales Justin

    Seam booking binding problem

    Ales Justin Master

      When deploying Seam Booking this is what I get.
      The app deploys fine, this only pops when I hit browser.

      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.core.Events] (http-127.0.0.1-8080-1) Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.transaction.synchronizations
      2008-06-09 12:44:54,416 ERROR [org.jboss.seam.jsf.SeamPhaseListener] (http-127.0.0.1-8080-1) uncaught exception
      java.lang.IllegalStateException: Could not start transaction
       at org.jboss.seam.jsf.SeamPhaseListener.begin(SeamPhaseListener.java:592)
       at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsBeforePhase(SeamPhaseListener.java:323)
       at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:140)
       at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:114)
       at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)
       at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)
       at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104)
       at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
       at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
       at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
       at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:183)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:90)
       at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:96)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.transaction.synchronizations
       at org.jboss.seam.Component.newInstance(Component.java:1986)
       at org.jboss.seam.Component.getInstance(Component.java:1876)
       at org.jboss.seam.Component.getInstance(Component.java:1855)
       at org.jboss.seam.Component.getInstance(Component.java:1849)
       at org.jboss.seam.transaction.AbstractUserTransaction.getSynchronizations(AbstractUserTransaction.java:79)
       at org.jboss.seam.transaction.UTTransaction.begin(UTTransaction.java:40)
       at org.jboss.seam.jsf.SeamPhaseListener.begin(SeamPhaseListener.java:587)
       ... 45 more
      Caused by: javax.naming.NameNotFoundException: jboss-seam-booking not bound
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
       at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
       at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
       at javax.naming.InitialContext.lookup(InitialContext.java:351)
       at org.jboss.seam.Component.instantiateSessionBean(Component.java:1290)
       at org.jboss.seam.Component.instantiate(Component.java:1276)
       at org.jboss.seam.Component.newInstance(Component.java:1970)
       ... 51 more
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) instantiating Seam component: org.jboss.seam.exception.exceptions
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) initializing new instance of: org.jboss.seam.exception.exceptions
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) done initializing: org.jboss.seam.exception.exceptions
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) instantiating Seam component: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) initializing new instance of: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) done initializing: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) instantiating Seam component: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) initializing new instance of: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) done initializing: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.core.Events] (http-127.0.0.1-8080-1) Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.exception.exceptions
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) instantiating Seam component: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) initializing new instance of: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) done initializing: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) instantiating Seam component: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) initializing new instance of: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) done initializing: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.core.Events] (http-127.0.0.1-8080-1) Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.exception.exceptions
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) instantiating Seam component: org.jboss.seam.core.resourceLoader
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) initializing new instance of: org.jboss.seam.core.resourceLoader
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) done initializing: org.jboss.seam.core.resourceLoader
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) instantiating Seam component: org.jboss.seam.navigation.pages
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) initializing new instance of: org.jboss.seam.navigation.pages
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) done initializing: org.jboss.seam.navigation.pages
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) instantiating Seam component: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) initializing new instance of: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) done initializing: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) instantiating Seam component: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) initializing new instance of: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) done initializing: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.core.Events] (http-127.0.0.1-8080-1) Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.navigation.pages
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) instantiating Seam component: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) initializing new instance of: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) done initializing: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) instantiating Seam component: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) initializing new instance of: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) done initializing: org.jboss.seam.core.events
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.core.Events] (http-127.0.0.1-8080-1) Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.navigation.pages
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) instantiating Seam component: org.jboss.seam.core.resourceLoader
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) initializing new instance of: org.jboss.seam.core.resourceLoader
      2008-06-09 12:44:54,416 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) done initializing: org.jboss.seam.core.resourceLoader
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.navigation.Pages] (http-127.0.0.1-8080-1) reading pages.xml file: /WEB-INF/pages.xml
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) instantiating Seam component: org.jboss.seam.core.events
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) initializing new instance of: org.jboss.seam.core.events
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) done initializing: org.jboss.seam.core.events
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) instantiating Seam component: org.jboss.seam.core.events
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) initializing new instance of: org.jboss.seam.core.events
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) done initializing: org.jboss.seam.core.events
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.core.Events] (http-127.0.0.1-8080-1) Processing event:org.jboss.seam.postCreate.org.jboss.seam.navigation.pages
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) instantiating Seam component: org.jboss.seam.core.resourceLoader
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) initializing new instance of: org.jboss.seam.core.resourceLoader
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) done initializing: org.jboss.seam.core.resourceLoader
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.exception.Exceptions] (http-127.0.0.1-8080-1) reading exception mappings from /WEB-INF/pages.xml
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) instantiating Seam component: org.jboss.seam.core.events
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) initializing new instance of: org.jboss.seam.core.events
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) done initializing: org.jboss.seam.core.events
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) instantiating Seam component: org.jboss.seam.core.events
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) initializing new instance of: org.jboss.seam.core.events
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.Component] (http-127.0.0.1-8080-1) done initializing: org.jboss.seam.core.events
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.core.Events] (http-127.0.0.1-8080-1) Processing event:org.jboss.seam.postCreate.org.jboss.seam.exception.exceptions
      2008-06-09 12:44:54,432 DEBUG [org.jboss.seam.exception.DebugPageHandler] (http-127.0.0.1-8080-1) redirecting to debug page
      javax.naming.NameNotFoundException: jboss-seam-booking not bound
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
       at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
       at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
       at javax.naming.InitialContext.lookup(InitialContext.java:351)
       at org.jboss.seam.Component.instantiateSessionBean(Component.java:1290)
       at org.jboss.seam.Component.instantiate(Component.java:1276)
       at org.jboss.seam.Component.newInstance(Component.java:1970)
       at org.jboss.seam.Component.getInstance(Component.java:1876)
       at org.jboss.seam.Component.getInstance(Component.java:1855)
       at org.jboss.seam.Component.getInstance(Component.java:1849)
       at org.jboss.seam.transaction.AbstractUserTransaction.getSynchronizations(AbstractUserTransaction.java:79)
       at org.jboss.seam.transaction.UTTransaction.begin(UTTransaction.java:40)
       at org.jboss.seam.jsf.SeamPhaseListener.begin(SeamPhaseListener.java:587)
       at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsBeforePhase(SeamPhaseListener.java:323)
       at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:140)
       at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:114)
       at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)
       at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)
       at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104)
       at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
       at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
       at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
       at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
       at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:183)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:90)
       at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:96)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
       at java.lang.Thread.run(Thread.java:595)
      


      And I get a ton of these, probably one for each component lookup.