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

Java library classes imported through Wizard is not accessible

SA-36002

Summary



Java library classes imported through wizard is not accessible

There are a few external java jars containing classes to be used in PEGA which were imported using the import wizard into the Customer codeset 06-01-01.

Upon trying to use the classes in any java method or function, system is not able to resolve.

Error Messages



Unable to resolve. Also entries in the pr_engineclasses table are not proper.


Steps to Reproduce



1) Import a third party jar from Import wizard of developer portal.
2) Restart Pega app server.
3) Create an activity with a java step. try to initialize a class from the imported jar.
4) Save the activity. Pega says cannot resolve the class.


Root Cause



A defect or configuration issue in the operating environment.

The external jars that were imported were very large.

As a result the jar is not being imported as individual rows in pr_engineclasses because of the size of the jar.

In that case upon restart the jar would be extracted to the filesystem to a directory that is on the classpath.

The classes were not available on the paths.

Resolution



Perform the following local-change steps:
  1. Go to SMA > Advanced > Etier Runtime Environment.
  2. Then enter the full Java class name of class, which is meant to resolve and click Lookup Java Class.

After doing this class is able to be used in Java step of an activity.

Suggest Edit

Published April 24, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

100% found this useful

Have a question? Get answers now.

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

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