Datasource « db2 « Java Database Q&A





1. DB2 version 8 Type 4 Data Source    coderanch.com

3. creating db2 datasource    coderanch.com

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

It is a messaging application using Messaging Driven Bean, DB2 7.x deployed in WebSphere 5.1.1.3. 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    coderanch.com

6. fail to get XA DataSource connection using DB2    coderanch.com

Using Wepsphere RAD to create XA Dasource com.ibm.db2.jcc.DB2XADataSource DataSource objDataSource=null; Connection objConn = null; Properties objProp=null; try { objProp = new Properties(); objProp.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"com.ibm.websphere.naming.WsnInitialContextFactory"); 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    coderanch.com

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 COM.ibm.db2.jdbc.DB2XADataSource test test 0