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.lang.SecurityException in node when compiling after restart

SA-51715

Summary



java.lang.SecurityException in a node occurs when compiling after restart of the server node. However, this works after clearing the cache and restarting the server node.


Error Messages

java.lang.SecurityException: Authentication exception, principal=null
at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityContext(SecurityInterceptor.java:321)
at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:243)
at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:205)
at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:136)
at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invokeHome(PreSecurityInterceptor.java:88)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)



Steps to Reproduce

  1. Deploy a new Product rule
  2. Restart the server node


Root Cause



A defect or configuration issue in the operating environment.


Resolution

Perform the following local-change:
  1. Modify jboss.xml from prpc_j2ee14_jbossJBM.ear/prbeans.jar by commenting out <security-domain>java:/jaas/other</security-domain>
  2. Add <security-domain></security-domain>
    The final modification should be as below:

    <!--<security-domain>java:/jaas/other</security-domain>-->
    <security-domain></security-domain>
    <unauthenticated-principal>anonymous</unauthenticated-principal>

Suggest Edit

Published March 12, 2018 - 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