aspose file tools*
The moose likes BEA/Weblogic and the fly likes Can you help  me? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Can you help  me?" Watch "Can you help  me?" New topic
Author

Can you help me?

Carlos Calvo Garcia-Cuerva
Greenhorn

Joined: Nov 29, 2005
Posts: 8
I have the same error.
I have a Datasource with a sun bridge jdbc-odbc for Access Database, and I get the same error.

I test correctly my datasource in Bea Console, but when I try to get the connection from my Datasource in my App, I get this error.
I change this datasource to connect with a MySql Database, and my App works fine. Also, I removed the datasource from my App and I used the DriverManager, all works fine.

I don't know what's happen!!! I just think that it's imposible connect Weblogic with MS Access with JDBC-ODBC. Anybody knows if it's possible? And How?

Thanks
KArol Muszynski
Ranch Hand

Joined: Aug 09, 2005
Posts: 45
Carlos,

What kind of error do You have ? If You provide us some more informations (type of error, Stack Trace) maybe it will be possible to help You.

Now we only know that You've got an error !

Best Regards,
KArol Muszynski
Carlos Calvo Garcia-Cuerva
Greenhorn

Joined: Nov 29, 2005
Posts: 8
This is the error

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:71)
at weblogic.utils.wrapper.WrapperFactory.generateWrapperClass(WrapperFactory.java:331)
at weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:167)
at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:66)
at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnectionObj(RmiDataSource.java:315)
at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiDataSource.java:288)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:303)
at netplus.datos.Parameters.getConnection(Parameters.java:168)
at netplus.datos.Usuarios.getUserCode(Usuarios.java:223)
at netplus.datos.Usuarios.hasPermissionFor(Usuarios.java:291)
at jsp_servlet._paginas.__formularioconsultalog._jspService(formularioConsultaLog.jsp:1)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:431)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:190)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6316)
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:3622)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

I have weblogic.jar included in my proyect, also this jar is in my classpath, but WebLogic can' find this class!!!

Thanks
KArol Muszynski
Ranch Hand

Joined: Aug 09, 2005
Posts: 45
Carlos,

read this thread from bea forums
http://forums.bea.com/bea/message.jspa?messageID=200019677&tstart=0

they discovered some ideas which are helpful with such problems

Best Regards,
KArol Muszynski
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can you help me?
 
Similar Threads
Jdbc/Odbc Bridge Problem! Please, help!
Connecting to Access
Help! DriverManager.getConnection problem
Help for Access-JDBC
Help ! DriverManager.getConnection problem