Coldfusion 8.0.1 : How to fix serialization issues with cfc's using datatypes Array, datatime, query and java objects?
Issue
How to fix serialization issues with cfc's using data types Array, datatime, query and java objects in clustered environment when cfc's are added to the session scope for replication across servers.
Reason
When using certain data types such as Array's, datatime, query, and java objects in cfc's, ColdFusion was not able to serialize them properly when cfc's added to the sessions are replicated.
Solution
Adobe has fixed the issue and following are the instructions to apply the hotfix. The installation process is the same for all platforms and installation choices. Use the ColdFusion 8 Administrator to install hot fix jar files.
- Download hf801-70580.zip and extract the hf801-70580.jar and cfmx_bootstrap.jar files.
- Open the ColdFusion 8 Administrator, and then select the System Information page.
- Next to the Update File box, click Browse, and then browse to the extracted jar file.
- Select the hf801-70580.jar file, and then click Submit.
- Stop Coldfusion.
- Go to {Coldfusion-Home}/wwwroot/WEB-INF/lib (standard install) or {JRun-Home}/servers/{JRun-Server-Name}/cfusion-ear/cfusion-war/WEB-INF/lib (MultiServer install) or {cfusion-ear-home}/cfusion-war/WEB-INF/lib (J2EE Deployment) and make a backup for cfmx_bootstrap.jar and replace it the downloaded cfmx_bootstrap.jar.
- Start ColdFusion.
The hf801-70580 hot fix JAR file does not need to be retained after installing it with the ColdFusion Administrator. The file has been copied into the correct location.
The hf801-70580.jar hot fix file will appear as a new entry in the System Information classpath list.
Hot fix jar files are installed in the cf_root/lib/updates or cfusion-war/WEB-INF/cfusion/lib/updates directory. After stopping the ColdFusion 8 application server, delete a specific jar file from the updates directory in order to uninstall that hot fix.
Additional Information
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
