Thursday, December 18, 2008

Using JBoss AS and Seam


Things to do when using JBoss AS (4.2.3.GA) and Seam (2.1.0.SP1):

  • Download the latest (at least 1.8.0) commons-beanutils for your .ear. It fixes amemory leak you'd see after you redeploy your .ear.
  • If you're running on OS X, disable the unnecessary dock icon from JBoss by adding -Djava.awt.headless=true. This might also solve problems on Linux/Solaris boxes that you're ssh'd onto and you don't have a DISPLAY environment variable set for X Windows.
  • Use your own jboss-log4j.xml file, which by default is in${jboss.home}/server/default/conf/jboss-log4j.xml. You probably don't need DEBUG output emitted to your console...