File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Durable Subscriber and Migratable Target Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Durable Subscriber and Migratable Target Issue" Watch "Durable Subscriber and Migratable Target Issue" New topic

Durable Subscriber and Migratable Target Issue

Saravanan Visu

Joined: Jun 06, 2011
Posts: 3

We have this configuration:

1) JMS Server configured and assigned to a Migratable managed Server1.
2) Persistent store configured and assigned to the JMS Server.
3) Durable Connection Factory created with Client ID and assigned to Migratable managed Server1.
4) Topic configured and assigned to Migratable managed Server1.
5) Weblogic Server 10.0

We have this setup which is working very well with our JMS Client code in our SIT environment.

But, when we have the same setup in our UAT environment, it doesn't work for below reasons:

1) The JMS client fails to consume messages.
2) The messsage is persisted in the WLSTORE database table.
3) We do NOT see this message when we go to Topic -> Monitoring -> Durable Subscribers -> Select the Subscriber and click Show Messages. The message won't show up in the Admin Console and hence not consumed by the JMS Client.

We have the same setup which works in SIT environment but not in UAT environment with the same code.

So, what we did is to change Durable Connection Factory target to "Default Targetting" which will be module's target which will be "All managed servers in the cluster".

When we did this setting, we get these errors:

1) PeerGoneException

In these kind of exception / error scenarios, the JMS client gets disconnected from the messaging channel and fails to consume messages. We need manual intervention to start the JMS client again.

Please throw some lights on what could be wrong between these two environments.

I agree. Here's the link:
subject: Durable Subscriber and Migratable Target Issue
It's not a secret anymore!