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
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
PegaRULES Process Commander Release V5.5 SP1 Installing on JBoss Application Server—Red Hat EAP 4.3
JBoss Community Wiki Article