Highlighted

Clustering and captcha/CFFILESERVLET mappings

New Here ,
May 04, 2015

Copy link to clipboard

Copied

While testing clustering, I realized that each ColdFusion instance will write CFIMAGE temporary files to its own ./tmpCache/\CFFileServlet path. The issue is that CFFILESERVLET gets a mapping (alias, virtual directory) in the webserver to one folder. If I have two ColdFusion instances setup on a cluster, within the same server, the image is generated and stored in one of the two instance installation folders. There is a 50/50 chance that the file is stored in the folder that isn't mapped in the web server configuration.

Is there a "proper" way to handle this, when using two ColdFusion instances installed on the same physical server?

Views

204

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Clustering and captcha/CFFILESERVLET mappings

New Here ,
May 04, 2015

Copy link to clipboard

Copied

While testing clustering, I realized that each ColdFusion instance will write CFIMAGE temporary files to its own ./tmpCache/\CFFileServlet path. The issue is that CFFILESERVLET gets a mapping (alias, virtual directory) in the webserver to one folder. If I have two ColdFusion instances setup on a cluster, within the same server, the image is generated and stored in one of the two instance installation folders. There is a 50/50 chance that the file is stored in the folder that isn't mapped in the web server configuration.

Is there a "proper" way to handle this, when using two ColdFusion instances installed on the same physical server?

Views

205

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 04, 2015 0

Have something to add?

Join the conversation