-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Leo,
On 6/16/2010 1:31 PM, Leo Donahue - PLANDEVX wrote: > Tomcat zip dir: > C:\ApacheTomcat\apache-tomcat-6.0.26\bin > In here I created a setenv.bat that has the following: set > "CATALINA_BASE=%C:\Catalina_Base1%" That is going to be counter-productive, since any instance of Tomcat using CATALINA_HOME=C:\ApacheTomcat\apache-tomcat-6.0.26\bin will end up using CATALINA_BASE=%C:\Catalina_Base1% (BTW, %C:\Catalina_Base1% will give you the value of an environment variable, instead of the path C:\Catalina_Base1, right?) Instead, I might suggest using a script like C:\Catalina_Base1\startup.bat: @set CATALINA_BASE=C:\Catalina_Base1 C:\ApacheTomcat\apache-tomcat-6.0.26\bin\startup.bat > C:\Catalina_Base1\conf > ** I copied the contents of \conf from > C:\ApacheTomcat\apache-tomcat-6.0.26\conf > ** I changed the shutdown port to 8006, HTTP port to 8081, and AJP Port to > 8010 in server.xml You can probably leave context.xml and web.xml in the original install without copying them. I would recommend your own server.xml (required), logging.properties (if you want something other than the default) and, if necessary, catalina.policy. Let the base Tomcat install take care of the other files. > Ok, so how do I get specify multiple CATALINA_BASE options in the setenv.bat > in C:\ApacheTomcat\apache-tomcat-6.0.26\bin? You don't :) See above. Hope that helps, - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwZX3sACgkQ9CaO5/Lv0PBS1gCcDs0cchYwsyTq+oRZBqjmBHWC Pj0An3zcOGRfINvoGYXCnXK69RJm1wno =yayw -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org