November 2010 Archives

jboss5 + seam on FreeBSD

| | Comments (0) | TrackBacks (0)
  1. Install jboss5 port
  2. ln -sf /var/jboss5 /usr/local/share/jboss5/server
  3. 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).
  4. Edit /etc/sysctl.conf:
    kern.ps_arg_cache_limit=1024
    
    Necessary for the shutdown script to work
  5. Add
    jboss.home=/usr/local/share/jboss5
    to seam's build.properties
  6. ...to be continued

Long time no blog...

Today i discovered a nifty litte tool: pftop written by Can Erkin Acar lets you monitor network connections on your pf firewall.