Unable To Disable Shared Subscriptions In Oracle GlassFish Server By Setting The "useSharedSubscriptionInClusteredContainer" Property To "false" When Using JMS In A GlassFish Cluster (Doc ID 1459639.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle GlassFish Server - Version 3.1.2 and later
Information in this document applies to any platform.
***Checked for relevance on 24-Jan-2014***

Symptoms

GlassFish Message Queue Version 4.5.2 is  running in a GlassFish Server 3.1.2 cluster.  MQ is running as an Embedded Cluster.

The JMS resources were created using the following commands on GlassFish Server:

> asadmin create-jms-resource --restype javax.jms.ConnectionFactory --target cluster123 --property 'useSharedSubscriptionInClusteredContainer=false' jms/milexp/topic/EHCacheReplicationTopicFactory

> asadmin create-jms-resource --restype javax.jms.Topic --target cluster123 jms/milexp/topic/EHCacheReplicationTopic

The connection factory property "useSharedSubscriptionInClusteredContainer" is set to false to disable shared subscription.
( See http://docs.oracle.com/cd/E18930_01/html/821-2438/gjzpg.html#scrolltoc ).

However, the following exception is thrown in the GlassFish Server log when trying to create a JMS connection:

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms