Advertisement

05.24.2007 at 06:54PM PDT, ID: 22594055
[x]
Attachment Details

db2 with websphere

Asked by jaggernat in DB2 Database

Tags: db2, getholdability, cli0626e

Hi guys

I am using Db2 Express C version 9.1.100.164 (free version) with websphere application server (WAS6.0 in RSA)

and i am trying to integrate data in tables using a datasource

and i get this error
>>>>>>>>>>>>>>>>>>
00000039 FreePool      E   J2CA0046E: Method createManagedConnectionWithMCWrapper caught an exception during creation of the ManagedConnection for resource frameworkAppDb, throwing ResourceAllocationException.

 Original exception: com.ibm.ws.exception.WsException: DSRA0080E: An exception was received by the Data Store Adapter.
See original exception message: [IBM][JDBC Driver] CLI0626E  

getHoldability is not supported in this version of DB2 JDBC 2.0 driver.. with SQL State : null SQL Code : 0

at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throwNotSupportedByDB2(Unknown Source)
      at COM.ibm.db2.jdbc.app.DB2Connection.getHoldability(Unknown Source)
      at com.ibm.ws.rsadapter.spi.InternalGenericDataStoreHelper.getHoldability(InternalGenericDataStoreHelper.java:362)
at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.<init>(WSRdbManagedConnectionImpl.java:64
at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConnectionFactoryImpl.java:941)
      at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1502)
      at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:1294)
      at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:2000)
      at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:769)
      at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:569)
      at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:328)
      at com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.getConnection(WSJdbcDataSource.java:297)
      at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
      at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76)
      at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1933)
      at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1216)
      at nj.aoc.ito.hibernate.HibernateUtil.<clinit>(HibernateUtil.java:30)
      at nj.aoc.ito.hibernate.TestStoredProc.execute(TestStoredProc.java:43)
      at HibernateTestServlet.doProcess(HibernateTestServlet.java:45)
      at HibernateTestServlet.doGet(HibernateTestServlet.java:26)


>>>>>>>>>>>>>>>>>>>

'frameworkAppDb' is the datasource name which i gave in websphere.

does anyone know how what the error means and how i can make this work. do i have to install fix packs or anything.

thanks very much

JStart Free Trial
[+][-]05.24.2007 at 07:23PM PDT, ID: 19154390

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: DB2 Database
Tags: db2, getholdability, cli0626e
Sign Up Now!
Solution Provided By: momi_sabag
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.06.2008 at 01:53PM PDT, ID: 21510960

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.10.2008 at 05:53PM PDT, ID: 21541128

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32