I'm sorry but I have no idea what causes this.
Is it because your datasource is already enlisted with a tx monitor? It's
really just a wild guess...
regards
marcel
Ramesh Anand wrote:
Hi Marcel,
Thanks !
I am trying to make use of an existing datasource inside the
jackrabbit. So, I modified the SimpleDBPersistenceManager to access
the existing datasource. Now I am getting the following error :
An illegal attempt to use multiple resources that have only one-phase
capability has occurred within a global transaction.
Method enlist caught
com.ibm.ws.Transaction.IllegalResourceIn2PCTransactionException:
Illegal attempt to enlist multiple 1PC XAResources
FYI: I am using Type 2 db2 drive on Websphere.
Is there anyway I can rectify this issue.
Regards
Ramesh
On 5/23/06, Marcel Reutegger <[EMAIL PROTECTED]> wrote:
Ramesh Anand wrote:
> Hi All,
> Is there any way I can get the SimpleDBPersistenceManager to run
> non-XA transaction database queries ?
afaik, all database access in the
SimpleDBPersistenceManager is non-XA. It's jackrabbit that exposes the
JCR
Session as XA resource.
regards
marcel