Re: running separate isolated jvm's for each web app

2012-01-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ahmed,

On 1/16/12 11:13 AM, S Ahmed wrote:
> If my tomcat has 2 web applications running on it, how do I create 
> different jvm pools to keep the apps isolated?

Read the RUNNING.txt file that comes in the Tomcat distribution.
Specifically, read the "Advanced" section that talks about using
CATALINA_BASE.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8W6PoACgkQ9CaO5/Lv0PAguwCffM9A+h3UGeNBOKr3ogRi8pl3
AFkAn3pCqQx/jrTbCgPpwBwoJKgtzyyO
=OXmG
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: running separate isolated jvm's for each web app

2012-01-16 Thread David kerber

On 1/16/2012 11:50 AM, S Ahmed wrote:

Meaning I have to run tomcat 2 times?

I thought it would be possible to have a single instace of tomcat running,
and 2 different applications running on seperate jvms.

Thanks for clarifying.

So there memory cost is even higher since you need 2 tomcats running.


But it's still not very big; tomcat's memory usage is pretty small 
compared to most apps that are running under it.





On Mon, Jan 16, 2012 at 11:17 AM, Ilya Kazakevich<
ilya.kazakev...@jetbrains.com>  wrote:


Tomcat itself runs inside JVM, so you need 2 JVMs each with tomcat and your
app.
Separating apps is a good practice because of classpath issues

Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"



-Original Message-
From: S Ahmed [mailto:sahmed1...@gmail.com]
Sent: Monday, January 16, 2012 8:14 PM
To: Tomcat Users List
Subject: running separate isolated jvm's for each web app

If my tomcat has 2 web applications running on it, how do I
create different jvm pools to keep the apps isolated?




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org







-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: running separate isolated jvm's for each web app

2012-01-16 Thread S Ahmed
Meaning I have to run tomcat 2 times?

I thought it would be possible to have a single instace of tomcat running,
and 2 different applications running on seperate jvms.

Thanks for clarifying.

So there memory cost is even higher since you need 2 tomcats running.

On Mon, Jan 16, 2012 at 11:17 AM, Ilya Kazakevich <
ilya.kazakev...@jetbrains.com> wrote:

> Tomcat itself runs inside JVM, so you need 2 JVMs each with tomcat and your
> app.
> Separating apps is a good practice because of classpath issues
>
> Ilya Kazakevich,
> Developer
> JetBrains Inc
> http://www.jetbrains.com
> "Develop with pleasure!"
>
>
> >-Original Message-
> >From: S Ahmed [mailto:sahmed1...@gmail.com]
> >Sent: Monday, January 16, 2012 8:14 PM
> >To: Tomcat Users List
> >Subject: running separate isolated jvm's for each web app
> >
> >If my tomcat has 2 web applications running on it, how do I
> >create different jvm pools to keep the apps isolated?
> >
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


RE: running separate isolated jvm's for each web app

2012-01-16 Thread Ilya Kazakevich
Tomcat itself runs inside JVM, so you need 2 JVMs each with tomcat and your
app. 
Separating apps is a good practice because of classpath issues

Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"
 

>-Original Message-
>From: S Ahmed [mailto:sahmed1...@gmail.com] 
>Sent: Monday, January 16, 2012 8:14 PM
>To: Tomcat Users List
>Subject: running separate isolated jvm's for each web app
>
>If my tomcat has 2 web applications running on it, how do I 
>create different jvm pools to keep the apps isolated?
>


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org