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

javax.naming.NameNotFoundException: mail	at com.sun.enterprise.naming.impl.TransientContext.resolveContext(TransientContext.java:310)	at com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:218)	at com.sun.enterprise.naming.impl.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:77)	at com.sun.enterprise.naming.impl.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:119)	at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:505)	at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518)	at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)	at javax.naming.InitialContext.lookup(InitialContext.java:392)	at javax.naming.InitialContext.lookup(InitialContext.java:392)	at com.sun.enterprise.naming.util.JndiNamingObjectFactory.create(JndiNamingObjectFactory.java:90)	at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:772)	at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:740)	at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:172)	at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:498)	at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:518)	at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:455)	at javax.naming.InitialContext.lookup(InitialContext.java:392)	at javax.naming.InitialContext.lookup(InitialContext.java:392)	at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:597)	at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:698)	at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:468)	at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:173)	at org.glassfish.weld.services.InjectionServicesImpl.aroundInject(InjectionServicesImpl.java:130)