Customers upgrading to Ephesoft 4.1.1.0 may see errors with some or all of their existing Batch Classes after the upgrade. Inside the dcma-all.log, you may find information and errors for Batch Instances related to the affected Batch Classes such as:

 

4.1.1.0 Windows Serverer 2012 R2 2017-01-12 14:21:23,821 INFO pool-1-thread-2 com.ephesoft.dcma.lucene.LuceneEngine – Lock is going to be taken over by server SERVERNAME over batch class ID BCXX for operation R for Machine Learning
followed by 3 attempts to acquire a lock on the BC:
4.1.1.0 Windows Server 2012 R2 2017-01-12 14:21:24,833 INFO pool-1-thread-2 com.ephesoft.dcma.da.service.ServerLockServiceImpl – Attempting 1 to take lock over BCXX for service Document_Maching_Learning by server RCB02 for operation R

4.1.1.0 Windows Server 2012 R2 2017-01-12 14:21:25,834 INFO pool-1-thread-2 com.ephesoft.dcma.da.service.ServerLockServiceImpl – Attempting 2 to take lock over BCXX for service Document_Maching_Learning by server RCB02 for operation R
4.1.1.0 Windows Server 2012 R2 2017-01-12 14:21:26,836 INFO pool-1-thread-2 com.ephesoft.dcma.da.service.ServerLockServiceImpl – Attempting 3 to take lock over BCXX for service Document_Maching_Learning by server RCB02 for operation R

 

After the three failed attempts you will see an error similar to this in the dcma-all log file:
4.1.1.0 Windows Server 2012 R2 2017-01-12 14:21:26,839 ERROR pool-1-thread-2 com.ephesoft.dcma.lucene.service.SearchClassificationServiceImpl – Uncaught Exception in generateConfidence method Even after trying 3 Server RCB02 won’t be able take lock over BCXX for service Document_Maching_Learning for operation R
com.ephesoft.dcma.core.exception.DCMAApplicationException: Even after trying 3 Server SERVERNAME won’t be able take lock over BCXX for service Document_Maching_Learning for operation R

 

and:

 

Some internal error has occured for Doc_Type_Detail workflow for batch instance BI-ID Number.

Please find below the details of same:

Batch Name: BCXX_sysadmin_2017-01-12_02-03-57

Current Plugin : Search_Classification_Plugin

Error Message:
Even after trying 3 Server RCB02 won’t be able take lock over BC13 for service Document_Maching_Learning for operation R

 

While we are investigating the root cause of this issue, there is a known workaround. The steps to resolve this are:

 

  1. Export the affected batch classes
  2. Re-import the affected batch classes as new batch classes. Make sure to give unique names and shared folder paths
  3. Open the newly imported batch classes and click on Apply and Deploy to update the Workflows
  4. Test the new batch classes and once working, remove the old batch classes from Ephesoft

Was this article helpful to you?

Mark Kessler