javax.naming.NameNotFoundException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2292

  • via Oracle Community by kroberts5683, 11 months ago
    While trying to lookup 'jdbc.OraSDPMDataSource' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/OraSDPMDataSource'
  • via Oracle Community by Sumit Wadhwa, 2 weeks ago
    While trying to lookup 'jdbc.odiMasterRepository' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/odiMasterRepository'
  • via broadleafcommerce.org by Unknown author, 8 months ago
    While trying to lookup 'jdbc.web' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/web'
  • Stack trace

    • javax.naming.NameNotFoundException: While trying to lookup 'jdbc.OraSDPMDataSource' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/OraSDPMDataSource' 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.