From: Rutger V. <rut...@gm...> - 2009-12-18 10:49:50
|
>> The environment for this user should be setup from scratch instead of >> copied over from an existing user's home dir. > > Yes. Rutger, are the instructions for that now complete, including any > Mesquite environment variables? Yes. It's on the wiki, there's also a file with the same variables in /home/rvosa/vars >> BTW, I tired to start Rutger's instance of tomcat with sudo this morning >> and was not able to because it needed some environment variables to start. >> Will this be necessary on production? I would prefer not. I usually put >> those variables in tomcat5.conf or in the catalina.sh script. > > It sounds like we need to fix that too so they are indeed part of the tomcat > startup configuration. Is that part of the documented instructions above? Not yet. The configuration that is being suggested here is different from how I did it. I approached it as a programmer wanting to have all the required variables set in the shell, so I can run scripts, launch standalone mesquite, etc. What Jon is suggesting is a more sysadmin-oriented approach where everything is scoped inside tomcat so that there is no hidden "magic" in the outside environment. I guess the consensus is that that suggestion is better, so what we should probably do is set it up on tre...@tr..., then update the wiki. -- Dr. Rutger A. Vos School of Biological Sciences Philip Lyle Building, Level 4 University of Reading Reading RG6 6BX United Kingdom Tel: +44 (0) 118 378 7535 http://www.nexml.org http://rutgervos.blogspot.com |