When using the WSSamServiceCmd.bat utility in SOI 4.3 to import escalation policies or actions, the utility fails with one of the following errors depending on the command environment:
class org.apache.xerces.dom.ElementNSImpl cannot be cast to class com.sun.org.apache.xerces.internal.dom.ElementNSImpl javax.crypto.BadPaddingException: Error closing stream or Given final block not properly paddedWe have updated WSSamServiceCmd.bat file for 4.3 CU3.
Follow the steps below :
1. Take a backup of existing WSSamServiceCmd.bat file from the following location:
CA\SOI\tomcat\bin\WSSamServiceCmd.bat
2. Download the new WSSamServiceCmd.bat from this article and replace with the old one
3. Retry the WSSamServiceCmd.bat for import
WSSamServiceCmd.bat -hhttps://localhost:7493 -usamuser -p"<password>" -aImport -s* -fD:/sources/export_esc_pol_action.xml