Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Watermarking on generated image renditions.

Avatar

Former Community Member

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 ! 

1 Accepted Solution

Avatar

Correct answer by
Administrator

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

View solution in original post

3 Replies

Avatar

Level 10

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

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

Avatar

Correct answer by
Administrator

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

Avatar

Level 1

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