The message changes the module and line number, but the overall message remains the same: [Macromedia][Oracle JDBC Driver][Oracle]ORA-02396: exceeded maximum idle time, please connect again Not sure why I'm getting the timeout. Here's the OnError currently in my Application.cfc <cffunction name="OnError" access="public" returntype="void" output="true" hint="Fires when an exception occures that is not caught by a try/catch block"> <cfargument name="exception" type="any" required="true"> <cfargument name="eventName" type="string" required="true"> <cfset var errortext = ""> <cfset var redirectUrl= "../index.cfm"> <cfset application.datasource="MyDB"> <cfif arguments.exception.rootCause eq "coldfusion.runtime.AbortException"> <cfreturn/> </cfif> <!---<cflog file="#this.name#_ErrorLog" text="#arguments.exception.message#">----> <cfsavecontent variable="errortext"> <cfoutput> An error occurred: http://#cgi.server_name##cgi.script_name#?#cgi.query_string#<br /> Time: #dateFormat(now(), "short")# #timeFormat(now(), "short")#<br /> </cfoutput> <cfdump var="#arguments.exception#" label="Error"> <cfdump var="#form#" label="Form"> <cfdump var="#url#" label="URL"> </cfsavecontent> <cfquery name="getID" datasource="#application.datasource#"> SELECT ERR_SEQ.NEXTVAL AS newID FROM dual </cfquery> <cfset NewErrorNumber=getID.newID> <cfquery datasource="#application.datasource#" > INSERT INTO ERR_LOG (ERR_ID ,ERR_DETAIL ,SECUREUSERID ,UPTIME,ERR_INFO ) VALUES (#NewErrorNumber#,'#left(arguments.exception.message,4000)#',#session.secureUserID# ,sysdate,<cfqueryparam value="#errortext#" cfsqltype="cf_sql_clob"/> ) </cfquery> <cfmail to = "#application.DeveloperEmailList#" from = "HelpDesk@here.there" subject = "(Error ID: #NewErrorNumber#) App Error: #left(arguments.exception.message,100)#..." type="html"> <table><tr><td width="536"> This message is auto-generated by the AppApplication. Please do not reply to this message. Given below are the details of the error that has been reported: </td> </tr></table> <table width="100%"> <tr><td width="20%" style="word-break:break-all"><b>Error Number:</b></td> <td width="80%" style="word-break:break-all"> #NewErrorNumber#</td> </tr> <tr><td><b>Submitted By:</b></td> <td style="word-break:break-all"> #session.userName#</td> </tr> <tr><td><b>Submittor Email:</b></td> <td style="word-break:break-all"> #session.email#</td> </tr> <tr><td><b>Brief Description:</b></td> <td style="word-break:break-all">An error occurred: http://#cgi.server_name##cgi.script_name#?#cgi.query_string#<br /> Time: #dateFormat(now(), "short")# #timeFormat(now(), "short")#</td> </tr> <tr><td valign="top"><b>Detailed Description:</b></td> <td style="word-break:break-all"><cfdump var="#arguments.exception#" expand="yes" showudfs="yes" label="Error" output="browser" format="text" metainfo="yes"></td> </tr> <tr><td valign="top"><b>Url Variables:</b></td> <td style="word-break:break-all"><cfdump var="#form#" expand="yes" showudfs="yes" label="Error" output="browser" format="text" metainfo="yes"></td> </tr> <tr><td valign="top"><b>Form Variables:</b></td> <td style="word-break:break-all"><cfdump var="#url#" expand="yes" showudfs="yes" label="Error" output="browser" format="text" metainfo="yes"></td> </tr> </table> </cfmail> <cfoutput> <p>App has experienced an error. App Administrators have been notified and will coordinate with you in resolving the error.</p><p>Error #NewErrorNumber# - #arguments.exception.message#</p> </cfoutput> </cffunction> I don't have a onMissingTemplate() section.
... View more