Watermarking on generated image renditions. | Community
Skip to main content
November 17, 2015
Solved

Watermarking on generated image renditions.

  • November 17, 2015
  • 3 replies
  • 925 views

I followed this documentation https://docs.adobe.com/docs/en/aem/6-1/administer/content/assets/watermarking.html to achieve text watermark on the images, but it didnt yield the desired result.

Following exception occured in the error log 

 

17.11.2015 13:23:15.802 *ERROR* [JobHandler: /etc/workflow/instances/server0/2015-11-17/model_15091680699364:/content/dam/ttnd/banner.png/jcr:content/renditions/original] com.day.cq.dam.core.process.WaterMarkProcess execute: error while watermarking asset; work item [VolatileWorkItem_node15_etc_workflow_instances_server0_2015-11-17_model_15091680699364]: 
com.day.cq.dam.commons.watermark.WatermarkingException: java.io.FileNotFoundException: /tmpwm.png (Permission denied)
    at com.day.cq.dam.core.process.WaterMarkProcess.execute(WaterMarkProcess.java:142)
    at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:93)
    at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:184)
    at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:232)
    at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:512)
    at org.apache.sling.event.impl.jobs.queues.JobRunner.run(JobRunner.java:205)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

please help ! 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

Hi 

The user don't have sufficient permission. Please try to do as mentioned in the article after giving read/write permission.

Sub users often has quite restricted access, and you must be on an Administrator account to do so usually.

//com.day.cq.dam.commons.watermark.WatermarkingException: java.io.FileNotFoundException: /tmpwm.png (Permission denied)

This is permission problem.

 

I hope this would help you.

Thanks and Regards

Kautuk Sahni

3 replies

crivabene
New Participant
June 27, 2016

kautuksahni wrote...

The user don't have sufficient permission. Please try to do as mentioned in the article after giving read/write permission.

Sub users often has quite restricted access, and you must be on an Administrator account to do so usually.

//com.day.cq.dam.commons.watermark.WatermarkingException: java.io.FileNotFoundException: /tmpwm.png (Permission denied)

This is permission problem. 

 

 

Hello Kautuk,

Are you talking about the user who is executing the JVM? Where is that workflow trying to write? In the root folder of the system?

Thanks,

claudio

kautuk_sahni
kautuk_sahniAccepted solution
Employee
November 17, 2015

Hi 

The user don't have sufficient permission. Please try to do as mentioned in the article after giving read/write permission.

Sub users often has quite restricted access, and you must be on an Administrator account to do so usually.

//com.day.cq.dam.commons.watermark.WatermarkingException: java.io.FileNotFoundException: /tmpwm.png (Permission denied)

This is permission problem.

 

I hope this would help you.

Thanks and Regards

Kautuk Sahni

Kautuk Sahni
edubey
New Participant
November 17, 2015

java.io.FileNotFoundException: /tmpwm.png (Permission denied)

Looks like something is wrong with permission, can you check user is appropriate permission.