ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker (ACE) SupportDB2 connectivity using JavaCompute node in WMB

Post new topicReply to topic
DB2 connectivity using JavaCompute node in WMB View previous topic :: View next topic
Author Message
kumawakr
PostPosted: Fri Nov 19, 2010 12:38 am Post subject: DB2 connectivity using JavaCompute node in WMB Reply with quote

Newbie

Joined: 01 Oct 2010
Posts: 7

Hi,
I'm trying to connect DB2 database using JavaCompute Node in WMB. But I found the exception as follows
"<com.ibm.broker.plugin.MbRecoverableException class:MbNode method:getJDBCType4Connection source:BIPmsgs key:6233 >"
I set all PATH and CLASSPATH variables also...
I set all BROKER CONFIGURATION commands as follows..
(Here BrokerName: BROKER_KK, ODBD DataSourse: DB2, DatabaseName: MYDB2, ConfigurableServiceName: DB2)

mqsideleteconfigurableservice BROKER_KK -c JDBCProviders -o DB2
mqsicreateconfigurableservice BROKER_KK -c JDBCProviders -o DB2
mqsichangeproperties BROKER_KK -c JDBCProviders -o DB2 -n connectionUrlFormat -v jdbc:db2://localhost:50000/MYDB2;user=pansarni;password=mypass
mqsichangeproperties BROKER_KK -c JDBCProviders -o DB2 -n databaseName -v MYDB2
mqsichangeproperties BROKER_KK -c JDBCProviders -o DB2 -n databaseType -v "DB2 Universal Database"
mqsichangeproperties BROKER_KK -c JDBCProviders -o DB2 -n databaseVersion -v 9.5
mqsichangeproperties BROKER_KK -c JDBCProviders -o DB2 -n jarsURL -v "D:\Program Files\IBM\SQLLIB_01\java"
mqsichangeproperties BROKER_KK -c JDBCProviders -o DB2 -n portNumber -v 50000
mqsisetdbparms BROKER_KK -n jdbc::MyIdentity -u pansarni -p mypass
mqsichangeproperties BROKER_KK -c JDBCProviders -o DB2 -n securityIdentity -v MyIdentity
mqsisetdbparms BROKER_KK -n dsn::DB2 -u pansarni -p mypass
mqsichangeproperties BROKER_KK -c JDBCProviders -o DB2 -n serverName -v localhost
mqsichangeproperties BROKER_KK -c JDBCProviders -o DB2 -n type4DatasourceClassName -v com.ibm.db2.jcc.DB2XADataSource
mqsichangeproperties BROKER_KK -c JDBCProviders -o DB2 -n type4DriverClassName -v com.ibm.db2.jcc.DB2Driver
mqsireportproperties BROKER_KK -c JDBCProviders -o DB2 -r
mqsistop BROKER_KK
mqsistart BROKER_KK

Using the same configuration and Setting I'm able to connect to DB using Compute Node, DataInsert Node... BUT NOT using JAVACOMPUTE NODE:

The code which gives an Exception is:
Connection conn = this.getJDBCType4Connection(“DB2”, JDBC_TransactionType.MB_TRANSACTION_AUTO);

Please suggest me What I need to do?
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker (ACE) SupportDB2 connectivity using JavaCompute node in WMB
Jump to:



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
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.