cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect to a JCO on the app server using a java client program

Former Member
0 Kudos

Hello,

I would like to connect to the Java Application server and use one of it's JCOs using an independent java client application, meaning not through a J2EE web application that is sitting on the app server and using it's context.

Can anyone please help with some code examples?

Roy

Accepted Solutions (0)

Answers (1)

Answers (1)

Vlado
Advisor
Advisor
0 Kudos

Hi Roy,

Have you already checked [this|http://help.sap.com/saphelp_nw04/helpdata/en/35/42e13d82fcfb34e10000000a114084/frameset.htm]?

HTH!

\-- Vladimir

Former Member
0 Kudos

Hi Vladimir,

Yes it helps thank you.

I've started implementing the JCO code according to this document but I'm failing at the mConnection.connect() stage.

The error I am getting is: "Name or password is incorrect (repeat logon)" which is strange because I tried few valid user names and passwords and I made sure that they are correct (case sensitive). I can even login with them to the back end. Any ideas?

Roy

Former Member
0 Kudos

Hi Roy,

try uppercased login and password

@see:

hth, jens

Former Member
0 Kudos

Hi Jens,

Thanks, tried that already, doesn't help...

Roy

Former Member
0 Kudos

Hello,

Problem solved -I've used the wrong client number by mistake.

Roy