com.sun.enterprise.container.common.spi.util.InjectionException: Exception attempting to inject Res-Ref-Env-Property: jms/QueueConnectionFactory@javax.jms.QueueConnectionFactory@ resolved as: jndi: jms/QueueConnectionFactory@res principal: null@mail: null No Runtime properties Database Vendor : null Create Tables at Deploy : false Delete Tables at Undeploy : false into class Main: Lookup failed for 'java:comp/env/jms/QueueConnectionFactory' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl}

  1. 0

    @Resource is not Injecting JMS resources in glassfish4 Application client container (ACC)

    Stack Overflow | 5 months ago | Mukesh kumar saini
    com.sun.enterprise.container.common.spi.util.InjectionException: Exception attempting to inject Res-Ref-Env-Property: jms/QueueConnectionFactory@javax.jms.QueueConnectionFactory@ resolved as: jndi: jms/QueueConnectionFactory@res principal: null@mail: null No Runtime properties Database Vendor : null Create Tables at Deploy : false Delete Tables at Undeploy : false into class Main: Lookup failed for 'java:comp/env/jms/QueueConnectionFactory' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl}
  2. 0

    Calling SessionBean gives InjectionException

    Stack Overflow | 9 months ago | James Lin
    com.sun.enterprise.container.common.spi.util.InjectionException: Exception attempting to inject Env-Prop: ejbclient1.EJBSBMAIN/sb1@Field-Injectable Resource. Class name = ejbclient1.EJBSBMAIN Field name=sb1@java.lang.String@@@ into class ejbclient1.EJBSBMAIN: Lookup failed for 'java:comp/env/ejbclient1.EJBSBMAIN/sb1' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl}
  3. 0

    EJB "B" look fails from EJB "A", If A is instantiated in Queue using EJB in Glassfish

    Stack Overflow | 3 years ago | Net Surgeon
    javax.ejb.CreateException: Could not create stateless EJB
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Topic: Failed to Inject references to 'null' Exception | zeroturnaround.com

    zeroturnaround.com | 5 months ago
    java.lang.IllegalStateException: Exception attempting to inject Env-Prop: com.ll.boss.service.RuleService/entityManager@Field-Injectable Resource. Class name = com.ll.boss.service.RuleService Field name=entityManager@java.lang.String@@@ into class com.ll.boss.service.RuleService: Lookup failed for ‘java:comp/env/com.ll.boss.service.RuleService/entityManager’ in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming}
  6. 0

    Exception attempting to inject Remote ejb-ref name [Glassfish HA]

    Oracle Community | 4 years ago | nejikap
    com.sun.enterprise.container.common.spi.util.InjectionException: Exception attempting to inject Remote ejb-ref name=com.htctest.plantilla.CredencialesBean/ejbManagerUsuariosRemote,Remote 3.x interface =com.htctest.ejb.manager.UsuariosManagerRemote,ejb-link=null,lookup=,mappedName=,jndi-name=com.htctest.ejb.manager.UsuariosManagerRemote,refType=Session into class com.htctest.plantilla.CredencialesBean: Lookup failed for 'java:comp/env/com.htctest.plantilla.CredencialesBean/ejbManagerUsuariosRemote' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming}

    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.container.common.spi.util.InjectionException

      Exception attempting to inject Res-Ref-Env-Property: jms/QueueConnectionFactory@javax.jms.QueueConnectionFactory@ resolved as: jndi: jms/QueueConnectionFactory@res principal: null@mail: null No Runtime properties Database Vendor : null Create Tables at Deploy : false Delete Tables at Undeploy : false into class Main: Lookup failed for 'java:comp/env/jms/QueueConnectionFactory' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl}

      at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject()
    2. Container Common
      InjectionManagerImpl.injectClass
      1. com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:740)
      2. com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:507)
      3. com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectClass(InjectionManagerImpl.java:235)
      4. com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectClass(InjectionManagerImpl.java:227)
      4 frames
    3. org.glassfish.appclient
      AppClientContainerAgent.premain
      1. org.glassfish.appclient.client.acc.AppClientContainer$ClientMainClassSetting.getClientMainClass(AppClientContainer.java:636)
      2. org.glassfish.appclient.client.acc.AppClientContainer.getMainMethod(AppClientContainer.java:525)
      3. org.glassfish.appclient.client.acc.AppClientContainer.completePreparation(AppClientContainer.java:419)
      4. org.glassfish.appclient.client.acc.AppClientContainer.prepare(AppClientContainer.java:320)
      5. org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:279)
      6. org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:83)
      6 frames
    4. Java RT
      InstrumentationImpl.loadClassAndCallPremain
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      5. sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
      6. sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
      6 frames