java.sql.SQLException: Failed to get connection

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 666705, 1 year ago
java.sql.SQLException: Failed to get connection
at com.ptp.security.weblogic.providers.authentication.ImpactDatabaseAuthenticatorDAO._getConnection(ImpactDatabaseAuthenticatorDAO.java:129)
at com.ptp.security.weblogic.providers.authentication.ImpactDatabaseAuthenticatorDAO.authenticate(ImpactDatabaseAuthenticatorDAO.java:44)
at com.ptp.security.weblogic.providers.authentication.ImpactDatabaseLoginModuleImpl.login(ImpactDatabaseLoginModuleImpl.java:62)
at weblogic.security.service.DelegateLoginModuleImpl.login(DelegateLoginModuleImpl.java:71)
at sun.reflect.GeneratedMethodAccessor317.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
at weblogic.security.service.PrincipalAuthenticator.authInternal(PrincipalAuthenticator.java:368)
at weblogic.security.service.PrincipalAuthenticator.authenticate(PrincipalAuthenticator.java:308)
at weblogic.security.service.PrincipalAuthenticator.authenticate(PrincipalAuthenticator.java:316)
at weblogic.common.internal.RMIBootServiceImpl.authenticate(RMIBootServiceImpl.java:103)
at weblogic.common.internal.RMIBootServiceImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:492)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:435)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:430)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

Users with the same issue

You are the first who have seen this exception.

Write tip

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