RE: How do I specify a different workDir for each user accessing the same Tomcat 4.1.27 implementation

2003-09-26 Thread Shapira, Yoav

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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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.


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



RE: How do I specify a different workDir for each user accessing the same Tomcat 4.1.27 implementation

2003-09-26 Thread Biswas, Goutam_Kumar
Shapira,

If I'm not too demanding :-) can you please explain why it is a bad idea to
use the same Tomcat instance for more than one user. Is it performance
related or is it something else ?

Regards,
Goutam


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 26, 2003 10:14 PM
To: Tomcat Users List
Subject: RE: How do I specify a different workDir for each user accessing
the same Tomcat 4.1.27 implementation



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:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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.


-
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]



RE: How do I specify a different workDir for each user accessing the same Tomcat 4.1.27 implementation

2003-09-26 Thread Shapira, Yoav

Howdy,

If I'm not too demanding :-) can you please explain why it is a bad
idea to
use the same Tomcat instance for more than one user. Is it performance
related or is it something else ?

Your users above are developers, not normal client users.  It's
legitimate for developers to experiment with the server configuration,
properties, etc.  Tomcat is free, you don't have to pay anything for
extra installations.

Forcing developers to share installations restricts their options during
development (or at least slows down the process if they have to make
sure their config change is OK with all other developers using the
server).

If one developer's mistake crashes the server, everyone suffers.  If he
has his own server, no one else is interrupted when it crashes.

Finally, sharing the same tomcat instance doesn't gain you any
significant advantage.

Of course, there should be a shared/central integration testing server.

Yoav Shapira



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.


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



RE: How do I specify a different workDir for each user accessing the same Tomcat 4.1.27 implementation

2003-09-26 Thread Biswas, Goutam_Kumar
Thanks Shapira ... for the feedback and for making me more knowledgeable :-)

-Goutam


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 26, 2003 10:31 PM
To: Tomcat Users List
Subject: RE: How do I specify a different workDir for each user accessing
the same Tomcat 4.1.27 implementation



Howdy,

If I'm not too demanding :-) can you please explain why it is a bad
idea to
use the same Tomcat instance for more than one user. Is it performance
related or is it something else ?

Your users above are developers, not normal client users.  It's
legitimate for developers to experiment with the server configuration,
properties, etc.  Tomcat is free, you don't have to pay anything for
extra installations.  

Forcing developers to share installations restricts their options during
development (or at least slows down the process if they have to make
sure their config change is OK with all other developers using the
server).  

If one developer's mistake crashes the server, everyone suffers.  If he
has his own server, no one else is interrupted when it crashes.

Finally, sharing the same tomcat instance doesn't gain you any
significant advantage.

Of course, there should be a shared/central integration testing server.

Yoav Shapira



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.


-
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]