';无法显示此页面';长时间运行的ColdFusion 9页面出错
我们在ColdFusion 9上运行了一个长时间运行的ColdFusion脚本,该脚本出现以下错误消息:';无法显示此页面';长时间运行的ColdFusion 9页面出错,coldfusion,coldfusion-9,server-error,Coldfusion,Coldfusion 9,Server Error,我们在ColdFusion 9上运行了一个长时间运行的ColdFusion脚本,该脚本出现以下错误消息: This page cannot be displayed Internal system error while processing the request for this page (http:///www.example.com). Please retry this request. If this condition persists please contact yo
This page cannot be displayed
Internal system error while processing the request for this page (http:///www.example.com).
Please retry this request.
If this condition persists please contact your corporate network administrator and provide the code shown below.
Notification codes
(1, INTERNAL_ERROR, http:///www.example.com)
我无法确定ColdFusion的哪个部分生成了这些错误,也没有任何其他信息,因为我无法重现错误,只能从屏幕截图中获得详细信息
有人知道是什么原因导致了这个错误,或者我如何找到更多关于它的信息吗?使用try/catch块包装您的代码,并让它向您发送一封包含所有错误详细信息的电子邮件(或者您可以将这些信息记录到数据库或将其写入日志等)
#cfi.script_name上发生错误#
日期:#dateFormat(现在(),“mm/dd/yyyy”)和“&timeFormat(现在(),“hh:mm:ss”)#
捕获对象:
错误对象:
cgi对象:
变量对象:
窗体对象:
会话对象:
本地对象:
您检查过CF错误日志吗?它们可能表示java堆空间错误。此消息是一般性的,指向网络问题。ColdFusion应用程序和异常日志会记录错误。检查一下。
<cftry>
<!--- your code goes here --->
<!--- catch and email any exceptions --->
<cfcatch type="any">
<cfmail to="your-email" from="your-email" subject="something" type="html">
<h3>An Error Occurred on #cfi.script_name#</h3>
<h3><strong>DATE:</strong> #dateFormat(now(), "mm/dd/yyyy") & " " & timeFormat(now(), "hh:mm:ss")#</h3>
<br />
<br />
<cfif isDefined("cfcatch")>
<h5>catch object:</h5>
<cfdump var="#cfcatch#">
<br />
<br />
</cfif>
<cfif isDefined("ERROR")>
<h5>Error object:</h5>
<cfdump var="#ERROR#">
<br />
<br />
</cfif>
<cfif isDefined("cgi")>
<h5>cgi object:</h5>
<cfdump var="#cgi#">
<br />
<br />
</cfif>
<cfif isDefined("variables")>
<h5>variables object:</h5>
<cfdump var="#variables#">
<br />
<br />
</cfif>
<cfif isDefined("form")>
<h5>form object:</h5>
<cfdump var="#form#">
<br />
<br />
</cfif>
<cfif getapplicationMetadata().sessionmanagement and isDefined("session")>
<h5>session object:</h5>
<cfdump var="#session#">
<br />
<br />
</cfif>
<cfif isDefined("local")>
<h5>local object:</h5>
<cfdump var="#local#">
<br />
<br />
</cfif>
</cfmail>
</cfcatch>
</cftry>