Skip to Content
Former Member
May 06, 2004 at 05:17 PM

Intermittant Jco connection error



I am running a small application that we wrote recently

and this error happens every so often.

javax.resource.ResourceException: Couldn't create MappedRecord.$Exception: (106) JCO_ERROR_RESOURCE: Invalid connection encountered

Most of the time (90%) it works. Once the error happens

then I can no longer get a connection and must restart my server. I am using JRA, not Jco directly.

Here are some details:

1) I am not using J2C connection pooling, I open a new connection every time...and close it in a finally bloc.

2) JRA is the latest version.

3) JCO is 2.1.2

4) WebSphere 5.1.1 jdk 1.4

5) Windows 2k

Message was edited by: Mark Côté