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

Unable to integrate using Rest



Developers are not able to run any Connect-Rest rules successfully.
Upon running on any Connect-Rest the below error is being thrown.

access denied ("" "getProxySelector").

Error Messages

Caused by: access denied ("" "getProxySelector")
    at java.lang.SecurityManager.checkPermission(
    at com.pega.apache.http.impl.client.DefaultHttpClient.createHttpRoutePlanner(
    at com.pega.apache.http.impl.client.AbstractHttpClient.getRoutePlanner(
    at com.pega.apache.http.impl.client.AbstractHttpClient.execute(
    at com.pega.apache.http.impl.client.AbstractHttpClient.execute(
    at com.pegarules.generated.activity.ra_action_pyinvokerestconnector_8a79723d3fc74fcefcc75a22d239088a.step5_circum0(
    ... 162 more

Steps to Reproduce

Run the connect rest wizard,
Try to perform the test on the screen where we can test the connectivity

Root Cause

It was found that Tomcat is running in security mode.
When Tomcat is run in security mode, required permissions should be provided for respective classes or files in Tomcat catalina.policy file.
Stacktrace indicates that this permission was not provided.


Issue is resolved by adding 
"getProxySelector" permission on class "" in Tomcat catalina.policy file (as shown below):

    permission "getProxySelector";

Published January 31, 2016 - 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