2. Start Your Java Application
- Start your Java application with JRockit.
- If you are running JRockit 1.5 and later and only want to monitor your application locally, you do not need to do anything else. It will be automatically discovered by JRockit Mission Control.
- If you want to enable your application for remote monitoring, you need to add the -Xmanagement option to the command line. SSL and authentication will be enabled by default. If you do not wish to set up certificates ssl and authentication can be disabled by providing
ssl=false and authenticate=false. Also, if you want to use the remote discovery feature of JRockit, you can enable it by setting autodiscovery=true, for example, -Xmanagement:ssl=false,authenticate=false,autodiscovery=true
- Start your Java application and make sure it is running with a load. This way you get the best possible data collected for the JRA recording.