Skip to Content
Former Member
Jan 23, 2006 at 08:22 AM

JCO Connection on EP6


Hi EP6 experts,

I've got a problem to migrate a devlopped JSPDynPage iView from EP5 to EP6.

I 've changed some code (due to deprecated methods) but my iView doesn't work. I've a "$Exception: (103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect. Please re-enter ".

The code where it happens:


JCO.Client client = null;

IJCOClientService clientService = null;

try {

// get a client service, get a connection to the R/3 system

clientService = (IJCOClientService)PortalRuntime.getRuntimeResources().getService(IJCOClientService.KEY);

// the name of the SAP Syetem may be obtained by the ILandscape code or code manually.

IPortalComponentProfile profile = request.getComponentContext().getProfile();

String machineSAP = profile.getProperty("ConnectionSAP");

//the error happens here

IJCOClientPoolEntry jcoPoolEntry = clientService.getJCOClientPoolEntry(machineSAP, request);

client = jcoPoolEntry.getJCOClient();


Please, if you have any clues, it will be great.

Thanks by advance

Best regards,