Posts

Showing posts with the label Java

ColdFusion CFML Java Serialization Fails With Modern Java Records

Image
  No Getters, No Setters: Fixing ColdFusion Serialization of Java Records Your ColdFusion application integrates with a modern Java library. The library returns a Java record, a clean, immutable data carrier. Then you try to read its properties or serialize it from CFML, and it fails. The values you expect are missing, or the object serializes to something unusable. Read More

ColdFusion Java ExecutorService Threads Not Shutting Down After Reload

Image
  Threads That Won’t Die: Fixing ColdFusion ExecutorService Leaks After Reload Your ColdFusion application creates a Java ExecutorService to run background tasks. It works well, processing work on a pool of threads. Then you reload the application, and the old threads keep running. Reload again, and more threads pile up, until the server runs out of resources. Read More

ColdFusion Java Library Version Conflict Causing Runtime Method Errors

Image
  Method Not Found at Runtime: Fixing ColdFusion Java Version Conflicts Your ColdFusion application calls a Java library method that clearly exists. The code compiled and ran fine before. Then it fails with a method-not-found error at runtime. The class is present, the method should be there, yet Java insists it does not exist. Read More

ColdFusion Certificate Truststore Mismatch After Java Upgrade

Image
  Gone After the Upgrade: Fixing ColdFusion Truststore Mismatch After a Java Update You upgrade the Java version under ColdFusion for security and support. The upgrade completes, and ColdFusion starts normally. Then every outbound HTTPS call begins to fail. Integrations that worked for years suddenly throw certificate errors. Read More