on 05-11-2007 6:42 AM
com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Incomplete logon data.
Why I am getting this error??(when trying to connect to sap through java)
there are no certificates nothing in between... just username and passord...
applciation server router string, client and system number were also give properly... is there anything else required??
I am able to connect through SAP Logon with same details.
Please help.
Nag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nagarjuna,
You can paste the conection properties?.
try {
// Change the logon information to your own system/user
mConnection =
JCO.createClient("001", // SAP client
"<userid>", // userid
"****", // password
null, // language
"<hostname>", // application server host name
"00"); // system number
mConnection.connect();
mRepository = new JCO.Repository("ARAsoft", mConnection);
}
You need use server router string or simple server hostname??.
if you need use route string conection, concatenate router string with hostname:
try {
// Change the logon information to your own system/user
mConnection =
JCO.createClient("001", // SAP client
"<userid>", // userid
"****", // password
null, // language
"<router string><hostname>", // application server host name
"00"); // system number
mConnection.connect();
mRepository = new JCO.Repository("ARAsoft", mConnection);
}
get us more details pls,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the response pals
Let me make it clear.
I got a third party tool which uses JCo to connect to SAP(with my own JCO code I am able to connect without any issues). Now I am using this tool to connect to SAP. I gave the same details which I gave on SAP logon.
Same username,
password,
routerstring+hostname,(application server)
systemid and
client id.
And these details are enough to login right!
The only anomoly from my normal approach is that I copied the requried dlls to a folder specified by the tool's documentation rather than copying them to system32 folder.
I would have asked them(third party tool vendor) for help, but they want me to pay extra money for support/training.
Thats y I am confused. If this problem is reproduced with somone by using only JCO, I can relate my scenario with them and resolve the issue.
Hi Nagarjuna,
The problem got clear now. The reason why you get such errors is due to
Authorization failures during the logon phase usually caused by unknown username, wrong password, invalid certificates, etc.
The proposed solution is to
Get the logon data from the JAVA application or JCo trace that you get it always analyse it for correct logon details and use them...else
paste your Jco logs..I could analyse it..
Hope that resolves your doubts
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
O.k Some times it happens like that.
any how check this thread...it refers to the same problem and observer the solution given there
/thread/11305 [original link is broken]
hope that resolves
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.