Getting JConsole to work with the ColdFusion Windows Service

You’ll need to add these parameters to the CF JVM startup parameters – you can do this through the CF Admin -> Java & JVM section:

These should all appear on the same line with spaces in between them. Use any free port.

You can find out what ports are free by running netstat -an | more from the command line.

Once you have restarted ColdFusion, then use go to the JDK bin directory and run jconsole localhost:9500 and you’re sucking diesel.

Note that caveat that these settings will make your server more vulnerable so be sure to remove them once you are done monitoring.

Thanks to Dan’s Blog for this one.

This entry was posted in regular and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s