List:General Discussion« Previous MessageNext Message »
From:pavani duggireddy Date:December 14 2005 12:18pm
Subject:need help on mysql connection
View as plain text  
Hi,

I am using Mysql
4.1.15(mysql-standard-4.1.15-sun-solaris2.8-sparc-64bit)on
a solaris machine. My application is running on
weblogic8.1 sp2. 

I have configured the mysql connection pool on
weblogic and tested from configuration wizard. I am
facing issues when connecting to Mysql pool from my
application.

The error message is as follows

java.lang.NoClassDefFoundError:
weblogic/jdbc/wrapper/PoolConnection
        at java.lang.ClassLoader.defineClass0(Native
Method)
        at
java.lang.ClassLoader.defineClass(ClassLoader.java:502)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:476)
        at
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:181)
        at
java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at
java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at
weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:223)
        at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:217)
        at
weblogic.utils.classfile.utils.CodeGenerator.generateClass(CodeGenerator.java:74)
        at
weblogic.utils.wrapper.WrapperFactory.generateWrapperClass(WrapperFactory.java:369)
        at
weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:204)
        at
weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:171)
        at
weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:146)
        at
weblogic.jdbc.pool.Driver.allocateConnection(Driver.java:243)
        at
weblogic.jdbc.pool.Driver.connect(Driver.java:159)
        at
engtools.webclarify.CRServlet.getConnection(CRServlet.java:261)
        at
engtools.webclarify.CRQueryListServlet.listQueries(CRQueryListServlet.java:78)
        at
engtools.webclarify.CRQueryListServlet.doGet(CRQueryListServlet.java:191)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
        at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
        at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)


I am using mysql jdbc connector as
mysql-connector-java-3.1.12-bin.jar 
Any help appreciated.

Thanks,
Pavnai Katamreddy


		
__________________________________________________________ 
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
Thread
need help on mysql connectionpavani duggireddy15 Dec