cancel
Showing results for 
Search instead for 
Did you mean: 

Stopping JCO.Server

Former Member
0 Kudos

Hello everybody, I have just implemented a JCO.Server and I am able to start it without any problems. I am asking myself how can I stop the JCO.Server. There is a stop method but I am sure how to apply it, when the JCO.Server runs.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Torsten

Welcome to SDN !!!

1. Use the method : <b>public void stop()</b>

Class: <b>com.sap.mw.jco.JCO.Server</b>

Description: Forces the server and its underlying thread to stop execution. The server can not be restarted after this method has been called. To temporarily stop a server use suspend() instead.

2. Use the method: <b>public void suspend()</b>

Class: <b>com.sap.mw.jco.JCO.Server</b>

Description: Forces the server to temporarily stop execution. The server can be restarted using the start() method.

Thanks

Jack

<b>Allot points if my post helps!!!</b>

Message was edited by: Jack

Answers (1)

Answers (1)

Former Member
0 Kudos