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

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 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 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 kroberts5683, 1 year ago
While trying to lookup 'jdbc.OraSDPMDataSource' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/OraSDPMDataSource'
via eclipse.org by Unknown author, 2 years ago
java:/comp/env/jdbc/MANDA
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.oracle.eid-ps' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/oracle/eid-ps'
at org.eclipse.persistence.exceptions.ValidationException.cannotAcquireDataSource(ValidationException.java:497)
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.loginAndDetectDatasource(DatabaseSessionImpl.java:584)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:206)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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