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 Index » IBM MQ Java / JMS » java.lang.UnsatisfiedLinkError: xaConnect

Post new topic  Reply to topic
 java.lang.UnsatisfiedLinkError: xaConnect « View previous topic :: View next topic » 
Author Message
pmane
PostPosted: Thu Nov 08, 2001 9:57 pm    Post subject: Reply with quote

Acolyte

Joined: 17 Oct 2001
Posts: 50

I am trying to get XA connect to db with the code ...

System.out.println("creating XA datasource ...");
COM.ibm.db2.jdbc.DB2XADataSource ds = new COM.ibm.db2.jdbc.DB2XADataSource();

System.out.println("created XA datasource ...");
ds.setDatabaseName("sample");
System.out.println("database name set for XA datasource ...");

//DB2XAConnection xacon = ds.getXAConnection(userid, passwd);
javax.sql.XAConnection xacon = ds.getXAConnection();
System.out.println("creating xa connection ...");

it fails at "ds.getXAConnection();"
with
Exception in thread "main" java.lang.UnsatisfiedLinkError: xaConnect
at COM.ibm.db2.jdbc.DB2XAConnection.(DB2XAConnection.java:85)
at COM.ibm.db2.jdbc.DB2XADataSource.getXAConnection(DB2XADataSource.java:99)
at COM.ibm.db2.jdbc.DB2XADataSource.getXAConnection(DB2XADataSource.java:66)
at DB2MQ.main(DB2MQ.java, Compiled Code)

I have done every thing that is mentioned in
MQ series system administation guide . as ..

db2 update dbm cfg using TP_MON_NAME mqmax
etc.
I am using MQ V5.2 on win2000 with DB2 V7 database.
Any one has any idea how to debug this error.
What I guess is it is not able to get the mqmax dll but I am very sure that I have it in my path ...

Thanks in advance.
Prashant


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » java.lang.UnsatisfiedLinkError: xaConnect
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.