Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

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.

Troubleshooting: Recurring AccessException: SecurityException; FailedLoginException errors caused by incorrect setting for login configuration of anonymous use

Updated on October 2, 2015

Summary

During EJB deployment with the JBoss application server, the Pega system log repeatedly displays this error, causing a glut of exceptions in the log:

(  priv.context.JNDIEnvironment) ERROR   - Exception during getEJBInstance "com.pega.pegarules.internal.etier.interfaces.EngineHome"
java.lang.reflect.InvocationTargetException
            at sun.reflect.GeneratedMethodAccessor129.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at com.pega.pegarules.priv.context.JNDIEnvironment.getEJBInstance
...
...
Caused by: java.rmi.AccessException: SecurityException; nested exception is:
 javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required
 at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:388)
 at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:136)

This message indicates that Pega credentials for anonymous users of Process Commander are incorrectly specified.

 

Suggested Approach

To avoid SecurityExceptions during EJB deployment, you need to set the default Pega credentials to match the JBoss deployment descriptors shipped with Process Commander. Specifically, you need to edit the file $JBOSS_HOME/server/pega/conf/login-config.xml to specify, for the application policy other, the login module option UsersRolesLoginModule for unauthenticatedIdentity as anonymous.

Follow the procedure provided in the Process Commander Installation Guides for the JBoss Application Server, both the Community Edition and the Red Hat Enterprise Application Platform: Chapter 3, Preparing the Application Server, Set up default Pega credentials for the server.

Related Topics

PDF documentPegaRULES Process Commander Release v5.5 SP1, Installing on JBoss Application Server—Community Edition (jboss.org) 4.2.2

PDF documentPegaRULES Process Commander Release V5.5 SP1 Installing on JBoss Application Server—Red Hat EAP 4.3

 

JBoss Community Wiki Article

wwwUsersRolesLoginModule

 

Have a question? Get answers now.

Visit the Support 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.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us