SAP Knowledge Base Article - Public

2588429 - LMS Java Error during Login

Symptom

When admin logs in to LMS natively and navigate to the "Home" tab, a java error appears.

An instance of "com.plateausystems.plateaux.authentication.struts.PlateauxLearnerNativeSuccessAuthenticationAction" annotated with scope PROTOTYPE is incorrectly being returned by Spring as a singleton action!  Make sure that the corresponding Spring context configuration for the action has the appropriate scope defined for it.
java.io.IOException: An instance of "com.plateausystems.plateaux.authentication.struts.PlateauxLearnerNativeSuccessAuthenticationAction" annotated with scope PROTOTYPE is incorrectly being returned by Spring as a singleton action!  Make sure that the corresponding Spring context configuration for the action has the appropriate scope defined for it.

Environment

SAP SuccessFactors Learning

Reproducing the Issue

Login to LMS natively as an admin

Navigate to the "Home" tab

Java error message appears

Cause

This issue happens due to code is not updated in the extension module.

Resolution

This issue happens due to code is not updated in the extension module.

In the PlateauxAuthenticationContext.xml, there will be bean definition for com.plateausystems.plateaux.authentication.struts.PlateauxLearnerSuccessAuthenticationAction. The scope attribute of this bean is scope="singleton". We will have to update this attribute to scope="prototype".

However since this is an extension module update, customers will need to reach out to Professional Services for them to update these.

See Also

LRN-14980, LRN-14978

Keywords

java error on Home page, PlateauxAuthenticationContext.xml, com.plateausystems.plateaux.authentication.struts.PlateauxLearnerSuccessAuthenticationAction, java.io.IOException, , KBA , LOD-SF-LMS-COR , LMS Core - Items, Catalog, Curricula , Problem

Product

SAP SuccessFactors Learning 1708