- Install jboss5 port
- ln -sf /var/jboss5 /usr/local/share/jboss5/server
- edit /etc/rc.conf:
jboss5_enable="YES" jboss5_jvm_opts="-server -Xms128m -Xmx512m -XX:MaxPermSize=256m \ -Dorg.jboss.resolver.warning=true \ -Dsun.rmi.dgc.client.gcInterval=3600000 \ -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.bind.address=0.0.0.0 \ -Djava.awt.headless=true"
Notice the jboss.bind.address and java.awt.headless=true (to prevent annoying warnings about missing X11).
- Edit /etc/sysctl.conf:
kern.ps_arg_cache_limit=1024
Necessary for the shutdown script to work
- Add
jboss.home=/usr/local/share/jboss5
to seam’s build.properties
- …to be continued