-
1. Re: Where can maxActiveSessions be found/set in AS7?
nickarls Aug 6, 2012 5:18 PM (in response to jmfaerman)I think there used to be a
max-active-sessions
in jboss-web.xml. -
2. Re: Where can maxActiveSessions be found/set in AS7?
jaysensharma Aug 7, 2012 12:55 AM (in response to nickarls)Hi Julio,
It can be defined inside the "jboss-web.xml" as following:
<jboss-web>
<max-active-sessions>30</max-active-sessions>
</jboss-web>
Also if you want to monitor the max-active-session of "" then you can enable the following JAVA_OPTS on your JBoss "-Dorg.apache.tomcat.util.ENABLE_MODELER=true" this will cause JBoss to expose the MBeans "“jboss.web:type=*"
Example: jboss.web:type=Manager,path=/TestWebApp,host=default-host
Here Test WebApp is the context root of your WAR. Once the above mentioned JAVA_OPTS is enabled then evev using "$JBOSS_HOME/bin/jconsole.sh" (jconsole) script when you will try to see the MBeans you will be able to see the "jboss.web:type=Manager" as well there.
-
3. Re: Where can maxActiveSessions be found/set in AS7?
jmfaerman Aug 7, 2012 6:42 AM (in response to jaysensharma)Thanks!