java.lang.IllegalStateException: Cannot call TimerInterface methods from ejbCreate!!

Oracle Community | erodrigues | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Cannot call TimerInterface methods from @PostConstruct in OC4J 10.1.3.3

    Oracle Community | 9 years ago | erodrigues
    java.lang.IllegalStateException: Cannot call TimerInterface methods from ejbCreate!!

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot call TimerInterface methods from ejbCreate!!

      at oracle.ias.container.timer.EJBTimerServiceImpl.checkCallPermission()
    2. oracle.ias.container
      EJBTimerServiceImpl.createTimer
      1. oracle.ias.container.timer.EJBTimerServiceImpl.checkCallPermission(EJBTimerServiceImpl.java:440)
      2. oracle.ias.container.timer.EJBTimerServiceImpl.createTimer(EJBTimerServiceImpl.java:238)
      3. oracle.ias.container.timer.EJBTimerServiceImpl.createTimer(EJBTimerServiceImpl.java:271)
      3 frames
    3. com.evermind.server
      TimerServiceProxy.createTimer
      1. com.evermind.server.ejb.TimerServiceProxy.createTimer(TimerServiceProxy.java:24)
      1 frame
    4. tim.dms.carga
      FileReceiverSessionBean.startup
      1. tim.dms.carga.recebimento.ejb.session.FileReceiverSessionBean.startup(FileReceiverSessionBean.java:49)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    6. com.evermind.server
      ApplicationServer.addApplication
      1. com.evermind.server.ejb.interceptor.BeanLifecycleCallbackInterceptor.invoke(BeanLifecycleCallbackInterceptor.java:26)
      2. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      3. com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
      4. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      5. com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
      6. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      7. com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
      8. com.evermind.server.ejb.LifecycleManager.invokeLifecycleMethod(LifecycleManager.java:262)
      9. com.evermind.server.ejb.LifecycleManager.invokeLifecycleMethod(LifecycleManager.java:252)
      10. com.evermind.server.ejb.LifecycleManager.postConstruct(LifecycleManager.java:113)
      11. com.evermind.server.ejb.StatelessSessionBeanPool.createContextImpl(StatelessSessionBeanPool.java:40)
      12. com.evermind.server.ejb.BeanPool.createContext(BeanPool.java:418)
      13. com.evermind.server.ejb.BeanPool.onMinInstanceUpdate(BeanPool.java:326)
      14. com.evermind.server.ejb.BeanPool.initialize(BeanPool.java:89)
      15. com.evermind.server.ejb.EJBPackageDeployment.initializeBeanPooling(EJBPackageDeployment.java:1410)
      16. com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1052)
      17. com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
      18. com.evermind.server.Application.setConfig(Application.java:438)
      19. com.evermind.server.Application.setConfig(Application.java:339)
      20. com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1895)
      20 frames
    7. oracle.oc4j.admin
      DeployerRunnable.run
      1. oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
      2. oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
      3. oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
      4. oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
      5. oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
      5 frames
    8. com.evermind.util
      ReleasableResourcePooledExecutor$MyWorker.run
      1. com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      1 frame
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame