facebook

Cannot obtain connection: driverURL = jdbc:weblogic:pool:

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #251605 Reply

    piampri
    Member

    Hello,

    My code is spitting out this error when trying to obtain a connection from the connection pool. I know that the datasource and connection pools have both been configured correctly. Does anyone know why this is occurring ?

    Cannot obtain connection: driverURL = jdbc:weblogic:pool:MyJDBC Connection Pool, props = {enableTwoPhaseCommit=false, connectionPoolID=MyJDBC Connection Pool, jdbcTxDataSource=true, dataSourceName=MyJDBC Data Source}. Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class at weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java:183) at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:171) at weblogic.jdbc.pool.Driver.allocateConnection(Driver.java:248) at weblogic.jdbc.pool.Driver.connect(Driver.java:164) at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:509) at weblogic.jdbc.jts.Driver.connect(Driver.java:139) at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305) at jsp_servlet.__datasourceexample._jspService(__datasourceexample.java:154) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) 
    #251619 Reply

    Riyad Kalla
    Member

    Did a quick google, looks like you aren’t the only one having this issue:
    http://www.google.com/search?q=weblogic+%22Failed+to+Generate+Wrapper+Class%22&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official

    Hope one of those help pinpoint it.

    #251755 Reply

    piampri
    Member

    1. The search which you performed has little to do with the above error. The error above is related to not being able to obtain a connection from the Connection Pool.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Cannot obtain connection: driverURL = jdbc:weblogic:pool:

You must be logged in to post in the forum log in