SAP Knowledge Base Article - Preview

1741113 - "HTTP ERROR 401 Unauthorized" happens when displaying published courses via SAP learning portal

Symptom

When displaying published courses via SAP learning portal, "Error with object: /pdf_test_2/v1/locMappingXQ7.txt, Http-Error: 401: Unauthorized" happens.
Below is the detailed error:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Incomplete or incorrect data:
com.sap.hcm.ls.lms.servlets.exceptions.InvalidArgumentException  :
                    at com.sap.hcm.ls.lms.servlets.control.CourseUpdater.update(CourseUpdater.java:79)
                    at com.sap.hcm.ls.lms.servlets.control.EventDispatcher.updateModels(EventDispatcher.java:133)
                    at com.sap.hcm.ls.lms.servlets.control.RequestProcessor.doProcess(RequestProcessor.java:100)
                    at com.sap.hcm.ls.lms.servlets.control.RequestProcessor.process(RequestProcessor.java:80)
                    at com.sap.hcm.ls.lms.servlets.control.Mediator.processRequest(Mediator.java:226)
                    at com.sap.hcm.ls.lms.servlets.control.Mediator.doGet(Mediator.java:146)
                    at com.sap.hcm.ls.lms.servlets.control.Mediator.doPost(Mediator.java:161)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
                    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
                    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
                    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
                    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                    at java.security.AccessController.doPrivileged(AccessController.java:219)
                    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
                    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: com.sap.hcm.ls.lms.courseloader.LoaderException: Failed to look for mapping file for object: /pdf_test_2/v1/Test_PDF.crs
                    at com.sap.hcm.ls.lms.courseloader.repository.RepCourseInfo.setupMapping(RepCourseInfo.java:96)
                    at com.sap.hcm.ls.lms.courseloader.repository.RepCourseInfo.(RepCourseInfo.java:52)
                    at com.sap.hcm.ls.lms.courseloader.repository.RepCourseLoader.getCourse(RepCourseLoader.java:106)
                    at com.sap.hcm.ls.lms.data.session.CourseStateUpdater.loadCourseFromPath(CourseStateUpdater.java:389)
                    at com.sap.hcm.ls.lms.data.session.CourseStateUpdater.loadCourse(CourseStateUpdater.java:186)
                    at com.sap.hcm.ls.lms.data.session.CourseStateUpdater.update(CourseStateUpdater.java:135)
                    at com.sap.hcm.ls.lms.servlets.control.CourseUpdater.update(CourseUpdater.java:72)
                    ... 22 more
Caused by: com.sap.hcm.ls.shared.repository.access.RepIOException: Error with object: /pdf_test_2/v1/locMappingXQ7.txt, Http-Error: 401: Unauthorized
                    at com.sap.hcm.ls.shared.repository.access.http.HttpRepository.throwHttpError(HttpRepository.java:914)
                    at com.sap.hcm.ls.shared.repository.access.http.HttpRepository.readFile(HttpRepository.java:435)
                    at com.sap.hcm.ls.shared.repository.access.DeltaVerRepository.readFile(DeltaVerRepository.java:335)
                    at com.sap.hcm.ls.shared.repository.access.Repository.readFile(Repository.java:376)
                    at com.sap.hcm.ls.shared.repository.proxy.MappingFile.readMapping(MappingFile.java:194)
                    at com.sap.hcm.ls.shared.repository.proxy.LocationMapperPool.getMapper(LocationMapperPool.java:54)
                    at com.sap.hcm.ls.lms.courseloader.repository.RepCourseInfo.setupMapping(RepCourseInfo.java:92)
                    ... 28 more
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

  • Human Capital Management (HCM)
  • SAP Learning Solution 6.0
  • LSOCP 600 or above

Product

SAP Learning Solution 6.0

Keywords

RepIOException, basic authentication, authorization, KM server, CMS user, configuration, content player, , KBA , PE-LSO-CP , Content Player , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.