Bugs item #639064, was opened at 2002-11-15 19:47
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=639064&group_id=22866

Category: JBossMQ
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Yossarian Nosscire (yosarian1)
>Assigned to: Adrian Brock (ejort)
Summary: MDB Bean Stops Delivering messages

Initial Comment:
MDB Connected to a Queue after processing some messages 
(always different amount) stops delivering messages waiting in 
the queue.

Windows 2000
Jboss 3.0.3
JDK 
1.4
MQSeries 5.0

1. Created (and tested) JMS 
Elements for MQSeries
2. Created/Deployed MDB 
3  MDB 
Starts Processing
4  After a while JBoss don't trigger the 
onMessage method even the messages are waiting in the 
Queue


-No Exceptions thrown
-All the onMessage 
methods finish processing
-Messages can't be deleted from 
the queue. Queue explorer utility says "objects are open"
-
processed messages amount can be increased by
  a., 
increasing MDB Pool
  b., decreasing onMessage () method 
complexity (decreasing message process time)
-error is 
transaction insensitive 

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

Comment By: Adrian Brock (ejort)
Date: 2003-03-19 23:28

Message:
Logged In: YES 
user_id=9459

Can you try this with 3.0.7 available from CVS.
There have been a number problems fixed in JBossMQ
since 3.0.3

Regards,
Adrian

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

Comment By: Victor Fomin (aviced)
Date: 2002-12-10 09:57

Message:
Logged In: YES 
user_id=666049

I have the same problem.

My code is:
public void onMessage(Message message) {
        try {
                ObjectMessage om = (ObjectMessage)
message;
            Debug.println("Receiving a message:" + 
action.getClass().getName());
            Debug.println("Message processed:" + 
action.toString());
            }
            
        } catch(Throwable t) {
            Debug.err(t);
        }
    }
Here is the log:
2002-12-10 10:34:27,911 INFO  [CIS] Message 
processed:com.openteach.enterprise.erp.util.Action_BKI
[EMAIL PROTECTED]
2002-12-10 10:34:27,913 ERROR 
[org.jboss.jms.asf.StdServerSession] failed to 
commit/rollback
javax.transaction.xa.XAException
        at org.jboss.mq.SpyXAResource.commit
(Ljavax.transaction.xa.Xid;Z)V(Unknown Source)
        at 
org.jboss.jms.asf.StdServerSession.onMessage
(Ljavax.jms.Message;)V(Unknown Source)
        at 
org.jboss.mq.SpyMessageConsumer.sessionConsumerPr
ocessMessage(Lorg.jboss.mq.SpyMessage;)V(Unknown 
Source)
        at 
org.jboss.mq.SpyMessageConsumer.addMessage
(Lorg.jboss.mq.SpyMessage;)V(Unknown Source)
        at org.jboss.mq.SpySession.run()V(Unknown 
Source)
        at org.jboss.jms.asf.StdServerSession.run()V
(Unknown Source)
        at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worke
r.run()V(Unknown Source)
        at java.lang.Thread.run()V(Unknown Source)
        at java.lang.Thread.startThreadFromVM
(Ljava.lang.Thread;)V(Unknown Source)



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

Comment By: Yossarian Nosscire (yosarian1)
Date: 2002-11-18 08:43

Message:
Logged In: YES 
user_id=649797

One more thing:
- If I restart the JBoss some more messages will be 
automaticaly processed (about the same amount) and then processing 
stops again.

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to