I would add that my app is running many subsequent ajax calls. So Brad, you probably are on the right path. I think that is concurrency problem as well. What I don’t understand is why it works on my local commandbox and not in production. I’ve checked all the server configuration and are identically.
This is my config:
`
component{
// Configure ColdBox Application
function configure(){
// coldbox directives
coldbox = {
//Application Setup
appName = “TropicalSeo”,
eventName = “event”,
//Development Settings
reinitPassword = “”,
handlersIndexAutoReload = false,
//Implicit Events
defaultEvent = “Home.index”,
requestStartHandler = “”,
requestEndHandler = “”,
applicationStartHandler = “”,
applicationEndHandler = “”,
sessionStartHandler = “”,
sessionEndHandler = “”,
missingTemplateHandler = “”,
//Extension Points
applicationHelper = “”,
viewsHelper = “”,
modulesExternalLocation = [],
viewsExternalLocation = “”,
layoutsExternalLocation = “”,
handlersExternalLocation = “”,
requestContextDecorator = “”,
controllerDecorator = “”,
//Error/Exception Handling
exceptionHandler = “”,
onInvalidEvent = “”,
customErrorTemplate = “/coldbox/system/includes/BugReport.cfm”,
//Application Aspects
handlerCaching = true,
eventCaching = true,
proxyReturnCollection = false,
requestContextDecorator = “models.RequestContextDecorator”
};
// custom settings
settings = {
};
// Module Directives
modules = {
//Turn to false in production
autoReload = false,
// An array of modules names to load, empty means all of them
include = [],
// An array of modules names to NOT load, empty means none
exclude = []
};
// environment settings, create a detectEnvironment() method to detect it yourself.
// create a function with the name of the environment so it can be executed if that environment is detected
// the value of the environment is a list of regex patterns to match the cgi.http_host.
environments = {
development = “^cf8.,^railo.,^127.0.0.1”
};
//i18n & Localization
i18n = {
defaultResourceBundle = “includes/i18n/main”,
defaultLocale = “en_US”,
localeStorage = “cookie”,
unknownTranslation = “NOT FOUND”
};
//Layout Settings
layoutSettings = {
defaultLayout = “Main”,
defaultView = “”
};
//Register interceptors as an array, we need order
interceptors = [
//SES
{class=“coldbox.system.interceptors.SES”,
properties={}
},
{class=“interceptors.angular”, properties={}
}
];
}
/**
- Development environment
*/
function development(){
coldbox.customErrorTemplate = “/coldbox/system/includes/BugReport.cfm”;
debugger.debugMode = true;
}
}
`