Saturday, December 6, 2014
Wednesday, December 3, 2014
How to increase Web Pool to handle more requests in JBoss AS7
Web Pool is important in an Application Server,
if it is not configure properly, the server performance would be affected when huge number of requests coming into the server.
By default, the web pool in JBoss is not created.
Below are the steps to create Web Pool in JBoss
Steps
1. open <JBoss_HOME>/standalone/configuration/standalone.xml
2. find subsystem for "urn:jboss:domain:threads:1.1"
5. search for connector name="http"
6. bind the executor created in step 3 to the http connector
reference: https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.3/html/Administration_and_Configuration_Guide/sect-Connector_Configuration.html
Done!!
if it is not configure properly, the server performance would be affected when huge number of requests coming into the server.
By default, the web pool in JBoss is not created.
Below are the steps to create Web Pool in JBoss
Steps
1. open <JBoss_HOME>/standalone/configuration/standalone.xml
2. find subsystem for "urn:jboss:domain:threads:1.1"
3. add thread factory to the subsystem
4. create an executor in the subsystem
<thread-factory name="http-connector-factory" thread-name-pattern="HTTP-%t" priority="9" group-name="uq-thread-pool"/>
4. create an executor in the subsystem
<unbounded-queue-thread-pool name="uq-thread-pool">
<thread-factory name="http-connector-factory" />
<max-threads count="10" />
<keepalive-time time="30" unit="seconds" />
</unbounded-queue-thread-pool>
5. search for connector name="http"
6. bind the executor created in step 3 to the http connector
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" executor="uq-thread-pool" />
reference: https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.3/html/Administration_and_Configuration_Guide/sect-Connector_Configuration.html
Done!!
Subscribe to:
Posts (Atom)
Popular Posts
- How to handle multilingual error messages for jQuery validation plugins
- How to use jQuery validation plugin in JSF
- How to switch EJB client to local or remote interface without changing code
- How to display dynamic PDF document with <p:media /> component
- Getting started with Oracle SQL developer Data modeler
- Hacking the JBoss JNDI Datasource configuration
- java.lang.ClassNotFoundException: com.sun.crypto.provider.SunJCE from [Module "deployment.ROOT.war:main" from Service Module Loader]
- How to load file(s) in the same directory
- How to increase console line number in Eclipse
- How to verify jQuery in Richfaces 4 is working