EJB timers fail when dependency injection is used under the standard profile
Issue
- EJB timers fail when dependency injection is used under the standard profile
- The following exceptions occur in the server.log file :
ERROR [TimerImpl] Error invoking ejbTimeout javax.ejb.EJBException: java.lang.RuntimeException: Unable to inject jndi dependency
Caused by: java.lang.RuntimeException: Unable to inject jndi dependency: env/test.ejb.TimedOperationWithInjectedDependenciesBean/delegatedOperationService
Caused by: javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NamingException: Could not dereference object [Root exception is java.lang.RuntimeException: Can not find interface declared by Proxy in our CL + BaseClassLoader
Caused by: java.lang.RuntimeException: Can not find interface declared by Proxy in our CL + BaseClassLoader
Caused by: java.lang.ClassNotFoundException
Environment
- JBoss Enterprise Application Platform 5.0.0.GA
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.