Skip to Content
Former Member
May 16, 2005 at 02:29 PM

connection problem



I'm having a problem and I hope you can help me. I have two web interfaces that log into a SAP server to do some work. They used to be working fine, but suddenly they stopped working. What happens is, when I try to connect, as soon as I set up my mConnection object (Client object) anywhere I try to use this object it won't work... it simply jumps to the jsp where it was called from. This is what happens:


mConnection =

JCO.createClient("400", // SAP client

"*****", // userid

"*****", // password

"", // language

"*****", // application server host name

"02"); // system number

a = a + "testing output";

a = a + mConnection.getAttributes().getHost();

a = a + "after using";


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


it goes through the mConnection setup... when I ask to output a, it outputs:

testing output

it doesn't output anything else... not the Host, neither the after using... so obviously it doesnt even connect into the server nor it sets up the repository.

Any ideas as to what might have happened? Again, this was working fine... it suddenly stopped working!