Orion 0.9.4, Windows NT, JDK 1.2.2-001
I have a Session bean which executes a finder on a BMP entity bean to return
an Enumeration to the client. I start two clients, which create a Session
bean, and call the method which starts the whole thing rolling. I notice,
that only ONE client is actually running, the other seems to be waiting.
After a while, I get an exception on the server:
com.evermind.server.DeadlockException: Transaction was rolled back: timed
out, while waiting for M-AUSTX-00001752
at com.evermind.server.ejb.AbstractEJBObject.startCall(JAX, Compiled
Code)
at EntityBeanWrapper2.getEntityInfo(EntityBeanWrapper2.java,
Compiled Code)
at
com.citysearch.ejb.Entity.EntitySessionEJB.findByName(EntitySessionEJB.java,
Compiled Code)
at
StatelessSessionBeanWrapper4.findByName(StatelessSessionBeanWrapper4.java,
Compiled Code)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind.server.rmi.a2.fq(JAX, Compiled Code)
at com.evermind.server.rmi.a2.run(JAX, Compiled Code)
at com.evermind.util.b.run(JAX, Compiled Code)
And clients:
Client one:
java.rmi.RemoteException: Transaction was rolled back: timed out
at com.evermind.server.rmi.a2.invokeMethod(JAX, Compiled Code)
at com.evermind.server.rmi.au.invoke(JAX)
at Proxy4.findByName(Unknown Source)
at com.citysearch.ejb.Entity.EntityClient.main(EntityClient.java,
Comp
Client two:
javax.transaction.TransactionRolledbackException:
java.lang.NullPointerException
at com.evermind.server.rmi.a2.invokeMethod(JAX, Compiled Code)
at com.evermind.server.rmi.au.invoke(JAX, Compiled Code)
at Proxy4.findByName(Unknown Source)
at com.citysearch.ejb.Entity.EntityClient.main(EntityClient.java,
Compiled Code)
Should I be able to execute two stateless session beans from different
clients at the same time?
Thanks.
-AP_