File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss and the fly likes JBoss\Tomcat Tuning Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "JBoss\Tomcat Tuning" Watch "JBoss\Tomcat Tuning" New topic
Author

JBoss\Tomcat Tuning

Graham VMead
Ranch Hand

Joined: Sep 22, 2003
Posts: 154
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.

TIA Graham
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

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.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Rafael Forte
Greenhorn

Joined: Dec 07, 2004
Posts: 8
Graham,

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)

In addition you can find useful information in www.amitysolutions.com.au/downloads/JBoss_code.pdf

Regards,
Rafael Forte
 
IntelliJ Java IDE
 
subject: JBoss\Tomcat Tuning
 
Threads others viewed
OpenSource SunOne
JBOSS Performance tuning:
jboss/tomcat Application tuning..
JBoss interview specific q&a for System Admin
Jboss Performance Tunning
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture