|
Mailing Lists
|
Home / Groups / ColdFusion Talk (CF-Talk)
JRun/CFusion System PropertiesHere's a very easy way to see and set your Java system properties <cfscript> sys = createobject("java", "java.lang.System"); // Set a system property sys.setProperty('myProperty', 'myPropertyValue'); // Assign local variable to properties structure props = sys.properties; </cfscript> <!--- Dump all properties ---> <cfdump var="#props#"> Steve "The Boss" Brownlee http://www.orbwave.com/cfjboss The jvm.config file sets some java system properties. How can I see what the values of all system properties are when the JRun startups up? There also appears to be a system property called application.home. Where is this set? Can I set my own system properties? I am starting the JRun server from an Windows XP command window. -- Thanks, Troy |
June 18, 2013
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||