Tag Archives: JBoss application server
How to run Java services (or background daemon processes) in an application server or web container?
I’ve presented here a simple example to illustrate how to convert stand-alone java programs (mostly, JARs) to WARs which can then be deployed in full-blown application servers (JBoss, WebSphere, etc.) or light weight web containers (Tomcat, Jetty, etc.). This’s generally done to avoid the hassle of managing background daemon processes separately. Also, deploying all of […]
JBoss AS (Application Server) provides some useful information through its JMX console that’d be helpful in understanding the deployed applications and doing some performance tuning. The provided information include server performance, how much memory is used, the total CPU time each thread has used etc.. How to know all this info? Open the below URL […]
Enabling JMX in JBoss To enable JMX access to JBoss, add the following arguments to JBoss VM args: -Dcom.sun.management.jmxremote The above line will enable only local monitoring. To enable remote JMX connection we need to specify the port which the JMX server will listen for remote connections. -Dcom.sun.management.jmxremote.port=9004 (or any other port number) The JMX […]