Skip to main content

error on reconnect for an MDB

6 replies [Last post]
marogl
Offline
Joined: 2009-01-19
Points: 0

Hello ,
I have an MDB listening on a MQ queue.
I need to disable the get on the queue for a while and the enable it.
On windows no problem doing it.
On Solaris the same project has an issue.
Sometime the reconnection of the MDB is stopped and the MDB is no more able to listen the messages from the queue when I re-enable the get.

Have you any ideas ?

Thanks a lot
Maria

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
marogl
Offline
Joined: 2009-01-19
Points: 0

The issue 24 of GRA was my problem .
I added the line "pool.getServerSession()" in the method onException at line 58
of Recconect Helper and this solved my issue.

Alex Sherwin

Can you link to the issue? I may be seeing something similar and I'd
like to see

glassfish@javadesktop.org wrote:
> The issue 24 of GRA was my problem .
> I added the line "pool.getServerSession()" in the method onException at line 58
> of Recconect Helper and this solved my issue.
> [Message sent by forum member 'marogl' (marogl)]
>
> http://forums.java.net/jive/thread.jspa?messageID=340717
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

marogl
Offline
Joined: 2009-01-19
Points: 0

Please find the link to the issue

https://genericjmsra.dev.java.net/issues/show_bug.cgi?id=24

Maria

rampsarathy
Offline
Joined: 2005-11-23
Points: 0

which JMS provider are you using, i noticed that you are using generic jms ra. Have you set loglevel to FINEST, could you attach the logs when the reconnect is not happening

marogl
Offline
Joined: 2009-01-19
Points: 0

Hello,
thanks for your reply.
Please find the error log as you required

Reconnected!!
Reconnecting now
Created non durable connection consumerqueue://MQ.SUN.TDRTEST/QLOC.PROVTDR002
Reconnecting now
Reconnecting now
Generic resource adapter started consumption
Reconnect attempt->0
Reconnect successful with pool->0
Reconnected!!
Released a total of 0 requests
Starting the message consumption
Created non durable connection consumerqueue://MQ.SUN.TDRTEST/QLOC.PROVTDR002
Generic resource adapter started consumption
Reconnect successful with pool->0
Reconnected!!

I am trying to disable the get on the MQ queue and then enable it.
After two ot three times the reconnection fails.

Thanks !!!
Maria

marogl
Offline
Joined: 2009-01-19
Points: 0

Hey,
are you able to reply me ?
Do you need more info ?

Thanks

Maria