Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Where do I make changes on the webserver to increase the number of servlet sessions that are simultaneously allowed on the server?

0
Posted

Where do I make changes on the webserver to increase the number of servlet sessions that are simultaneously allowed on the server?

0

If you are deploying the servlets as legacy servlets (not as web-app), then you need to modify the context.properties to put the sessionManager related properties as below: context.global.sessionmgr=com.iplanet.server.http.session.IWSSessionManager context.global.sessionmgr.initArgs=maxSessions=5000 If you are deploying the servlets as web-app then only you will have to put the configuration in web-apps.xml file. Session Manager for legacy servlets: For each context specified in context.properties, an instance of Session manager is created (by default it is com.iplanet.server.http.session.IWSSessionManager). A default context ‘global’ is created at the startup time. Sesion Manager for servlets deployed as web-app: For each virtual server a session manager is created and can be used by all the web-apps deployed in it. For e.g. maxSessions 5000 In this both the web-apps use the same session manager instance with maxSession=5000. You will notice Max session value set to different values,

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.