Technote Details :: Image upload and resize does not work
Issue
When trying to upload an image to the server using the Image Upload and Resize server behavior, no file is uploaded to the server, and nothing happens (no error is thrown). Or I get a message saying "This graphics environment can be used only in the software emulation mode". I am using the tmt_img java based image processing library.
Reason
This happens because of a known issue with Java 1.4.1 or higher and certain Linux based installations of ColdFusion. Primarily, this happens when the server and (or) image library is not correctly configured to work with a server that does not have a monitor, or input device (a headless server).
Solution
In order to avoid these problems entirely, use one of the following libraries, that are known to work:
cfx_image
cfx_imagecr3
cfx_openimage
fximage from gaffware
Alternatively you can either install an older version of Java (prior to 1.4.1) or configure the existing system to work correctly. Details on the changes you need to make can be found on the Macromedia site, as a
ColdFusion Technote.