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

External JAR not loading, was working fine in 7.1.8

SA-42980

Summary



A custom ear is bundled in WebLogic that Pega application uses as a library.

In Pega 7.3, any Rule Utility Function (RUF) that references the classes in the library fails to compile with class not found exceptions in the import statements.

When looking in the SMA we see that the library classes are available to the JVM.


Error Messages



Error(s) detected while generating java. Compiler reported: ---------- 1. ERROR in /com/pegarules/generated/ParallelInvocation_POST_070601_k3A7NUguUDoLi_54rHHK4g.java (at line 46) import com.your_package.RestClient; ...


Steps to Reproduce



Try compiling a RUF.


Root Cause



Reference this page for Pega-RULES.compiler/defaultClasses
https://pdn.pega.com/sites/pdn.pega.com/files/help_v73/procomhelpmain.htm#zstandarddata/data-admin-systemsettings.htm

It does not specify that for Unix OS the Class names should be separated by colon (:) instead of semicolon (;)

Resolution



Here’s the explanation for the reported behavior:

The list of classes should be separated by semicolon(;) for Windows and colon (:) for unix based OS.
Reference: https://pdn.pega.com/support-articles/default-paths-are-not-getting-loaded

Suggest Edit

Published November 3, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

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