Files such as .profile are only executed once--when users login. Other files (such as .bashrc and .cshrc) are run when a new shell process (bash or csh/tcsh, respectively) is spawn. If the machine starts a process automatically (through init.d, for example), no login occurs and you aren't able to leverage those initialization files.
Good idea, though. :-)
At 13:39 2003-02-05 -0600, you wrote:
It's been years since I worked with unix (ok, aix). However I do recall a file .profile (I think it was in your home directory) which is where we set our environment vars. It was executed by the shell when you logged on. Have you tried this? If this is way off, please ignore it, I don't need to be flamed (having a rough day).Jim -----Original Message----- From: Tim Funk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 1:28 PM To: Tomcat Users List Subject: Re: CGI environment vars I haven;t seen this discussed yet, you are exporting your variables in setenv.sh AND setenv.sh is located in $CATALINA_HOME/bin? Example: -------- export WACKY=very or ANSWER=42 exp--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
