AnsweredAssumed Answered

Digital Signing Add On - Conversion failed

Question asked by nirbod on Feb 24, 2017

Hi everyone,

 

I'm new in Alfresco. My environment is Alfresco Community 5.1 on Windows 2008 R2 Std

I try to implement digital signature according to this link:

https://github.com/rouxemmanuel/DigitalSigning/wiki

I installed AMP files as follow:

In amps dir:

digitalSigningAlfresco.amp

pdf-toolkit-repo.amp (v1,4)

 

In amps_share dir:

digitalSigningShare.amp

pdf-toolkit-share.amp (v1.4)

 

All seems to be OK BUT I can sign  *.pdf and *.txt files only.

When I try to sign .doc or any other file type, I get this message in the log:

 

2017-02-24 19:24:23,747 ERROR [org.alfresco.plugin.digitalSigning.service.SigningService] [http-apr-80-exec-9] [test2.doc] org.alfresco.service.cmr.repository.ContentIOException: 01240139 Content conversion failed:
reader: ContentAccessor[ contentUrl=store://2017/2/24/15/12/78ea572a-bcde-4b67-9dfc-c71c76312d38.bin, mimetype=application/msword, size=9216, encoding=UTF-8, locale=bg_BG]
writer: ContentAccessor[ contentUrl=store://C:\alfresco\tomcat\temp\Alfresco\068f6a86-5492-41ff-a5f6-4b95629a24f4\test2.doc_1487957063606.pdf, mimetype=application/pdf, size=0, encoding=UTF-8, locale=bg]
options: {use=null, contentReaderNodeRef=null, sourceContentProperty=null, contentWriterNodeRef=null, targetContentProperty=null, includeEmbedded=null}
limits: {timeoutMs=120000, maxSourceSizeKBytes=10240}

 

What is wrong

 

Regards

Dobrin

Outcomes