Error: "Unexpected exception while creating exact data profile..." after upgrading DLP
search cancel

Error: "Unexpected exception while creating exact data profile..." after upgrading DLP

book

Article ID: 231368

calendar_today

Updated On:

Products

Data Loss Prevention

Issue/Introduction

EDM indexing fails after upgrading Symantec Data Loss Prevention (DLP) from 15.5 to 15.8.
The localhost log contains this error:

File: Enforce\logs\tomcat\localhost.2021-12-13.log
Date: 12/13/2021 8:00:07 AM
Thread: 133
Level: SEVERE
Source: com.vontu.profiles.manager.database.DataSourceIndexCreator
Message: Unexpected exception while creating exact data profile "XXXXXXX" version 12,339
Cause:
java.security.AccessControlException: access denied ("java.io.FilePermission" "D:\Program Files\Symantec\ProgramData\Symantec\DataLossPrevention\EnforceServer\15.5\..\..\ServerPlatformCommon\15.5\datafiles\XXXXXX.txt.err" "write")java.security.AccessControlException: access denied ("java.io.FilePermission" "D:\Program Files\Symantec\ProgramData\Symantec\DataLossPrevention\EnforceServer\15.5\..\..\ServerPlatformCommon\15.5\datafiles\XXXXXX.txt.err" "write")
 at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
 at java.security.AccessController.checkPermission(AccessController.java:886)
 at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
 at java.lang.SecurityManager.checkWrite(SecurityManager.java:979)
 at java.io.File.createNewFile(File.java:1010)
 at com.vontu.profiles.manager.database.DataSourceIndexCreator.createErrorWriter(DataSourceIndexCreator.java:588)
 at com.vontu.profiles.manager.database.DataSourceIndexCreator.createIndex(DataSourceIndexCreator.java:664)
 at com.vontu.profiles.manager.database.DataSourceIndexCreator.doIndex(DataSourceIndexCreator.java:756)
 at com.vontu.profiles.manager.database.DataSourceIndexCreator.indexInfoSourceOnManager(DataSourceIndexCreator.java:189)
 at com.vontu.profiles.manager.InfoSourceIndexCreator.indexListOfDataSources(InfoSourceIndexCreator.java:260)
 at com.vontu.profiles.manager.database.DataSourceIndexJob.index(DataSourceIndexJob.java:43)
 at com.vontu.profiles.manager.InfoSourceIndexJob.execute(InfoSourceIndexJob.java:80)
 at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
 at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)

Environment

Data Loss Prevention 15.8

Cause

The EDM profile error log is being written in the old 15.5 location instead of the 15.8 location.

Resolution

  1. Re-index all the EDM after the upgrade. If some of the EDMs still generate the error mentioned above, use solution 2.

  2. Edit Indexer.properties file:
  1. Set "create_error_file" to false.
  2. Restart DLP Manager
  3. Re-index the EDM
  4. Set "create_error_file" back to true
  5. Restart DLP Manager
  1.