SAP Knowledge Base Article - Preview

3158911 - Maximum session limit can't be set to 0. It must be a positive integer or -1.

Symptom

You are getting a 500 Internal Server error while trying to access the NetWeaver Administrator page:

While checking the DefaultTrace file, you are able to see the following:

#Error#com.sap.engine.services.servlets_jsp.ISE500#
com.sap.ASJ.web.000500###C0000AC91B49021D000000000000266C#19911950000000004#sap.com/tc~lm~itsam~ui~mainframe~wd#com.sap.engine.services.servlets_jsp.ISE500#Administrator#3##2FC002259FC611EC830D0000012FD50E#18788f279fc611eca5420000012fd50e##0#Thread[HTTP Worker [@278018201],5,Dedicated_Application_Thread]#Plain##
500 Internal Server Error is returned for HTTP request [http://xx:port/webdynpro/resources/sap.com/tc~lm~itsam~ui~mainframe~wd/FloorPlanApp]:
component [dispatcher],
web module [webdynpro/resources/sap.com/tc~lm~itsam~ui~mainframe~wd],
application [sap.com/tc~lm~itsam~ui~mainframe~wd],
DC name [],
CSN component[],
problem categorization [],
internal categorization [297765232].

[EXCEPTION]
java.lang.IllegalArgumentException: Invalid value: maximum session limit can't be set to 0. It must be a positive integer or -1.
at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.SessionManagementFactory.setMaxSessionLimitCntr(SessionManagementFactory.java:333)
at com.sap.tc.webdynpro.services.sal.sessionctx.core.SessionManagementInternal.setMaxSessionLimitCntr(SessionManagementInternal.java:192)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.setMaxSessionLimitCounter(ApplicationSession.java:972)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.<init>(ApplicationSession.java:194)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.session.HttpApplicationSession.<init>(HttpApplicationSession.java:44)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.sessionctx.SessionManagementFactory.createApplicationSession(SessionManagementFactory.java:142)
at com.sap.tc.webdynpro.services.sal.sessionctx.core.SessionManagementInternal.createApplicationSession(SessionManagementInternal.java:169)


Read more...

Environment

  • SAP NetWeaver AS Java
  • Release Independent

Product

SAP NetWeaver Application Server for Java all versions

Keywords

sap.max.session.limit, java.lang.IllegalArgumentException: Invalid value: maximum session limit can't be set to 0. It must be a positive integer or -1, 500 Internal Server Error is returned for HTTP request , KBA , BC-WD-JAV , WebDynpro Java , 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.