Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

JT400 Proxy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • JT400 Proxy

    I've started the Java Toolbox Proxy server from a command line, based on the IBM documentation. Can't find how to end it, at least elegantly. I see a stop method in the Javadocs, but using a program to create an instance of ProxyServer and call that doesn't work, since I guess that instance isn't running.. Easy enough to end the job, but I'd like to know how to handle it properly. Tomcat has a way to be told to stop. Do I have to write a program which creates an instance of ProxyServer, then spawn a thread, passing a reference to the instance, then start the server, while the thread waits for something like a data queue to be told to invoke the stop method? Thanks for any info.
Working...
X