cancel
Showing results for 
Search instead for 
Did you mean: 

JCO_ERROR_RESOURCE : Invalid connection encountered

former_member201054
Contributor
0 Kudos

Hi,

Got the below error while opening a workitem

An error has occured

Invalid connection encountered

default trace

Full Message text

Invalid connection encountered

[EXCEPTION]

com.sap.mw.jco.JCO$Exception : (106) JCO_ERROR_RESOURCE : Invalid connection encountered

at.com.sap.mw.jco.JCO$Repository.getRepositoryClient(JCO.java:20544)

at.com.sap.mw.jco.JCO$Repository.queryFunctionInterface(JCO.java:20598)

Not found any issues with JCO connection and system connection test

How to resolve this error

Queries:how to switch on jco trace and deactivate it later

how to ensure/check jco pool connection is exhausted

please need your guidance

Thanks a ton

Accepted Solutions (1)

Accepted Solutions (1)

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear daniel,

Hope you are doing good.

How to switch on jco trace and deactivate it later:

Check note: 628962 - How to switch on the SAP JCo trace

The JCo error "JCO_ERROR_RESOURCE: Invalid connection encountered" means that something is wrong with the configuration of the RFC destination JCORFC. Could you please check the following.

1) Does the user which you defined for the Repository of the destination JCORFC has the authorization as described in note 460089? If this is not the case, please use a user with the according authorization.

2) Is the ABAP system a Unicode system? If this is the case, please select the Unicode flag for the destination in sm59 and in the JCo RFC Provider Service.

3) Increase the connection parameters in the WD content admin screens for the JCo and then check.

Thank you and have a nice day :).

_____________

Kind Regards,

Hemanth

SAP AGS

Answers (0)