VERIFIED SOLUTION i

Resolve Journal Parsing error in EngageOne Digital Delivery

Issue

The email job sent to polled folders do not get processed by e-messaging.

Found these errors on the e-messaging log file:
 
2013-07-22 16:30:33,679 [EM] ERROR [pool-1-thread-3] AbstractMessageProcessor.doProcess(321) | Journal parsing error.D:\vendors\xxx\OutProfiles\xxx\dij\xxx.dij (The process cannot access the file because it is being used by another process)
com.g1.emessaging.outbound.OutboundProcessException: Journal parsing error.D:\vendors\xxx\OutProfiles\xxx\dij\xxx.dij (The process cannot access the file because it is being used by another process)

Cause

The DIJ in question is more than 13 MB in size and transferred to DIJ polled folder from remote location using FTP.
 
Suspicion is that e-messaging polls the DIJ file every 30 seconds (as per default setting in outboundProcessor.properties file residing within emessaging\WEB-INF\classes directory):
 
# for configuring polling Dij frequnecy in seconds
#/**enhancement --EMSG-907*
outbound.pollingFrequency=30
 
And with big size of DIJ, the copying process using FTP took more than 30 seconds, which then caused the Journal Parsing Error when emessaging tried to read and poll DIJ file.

Resolution

UPDATED: June 29, 2017
One workaround is (executed in order):
1. Ensure that all PDF and HTML files are properly copied to attach1 and html folders respectively.
2. Ensure that DIJ has been copied from remote location into a local folder (other than dij polled folder) within e-messaging server.
3. Copy DIJ from location used at (2) above into DIJ polled folder

Permanent Solution:
Since DIJ can come with such large size, we might want to increase the DIJ polling frequency, please set it as desired in the outboundProcessor.properties file, followed by e-messaging application server restart.
Environment Details
Product Feature: Installation / Upgrade

Operating System: Windows 2008 R2

Configuration: Apache TomCat