users@glassfish.java.net

Re: JMS problem.

From: Sivakumar Thyagarajan <Sivakumar.Thyagarajan_at_Sun.COM>
Date: Thu, 17 May 2007 16:17:22 +0530

> I also have a web app that browses the queue. From the QueueBrowser, I
> am able to list all the messages in the queue.

Is this the RequestQueue? If yes, your MDB was able to publish response
messages to the RequestQueue. How does the receiver read the message from
the RequestQueue? Could you share sources of the receiver, ejb-jar.xml and
sun-ejb-jar.xml and server/broker logs if you notice any exceptions there.

Thanks
--Siva.

Daniel Cavalcanti wrote:
> I have an enterprise project and a client project to test the enterprise
> project.
>
> The enterprise project has two web services: one to send messages and
> one to receive messages.
> The send web service puts a message in a InitialDestination
> javax.jms.Destination.
> Then, a MDB receives that message and forwards/routes to a RequestQueue
> javax.jms.Queue.
> The receiver web service reads messages from the RequestQueue.
>
> From the client, everything works fine, except that the web service
> reading from the queue is not getting any message back.
> I also have a web app that browses the queue. From the QueueBrowser, I
> am able to list all the messages in the queue.
> Can someone point out to be what I'm doing wrong?
>
> I can share the code upon request outside the mailing list since the
> message won't get delivered if I attach the project...
>
> thanks,
> Daniel.