This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes MDB2.0 stoped listing to WebSphere Queue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "MDB2.0 stoped listing to WebSphere Queue" Watch "MDB2.0 stoped listing to WebSphere Queue" New topic

MDB2.0 stoped listing to WebSphere Queue

Vivek Mathur

Joined: Jun 29, 2007
Posts: 25
Hi All,

I am writing a asynchronous listener to WebSphere MQ server (Queue) from Jboss AS4.0(Actually a modified version called as SIAS server by GE). Trying to implement it using MDB (EJB spec2.0). This listener should only pick the data (xml format) from queue, parse it and dump it in Oracle DB.

I am able to receive message from Queue. however i am facing two issues.

1. When Jboss server starts, it starts giving exceptions: [JMS provider failed to connect: Retrying ....... javax.naming.exception ......... wsmq not bound]
and when the whole server gets up and running and the application is deployed, JMS Provider gets connected and MDB starts getting instantiated and receiving Messages from queue.

2. When there is no message on the queue for long time say more than an hour or two, and now after 2 hr. if you put some message on the queue, MDB stops receiving messages.

I have also not seen any traces of EJBRemove() being called, yet it stops receiving messages.

Can Any one please guide me.

Thanks for the help in advance.

Vivek Mathur

Vivek Mathur

Joined: Jun 29, 2007
Posts: 25

Can anyone help.

Vivek Mathur
ravikanth reddy
Ranch Hand

Joined: Aug 18, 2009
Posts: 46
I have similar issue with TibcoEMS and JBOSS still not resolved.

Can you check is your jboss.xml having below attributes

Ravikanth Malyala
I agree. Here's the link:
subject: MDB2.0 stoped listing to WebSphere Queue
jQuery in Action, 3rd edition