Hi All,
I am using DFC code to apply retention on some documents. I am using a java method (deployed as BOF module) to trigger this DFC code.
I get below exception trace while running the method.
==============================================================================
java.lang.ClassCastException: com.documentum.rpm.services.RpmRetentionService incompatible with com.documentum.rpm.services.IRpmRetentionService
at com.fruit.ecm.applyretention.ApplyRetention.applyRetention(ApplyRetention.java:145)
at com.fruit.ecm.applyretention.ApplyRetention.execute(ApplyRetention.java:115)
at com.documentum.mthdservlet.DfMethodRunner.runIt(Unknown Source)
at com.documentum.mthdservlet.AMethodRunner.runAndReturnStatus(Unknown Source)
===============================================================================================
Same code runs fine when I run it on my local computer as a main method. I have added all RPS related jars as a dependent jars of the BOF module.
I beleive this error is because of incorrect location of the RPS jar files. Any idea???
Regards,
SAN