﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
601	Stamps using Images don't work correctly in a clustered environment	jkenyon		"Hi Team,

We have noticed that the stamps don't work correctly in a clustered setup with multiple LogicalDOC nodes. This is due to nodes storing stamps in different locations. This only seems to apply to stamps with images.


For example, if you create a new Stamp with an Image on NODE1, everything works fine on NODE1. However if you try to use this Stamp on NODE2 you get error like the following:

Caused by: java.lang.IllegalArgumentException: Encrypted file not found in /dmsdata/plugins/logicaldoc-stamp/stamps/17858560
        at com.logicaldoc.util.crypt.CryptUtil.decrypt(CryptUtil.java:90)


Likewise, if you create a new Stamp with an Image on NODE2, everything works fine on NODE2. However if you try to use this Stamp on NODE1 you get error like the following:

Caused by: java.lang.IllegalArgumentException: Encrypted file not found in /opt/LogicalDOC/repository/plugins/logicaldoc-stamp/stamps/18710528
        at com.logicaldoc.util.crypt.CryptUtil.decrypt(CryptUtil.java:90)


Not sure why each node is looking for stamps in different places?

Also as a result, the stamp image previews don't work - see attached."	bug	closed	minor		Core	7.3	worksforme		
