Developing Apama Applications > Using Apama Studio > Debugging JMon Applications > Example debug session > Debug example of starting correlator and injecting application
Debug example of starting correlator and injecting application
Start a local correlator with remote debugging enabled. For example, if you specify port 8787, the command line looks like this:
correlator -l license.txt -j -J
-agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n
Inject the JAR into the running correlator. For example:
engine_inject –j simple-jmon.jar
You are ready to start an Apama Studio debug session.
Copyright © Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its Subsidiaries and or/its Affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.