Hi Can anyone point me in the direction of any documents which outline JBoss performance tuning, heap size number threads etc especially with respect to using a embedded Tomcat Servlet Engine.
I've tried the Apache and JBoss.org sites but its a bit like wading thru treacle finding anything.
JBoss offer a "configuration for production" document which gives some advice on tuning. But this is only available with a JBoss support licence, so I can't link to it. You won't find any other official docs which talk about performance tuning since JBoss make their money out of offering exactly this sort of thing via consultancy. This is understandable if a bit cheeky - particularaly as it is deployed an an unoptimized form (i.e. as you might want it if you were devoloping new code to be part of JBoss, rather rather than to be deployed on it).
I did find an OK, if not very advanced doc here before my company stumped up for the money for support.
These are general tips for simple tuning (if not using Entity Beans):
- pre-compile your JSPs - disable your hot deployment scanner - increase your EJB pool. - increase your min/max request processor threads (tomcat) - if u r in a multi-cpu machine tune gc algorithms - remove any unused mbean. - set log level to error and disable - use a fastest jvm (such as jrockit)