A surprising exception when call the EJB
OS:Windows-2000
J2EE-Server:J2sdkee1.2.1
Database:SQLServer-2000
The CMP-beanUserEJB has been deployed successfully.
Main client program:
UserHome userHome=(UserHome)PortableRemoteObject.narrow(objectRef,ejb.UserHome.class);
User user=userHome.create(userid,password,name);
When running the client program,exception occured like this:
java.rmi.ServerException: RemoteException occurred in server thread; nested exce
ption is:
java.rmi.RemoteException: Transaction aborted (possibly due to transacti
on time out).; nested exception is:
javax.transaction.RollbackException
java.rmi.RemoteException: Transaction aborted (possibly due to transaction time
out).; nested exception is:
javax.transaction.RollbackException
javax.transaction.RollbackException
<<no stack trace available>>
But a new data-row has been inserted into the table successfully.
What on earth caused that? And how to solve this problem?
Any reply is welcome.Thanks!

