This code is bombing on me on the last line below. CF errors out with
no actual error message. Everything is fine up to the point I try and
get the output stream. The methods are correctly being executed and
doing what they are supposed to do...
Stack trace starts like this:
java.lang.IllegalAccessException
at java.lang.reflect.Method.invoke(Native Method)
<cfset command = "#GetDirectoryFromPath(GetTemplatePath())#test.bat">
<cfset runtime = createObject("java", "java.lang.Runtime")>
<cfset process_runtime = runtime.getRuntime()>
<cfset process_exec = process_runtime.exec(command)>
<cfset process_result = process_exec.getInputStream()>
Anyone know why this may be happening?
--
jon
mailto:[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community.
http://www.fusionauthority.com/ads.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4