1929786 - java.lang.SecurityException Anonymous principle not configured | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

1929786 - java.lang.SecurityException Anonymous principle not configured


  • You try to start the AS Java engine and it fails with exit code 2150.
  • In the std_server0.out file, the following error can be seen

          CSN Component [BC-JAS-SEC], DC Name [sap.com/security]
          com.sap.engine.frame.ServiceException: Anonymous principal not configured

          Caused by: java.lang.SecurityException: Anonymous principal not configured
          at com.sap.engine.services.security.login.SecurityContext.init(SecurityContext.java:119)
          at com.sap.engine.services.security.login.SecurityContext.<init>(SecurityContext.java:64)
          at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:173)
          ... 6 more
          Caused by: java.lang.NumberFormatException: For input string: ""
          at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
          at java.lang.Long.parseLong(Long.java:431)
          at java.lang.Long.parseLong(Long.java:468)
          at com.sap.engine.services.security.login.SecurityContext.init(SecurityContext.java:113)



  • Netweaver AS Java 7.10
  • Netweaver AS Java 7.11
  • Netweaver AS Java 7.30
  • Netweaver AS Java 7.31


SAP NetWeaver 7.3 ; SAP enhancement package 1 for SAP NetWeaver 7.3


core service, exit hook, exitcode=2150, rc = 2150 , KBA , BC-JAS-SF , Startup Framework , BC-JAS-SEC , Security, User Management , Problem

About this page

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

Search for additional results

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