Dear all,
BTW, I'm using SQL Server 2K for my database. The code works fine when I'm
running it under JBuilder+Inprise AppServer. It only happens when I port it
to jBoss. Please help. TIA.

Regards,
ChetHong Lau

> -----Original Message-----
> From: Lau Chet Hong [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 5:08 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Weird problem with transaction
> 
> 
> Greetings!
> I'm tyring to do a transaction-ed update into two tables. I 
> have a client
> that access a session bean, which in turns calls two entity 
> beans for the
> actual db update. The weird problem is: the update is only successful
> alternately. That is, the first update is OK, then on the 2nd 
> update, it
> will give me the following error. Then the third update it is 
> OK again, and
> so on. I have double checked the data. Anyone have any idea 
> why ? Thank
> you!!
> 
> 
> java.rmi.ServerException: RemoteException occurred in server 
> thread; nested
> exception is:
>         javax.transaction.TransactionRolledbackException: null; nested
> exception is:
>         javax.ejb.EJBException; nested exception is:
>         java.rmi.RemoteException: null; nested exception is:
>         javax.ejb.EJBException
> javax.transaction.TransactionRolledbackException: null; 
> nested exception is:
>         javax.ejb.EJBException; nested exception is:
>         java.rmi.RemoteException: null; nested exception is:
>         javax.ejb.EJBException
> java.rmi.RemoteException: null; nested exception is:
>         javax.ejb.EJBException
>         at
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer
> (StreamRemoteC
> all.java:245)
>         at
> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCal
> l.java:220)
>         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
>         at
> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.in
> voke(Unknown
> Source)
>         at
> org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.in
> voke(Stateless
> SessionProxy.java:188)
>         at $Proxy1.transfer(Unknown Source)
>         at quickstart.TransferClient.<init>(TransferClient.java:32)
>         at quickstart.TransferClient.main(TransferClient.java:50)
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to