Hudson setup on Solaris

On Solaris it was necessary to add a java.awt.headless=true property and DISPLAY=:1.0 to the /bin/setenv.sh script file. This was required to prevent the java.awt classes from trying to initialise the X display.


#setenv.sh
#!/bin/sh
JAVA_OPTS="$JAVA_OPTS "-Djava.awt.headless=true
JAVA_OPTS=$JAVA_OPTS" -XX:PermSize=64M -XX:MaxPermSize=128M -Dhttp.proxyHost=footech-Dhttp.proxyPort=8080"
export JAVA_OPTS

DISPLAY=:1.0
export DISPLAY


More details here

2 comments:

Anonymous said...

Nick, would it be possible to post the jelly files for your Starteam plugin changes (or Eric's) changes in addition to the java files that have already been posted on the Hudson website. Thanks

Nick said...

Hi

I'll put them on the Hudson Wiki.

Nick