Developing Apama Applications > Using Apama Studio > Debugging Apama Java 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 © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.