You can also create a file called 'setenv.sh' and set
JAVA_OPTS in this file. setenv.sh gets included in
catalina.sh.

-sushma

--- Nathan Maves <[EMAIL PROTECTED]> wrote:
> I think either of these will work.  I use the second
> one and it works 
> fine for me
> 
> #JAVA_OPTS="-Djava.awt.headless=true"
> CATALINA_OPTS="-Djava.awt.headless=true"
> 
> 
> Nathan Maves
> Sun Microsystems
> 
> > 
> On Feb 24, 2004, at 8:28 AM, Peter Forster wrote:
> 
> > hi,
> > I want to start tomcat so it knows environment
> variables. in regular a
> > java-programm, i do that with the -D option (java
> -DMY_ENV=$MY_ENV).
> > i know i have to do this in the catalina.sh
> script.
> > i just can't find the correct syntax. can anyone
> help me or point to a
> > tutorial?
> >
> > thanks
> > pete
> >
> >
> >
>
---------------------------------------------------------------------
> > 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]


__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to