Bugs item #867506, was opened at 2003-12-30 12:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=867506&group_id=22866
Category: JBossMQ
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Srivatsan (srivatsanp)
Assigned to: Nobody/Anonymous (nobody)
Summary: Invalid Transaction Id
Initial Comment:
When multiple threads tries to publish messages, it
results in Invalid Transaction Id.
This occurs when JmsXA is used for creating the
connection, session.
Each thread has its own connection, session, publisher
(These are not present as instance variables)
Scenario:
Tx.begin
loop begin
call a session bean's method
The bean:
looks up JmsXA,
creates a TopicConnection, TopicSession
(transacted=true),
publishes a message,
closes the Session, Connection
loop end
Tx.commit
Create 'n' threads and do the above.
Please refer the attached log for the trace.
When I analyzed, it seems that when session.close() is
called and before tx.commit() is called, the same
SpySession object is returned to some other Thread.
The attached zip contains the server.log, sources and
archives used for Testing.
First deploy publisher.jar
Then deploy service1.sar
JBoss version I am using is 3.2.1
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=867506&group_id=22866
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development