Posted: 25 Mar 2019 22:10 EDT Last activity: 8 Aug 2019 13:25 EDT
7.1.9 to 8.1.3 upgrade, class loader issues?
After upgrading to 8.1 from 7.1.9, seeing errors when attempting to invoke SOAP services:
com.ibm.xml.xlxp2.api.wssec.WSSXMLInputFactory incompatible with com.ctc.wstx.stax.WstxInputFactory. This is occurring when its trying to build the request during the invoke activities, apparently failing when calling pzAddCustomHeadersToSoapEnvelope
In the older SMA there was a place to do java class search, but I don't see that now in the 8.1 admin portal. That may be useful in figuring out what classes are being loaded (and from where.. filesystem/db).
***Edited by Moderator: Pallavi to update platform capability tags***
It appears to be some type of conflict between WAS jars and pegas... class loader issues are a continual annoyance. We continue to see internal compiler errors when referencing com.ctc.wstx.stax.WstxInputFactory. The jar that provides this implementation is present in the pr_engineclasses table but any time we reference this class (or an OOTB rule like InvokeAxis2 does) we see internal compiler errors with very little useful stack trace. NullPointerException
Test compilation failed: ----------
1. ERROR in /Rule_Obj_Activity_Rule_Connect_SOAP_InvokeAxis2_Action_20190326T205202_080_GMT.java (at line 0)
Internal compiler error: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:505)