Chapter 9 of JBoss in Action, which covers this topic, is available as a free download. It contains all of the necessayr configuration settings.
http://www.manning.com/jamae