cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE

Former Member
0 Kudos

I am trying to run a jsp in WAS640 and it is giving the following error.

<%@page import="com.sap.mw.jco.*"%>

<%

JCO.Client mConnection=null;

JCO.Repository mRepository=null;

JCO.Function function = null;

JCO.Table codes = null;

try{

// Change the logon information to your own system/user

String[][] login_params = {

{"client","xxx"},

{"user","xxxx"},

{"passwd","xx"},

{"lang","xx"},

{"ashost" ,"xxxxx"},

{"sysnr " ,"xx"}

};

mConnection = JCO.createClient(login_params);

mConnection.connect();

//JCO.Attributes info = mConnection.getAttributes();

//out.println(info.getClient());

mRepository = new JCO.Repository("ARAsoft", mConnection);

try{

out.println("ok");

//IFunctionTemplate ft = mRepository.getFunctionTemplate("ZSD_RFC_PO2SO");

}catch(Exception ef){

out.println(ef.toString());

}

}catch(Exception ex){

out.println(ex.toString());

}finally{

if(mConnection !=null){

try{

mConnection.disconnect();

}catch(Exception ex){

out.println(ex.toString());

}

}

}

%>

it gives the following error. Please help.

com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Could not instantiate converter: Could not initialize SAPByteToCharConverter for codepage 6200.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

@Dilip R

THANKS(in upper case)

Former Member
0 Kudos

version 2.1.5 JCo does not automatically convert passwords to uppercase so you need to explicitely give the password in Uppercase because kernal version 6.4 expect the password in Uppercase

Former Member
0 Kudos

THANKS, you solved my problem, too!

We went through a patch level upgrade of SAP XI from level 10 to 16.

All our RFC connections broke due to this "nice" feature of the new version of the Java Connector.

SAP support should be reading your posts ... they worked on this problem for more than a week now!

Former Member
0 Kudos

Hi Marc, want to ask what's your problem actually?

I got the SAPByteToCharConverter for codepage 6200 too, in Integration Builder:Design and import then RFC objects, when I input the logon data, it gives the byte converter error. I have created a user/passw with CAPS only, but still got the same error, any clue?

THank you first, Kelvin

Mint
Explorer
0 Kudos

I've similar problem as I use JCo version 2.1.5. It seems there is a little conversion problem (see notes 817880)in the user Id and user password. In R/3, I create a new user with password in large CAPS. Then, the problem is solved.