java.lang.IllegalStateException: EJB Timer Service not available

Oracle Community | jan_goyvaerts-JavaNet | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Unit test EJB timers

    Oracle Community | 7 years ago | jan_goyvaerts-JavaNet
    java.lang.IllegalStateException: EJB Timer Service not available

    Root Cause Analysis

    1. java.lang.IllegalStateException

      EJB Timer Service not available

      at com.sun.ejb.EjbNamingReferenceManagerImpl.getEJBContextObject()
    2. Embedded GlassFish Web
      EjbNamingReferenceManagerImpl.getEJBContextObject
      1. com.sun.ejb.EjbNamingReferenceManagerImpl.getEJBContextObject(EjbNamingReferenceManagerImpl.java:227)
      1 frame
    3. Container Common
      ComponentEnvManagerImpl$EjbContextProxy.create
      1. com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$EjbContextProxy.create(ComponentEnvManagerImpl.java:854)
      1 frame
    4. Glassfish Naming
      JavaURLContext.lookup
      1. com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:688)
      2. com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:657)
      3. com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:148)
      3 frames