- This topic has 2 replies, 2 voices, and was last updated 18 years, 7 months ago by piampri.
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
piampriMemberHello,
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)
Riyad KallaMemberDid 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:officialHope one of those help pinpoint it.
piampriMember1. 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.
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)