Hi Cesar,

This is due to a bug in the JRun 3.0 JMS implementation.  It's fixed in JRun
3.1.  Basically, the connector from Ejipt to the JMS impl times out after 15
minutes or something.  This is because the connector is a session bean that
times out like any other session bean.

I would recommend upgrading to JRun 3.1.  It's a free upgrade, and you'll
have tons of bug fixes plus full J2EE compatibility.

Scott S.

> -----Original Message-----
> From: C�sar �lvarez N��ez [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 24, 2001 12:18 PM
> To: JRun-Talk
> Subject: URGENT: Abnormal
> javax.transaction.InvalidTransactionException
> using JMS
>
>
> Hello,
>
> We are testing the JRun JMS implementation with a simple class which
> sends one text messages per second to a queue.
> However, after 120000 ms. (approximately) an
> InvalidTransactionException
> is thrown.
>
> That's annoying due to the simplicity of the test (the class
> is attached
> on a zip file).
>
> What's wrong on the code? At the end of the week we should
> release a new
> version of our product, but we are blocked with the mentioned problem.
>
> Any help would be appreciated?
>
> Regards,
>     C�sar.
>
> ---
> Exception: [17:51:09] java.lang.IllegalStateException: Invalid or
> expired transaction
> java.lang.IllegalStateException: Invalid or expired transaction
> at
> allaire.ejipt._jta._Transaction.registerSynchronization(_Trans
action.java:200)
>
> at allaire.ejipt._SessionContext._register(_SessionContext.java:68)
> at allaire.ejipt._SessionObject._invoke(_SessionObject.java:179)
> at allaire.ejipt._CallableObject.call(_CallableObject.java:101)
> at java.lang.reflect.Method.invoke(Native Method)
> at
> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java
> (Compiled
> Code))
> at sun.rmi.transport.Transport$1.run(Transport.java:155)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Transport.java:152)
> at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport
> .java:462)
>
> at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTr
> ansport.java:662)
>
> at java.lang.Thread.run(Thread.java:498)
> ---
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to