Also in Railo I test, the CFEXECUTE throws an error, that is not explainable for me.
Testing with attached test script export.cfm (change the path in file where you store the directory).
Error details : Can't open 'rasterize.js'
On Windows CLI it works "phantomjs rasterize.js "http://www.google.de" google.pdf"
On CFEXECUTE, the error above.
Download executable here : https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-windows.zip
Windows 10 Laptop, Lucee Express 126.96.36.199, PhantomJS 2.1.1
Can you specify the full path to the js file? cfcexecute does not let you choose the working directory that it runs in.
I've analyzed this ticket a lot & confirmed the issue happened while without full path of the JS file. If we provide a full path for JS file it's working as expected. Please check with full path JS.
Can be closed, full path is necessary to work.
Closed as per remoter comments