1 Reply Latest reply on Jul 19, 2009 1:31 PM by mdesignz

    Seam vergin setup timer service dispatcher

    kaboel.repel.steel.scarlet.be
      I've setup  a simple  project  using the  register example

      I run into a horrible  problem where for some reason  after starting  the  application
      almost immediatly get started and stopped  repetively


      I can only recognise  the  TIMERSERVERDISPATCHER   getting activated ...
      as far as I'm aware  I have no timer function at all in the process


      SEAM 2.1.2GA JBOS 5.1 Hardly  hibernate



      ["
      11:49:40,073 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/simple'
      11:49:41,127 INFO  [ServletContextListener] Welcome to Seam -2.1.2.2
      11:49:43,514 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
      11:49:43,517 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=true, org.richfaces.CONTROL_SKINNING=disable, com.sun.faces.duplicateJARPattern=^tmp\d+(\S*\.jar), org.richfaces.CONTROL_SKINNING_CLASSES=disable, org.richfaces.SKIN=glassX, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider, org.richfaces.LoadScriptStrategy=ALL, org.richfaces.LoadStyleStrategy=ALL, javax.faces.DEFAULT_SUFFIX=.xhtml}
      11:49:43,517 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
      11:49:43,535 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
      11:49:43,535 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=true, org.richfaces.CONTROL_SKINNING=disable, com.sun.faces.duplicateJARPattern=^tmp\d+(\S*\.jar), org.richfaces.CONTROL_SKINNING_CLASSES=disable, org.richfaces.SKIN=glassX, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider, org.richfaces.LoadScriptStrategy=ALL, org.richfaces.LoadStyleStrategy=ALL, javax.faces.DEFAULT_SUFFIX=.xhtml}
      11:49:43,535 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
      11:49:43,612 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      DEPLOYMENTS MISSING DEPENDENCIES:
        Deployment "jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory" is missing the following dependencies:
          Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
        Deployment "jboss.messaging.connectionfactory:service=ClusteredConnectionFactory" is missing the following dependencies:
          Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
        Deployment "jboss.messaging.connectionfactory:service=ConnectionFactory" is missing the following dependencies:
          Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
        Deployment "jboss.messaging.destination:name=DLQ,service=Queue" is missing the following dependencies:
          Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
        Deployment "jboss.messaging.destination:name=ExpiryQueue,service=Queue" is missing the following dependencies:
          Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
        Deployment "jboss.messaging:service=PostOffice" is missing the following dependencies:
          Dependency "jboss.jgroups:service=ChannelFactory" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jgroups:service=ChannelFactory' **")

      DEPLOYMENTS IN ERROR:
        Deployment "jboss.jgroups:service=ChannelFactory" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jgroups:service=ChannelFactory' **

      11:49:43,646 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 43s:44ms
      11:49:50,383 INFO  [SessionSpecContainer] Stopping jboss.j2ee:ear=simple.ear,jar=simple.jar,name=Register,service=EJB3
      11:49:50,391 INFO  [EJBContainer] STOPPED EJB: com.cycluspro.Register ejbName: Register
      11:49:50,419 INFO  [PersistenceUnitDeployment] Stopping persistence unit persistence.unit:unitName=simple.ear/simple.jar#simple
      11:49:50,441 INFO  [SessionSpecContainer] Stopping jboss.j2ee:ear=simple.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3
      11:49:50,448 INFO  [EJBContainer] STOPPED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
      11:49:50,479 INFO  [SessionSpecContainer] Stopping jboss.j2ee:ear=simple.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
      11:49:50,489 INFO  [EJBContainer] STOPPED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
      11:49:54,852 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@623666651{vfszip:/H:/Install/jboss/jboss-5.1.0.GA/server/default/deploy/simple.ear/jboss-seam.jar/}
      11:49:54,853 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@623666651{vfszip:/H:/Install/jboss/jboss-5.1.0.GA/server/default/deploy/simple.ear/jboss-seam.jar/}
      11:49:54,853 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@97722350{vfsfile:/H:/Install/jboss/jboss-5.1.0.GA/server/default/deploy/simple.ear/simple.jar/}
      11:49:54,853 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@97722350{vfsfile:/H:/Install/jboss/jboss-5.1.0.GA/server/default/deploy/simple.ear/simple.jar/}
      11:49:54,854 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@97722350{vfsfile:/H:/Install/jboss/jboss-5.1.0.GA/server/default/deploy/simple.ear/simple.jar/}
      11:49:54,854 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@97722350{vfsfile:/H:/Install/jboss/jboss-5.1.0.GA/server/default/deploy/simple.ear/simple.jar/}
      11:49:55,918 WARN  [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@52569b8
      11:49:55,920 WARN  [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@52569b8
      11:49:55,928 WARN  [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@52569b8
      11:49:55,930 WARN  [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@52569b8
      11:49:56,104 INFO  [JBossASKernel] Created KernelDeployment for: jboss-seam.jar
      11:49:56,104 INFO  [JBossASKernel] installing bean: jboss.j2ee:ear=simple.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
      11:49:56,104 INFO  [JBossASKernel]   with dependencies:
      11:49:56,104 INFO  [JBossASKernel]   and demands:
      11:49:56,104 INFO  [JBossASKernel]      jboss.ejb:service=EJBTimerService
      11:49:56,104 INFO  [JBossASKernel]   and supplies:
      11:49:56,104 INFO  [JBossASKernel]      Class:org.jboss.seam.async.LocalTimerServiceDispatcher
      11:49:56,104 INFO  [JBossASKernel]      jndi:simple/TimerServiceDispatcher/remote
      11:49:56,104 INFO  [JBossASKernel]      jndi:simple/TimerServiceDispatcher/local
      11:49:56,104 INFO  [JBossASKernel]      jndi:simple/TimerServiceDispatcher/local-org.jboss.seam.async.LocalTimerServiceDispatcher
      11:49:56,104 INFO  [JBossASKernel] Added bean(jboss.j2ee:ear=simple.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3) to KernelDeployment of: jboss-seam.jar
      11:49:56,105 INFO  [JBossASKernel] installing bean: jboss.j2ee:ear=simple.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3
      11:49:56,105 INFO  [JBossASKernel]   with dependencies:
      11:49:56,105 INFO  [JBossASKernel]   and demands:
      11:49:56,105 INFO  [JBossASKernel]      jboss.ejb:service=EJBTimerService
      11:49:56,105 INFO  [JBossASKernel]   and supplies:
      11:49:56,105 INFO  [JBossASKernel]      jndi:simple/EjbSynchronizations/remote
      11:49:56,105 INFO  [JBossASKernel]      jndi:simple/EjbSynchronizations/local-org.jboss.seam.transaction.LocalEjbSynchronizations
      11:49:56,106 INFO  [JBossASKernel]      Class:org.jboss.seam.transaction.LocalEjbSynchronizations
      11:49:56,106 INFO  [JBossASKernel]      jndi:simple/EjbSynchronizations/local
      11:49:56,106 INFO  [JBossASKernel] Added bean(jboss.j2ee:ear=simple.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3) to KernelDeployment of: jboss-seam.jar
      11:49:56,136 INFO  [JBossASKernel] Created KernelDeployment for: simple.jar
      11:49:56,136 INFO  [JBossASKernel] installing bean: jboss.j2ee:ear=simple.ear,jar=simple.jar,name=Register,service=EJB3
      11:49:56,136 INFO  [JBossASKernel]   with dependencies:
      11:49:56,137 INFO  [JBossASKernel]   and demands:
      11:49:56,137 INFO  [JBossASKernel]      jboss.ejb:service=EJBTimerService
      11:49:56,137 INFO  [JBossASKernel]      persistence.unit:unitName=simple.ear/simple.jar#simple
      11:49:56,137 INFO  [JBossASKernel]   and supplies:
      11:49:56,137 INFO  [JBossASKernel]      jndi:simple/Register/local
      11:49:56,137 INFO  [JBossASKernel]      Class:com.cycluspro.RegisterRF
      11:49:56,137 INFO  [JBossASKernel]      jndi:simple/Register/local-com.cycluspro.RegisterRF
      11:49:56,137 INFO  [JBossASKernel]      jndi:simple/Register/remote
      11:49:56,137 INFO  [JBossASKernel] Added bean(jboss.j2ee:ear=simple.ear,jar=simple.jar,name=Register,service=EJB3) to KernelDeployment of: simple.jar
      11:49:56,138 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@72b9c215{name=jboss.j2ee:ear=simple.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
      11:49:56,138 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@337db36c{name=jboss.j2ee:ear=simple.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
      11:49:56,139 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@370a44f7{name=jboss.j2ee:ear=simple.ear,jar=simple.jar,name=Register,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
      11:49:56,183 INFO  [SessionSpecContainer] Starting jboss.j2ee:ear=simple.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
      11:49:56,183 INFO  [EJBContainer] STARTED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher
      11:49:56,193 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

           simple/TimerServiceDispatcher/local - EJB3.x Default Local Business Interface
           simple/TimerServiceDispatcher/local-org.jboss.seam.async.LocalTimerServiceDispatcher - EJB3.x Local Business Interface

      11:49:56,229 INFO  [SessionSpecContainer] Starting jboss.j2ee:ear=simple.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3
      11:49:56,229 INFO  [EJBContainer] STARTED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
      11:49:56,256 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

           simple/EjbSynchronizations/local - EJB3.x Default Local Business Interface
           simple/EjbSynchronizations/local-org.jboss.seam.transaction.LocalEjbSynchronizations - EJB3.x Local Business Interface

      11:49:56,272 INFO  [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=simple.ear/simple.jar#simple
      11:49:56,333 INFO  [SessionSpecContainer] Starting jboss.j2ee:ear=simple.ear,jar=simple.jar,name=Register,service=EJB3
      11:49:56,334 INFO  [EJBContainer] STARTED EJB: com.cycluspro.Register ejbName: Register
      11:49:56,342 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

           simple/Register/local - EJB3.x Default Local Business Interface
           simple/Register/local-com.cycluspro.RegisterRF - EJB3.x Local Business Interface

      11:49:56,502 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/simple'
      11:49:57,925 INFO  [ServletContextListener] Welcome to Seam -2.1.2.2
      11:50:00,423 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
      11:50:00,425 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=true, org.richfaces.CONTROL_SKINNING=disable, com.sun.faces.duplicateJARPattern=^tmp\d+(\S*\.jar), org.richfaces.CONTROL_SKINNING_CLASSES=disable, org.richfaces.SKIN=glassX, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider, org.richfaces.LoadScriptStrategy=ALL, org.richfaces.LoadStyleStrategy=ALL, javax.faces.DEFAULT_SUFFIX=.xhtml}
      11:50:00,426 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
      11:50:00,450 INFO  [CacheManager] Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
      11:50:00,450 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=true, org.richfaces.CONTROL_SKINNING=disable, com.sun.faces.duplicateJARPattern=^tmp\d+(\S*\.jar), org.richfaces.CONTROL_SKINNING_CLASSES=disable, org.richfaces.SKIN=glassX, com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider, org.richfaces.LoadScriptStrategy=ALL, org.richfaces.LoadStyleStrategy=ALL, javax.faces.DEFAULT_SUFFIX=.xhtml}
      11:50:00,451 INFO  [LRUMapCacheFactory] Creating LRUMap cache instance of default capacity
      11:50:06,391 INFO  [ServerImpl] Shutting down the server, blockingShutdown: false
      11:50:06,392 INFO  [ServerImpl] Server exit(0) called
      11:50:06,393 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true

      "]