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}

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Mukesh kumar saini
, 1 year ago
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}
via xluat.com by Unknown author, 2 years ago
: Lookup failed for 'java:comp/env/portclient.Main/shipFacade' 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}
via Stack Overflow by Dusan Milosavljevic
, 2 years ago
: Lookup failed for 'java:comp/env/portclient.Main/shipFacade' 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}
via qnundrum.com by Unknown author, 1 year ago
=pl.polgrabiat.jmsbean.PublisherBeanRemote,refType=Session into class pl.polgrabiat.jmsbean.JMSClient: Lookup failed for 'java:comp/env/pl.polgrabiat.jmsbean.JMSClient/publisherBeanRemote' in SerialContext[myEnv={java.naming.factory.initial
via Stack Overflow by James Lin
, 1 year ago
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
via Stack Overflow by portoalet
, 2 years ago
Exception attempting to inject Unresolved Message-Destination-Ref jms/myQueue@java.lang.String@null into class enterpriseapplication4.Main
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(InjectionManagerImpl.java:740)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:507)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectClass(InjectionManagerImpl.java:235)
at org.glassfish.appclient.client.acc.AppClientContainer$ClientMainClassSetting.getClientMainClass(AppClientContainer.java:636)
at org.glassfish.appclient.client.acc.AppClientContainer.getMainMethod(AppClientContainer.java:525)
at org.glassfish.appclient.client.acc.AppClientContainer.completePreparation(AppClientContainer.java:419)
at org.glassfish.appclient.client.acc.AppClientContainer.prepare(AppClientContainer.java:320)
at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:279)
at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.