Datasource « db2 « Java Database Q&A

1. DB2 version 8 Type 4 Data Source

3. creating db2 datasource

4. Datasource lookup fails after 2 successive send to queue - WAS 5.x, DB2 7.x

It is a messaging application using Messaging Driven Bean, DB2 7.x deployed in WebSphere When the messages are received by Message Driven bean, certain messages are sent to a queue and some other messages are persisted to database, based on business logic. If 2 SUCCESSIVE messages are sent to queue, datasource lookup throws exception. However, a combination of sendToQueue-datasourceLookUp-sendToQueue-datasourceLookUp-sendToQueue-datasourceLookUp does ...

5. DB2 datasource

6. fail to get XA DataSource connection using DB2

Using Wepsphere RAD to create XA Dasource DataSource objDataSource=null; Connection objConn = null; Properties objProp=null; try { objProp = new Properties(); objProp.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,""); InitialContext ctx = new InitialContext(objProp); objDataSource = (javax.sql.DataSource)ctx.lookup("jdbc/XADatasource"); objConn = objDataSource.getConnection(); } But gerring the below exception. Any help will be appreciated. [11/27/07 19:36:34:387 SGT] 00000036 FreePool E J2CA0046E: Method createManagedConnectionWithMCWrapper caught an exception during creation of the ...

7. db2 as/400 and datasource

hi i would like to know how to use XA Resource with db2 as/400 i tried proximeoDatasource jdbc:as400://test05/EADEV;extended dynamic=true;package=jbpkg;package cache=true;package library=jboss;errors=full test test 0