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

Error using Connect Java to call a service within PRPC



Service Java and Connect Java rules are used in the same instance of PRPC by downloading the service JAR, by choosing Remote Java class.
While testing the connection from Connect Java rule form, connection is successful but upon invoking Connect Java from the activity, an exception is generated in the log file.

Error Messages


Steps to Reproduce

1. Create a Service Java rule.
2. Download the service JAR file by selecting Remote java class. Import the same through the 'Import wizard'.
3. Create a Connect Java rule using 'Connector and Metadata wizard'.
4. Invoke the Connect Java rule from an activity.

Root Cause

As user was trying to use both the connector and service in the same instance of PRPC, but had selected a remote call while generating the JAR file, all the relevant confiuration was generated for a remote call.


Regenerate the JAR file by - selecting LocaJavaClass in the deployment tab of the service package, importing the JAR file and restarting the instance, before invoking the connector.

Published October 5, 2015 - 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