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 ? It's going through the code but appears to have problems obtaining a connection from the connection pool.
Code:
Cannot obtain connection: driverURL = jdbc:weblogicool: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)
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 ? It's going through the code but appears to have problems obtaining a connection from the connection pool.
Code:
Cannot obtain connection: driverURL = jdbc:weblogicool: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)