Posted: Wed Apr 09, 2003 12:42 am Post subject: Urgent: problem 2-phase-commit using MQseries as coordinator
Newbie
Joined: 08 Apr 2003 Posts: 1
When running the 2-phase-commit sample (mqdb2log) I get an error at the moment I begin the unit of work; so at the statement qMnr.begin().
I did the configuration at the queuemanager (swithfile jdbcdb2.dll etc.)
I need this two-phase-commit for my project.
Please some help.
Configuration
Windows Nt
Mqeries 5.2
DB2 PE 8.1
Java 1.4.1.02
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6C292FF0
Function=db2XaGetInfo+0x4C0
Library=C:\PROGRA~1\IBM\SQLLIB\BIN\DB2APP.dll
Current Java thread:
at COM.ibm.db2.jdbc.app.DB2XAResource.xaStart(Native Method)
at COM.ibm.db2.jdbc.app.DB2XAResource.start(Unknown Source)
at com.ibm.mq.XAtoJTA.xa_start(XAtoJTA.java:864)
at com.ibm.mq.XAtoJTA.XAStart(XAtoJTA.java:577)
- locked <06CBDF90> (a java.lang.Class)
at com.ibm.mq.server.MQSESSION._MQBEGIN(Native Method)
at com.ibm.mq.server.MQSESSION._MQBEGINWrapper(MQSESSION.java:831)
at com.ibm.mq.server.MQThread.run(MQThread.java:1430)
- locked <02BB0E10> (a com.ibm.mq.Pint)
- locked <02BB0048> (a com.ibm.mq.server.MQThread)
at java.lang.Thread.run(Thread.java:536)
Local Time = Tue Apr 08 15:09:16 2003
Elapsed Time = 10
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode)
#
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
Are there any FDC files generated? Did you get any error messages in your amqerr01.log file at qmgr startup? The only difference between your code versions and mine are I'm not using DB2 PE (shouldn't matter) and I used java 1.3 (also shouldn't matter). I'd suspect something in the configuration.
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