Error Logged when Picking up Batches After Upgrade to 2020.1.03
Applies to: Ephesoft Transact 2020.1.03 and above
Issue
After upgrading from 2020.1.02 to 2020.1.03, the following error may be logged each time you pick up a batch, or when a batch finishes processing:
/dcma/ws/activity/pickup/notification access cannot be granted. com.ephesoft.dcma.authorization.exception.AuthorizationException: None of the rules granted access for the incoming request
Root Cause
This issue occurs due to a missing entry in the web.xml file.
Solution
To resolve this issue, manually add the missing entry in the web.xml file.
- Open the web.xml file, located at [Ephesoft_Directory]\Application\WEB-INF.
- Locate the following lines:
<context-param>
<param-name>InternalWebServices</param-name>
<param-value>batchInstanceIdentifier/,propertiesChangedEvent/,batchIdentifier/,verifyEphesoftLicense/,verifyAdvanceReportingSwitch/,notifyServerForService/,logs/,path/,paths/,remoteBatchInstanceIdentifier/,propertiesChangedEvent/,previousRemoteBatchInstanceIdentifier/,targetBatchInstanceIdentifier/,checkUserExistence/,signUp/,changePassword/,modifyPassword/</param-value>
</context-param>
- Add
“,activity/”
before the closing</param-value>
tag.
<param-value>batchInstanceIdentifier/,propertiesChangedEvent/,batchIdentifier/,verifyEphesoftLicense/,verifyAdvanceReportingSwitch/,notifyServerForService/,logs/,path/,paths/,remoteBatchInstanceIdentifier/,propertiesChangedEvent/,previousRemoteBatchInstanceIdentifier/,targetBatchInstanceIdentifier/,checkUserExistence/,signUp/,changePassword/,modifyPassword/,activity/</param-value>
- Save and close the file.
- Restart Ephesoft Transact.