• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JBoss\Tomcat Tuning

 
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic