multiple webapps on single tomcat?

2008-02-25 Thread Abid Hussain

Hi everybody,

I am planning to set up a couple (2-5) of webapps. I've encountered some 
problems in the past when running multiple webapps on a single tomcat, 
cause they somehow interfered with each other (frankly, I never 
unterstood why).


My question is:
Is there a best practice for running several webapps on a single 
tomcat instance in terms of not interfering with each other? Or is it 
principally better to run every webapp in it's own tomcat instance?


Would be thankful for any advices.

Regards,

Abid

--

Abid Hussain
Mail: [EMAIL PROTECTED]
Web: http://www.abid76.de

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: multiple webapps on single tomcat?

2008-02-25 Thread Hassan Schroeder
On Mon, Feb 25, 2008 at 5:46 AM, Abid Hussain [EMAIL PROTECTED] wrote:

  My question is:
  Is there a best practice for running several webapps on a single
  tomcat instance ...

Tomcat is made for this. Install your webapps per the documentation
(and Servlet Spec) and they won't interfere with each other.

-- 
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: multiple webapps on single tomcat?

2008-02-25 Thread Roland Brassous (SILOGIC)

Hi,

in order to start Bests practises, i think about these rules...

Libraries
- Be care of [Tomcat directory]\shared\classes or [Tomcat 
directory]\shared\lib contents
- Be care of [Tomcat directory]\common\classes, [Tomcat 
directory]\common\classes\endorsed and [Tomcat 
directory]\common\classes\lib contents

I think about conflict

Context definition
- Each context are defined in a separate configuration file ( [Tomcat 
directory]\conf\Catalina\localhost\


perhaps is a good start...




Hassan Schroeder a écrit :

On Mon, Feb 25, 2008 at 5:46 AM, Abid Hussain [EMAIL PROTECTED] wrote:

  

 My question is:
 Is there a best practice for running several webapps on a single
 tomcat instance ...



Tomcat is made for this. Install your webapps per the documentation
(and Servlet Spec) and they won't interfere with each other.

  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: multiple webapps on single tomcat?

2008-02-25 Thread Abid Hussain
Thanks for help. So am I right saying that no conflicts between webapps 
can occur when

1. using tomcat 5.x...
- all wepapps only use their WEB-INF/lib as directory for libraries and
- none of the webapps uses libraries from $CATALINA_HOME/common/lib 
resp. $CATALINA_HOME/shared/lib

2. using tomcat 6...
- none of the webapps uses libraries from $CATALINA_HOME/lib?

Both points are meant except the usage of standard libraries like 
servlet-api, jsp-api etc., which are naturally needed by all webapps.


Regards,

Abid

Roland Brassous (SILOGIC) schrieb:

Hi,

in order to start Bests practises, i think about these rules...

Libraries
- Be care of [Tomcat directory]\shared\classes or [Tomcat 
directory]\shared\lib contents
- Be care of [Tomcat directory]\common\classes, [Tomcat 
directory]\common\classes\endorsed and [Tomcat 
directory]\common\classes\lib contents

I think about conflict

Context definition
- Each context are defined in a separate configuration file ( [Tomcat 
directory]\conf\Catalina\localhost\


perhaps is a good start...




Hassan Schroeder a écrit :
On Mon, Feb 25, 2008 at 5:46 AM, Abid Hussain [EMAIL PROTECTED] 
wrote:


 

 My question is:
 Is there a best practice for running several webapps on a single
 tomcat instance ...



Tomcat is made for this. Install your webapps per the documentation
(and Servlet Spec) and they won't interfere with each other.

  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--

Abid Hussain
Mail: [EMAIL PROTECTED]
Web: http://www.abid76.de

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]