function postProcess( event, interceptData ){ // get the timestamp of the configuration file var tagTimestamp = fileLastModified( variables.tagFilepath ); // Check if setting exists if ( settingExists( "_deploytagTimestamp" ) ){ // get current timestamp var appTimestamp = getSetting( "_deploytagTimestamp" ); //Validate Timestamp if ( dateCompare( tagTimestamp, appTimestamp ) eq 1 ){ lock scope="application" type="exclusive" timeout="25" throwOntimeout="true"{ // concurrency lock if ( dateCompare( tagTimestamp, appTimestamp ) eq 1 ){ try{ // commandobject if( len( variables.deployCommandObject ) ){ getInstance( variables.deployCommandObject ).execute(); // Log if( log.canInfo() ){ log.info( "Deploy command object executed!" ); } } // Mark Application for shutdown applicationStop(); // Log Reloading if( log.canInfo() ){ // the application errors once each time you do a deploy with the deploy tag // subsequent requests work fine and the application appears to have reloaded log.info( "Deploy tag reloaded successfully." ); } } catch(Any e) { //Log Error log.error( "Error in deploy tag: #e.message# #e.detail#", e.stackTrace ); } } // end if dateCompare } //end lock
} // end if dateCompare
// stop interception chain return true; } // end if setting exists else { configure(); } }
--------- Original Message ---------
--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/67a263b6-2165-4fc7-ac70-b5a7c4469a99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Could not find the ColdFusion component or interface coldbox.system.web.context.ExceptionBean. | |
Ensure that the name is correct and that the component or interface exists. | |
The error occurred in [path redacted]/coldbox-4.2.0/system/Bootstrap.cfc: line 468 Called from [path redacted]/coldbox-4.2.0/system/Bootstrap.cfc: line 289 Called from [path redacted]/coldbox-4.2.0/system/Bootstrap.cfc: line 353 | |
466 : private string function processException( required controller, required exception ){ 467 : // prepare exception facade object + app logger 468 : var oException = new coldbox.system.web.context.ExceptionBean( arguments.exception ); 469 : var appLogger = arguments.controller.getLogBox().getLogger( this ); 470 : var event = arguments.controller.getRequestService().getContext(); |
--------- Original Message ---------
Subject: Re: [coldbox:26080] [coldbox-4.2.0] autodeploy module
From: "Jacob Beers" <jbe...@diastolicdesign.com>
Date: 10/26/16 1:33 pm
To: "ColdBox Platform" <col...@googlegroups.com>
--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/a49dda55-05ea-46bc-a7c9-0840e08be548%40googlegroups.com.
--------- Original Message ---------
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/09f550f2-a8ad-45fe-a749-e2989591984f%40googlegroups.com.
--------- Original Message ---------
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/195bf1ae-986c-46cb-9a0c-a1cb51fa1d5f%40googlegroups.com.