Open arinban opened 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
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
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.
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.
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
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
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
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]