Hello, Ukiah: To see what's failing in the script you can try this: set -x catalina.sh
You can then type "set +x" to switch off the display of executed commands or just open another command shell.... Oswald Ukiah Smith <[EMAIL PROTECTED]> wrote: I just used JAVA_OPTS = -Djava.awt.headless=true as the first non commented line in catalina.sh. I also tried it in my init.d/tomcat41 directory. When it was in my catalina.sh file I got and error, JAVA_OPTS: command not found. What am I doing wrong? Where do I set JAVA_OPTS or CATALINA_OPTS? //Ukiah On Fri, Feb 27, 2004 at 05:42:38PM -0500, Asim Alp wrote: > I think you have to set the JAVA_OPTS environmental variable. > > Asim > > On Feb 27, 2004, at 5:48 PM, Ukiah Smith wrote: > > >I am using an application that requires me to run it with a custom > >property (-Djava.awt.headless=true). I poked around in my tomcat 4.1.29 > >installation and found that in the catalina.sh file there was an > >CATALINA_OPTS variable. I tried to set it at a few different places in > >the catalina.sh file. The all resulted in "catalina.sh: CATALINA_OPTS: > >command not found". > > > >So my question is how can I get tomcat to run with the property > >-Djava.awt.headless=true? > > > > > >Thanks //Ukiah Smith > > > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- http://www.societyofno.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Do you Yahoo!? Get better spam protection with Yahoo! Mail
