I am running Coldfusion Server 9.01 Professional 32 bit version on a Windows 2008R2 server.
A few times a day the Coldfusion Server will crash upon trying to access a webpage. There is no particular page that seems to cause the crash, although I am using the CFWheels framework.
The event log shows:
Application Error
Faulting application name: jrun.exe, version: 4.0.7.43259, time stamp: 0x4a98c922
Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec49b8f
Exception code: 0xc0000005
Fault offset: 0x00038dc9
Faulting process id: 0x158c
Faulting application start time: 0x01cd32cf63092070
Faulting application path: C:\ColdFusion9\runtime\bin\jrun.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: 24cc34e0-9ec8-11e1-8872-069b289e9fe7
Windows Error
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: jrun.exe
P2: 4.0.7.43259
P3: 4a98c922
P4: ntdll.dll
P5: 6.1.7601.17725
P6: 4ec49b8f
P7: c0000005
P8: 00038dc9
P9:
P10:
Attached files:
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_jrun.exe_a62 ee8217a354cdaa17f149f517bab8292a17f_20739c5f
Analysis symbol:
Rechecking for solution: 0
Report Id: 24cc34e0-9ec8-11e1-8872-069b289e9fe7
Report Status: 4
Where do I start looking for a reason for this crash? Is there a particular log file or debugging tool that would be helpful?
Thank you,
--Scott
Check ColdFusion9\runtime\logs\ coldfusion-event.log and coldfusion-out.log for errors warnings. That would be Jrun4\logs in case of multi-server install.
That is a little odd CF9 32 bit on Win 08 r2 which is 64 bit. Perhaps you have configured JVM parameters with too much maximum memory when CF9 / Java 32 bit can only address about 1.4Gb total?
Lastly Scott any reason not to run CF9 64 bit?
HTH, Carl.
Thank you, Carl. I'm running the 32 bit version because there is a COM object that I need to access, and 64 bit does not support COM...
I've looked at the coldfusion-out.log and it seems that the crash is happening silently directly after an outbound server side http request. It doesn't happen all the time, just sometimes, and it seems like maybe it is happening after a long period of low activity (like overnight).
Here is the code that makes the call... Let me know if you see anything obvious here...
httpService = new http();
httpService.setMethod("get");
httpService.setCharset("utf-8");
httpService.setTimeout(30);
httpService.setUrl("http://localhost:" & (location.vpnport + 2000) & "/datasnap/rest/tservermethods1/getreport/" & reportType & "/" & fromDate & "/" & toDate);
try {
response = httpService.send().getPrefix();
cfData=DeserializeJSON(response.Filecontent);
if (!isDefined("cfdata.error")) {
renderText("<!--Report-->" & cfdata.result[1]);
} else {
renderText("<!--Report-->" & cfdata.error);
}
}
catch (any excpt) {
renderText("<!--Report-->Connection timed out. Check that your MyPointOS service is running.");
}
Thanks again for your help!
--Scott
North America
Europe, Middle East and Africa
Asia Pacific