I have some ColdFusion code which calls a function in a Java class via:
<cfset object = CreateObject("java","org.prog.jar.Class")>
<cfset object.Method()>
If an error is thrown in the Java class it writes the error to the Java error stream:
System.err.println(e.getMessage());
Can someone tell me what happens to this stream in ColdFusion and whether it is written to a file or is accessible in any other way?
Thanks,
Tom
Default to
C:\ColdFusion9\runtime\logs\for single instance orC:\JRun4\logsfor multi instance.Check “Log Directory” in your CF Administrator.
I’m not sure, but I’d say it’s either in
application.logorexception.logor both.