RE: Tomcat and j2se1.4 with headless support

2002-02-08 Thread Randy Layman
I haven't tried it, but this should work. The -D option is just like the -X options that people use for setting the heap memory. Add it to CATALINA_OPTS (or TOMCAT_OPTS for those running TC3), restart and you should be running just fine. Randy -Original Message-

RE: Tomcat and j2se1.4 with headless support

2002-02-08 Thread Vasile . Curelea
Thanks Randy, I modified catalina.sh file inserting if [ -z $CATALINA_OPTS ] ; then CATALINA_OPTS=-Djava.awt.headless=true headless support fi .. restarted the server and I get the following exception: java.awt.HeadlessException at

RE: Tomcat and j2se1.4 with headless support

2002-02-08 Thread Randy Layman
] [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 3:00 PM To: Tomcat Users List Subject: RE: Tomcat and j2se1.4 with headless support Thanks Randy, I modified catalina.sh file inserting if [ -z $CATALINA_OPTS ] ; then CATALINA_OPTS=-Djava.awt.headless=true headless

RE: Tomcat and j2se1.4 with headless support

2002-02-08 Thread Vasile . Curelea
. Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 3:00 PM To: Tomcat Users List Subject: RE: Tomcat and j2se1.4 with headless support Thanks Randy, I modified catalina.sh file inserting if [ -z $CATALINA_OPTS

Re: Tomcat and j2se1.4 with headless support

2002-02-08 Thread Christopher K. St. John
[EMAIL PROTECTED] wrote: I modified catalina.sh file inserting if [ -z $CATALINA_OPTS ] ; then CATALINA_OPTS=-Djava.awt.headless=true headless support I think the idea is that you just need to do a: $ export CATALINA_OPTS=-Djava.awt.headless=true $ bin/startup.sh No need

Re: Tomcat and j2se1.4 with headless support

2002-02-08 Thread Vasile . Curelea
Thanks Christopher, can you please post the entire servlet sample code you used! can't figure what I'm doing wrong here. vasile Christopher