On 9 jun 2009, at 21:17, Mike Schrag wrote:

AWT is not properly configured on this server. Perhaps you need to run your container with "-Djava.awt.headless=true"?
do that ... you can put it in your tomcat startup jvm options list


OK, found where to put it:

sh-3.2# cat /opt/local/share/java/tomcat6/conf/setenv.local

#!/bin/sh
#
# setenv.local
#
# This script, if present, is executed by tomcatctl through setenv.sh
# in order to set up any environment prior to executation of tomcat.
#

# For Apple Java, JAVA_JVM_VERSION may be used to specify a particular
# java version to run. It should be something like 1.4, 1.5, or CurrentJDK.
#export JAVA_JVM_VERSION=1.5

export HUDSON_HOME=/opt/local/var/db/hudson
export JAVA_OPTS=-Djava.awt.headless=true


This made Hudson run on Tomcat from macports. I might make a wiki page for people that do not have Tomcat for breakfast.
I am oscillating between these subjects  to put the information:

        • Web Applications
                • Development
                • Deployment
        • Development Tools
        • Integration with other clients
        • Testing
        • Additional Resources

Any suggestions where to put it?




ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/johan%40netsense.nl

This email sent to [email protected]

Regards,

Johan Henselmans
http://www.netsense.nl
Tel: +31-20-6267538
Fax: +31-20-6279159



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to