I would like to add that the URLs for two different tenants, foo.com &
bar.com, hosting the same webapp, HelloWorld.war, will look like the
following:

http://127.0.0.1/foo.com/HelloWorld/index.jsp
http://127.0.0.1/bar.com/HelloWorld/index.jsp


Azeez

On Tue, Apr 20, 2010 at 2:17 PM, Afkham Azeez <[email protected]> wrote:

> It is the same thing. Instead defining the virtual hosts using the Tomcat
> server.xml file, we are doing it programmatically. We are creating a virtual
> host for each Tenant, and the directory mapped to each virtual host will
> be, CARBON_HOME/repository/tenants/<tenant-domain>/webapps
>
> Azeez
>
>
> On Tue, Apr 20, 2010 at 12:25 PM, Sumedha Rubasinghe <[email protected]>wrote:
>
>>
>>
>> On Tue, Apr 20, 2010 at 12:12 PM, Afkham Azeez <[email protected]> wrote:
>>
>>> Hi folks,
>>> In order to support multitenant webapps, we plan to create a new Tomcat
>>> host for each tenant, and support hot deployment/undeployment of webapps for
>>> each tenant. The webapps will reside in;
>>> CARBON_HOME/repository/tenants/<tenant-domain>/webapps
>>>
>>> e.g. CARBON_HOME/repository/tenants/afkham.org/webapps/HelloWorld.war
>>>
>>> In addition, the super-tenant will be able to deploy webapps in the
>>> regular manner by copying it to the CARBON_HOME/webapps directory. These
>>> webapps will be deployed under the default Tomcat host, which also hosts the
>>> Carbon webapp.
>>>
>>> We also plan to provide a UI for uploading & managing Webapps.
>>>
>>> Thoughts welcome.
>>>
>>
>> Rather than using CARBON_HOME/repository, can't we use how Tomcat manages
>> virtual hosts for this?
>>
>> /sumedha
>>
>>
>>>
>>> --
>>> Afkham Azeez
>>> Software Architect & Product Manager, WSO2 WSAS; WSO2, Inc.;
>>> http://wso2.com, Lean . Enterprise . Middleware
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> email: [email protected] cell: +94 77 3320919
>>> blog: http://afkham.org
>>> twitter: http://twitter.com/afkham_azeez
>>> linked-in: http://lk.linkedin.com/in/afkhamazeez
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Afkham Azeez
> Software Architect & Product Manager, WSO2 WSAS; WSO2, Inc.;
> http://wso2.com, Lean . Enterprise . Middleware
> Member; Apache Software Foundation; http://www.apache.org/
> email: [email protected] cell: +94 77 3320919
> blog: http://blog.afkham.org
>
> twitter: http://twitter.com/afkham_azeez
> linked-in: http://lk.linkedin.com/in/afkhamazeez
>



-- 
Afkham Azeez
Software Architect & Product Manager, WSO2 WSAS; WSO2, Inc.; http://wso2.com,
Lean . Enterprise . Middleware
Member; Apache Software Foundation; http://www.apache.org/
email: [email protected] cell: +94 77 3320919
blog: http://blog.afkham.org
twitter: http://twitter.com/afkham_azeez
linked-in: http://lk.linkedin.com/in/afkhamazeez
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to