Support Article
Copy External Jar to ../prweb/WEB_INF/lib/. folder
SA-33162
Summary
The user is not able to import the Jar through Designer studio and need to place them manually in /prweb/WEB_INF/lib folder.
Error Messages
Caused by: com.ctc.wstx.exc.WstxIOException: [resolving systemId 'pegajdbc://1865785234:0/TestWCFClient-0.0.1.jar!/META-INF/wsit-client.xml']: java.net.MalformedURLException: unknown protocol: pegajdbc
Steps to Reproduce
Import Jar through Pega designer studio to see that the class is not loaded at run time.
Root Cause
Importing jars which have webservice related code is loaded by different class loader.
Resolution
Follow below steps to resolve the issue:
- Open the executable jar (via 7zip)
- In the META-INF folder
- Add “pega.force.extract” an empty file and the name should be same .
- Import jar into PRPC
Clear the temp directory of both application server and web application and restart the server.
Published March 26, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.