EJB timers fail when dependency injection is used under the standard profile

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.