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 Michael OBrien, 1 year ago
Unable to resolve 'database'. Resolved ''; remaining name 'database'
via Apache's JIRA Issue Tracker by Nuno G. de M, 1 year ago
Name [jdbc/NON_JTA_DS] is not bound in this Context. Unable to find [jdbc].
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, 1 year ago
While trying to look up jdbc/TESTDEV in java:comp/env.; remain ing name ‘jdbc/TESTDEV’
via Oracle Community by 860423, 6 months ago
Unable to resolve 'OATS_common_DS'. Resolved ''; remaining name 'OATS_common_DS'
javax.naming.NameNotFoundException: Unable to resolve 'database'. Resolved ''; remaining name 'database'	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.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:330)	at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:293)	at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:418)	at org.eclipse.persistence.sessions.server.ConnectionPool.buildConnection(ConnectionPool.java:216)	at org.eclipse.persistence.sessions.server.ExternalConnectionPool.startUp(ExternalConnectionPool.java:146)	at org.eclipse.persistence.sessions.server.ServerSession.connect(ServerSession.java:484)	at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:633)	at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:208)	at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:488)