0 Replies Latest reply on Aug 10, 2012 7:11 AM by Sarang Anajwala

    JBoss AS 6.1.0Final shutdown issue when timers are still running

    Sarang Anajwala Newbie

      I am facing this issue with JBoss6.1.0Final where the jboss shutdown takes forever when the timers are running.

      I keep seeing following error message in boot.log - any pointers?

       

      10:33:18,275 ERROR [TimerTask] Error during retyring timeout for timer: [id=109356c1-a556-4809-b1d4-da0c4f67003c timedObjectId=jboss.j2ee:ear=MyApplicationEAR.ear,jar=MyService.jar,name=TimerSrvcEJB,service=EJB3 auto-timer?:false persistent?:true timerService=org.jboss.ejb3.timerservice.mk2.TimerServiceImpl@16a887c initialExpiration=Fri Aug 10 09:23:17 UTC 2012 intervalDuration(in milli sec)=300000 nextExpiration=Fri Aug 10 10:38:17 UTC 2012 timerState=RETRY_TIMEOUT: org.jboss.aop.DispatcherConnectException: EJB container is not completely started, or is stopped.

              at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:62) [:1.7.21]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.2.GA]

              at org.jboss.ejb3.core.context.CurrentInvocationContextInterceptor.invoke(CurrentInvocationContextInterceptor.java:47) [:1.7.21]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.2.GA]

              at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) [:1.0.1]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.2.GA]

              at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86) [:1.7.21]

              at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) [jboss-aop.jar:2.2.2.GA]

              at org.jboss.ejb3.stateless.StatelessContainer.callTimeout(StatelessContainer.java:691) [:1.7.21]

              at org.jboss.ejb3.stateless.StatelessContainer.callTimeout(StatelessContainer.java:229) [:1.7.21]

              at org.jboss.ejb3.timerservice.mk2.task.TimerTask.callTimeout(TimerTask.java:152) [:1.0.0-alpha-14-SNAPSHOT]

              at org.jboss.ejb3.timerservice.mk2.task.TimerTask.run(TimerTask.java:127) [:1.0.0-alpha-14-SNAPSHOT]

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_24]

              at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [:1.6.0_24]

              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.6.0_24]

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [:1.6.0_24]

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) [:1.6.0_24]

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) [:1.6.0_24]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]

              at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]