users@glassfish.java.net

Re: comparing glassfish with tomcat

From: roger.keays <roger.keays_at_ninthavenue.com.au>
Date: Tue, 31 Oct 2006 22:35:50 -0800 (PST)

Hi jeanfrancois,

Thanks for your comments.


Jeanfrancois Arcand-2 wrote:
>
> + "Configure same webapp differently". Hum...how do you do that in Tomcat?
>

In tomcat I can create and configure contexts with individual context.xml
files for each virtual host or in conf/server.xml like this:

(host1)
        <Context path=""
docBase="${catalina.home}/server/webapps/figbird-2.0.x">
          <Environment name="configFile" value="/tmp/host1.properties"
           type="java.lang.String" override="false"/>
        </Context>

(host2)
        <Context path=""
docBase="${catalina.home}/server/webapps/figbird-2.0.x">
          <Environment name="configFile" value="tmp/host2.properties"
           type="java.lang.String" override="false"/>
        </Context>


Jeanfrancois Arcand-2 wrote:
>
> + "Each host has a jailed manager". Why do you need such isolation?
>
Not a major requirement, but useful if you want to offer a mass virtual
hosting service for the public.

Cheers,

Roger

 
> [1] http://www.ninthavenue.com.au/blog/glassfish_vs_tomcat
 
----------------------------------------
 Ninth Avenue Software
 p: +61 7 3137 1351 (UTC +10)
 f: +61 7 3102 9141
 w: http://www.ninthavenue.com.au
 e: info_at_ninthavenue.com.au
 ----------------------------------------
 

-- 
View this message in context: http://www.nabble.com/comparing-glassfish-with-tomcat-tf2549554.html#a7108826
Sent from the java.net - glassfish users mailing list archive at Nabble.com.