Re: Hudson gives awt.headless error [SOLVED] (Where to put on the Wiki?)
Re: Hudson gives awt.headless error [SOLVED] (Where to put on the Wiki?)
- Subject: Re: Hudson gives awt.headless error [SOLVED] (Where to put on the Wiki?)
- From: Johan Henselmans <email@hidden>
- Date: Wed, 10 Jun 2009 09:25:23 +0200
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden