users@glassfish.java.net

[gf-users] Glassfish 4.0 b89 Durable Subscriptions

From: MUNDT, CHRISTOPHER J CTR USAF AFWA AFWA/SEMS RM 3250-25 <christopher.mundt.ctr_at_us.af.mil>
Date: Fri, 14 Nov 2014 16:58:08 +0000

To GF Guru's,

I am running GF 4.0b89 in a cluster with 2 instances. I am trying to setup a Durable Subscription that previously worked under GF 2.1.1.

In my connection factory I have the following Additional Properties set:

useSharedSubscriptionInClusteredContainer true
ClientId my-client-id

Under GF 2.1.1 we used the following settings but the setter functions are not available in GF 4:
DurableSubscriberName
DurableSubscriptionName
SubscriptionDurable


I removed these 3 properties that don't have setters but when my app runs in GF 4, I am getting the following 2 errors:


[2014-11-14T16:50:24.342+0000] [glassfish 4.0] [WARNING] [poolmgr.get_connection_failure] [javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors] [tid: _ThreadID=175 _ThreadName=cdfsiiEventJmsContainer-5] [timeMillis: 1415983824342] [levelValue: 900] [[
  RAR5117 : Failed to obtain/create connection from connection pool [ jms/CDFSIIDataNotificationDestinationFactory-Connection-Pool ]. Reason : com.sun.appserv.connectors.internal.api.PoolingException: MQRA:MC:InvalidClientIDException-[C4052]: Client ID is already in use - my-client-id user=myuser, broker=myhost:7677(65123)]]



Or



[2014-11-14T16:53:39.351+0000] [glassfish 4.0] [WARNING] [poolmgr.get_connection_failure] [javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors] [tid: _ThreadID=175 _ThreadName=cdfsiiEventJmsContainer-5] [timeMillis: 1415984019351] [levelValue: 900] [[
  RAR5117 : Failed to obtain/create connection from connection pool [ jms/CDFSIIDataNotificationDestinationFactory-Connection-Pool ]. Reason : com.sun.appserv.connectors.internal.api.PoolingException: In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections.]]


Is there something different in GF 4 that I need to have to enable durable subscriptions?

Thanks
Chris

//SIGNED//
 
Christopher J. Mundt, Contractor, HQ AFWA/SEMSII SEMS / NORTHROP GRUMMAN Web/App Server Administrator / Software Engineer
(402) 232-7823
DSN 272-7823
christopher.mundt.ctr_at_us.af.mil
 
J2EE AppAdmin Support Info:
J2EE.Admin_at_us.af.mil
Cell Phone: 402-680-2179