java.sql.SQLException: Failed to get connection

Oracle Community | 666705 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    rs.getObject() problems

    Oracle Community | 2 decades ago | 3004
    java.sql.SQLException: java.lang.NumberFormatException - '' at weblogic.jdbc.oci.ResultSet.getObject(ResultSet.java(Compiled Code)) at weblogic.jdbc.pool.ResultSet.getObject(ResultSet.java(Compiled Code)) at ReadServlet.unpackResultSet(ReadServlet.java(Compiled Code)) at ReadServlet.process(ReadServlet.java(Compiled Code)) at ReadServlet.doPost(ReadServlet.java(Compiled Code)) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java(Compiled Code)) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java(Compiled Code)) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java(Compiled Code)) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java(Compiled Code)) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java(Compiled Code))

    Root Cause Analysis

    1. java.sql.SQLException

      Failed to get connection

      at com.ptp.security.weblogic.providers.authentication.ImpactDatabaseAuthenticatorDAO._getConnection()
    2. com.ptp.security
      ImpactDatabaseLoginModuleImpl.login
      1. com.ptp.security.weblogic.providers.authentication.ImpactDatabaseAuthenticatorDAO._getConnection(ImpactDatabaseAuthenticatorDAO.java:129)
      2. com.ptp.security.weblogic.providers.authentication.ImpactDatabaseAuthenticatorDAO.authenticate(ImpactDatabaseAuthenticatorDAO.java:44)
      3. com.ptp.security.weblogic.providers.authentication.ImpactDatabaseLoginModuleImpl.login(ImpactDatabaseLoginModuleImpl.java:62)
      3 frames
    3. weblogic.security.service
      DelegateLoginModuleImpl.login
      1. weblogic.security.service.DelegateLoginModuleImpl.login(DelegateLoginModuleImpl.java:71)
      1 frame
    4. Java RT
      LoginContext.login
      1. sun.reflect.GeneratedMethodAccessor317.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      4. javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
      5. javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
      6. javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
      9. javax.security.auth.login.LoginContext.login(LoginContext.java:534)
      9 frames
    5. weblogic.security.service
      PrincipalAuthenticator.authenticate
      1. weblogic.security.service.PrincipalAuthenticator.authInternal(PrincipalAuthenticator.java:368)
      2. weblogic.security.service.PrincipalAuthenticator.authenticate(PrincipalAuthenticator.java:308)
      3. weblogic.security.service.PrincipalAuthenticator.authenticate(PrincipalAuthenticator.java:316)
      3 frames
    6. weblogic.common.internal
      RMIBootServiceImpl_WLSkel.invoke
      1. weblogic.common.internal.RMIBootServiceImpl.authenticate(RMIBootServiceImpl.java:103)
      2. weblogic.common.internal.RMIBootServiceImpl_WLSkel.invoke(Unknown Source)
      2 frames
    7. weblogic.rmi.internal
      BasicServerRef$1.run
      1. weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:492)
      2. weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:435)
      2 frames
    8. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      1 frame
    9. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
      1 frame
    10. weblogic.rmi.internal
      BasicExecuteRequest.execute
      1. weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:430)
      2. weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
      2 frames
    11. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
      2 frames