cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

praveenkumar_kadi
Active Contributor
0 Kudos

Hi,

Check this Link for the same problem

/thread/11 [original link is broken]

from the error it shows that your logon data is not proper.

check your logon credentials when you created for SLD.

make sure with following link

Hope that helps

Former Member
0 Kudos

Thanks for the response Praveen.

threadID = 11 is not working(first link in your reply).

Can you suggest some other source please.

Answers (3)

Answers (3)

0 Kudos

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,

Former Member
0 Kudos

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.

Former Member
0 Kudos

Cool guys.. I got it

This third party tool which I am using is not storing password. It has got some round about way to store password(might be usability issue).

Thanks for ur time guyz..

Former Member
0 Kudos

What is the path to trace the log file?

I am getting the erorr SSO ticket is not authorized

praveenkumar_kadi
Active Contributor
0 Kudos

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

praveenkumar_kadi
Active Contributor
0 Kudos

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