On Wed, Jun 27, 2012 at 10:44 AM, Kishanthan Thangarajah <
[email protected]> wrote:

>
>
> On Tue, Jun 26, 2012 at 10:31 AM, Muhammed Shariq <[email protected]> wrote:
>
>>
>>
>> On Mon, Jun 25, 2012 at 11:22 PM, Kishanthan Thangarajah <
>> [email protected]> wrote:
>>
>>> Hi Shariq,
>>>
>>> On Sun, Mar 18, 2012 at 1:18 PM, Muhammed Shariq <[email protected]>wrote:
>>>
>>>> Hi folks,
>>>>
>>>> From the last Stratos release we introduced a landing page as a simple
>>>> html based webapp to in order to display service specific information,
>>>> screen casts etc. Ideally we needed to be able to update this webapp with
>>>> minimal to no downtime.
>>>>
>>>> Previously this webapp was located in the distributions lib/home
>>>> directory with a special deployer in org.wso2.carbon.server package. This
>>>> deployer has been removed with the tomacat OSGification efforts. After a
>>>> quick discussion with Azeez and Pradeep I have added a separate landing
>>>> page deployer as a stratos component. Also we decided to move the webapp
>>>> into special dir named STRATOS_HOME (should be STRATOS_ROOT as per Pradeed,
>>>> not updated yet) in /repository/deployment/server/webapps directory.
>>>>
>>>
>>> AS now supports exploded webapp deployment by default. Because of this,
>>> the STRATOS_ROOT directory is getting deployed as a separate webapp. So we
>>> need to move this from /repository/deployment/server/webapps to another
>>> place. Since there is a separate deployer for this landingPage webapp, we
>>> can easily come up with the new repo location. But I can't find a proper
>>> place for this in repo/deployment other than webapps directory.
>>>
>>
>> Initially this webapp was at lib/home directory but we moved it to
>> webapps during the tomcat osgification effort. IIRC we discussed which is
>> the suitable place to moved the webapp and ultimately concluded to move it
>> to webapps dir, so if we could come up with a new location for this webapp
>> I am ok to go ahead with it. On the other hand, this double deployment
>> happens only in AS because of the webapp deployer right ? Isn't it possible
>> to skip the STRATOS_HOME webapp in the webapp deployer ?!
>>
>
> If we add a skip check for STRATOS_HOME, we will end up with that check
> being evaluated for all webapp deployment requests. So that will
> add unnecessary overhead. I'm OK with the location "
> repository/deployment/server/stratos" suggested by AmilaM. Shall we go
> ahead with that?
>
+1,  "repository/deployment/server/stratos" solution  looks more cleaner.

thanks,

>
> Thanks,
> Kishanthan.
>
>>
>>> Thanks,
>>> Kishanthan.
>>>
>>>>
>>>> With this change in place we can simply edit the webapp without having
>>>> to restart the servers, meaning we don't need to do a scheduled maintenance
>>>> round to update the landing pages. Also since its under
>>>> repository/deployment dir, the deployment synchronizer will handle the
>>>> updating nodes in the cluster.
>>>>
>>>> I have already made necessary changes to all the service bin.xml files
>>>> and also added the component to the build. Let me know if you encounter any
>>>> issues ...
>>>>
>>>> --
>>>> Thanks,
>>>> Shariq.
>>>> Phone: +94 777 202 225
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Software Engineer,
>>> Development Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com*
>>> Twitter - *http://twitter.com/kishanthan*
>>>
>>>
>>
>>
>> --
>> Thanks,
>> Shariq.
>> Phone: +94 777 202 225
>>
>>
>
>
> --
> *Kishanthan Thangarajah*
> Software Engineer,
> Development Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com*
> Twitter - *http://twitter.com/kishanthan*
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [email protected] <[email protected]>
mobile - 071 56 91 321
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to