mardi 26 mai 2015

How to limit connections to glassfish4?

I'm running a web application on a glassfish 4 server. The web application should not be accessible for all of connection. I want to limit 100 connections. if the 101th connection comes, the web application will show serverbusy.jsp.

My question:

Solution 1: How to configure Glassfish to limit connections.

Solution 2: Can i use jsp (Application Implicit object to count connection)?

Aucun commentaire:

Enregistrer un commentaire