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 Spring JIRA by Sephi Lipkin, 1 year ago
Name comp/env/jdbc not found in context "java:".
via Spring JIRA by Sephi Lipkin, 2 years ago
Name comp/env/jdbc not found in context "java:".
via Google Groups by WebSphere newbie, 2 years ago
Name comp/env/jdbc not found in context "java:".
javax.naming.NameNotFoundException: Name comp/env/jdbc not found in context "java:".	at com.ibm.ws.naming.ipbase.NameSpace.getParentCtxInternal(NameSpace.java:1716)	at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1062)	at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:985)	at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1263)	at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:198)	at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:139)	at javax.naming.InitialContext.lookup(InitialContext.java:361)	at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123)	at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85)	at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121)	at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:71)	at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:106)	at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:125)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1003)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:348)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317)	at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:230)	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:156)	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)	at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1355)	at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:371)	at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:114)	at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:127)	at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:776)	at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:729)	at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:140)	at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1019)	at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1028)	at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:538)	at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:724)	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:683)	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1161)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)