0 Replies Latest reply on Sep 4, 2015 12:03 PM by basita

    Could not activate; failed to restore state

    basita

      Hi all

      I am seeing this exception in the logs,  restarting the jboss server resolves the issue

      javax.ejb.NoSuchObjectLocalException: Could not activate; failed to restore state

                      at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:257)

                      at com.mycompany.f3.audit.AuditTrailInterceptor.invoke(AuditTrailInterceptor.java:233)

                      at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)

                      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)

                      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)

                      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)

                      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)

                      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)

                      at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)

                      at org.jboss.ejb.Container.invoke(Container.java:1029)

                      at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)

                      at org.jboss.ejb.plugins.local.StatefulSessionProxy.invoke(StatefulSessionProxy.java:79)

                      at com.sun.proxy.$Proxy1116.exportReportToExcel(Unknown Source)

                      at com.mycompany.reports.scheduler.task.GenerateReportJob.executeJob(GenerateReportJob.java:324)

                      at com.mycompany.f3.job.RunAsJobSupport.execute(RunAsJobSupport.java:179)

                      at org.quartz.core.JobRunShell.run(JobRunShell.java:203)

                      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

       

      is this something to do with timeout somewhere that is related to ejbs?

       

      any help will be highly appreciated. thanks

      basit