File Not Found Exception when processing new Web Email Protection template
search cancel

File Not Found Exception when processing new Web Email Protection template

book

Article ID: 217405

calendar_today

Updated On:

Products

Gateway Email Encryption Gateway Email Encryption Powered by PGP Technology Encryption Management Server Encryption Management Server Powered by PGP Technology

Issue/Introduction

When uploading a Web Email Protection complete customization template to Encryption Management Server, the files in the uploaded WebMessengerWeb.zip file are validated:

During this process an error similar to the following appears where UUID is a unique identifier and file.html is one of the files within the zip file:

copyAdditionalHtmlFileToApp:java.io.FileNotFoundException: /tmp/processWebMessenger/original/advanced/UUID/file.html (No such file or directory)

For example:

copyAdditionalHtmlFileToApp:java.io.FileNotFoundException: /tmp/processWebMessenger/original/advanced/b99a4085_c8c1_4902_bdae_9dd8885e2d4f/WMInstallCertOsxMail.html (No such file or directory)

Trying again results in a similar error, though the error message may reference a different file name.

Environment

Symantec Encryption Management Server 3.4.2 and above.

Resolution

ssh to the server and check the ownership of the subdirectories within the /var/www/html/wm directory. All subdirectories should be owned by tomcat and not root. If you see something similar to this then the ownership of the advanced directory will need to be changed:

# ll /var/www/html/wm
total 12
drwxr-xr-x 2 root   root   4096 May 29 22:41 advanced
drwxr-xr-x 6 tomcat tomcat 4096 May 29 20:25 canned
drwxr-xr-x 6 tomcat tomcat 4096 May 29 16:15 default
lrwxrwxrwx 1 tomcat tomcat   24 May 29 23:07 images -> /var/www/html/wm/default

To change the ownership of the advanced directory and its subdirectories, use this command:

chown -R tomcat: /var/www/html/wm/advanced

In a clustered environment, repeat this with each cluster member.

After changing the ownership of the directory, upload the Web Email Protection template again.

Additional Information

EPG-23432

Attachments