Even if no application is deployed on JBOSS 4.2.2, it is taking more than 100% CPU on my linux machine.
Please help.
Even if no application is deployed on JBOSS 4.2.2, it is taking more than 100% CPU on my linux machine.
Please help.
That does sound a bit odd indeed. However JBoss has got quite a lot out-of-the-box services enabled that could take CPU. If you do a stack trace (send java the -QUIT signal) you can see what threads are running. Sometimes the deployment scanner thread can run wild (the thread that auto deploys resourced placed in the deploy/ directory).
You can also have a look what Jboss is up in the consoles that comes with JBoss which is deployed under http://localhost:8080/web-console/ and http://localhost:8080/jmx-console/
As a last resource check if JBoss is going garbage collection, simply add the verbose gc JVM arguments to your run.conf file.