Java Mailing List Archive

Home » Home (12/2007) » J2EE Pattern »

Global transaction problem...




I have a doubt w.r.t the global transaction problem in ejb

I have a method pointing to a schema in a session bean

As i loop through this resultset,
i am invoking another method that points to a differenct schema and try to
insert data into another table...
While doing so i get the following error:

"An illegal attempt to use multiple resources that have only one-phase
capability has occurred within a global transaction."

Please help me out


This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.

Community Web Site (Core J2EE Patterns Catalog - Online Version):
Getting Started (Beta Version):
Get the book:
List Archive:
email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)

©2008 - Jax Systems, LLC, U.S.A.