Bugs item #784343, was opened at 2003-08-06 19:15
Message generated for change (Comment added) made by wolfftw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=784343&group_id=22866

Category: JBossMQ
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Todd Wolff (wolfftw)
Assigned to: Adrian Brock (ejort)
Summary: Invalid msgType Concurrency Bug?

Initial Comment:
Using 3.2.2RC3 Jetty Build, 1.4.2jdk on Windows XP Pro 
SP1 the attached test case causes an intermittent 
IllegalArgumentException: Invalid msgType error, when 
using the UIL2ConnectionFactory.

When using the jvm IL (java:/ConnectionFactory), the 
process simply hangs after a few thousand messages, 
with no error messages.  It may take a few attempts to 
get it to hang, and the machine should be relatively fast 
(roughly 100 messages per second) to duplicate the 
problem.

The sessions are all non-transacted, the messages are 
non_persistent and do not expire.  I don't believe I've 
broken any design idioms within the test case, but if so, 
please email me with the problem.  I've spent several 
days trying to solve this one.

See readme.txt in attached test case for test execution 
instructions.  Thanks and let me know if you need 
anything else.

[EMAIL PROTECTED]

----------------------------------------------------------------------

>Comment By: Todd Wolff (wolfftw)
Date: 2003-08-07 13:42

Message:
Logged In: YES 
user_id=839156

I get two different errors when using UIL2.  Here's the first 
trace.  BTW, it fails everytime unlike the jvm IL.

----------------------------------------------------------------------

Comment By: Todd Wolff (wolfftw)
Date: 2003-08-07 13:39

Message:
Logged In: YES 
user_id=839156

Here's the thread dump using the jvm il following the hang.  
BTW, I'm not using a multiprocessor machine.  What I meant 
by multithreaded was multiple httpclient threads, multiple 
queue receivers listening on the same queue, multiple queue 
senders ...

I had to run at least six times sending 3000 messages each 
time to get it to hang.  My machine is a Pentium M, 1.3 ghz.  
It processes the 3000 messages in .489 minutes.

I will follow-up with the UIL2 trace.

----------------------------------------------------------------------

Comment By: Adrian Brock (ejort)
Date: 2003-08-07 09:19

Message:
Logged In: YES 
user_id=9459

I've tried to get your testcase to crash but it is not happening
for me. Probably because I don't have a multi-processor machine.

When it hangs using the jvm IL, take a threaddump using
ctrl-break
and post the results.
Alternatively, set TRACE logging for org.jboss.mq while running
with UIL2 and post the log snippet for the last couple of
minutes before
you get the IllegalArgumentException

Regards,
Adrian


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=784343&group_id=22866


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to