Hi Adrian,

Thank you for the information. Yes we are using JBoss 3.0.0.
As we have already deployed our application in the production environment
and it is running, we cannot change the server version, as it requires lot
of testing and currently we donot have time for this.

But one strange thing i can notice in the code, the same steps of code is
implemented in Bean A and it works fine, but the same steps of  code (except
the data is entered in to different table by using different bean) does not
work for another Bean.

Do you have any idea how this can happen, and also is there any patch for
JBoss 3.0 where this problem is solved?

Regards
Kiran

----- Original Message -----
From: "Adrian Brock" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 09, 2003 7:20 PM
Subject: Re: [JBoss-user] java.lang.IllegalArgumentException: xaRes
notenlisted !


> You are using jboss-3.0.0 correct?
> Try it with the latest and greatest jboss-3.2.3
>
> If that doesn't work, post the java code rather than
> pseudo code.
>
> Regards,
> Adrian
>
> On Tue, 2003-12-09 at 12:59, Shashi Kiran wrote:
> >
> > Hi All,
> >
> > Here is the sequence of code
> >
> >         Inside  Stateless Session bean (Transaction NOTSupported ):
> >
> >                 InitialContext ctx=new InitialContext();
> >                 javax.transaction.UserTransaction
> > userTransactionUserTransaction userTransaction userTransaction =
> > (javax.transaction.UserTransaction)ctx.lookup("UserTransaction");
> >                 javax.transaction.TransactionManager txMgr =
> >
(javax.transaction.TransactionManager)ctx.lookup("java:/TransactionManager")
> > ;
> >                 ctx.close();
> >                 userTransaction.begin();
> >
> >                 Insert records,
> >                 Update other tables column by looking up to other bean
> >                 Suspend the transaction using
> > transactionManager.Suspend()
> >                 upload a file to remote server
> >                 Resume the transaction
> >                 Commit the transaction.
> >
> > During commiting i get the following exception:
> >
> >         16:51:17,041 ERROR [GlobalTxEntityMap] Store failed on entity:
> > 2744
> > java.lang.IllegalArgumentException: xaRes not enlisted
> >         at org.jboss.tm.TxCapsule.delistResource(TxCapsule.java:546)
> >         at
> > org.jboss.tm.TransactionImpl.delistResource(TransactionImpl.java:93)
> >         at
> >
org.jboss.resource.connectionmanager.LocalTxConnectionManager$LocalConnectio
> > nEventListener.delist(LocalTxConnectionM
> > ger.java:347)
> >         at
> >
org.jboss.resource.connectionmanager.LocalTxConnectionManager.managedConnect
> > ionDisconnected(LocalTxConnectionManager
> > va:272)
> >         at
> >
org.jboss.resource.connectionmanager.BaseConnectionManager2.disconnect(BaseC
> > onnectionManager2.java:627)
> >         at
> >
org.jboss.resource.connectionmanager.CachedConnectionManager.disconnect(Cach
> > edConnectionManager.java:358)
> >         at
> >
org.jboss.resource.connectionmanager.CachedConnectionManager.pushMetaAwareOb
> > ject(CachedConnectionManager.java:126)
> >         at
> >
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.storeEntity
> > (CachedConnectionInterceptor.java:385)
> >         at
> > org.jboss.ejb.EntityContainer.storeEntity(EntityContainer.java:705)
> >         at
> > org.jboss.ejb.GlobalTxEntityMap.syncEntities(GlobalTxEntityMap.java:99)
> >         at
> >
org.jboss.ejb.GlobalTxEntityMap$GlobalTxEntityMapCleanup.beforeCompletion(Gl
> > obalTxEntityMap.java:168)
> >         at
> > org.jboss.tm.TxCapsule.doBeforeCompletion(TxCapsule.java:1331)
> >         at org.jboss.tm.TxCapsule.commit(TxCapsule.java:328)
> >         at
> > org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:74)
> >         at org.jboss.tm.TxManager.commit(TxManager.java:138)
> >         at
> >
org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClie
> > ntUserTransaction.java:126)
> >
> > Can anybody tell me why i am getting this exception.
> >
> > Thanking you
> > Kiran
> >
> --
> xxxxxxxxxxxxxxxxxxxxxxxx
> Adrian Brock
> Director of Support
> Back Office
> JBoss Group, LLC
> xxxxxxxxxxxxxxxxxxxxxxxx
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to