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(StreamRemoteCall.java:220)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
        at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Unknown
Source)
        at
org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(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

Reply via email to