How do you get the console output from a Java Gateway service?

In an Ensemble 2016.2 production, I put a JavaGateway service. How do you get the console output?

I set the JVM service as Foreground but I don't see any output from Java.

Thanks,

Blaise

  • 0
  • 0
  • 197
  • 0
  • 1

Answers

You can specify Logfile setting for logging and these settings for debug:

  • JavaDebug: Allow a Java debugger (such as Eclipse or JSwat) to attach. If True, enables Java debugging via TCP. The default is False.
  • JavaDebugPort: Specify the port on which to listen. The default is 8000.
  • JavaDebugSuspend: If Yes, suspend the JVM on start to wait for the debugger to attach. The default is No.

Documentation.