My Oracle Support Banner

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 JUNE 20, 2024

Applies to:

Oracle GlassFish Server - Version 3.1.2 and later
Information in this document applies to any platform.

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:

 

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.