on 11-21-2006 10:53 AM
I have configured JRA with connection pool, having max pool size =10 and time to wait for connection as 120. My application fails at times giving the following error in defaultTrace.
<i>Cannot get connection for 60 seconds.
Possible reasons: 1) Connections are cached within SystemThread(can be any server service or any code invoked within SystemThread in the SAP J2EE Engine),
2) The pool size of adapter "XIConnFactory" is not enough according to the current load of the system or
3) The specified time to wait for connection is not enough according to the pool size and current load of the system.
In case 1) the solution is to check for cached connections using the Connector Service list-conns command,
in case 2) to increase the size of the pool and
in case 3) to increase the time to wait for connection property.
In case of application thread, there is an automatic mechanism which detects unclosed connections and unfinished transactions.</i>
my client code takes care of releasing the resources in the finally block and explicitely closes the <u>Interaction</u> and <i>Connection</i> references. What could be wrong ?
Are you sure the logon information is correct. Of course you are aware that it is now case sensitive.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.