java.lang.RuntimeException: Invalid resource : jdbc/zoodatabase__pm Atcom.sun.enterprise.connectors.ConnectorRuntime.lookupDataSourceInDAS(ConnectorRuntime.java:593) Atcom.sun.enterprise.connectors.ConnectorRuntime.lookupPMResource(ConnectorRuntime.java:517) atorg.glassfish.persistence.common.PersistenceHelper.lookupPMResource(PersistenceHelper.java:63) atorg.glassfish.persistence.jpa.ProviderContainerContractInfoBase.lookupDataSource(ProviderContainerContractInfoBase.java:71)

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 Coderanch by Stanley Akudinobi, 11 months ago
Invalid resource : jdbc/zoodatabase__pm Atcom.sun.enterprise.connectors.ConnectorRuntime.lookupDataSourceInDAS(ConnectorRuntime.java:593) Atcom.sun.enterprise.connectors.ConnectorRuntime.lookupPMResource(ConnectorRuntime.java:517
via coderanch.com by Unknown author, 1 year ago
javax.naming.NamingException: Lookup failed for 'jdbc/chapter2' in SerialContext [Root exception is javax.naming.NameNotFoundException: chapter2 not found]
via coderanch.com by Unknown author, 1 year ago
javax.naming.NamingException: Lookup failed for 'jdbc/chapter2' in SerialContext [Root exception is javax.naming.NameNotFoundException: chapter2 not found]
via Oracle Community by fabiomedeirosf, 1 year ago
javax.naming.NamingException: Lookup failed for 'java:app/jdbc/estudo' in SerialContext [Root exception is javax.naming.NamingException: Invocation exception: Got null ComponentInvocation ]
via Oracle Community by fabiomedeirosf, 1 year ago
javax.naming.NamingException: Lookup failed for 'java:app/jdbc/estudo' in SerialContext [Root exception is javax.naming.NamingException: Invocation exception: Got null ComponentInvocation ]
via Coderanch by Himai Minh, 11 months ago
javax.naming.NamingException: Lookup failed for 'jdbc/chapter2' in SerialContext [Root exception is javax.naming.NameNotFoundException: chapter2 not found]
com.sun.appserv.connectors.internal.api.ConnectorRuntimeException: Invalid resource : jdbc/zoodatabase__pm SEVERE: Exception while preparing the app : Invalid resource : jdbc/zoodatabase__pm com.sun.appserv.connectors.internal.api.ConnectorRuntimeException: Invalid resource : jdbc/zoodatabase__pm
at org.glassfish.jdbcruntime.service.JdbcDataSource.validateResource(JdbcDataSource.java:81)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 year 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, 2 years ago

Write tip

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