javax.naming.NameNotFoundException: While trying to lookup 'jdbc.OraSDPMDataSource' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/OraSDPMDataSource'

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via eclipse.org by Unknown author, 2 years ago
java:/comp/env/jdbc/MANDA
via Oracle Community by kroberts5683, 1 year ago
While trying to lookup 'jdbc.OraSDPMDataSource' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/OraSDPMDataSource'
via Oracle Community by 3175019, 1 year ago
While trying to lookup 'jdbc.MedRecGlobalDataSourceXA' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/MedRecGlobalDataSourceXA'
via Oracle Community by 943250, 1 year ago
While trying to lookup 'jdbc.oracle.eid-ps' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/oracle/eid-ps'
via middlewaremagic.com by Unknown author, 10 months ago
While trying to look up jdbc/TESTDEV in java:comp/env.; remain ing namejdbc/TESTDEV’
via Oracle Community by Michael OBrien, 1 year ago
Unable to resolve 'database'. Resolved ''; remaining name 'database'
javax.naming.NameNotFoundException: While trying to lookup 'jdbc.OraSDPMDataSource' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/OraSDPMDataSource'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1180)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:265)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:187)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:210)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:253)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:416)
at javax.naming.InitialContext.lookup(InitialContext.java:415)
at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:103)
at org.eclipse.persistence.exceptions.ValidationException.cannotAcquireDataSource(ValidationException.java:520)
at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:109)
at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:204)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:741)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:239)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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