arindam-bandyopadhyay / issue-test-new

0 stars 0 forks source link

[CLOSED] Appclient applications fail with messge: Reason : [C4052]: Client ID is already in use #3

Open arinban opened 6 years ago

arinban commented 6 years ago

Issue by arinban Thursday Feb 01, 2018 at 20:20 GMT Originally opened as https://github.com/arindam-bandyopadhyay/issue-test/issues/3


We have a test application that use a connection factory with a configfured clientID. Both server side component (ejb and web components) and appclient use this connection factory. The test application , however, makes sure that no two connections are open at the same time in either of the components.

However when the test application is executed multiple times for few minutes, it fails eventually throwing the following exception message.

Error in allocating a connection. Cause: [C4052]: Client ID is already in use

The exception happens only in the appclient component.

Environment

Operating System: All Platform: All

Affected Versions

[0.9]

arinban commented 6 years ago

Comment by arinban Thursday Feb 01, 2018 at 20:20 GMT


Original Issue:https://github.com/javaee/glassfish-genericjmsra/issues/3 Raised By:@glassfishrobot Created at:Thu May 05 16:12:06 IST 2005 Assigned To:@glassfishrobot

arinban commented 6 years ago

Comment by arinban Thursday Feb 01, 2018 at 20:20 GMT


@glassfishrobot Commented on Thu May 05 16:12:06 IST 2005 Reported by binod

arinban commented 6 years ago

Comment by arinban Thursday Feb 01, 2018 at 20:20 GMT


@glassfishrobot Commented on Thu May 05 16:16:23 IST 2005 binod said: The max-pool-size of the connection pool involved is just 1 and each connection obtained from the pool that has a clientID set on it will be destroyed as soon as application closes the connection. Thus pool does not keep a connection with a clientID set on it.

However the resizer thread of connection pool gets activated after some time (as per pool config) and that causes a connection in the pool to have use a clientID. Subsequently in appclient when a connection is obtained , a connection will be created there also with same clientID causing the exception.

arinban commented 6 years ago

Comment by arinban Thursday Feb 01, 2018 at 20:20 GMT


@glassfishrobot Commented on Thu May 05 16:28:11 IST 2005 binod said: Modified RA to set clientID on the underlying physical connection, only when it is accessed for the first time. Thus even if the resizer thread creates the ManagedConnection, connection will not have clientID set on it. Effectively allowing appclient to use the clientID.

arinban commented 6 years ago

Comment by arinban Thursday Feb 01, 2018 at 20:20 GMT


@glassfishrobot Commented on Fri Oct 14 06:24:24 IST 2005 binod said: Adding fixed1.0 keyword

arinban commented 6 years ago

Comment by arinban Thursday Feb 01, 2018 at 20:21 GMT


@glassfishrobot Commented on Thu May 05 16:12:06 IST 2005 Was assigned to binod

arinban commented 6 years ago

Comment by arinban Thursday Feb 01, 2018 at 20:21 GMT


@glassfishrobot Commented on Mon Apr 24 13:01:05 IST 2017 This issue was imported from java.net JIRA GENERICJMSRA-3

arinban commented 6 years ago

Comment by arinban Thursday Feb 01, 2018 at 20:21 GMT


@glassfishrobot Commented on Mon Sep 06 08:51:08 IST 2010 Marked as fixed on Sunday, September 5th 2010, 8:21:08 pm

arinban commented 6 years ago

Comment by arinban Thursday Feb 01, 2018 at 20:21 GMT


@glassfishrobot Closed the issue on Mon Sep 06 08:51:08 IST 2010