Developer Edition Watermark (Multiple Instances)

I just discovered something this morning when I started messing about with a CF report in my "dev" instance on my local machine.

I run CF (Developer Edition) in multi-server configuration mode with a number of instances.

Anyway, I had a need to test out a report and when I fired it up in my browser, I got a Water Mark Image File is invalid error. It went on to ask me to make sure that the watermark.png file is in the correct directory and that I hadn't tampered with it.

Well, as it turns out, it wasn't in the correct directory jrun/servers/dev/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib

A quick shufty showed that it also didn't exist in the correct location for any of my other instances - in fact, it didn't exist at all for any of my instances, other than the default "cfusion" one.

So, to cut a long story short, it appears that during instance creation, the watermark.png file isn't copied to new instances.

How to fix it? Simply manually copy the file.

Related Blog Entries

Comments

Mitch's Gravatar I had the same error while trying to use cfdocument a few weeks ago. Took be a little while to solve the problem since it is not documented. (unitil now that is)
# Posted By Mitch | 05/01/06 20:22

Richard's Gravatar So what's to stop people from changing the image and defeating the purpose of a watermark?
# Posted By Richard | 06/01/06 14:06

Andy Allan's Gravatar I knew someone would ask that :)

The dev edition does some sort of check on the watermark.png file - how sophisticated I don't know.
# Posted By Andy Allan | 06/01/06 14:50

Big Mad Kev's Gravatar Could you make the Fix any harder? :-)

Cheers mate may come in useful someday
# Posted By Big Mad Kev | 06/01/06 15:44

Rob Brooks-Bilson's Gravatar Thanks Andy. I just bumped into this and your post was spot on and timely.
# Posted By Rob Brooks-Bilson | 23/06/06 01:17

Tommy's Gravatar CF is garbage - way too many problems - especially since Adobe took over. I have been having the cfdocument no pages error randomly and intermittently on a production standard edition cf server - it is killing my business b/c there is no documentation and no fix and it only happens randomly???? We are leaving CF and swithcing to Ruby on Rails or .NET. CF is a DEAD technology - way way behind Web 2.0 standards. LAME!!!!!!!!!!!!!!!!
# Posted By Tommy | 09/10/06 22:12

Andy Allan's Gravatar OK. Bye then.
# Posted By Andy Allan | 10/10/06 11:30

Scotch on the Rocks 2008