Hi all!!!
I created a test application to see how the container deal in the occasion
of a great number of clients. I have a session bean that simply creates a
random number of beans and finds them.
It seems that something goes wrong when I put more than 3 threads running at
the same time. When I put 2 threads accessing the container everything works
nice.
I presume it is a problem with transactions, because this error appears
after a transaction commit.
Does anyone knows why this is happening???
Thanks in advance,
Eduardo Leite
[EMAIL PROTECTED]
The container logs this error:
[StressSession] ***** assert failed *****
[StressSession] java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Unknown Source)
at
org.jboss.util.timeout.TimeoutFactory.assert(TimeoutFactory.java:64)
at
org.jboss.util.timeout.TimeoutFactory.removeNode(TimeoutFactory.java:
113)
at
org.jboss.util.timeout.TimeoutFactory.dropTimeout(TimeoutFactory.java
:170)
at
org.jboss.util.timeout.TimeoutFactory.cancelTimeout(TimeoutFactory.ja
va:199)
at
org.jboss.util.timeout.TimeoutFactory.access$2(TimeoutFactory.java:19
3)
at
org.jboss.util.timeout.TimeoutFactory$TimeoutImpl.cancel(TimeoutFacto
ry.java:40)
at org.jboss.tm.TxCapsule.cancelTimeout(TxCapsule.java:628)
at org.jboss.tm.TxCapsule.commit(TxCapsule.java:258)
at org.jboss.tm.TxManager.commit(TxManager.java:212)
at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:84)
at
org.jboss.ejb.plugins.TxInterceptor.runWithTransactions(TxInterceptor
.java:249)
at org.jboss.ejb.plugins.TxInterceptor.invoke(TxInterceptor.java:96)
at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
java:140)
at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:156)
at
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContai
ner.java:264)
at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPCon
tainerInvoker.java:202)
at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPCon
tainerInvoker.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
Sour
ce)
at java.lang.Thread.run(Unknown Source)
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]