Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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:
  1. Open the executable jar (via 7zip)
  2. In the META-INF folder
  3. Add “pega.force.extract” an empty file and the name should be same .
  4. 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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us