How can I get a ColdFusion instance name (e.g. cfusion) in ColdFusion 10 ?
Pre-10 you can do this using jrun java object:
<cfobject action="create" type="java" class="jrunx.kernel.JRun" name="jr"> #jr.getServerName()#
But since Jrun has been replaced by Tomcat, I need to find a new way to get the instance name.
I know that this can be done using the admin api, but this does not work for me due to security issues.
source share