on 04-21-2005 10:51 AM
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.
@Dilip R
THANKS(in upper case)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.