com.sun.enterprise.InjectionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • ejb timer on stand alone instance
    via by culli,
  • java.util.Timer on EJB
    via by 843830,
  • App Server 8.1 JDBC Connection problem
    via by 807581,
  • Ejb Injection error
    via by marionee,
  • JBoss Community / Mailing Lists
    via by Unknown author,
  • lookup problem with WLS 7.0
    via by k,
  • db:: 2.97::DUMP OBJECTS_OBJREF_NOT_ASSIGNED_NO 9s
    via by Unknown author,
    • com.sun.enterprise.InjectionException: Exception attempting to inject Env-Prop: com.pts.core.crons.CronTimerSession/timerService@Field-Injectable Resource. Class name = com.pts.core.crons.CronTimerSession Field name=timerService@java.lang.String@com.pts.core.crons.CronTimerSession/timerService@@ into class com.pts.core.crons.CronTimerSession at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:387) at com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:206) at com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:127) at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:533) at com.sun.ejb.containers.StatelessSessionContainer.access$100(StatelessSessionContainer.java:111) at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:772) at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(NonBlockingPool.java:199) at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:486) at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:1700) at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1229) at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:195) at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:83) at $Proxy71.createTimer(Unknown Source) at com.pts.revwebservices.StartTimers.startCronTimer(StartTimers.java:36) at com.pts.revwebservices.StartTimers.init(StartTimers.java:31) at javax.servlet.GenericServlet.init(GenericServlet.java:270) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1023) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4917) at org.apache.catalina.core.StandardContext.start(StandardContext.java:5324) at com.sun.enterprise.web.WebModule.start(WebModule.java:353) at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58) at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304) at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: javax.naming.NameNotFoundException: No object bound for java:comp/env/com.pts.core.crons.CronTimerSession/timerService [Root exception is java.lang.IllegalStateException: EJB Timer Service not available] at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:224) at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:407) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:287)
    No Bugmate found.