If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > JAVA > IllegalResourceIn2PCTransactionException

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-18-10, 02:56
cse_gokul cse_gokul is offline
Registered User
 
Join Date: Dec 2009
Posts: 14
IllegalResourceIn2PCTransactionException

Hi i am getting this below exception i am trying to use mdb and schedulers in the same application:

When job started executing i am getting the below exception when it tries to connect to db

An illegal attempt to use multiple resources that have only one-phase capability has occurred within a global transaction.
[2/18/10 12:23:37:337 IST] 0000001b LocalTransact E J2CA0030E: Method enlist caught com.ibm.ws.Transaction.IllegalResourceIn2PCTransac tionException: Illegal attempt to enlist multiple 1PC XAResources


can anyone please help me out thanks in advance.....
Reply With Quote
  #2 (permalink)  
Old 02-27-10, 12:36
panhavuth panhavuth is offline
Registered User
 
Join Date: Feb 2010
Posts: 4
what kind of db are you using?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On