cancel
Showing results for 
Search instead for 
Did you mean: 

Error with JRA

Former Member
0 Kudos

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 ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Are you sure the logon information is correct. Of course you are aware that it is now case sensitive.