-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: DB2 / WebLogic AbstractMethodError
PostPosted: Fri Oct 31, 2003 12:04 pm 
Newbie

Joined: Fri Oct 31, 2003 11:51 am
Posts: 3
I am using Hibernate with DB2 and WebLogic.

Hibernate works fine when I run the application standalone but when I run it under weblogic using a datasource I get this error

java.lang.AbstractMethodError
at weblogic.jdbc.pool.DatabaseMetaData.supportsResultSetType(DatabaseMetaData.java:1199)

Any ideas? Thanks in advance.


Here is the full stack trace

593 [ExecuteThread: '12' for queue: 'default'] INFO net.sf.hibernate.dialect.Dialect - Using dialect: net.sf.hibernate.dialect.DB2Dialect
608 [ExecuteThread: '12' for queue: 'default'] INFO net.sf.hibernate.util.Naming Helper - JNDI InitialContext properties:{java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory}
608 [ExecuteThread: '12' for queue: 'default'] INFO net.sf.hibernate.connection.
DatasourceConnectionProvider - Using datasource: jdbc/EdDataSource
608 [ExecuteThread: '12' for queue: 'default'] INFO net.sf.hibernate.impl.SessionFactoryImpl - Use outer join fetching: true
java.lang.AbstractMethodError
at weblogic.jdbc.pool.DatabaseMetaData.supportsResultSetType(DatabaseMetaData.java:1199)
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:170)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:627) at com.nscorp.cd.admin.dao.security.user.UserDataAccess.getAllUsers(User
DataAccess.java:29)
at com.nscorp.cd.admin.service.user.UserServiceBean.getAllUsers(UserServiceBean.java:52)
at com.nscorp.cd.admin.service.user.UserServiceBean_fmilkm_EOImpl.getAll
Users(UserServiceBean_fmilkm_EOImpl.java:262)
at com.nscorp.cd.admin.service.user.UserServiceBean_fmilkm_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
ef.java:114)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:726)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:377)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)


Top
 Profile  
 
 Post subject: Ignore
PostPosted: Fri Oct 31, 2003 1:49 pm 
Newbie

Joined: Fri Oct 31, 2003 11:51 am
Posts: 3
OK ignore this. I have change my DB2 JDBC driver to use the ones in the java12 directory


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.