com.sun.enterprise.InjectionException: Exception attempting to inject Env-Prop: com.company.product.dao.MySessionBean/service@Field-Injectable Resource. Class name = com.company.product.dao.MySessionBean Field name=service@javax.jws.WebServiceRef@@@ into class com.company.product.dao.MySessionBean

Oracle Community | 392 Guest | 10 years ago
  1. 0

    JAX-WS @Resource injection fails with HTTP Basic Authentication

    Oracle Community | 10 years ago | 392 Guest
    com.sun.enterprise.InjectionException: Exception attempting to inject Env-Prop: com.company.product.dao.MySessionBean/service@Field-Injectable Resource. Class name = com.company.product.dao.MySessionBean Field name=service@javax.jws.WebServiceRef@@@ into class com.company.product.dao.MySessionBean
  2. 0

    EJB dependency injection of remote service fails on Glassfish

    Stack Overflow | 6 years ago | Kristofer
    com.sun.enterprise.InjectionException: Exception attempting to inject Unresolved Ejb-Ref RemoteService@jndi: service.remote.RemoteService@null@service.remote.RemoteService@Session@null into class service.OrderServiceBean
  3. 0

    JMS Resources in sun-web.xml | Java.net

    java.net | 1 year ago
    com.sun.enterprise.InjectionException: Exception attempting to inject Unresolved Message-Destination-Ref QueryQueue@java.lang.String@null into class com.megajobindex.web.SearchManagedBean
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem running the bookstore6 example from J2EE 1.5  Tutorial

    Oracle Community | 1 decade ago | 843833
    javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting to inject Env-Prop: books@Field-Injectable Resource. Class name = com.sun.bookstore6.backing.AbstractBean Field name=em@java.lang.String@@@ into class com.sun.bookstore6.backing.AbstractBean
  6. 0

    SessionContext in JSF Controller class

    Oracle Community | 1 decade ago | 843842
    com.sun.enterprise.InjectionException: Exception attempting to inject Env-Prop: com.mypack.dpr.jsf.DPRAdminController/sessionCTX@Field-Injectable Resource. Class name = com.mypack.dpr.jsf.DPRAdminController Field name=sessionCTX@java.lang.String@com.mypack.dpr.jsf.DPRAdminController/sessionCTX@@ into class com.mypack.dpr.jsf.DPRAdminController

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sun.enterprise.InjectionException

      Exception attempting to inject Env-Prop: com.company.product.dao.MySessionBean/service@Field-Injectable Resource. Class name = com.company.product.dao.MySessionBean Field name=service@javax.jws.WebServiceRef@@@ into class com.company.product.dao.MySessionBean

      at com.sun.enterprise.util.InjectionManagerImpl._inject()
    2. Common Utilities
      InjectionManagerImpl.injectInstance
      1. com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:374)
      2. com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:193)
      3. com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:114)
      3 frames
    3. Embedded GlassFish Web
      StatelessSessionContainer.createStatelessEJB
      1. com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:519)
      1 frame