tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: How do I specify a different workDir for each user accessing the same Tomcat 4.1.27 implementation
Date Fri, 26 Sep 2003 16:44:13 GMT

Howdy,
If you want to use the same tomcat instance (bad idea IMHO), use a
different CATALINA_HOME for each user with the same CATALINA_BASE.  Take
the rest of your configurations, especially the Loader, out of
server.xml.

A better alternative is to have a completely separate tomcat instance
for each developer.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Biswas, Goutam_Kumar [mailto:Goutam-Kumar-Biswas@deshaw.com]
>Sent: Friday, September 26, 2003 12:43 PM
>To: Tomcat Users List
>Subject: How do I specify a different workDir for each user accessing
the
>same Tomcat 4.1.27 implementation
>
>Hi,
>
>I am trying to manage a development team wherein each user uses the
same
>instance of Tomcat for development. I do this by having a different
>server.xml file for each user and having the context docBase point to
the
>build/webapps directory of each user, like shown below:
>
>       <Context path="/POS"
>
docBase="/u/biswasg/Proj/pos/bin/share/../../build/webapps"
>               debug="0"
>          reloadable="true"
>        crossContext="false"
>       swallowOutput="true">
>
>       <Logger className="org.apache.catalina.logger.FileLogger"
>               directory="logs/biswasg"
>                  prefix="pos_log."
>                  suffix=".txt"
>               timestamp="false"/>
>
>       </Context>
>
>Now I want to specify a different workDir for each user also. How do I
do
>that? I tried adding the following <Loader> element inside the
<Context>
>but
>it doesn't work:
>
>       <Context path="/POS"
>
docBase="/u/biswasg/Proj/pos/bin/share/../../build/webapps"
>               debug="0"
>          reloadable="true"
>        crossContext="false"
>       swallowOutput="true">
>
>       <Logger className="org.apache.catalina.logger.FileLogger"
>               directory="logs/biswasg"
>                  prefix="pos_log."
>                  suffix=".txt"
>               timestamp="false"/>
>
>	<Loader className="org.apache.catalina.loader.WebappLoader"
>                 delegate="false"
>               reloadable="false"
>                  workDir="work/biswasg"/>
>       </Context>
>
>
>I want to do this as all JSP pages are now being compiled into the same
>work
>directory for every user. So if two or more users are concurrently
working
>on the same JSP page they sometimes end up with a feature that they
never
>added! (and which someone else working on the same JSP page might have
>added). So they ask me the question "Hey, I didn't add this... How did
that
>thing get in there?". And that triggered me into thinking that if I can
>specify a different workDir for each user the problem will be solved...
>
>Is this really do-able ?
>
>Regards,
>-Goutam
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


Mime
View raw message