[ColdBox] [Railo 4.0.4.001] [TomCat 7.0.37] - Getting java.lang.InterruptedException

Hey Group,

I’m getting the following exception from Railo when one of my scheduled tasks runs for more than 40 seconds or so:

The Error Occurred in
D:\Railo\tomcat\webapps\ROOT\coldbox\system\ioc\Injector.cfc: line 333

331:
332: <!— Register new instance mapping —>
333:
334:
335: if( NOT instance.binder.mappingExists( arguments.name ) ){

called fromD:\Railo\tomcat\webapps\ROOT\coldbox\system\web\services\PluginService.cfc: line 130
128: };
129: // feed this plugin to wirebox with virtual inheritance just in case, use registerNewInstance so its thread safe
130: wirebox.registerNewInstance(name=pluginLocation,instancePath=pluginLocation)
131: .setVirtualInheritance( “coldbox.system.Plugin” )
132: .addDIConstructorArgument(name=“controller”, value=controller)

The full stack trace is attached in the HTML. Configuration is:

Latest version of ColdBox (not sure exactly which version)
Railo 4.0.4.001
TomCat 7.0.37

Thanks in advance for any help!
Alan

RailoError.html (17.8 KB)

Looks like I resolved this by upping the Request timeout to 1m 30s and checking off “Request timeout in URL” in the Railo Admin.

Cheers,
Alan