You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by Amila Jayasekara <th...@gmail.com> on 2013/09/06 16:45:45 UTC

Distribution size increased in war

Hi All,

We are experiencing that war file size is increased significantly from last
release. Guess we need to reduce its size.
One solution is to exclude unnecessary maven dependencies.

Appreciated your feedback.

Thanks
Amila

Re: Distribution size increased in war

Posted by Amila Jayasekara <th...@gmail.com>.
+1, please.

Thanks
Amila


On Fri, Sep 6, 2013 at 4:01 PM, Saminda Wijeratne <sa...@gmail.com>wrote:

> We recently added ExecutionService REST service to the rest services jar.
> Thus when creating the REST webapp the jars required for the
> ExecutionService also got included to the webapp and the size of it was
> close to 100MB. While the ExecutionService is useful if anyone wants to use
> it, it is not necessary to have it in 0.9 release. Since we are very close
> to 0.9 release we will not remove this now but work on it in 0.10 release.
>
>
> On Fri, Sep 6, 2013 at 12:13 PM, Saminda Wijeratne <sa...@gmail.com>wrote:
>
>> Merging the two war files is a no go because the axis2 web-app inherently
>> have some problems in updating the service path that comes after the
>> context root.
>>
>>
>> On Fri, Sep 6, 2013 at 10:58 AM, Saminda Wijeratne <sa...@gmail.com>wrote:
>>
>>> The war distribution contains 2 war files. one to host axis2 services
>>> and the other to host jersey REST services. Each will have its own set of
>>> sharable libraries. I'm trying to see if we can merge the two in a safely
>>> to a single war so that libraries are shared.
>>>
>>>
>>> On Fri, Sep 6, 2013 at 10:45 AM, Amila Jayasekara <
>>> thejaka.amila@gmail.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> We are experiencing that war file size is increased significantly from
>>>> last release. Guess we need to reduce its size.
>>>> One solution is to exclude unnecessary maven dependencies.
>>>>
>>>> Appreciated your feedback.
>>>>
>>>> Thanks
>>>> Amila
>>>>
>>>
>>>
>>
>

Re: Distribution size increased in war

Posted by Saminda Wijeratne <sa...@gmail.com>.
We recently added ExecutionService REST service to the rest services jar.
Thus when creating the REST webapp the jars required for the
ExecutionService also got included to the webapp and the size of it was
close to 100MB. While the ExecutionService is useful if anyone wants to use
it, it is not necessary to have it in 0.9 release. Since we are very close
to 0.9 release we will not remove this now but work on it in 0.10 release.


On Fri, Sep 6, 2013 at 12:13 PM, Saminda Wijeratne <sa...@gmail.com>wrote:

> Merging the two war files is a no go because the axis2 web-app inherently
> have some problems in updating the service path that comes after the
> context root.
>
>
> On Fri, Sep 6, 2013 at 10:58 AM, Saminda Wijeratne <sa...@gmail.com>wrote:
>
>> The war distribution contains 2 war files. one to host axis2 services and
>> the other to host jersey REST services. Each will have its own set of
>> sharable libraries. I'm trying to see if we can merge the two in a safely
>> to a single war so that libraries are shared.
>>
>>
>> On Fri, Sep 6, 2013 at 10:45 AM, Amila Jayasekara <
>> thejaka.amila@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> We are experiencing that war file size is increased significantly from
>>> last release. Guess we need to reduce its size.
>>> One solution is to exclude unnecessary maven dependencies.
>>>
>>> Appreciated your feedback.
>>>
>>> Thanks
>>> Amila
>>>
>>
>>
>

Re: Distribution size increased in war

Posted by Saminda Wijeratne <sa...@gmail.com>.
Merging the two war files is a no go because the axis2 web-app inherently
have some problems in updating the service path that comes after the
context root.


On Fri, Sep 6, 2013 at 10:58 AM, Saminda Wijeratne <sa...@gmail.com>wrote:

> The war distribution contains 2 war files. one to host axis2 services and
> the other to host jersey REST services. Each will have its own set of
> sharable libraries. I'm trying to see if we can merge the two in a safely
> to a single war so that libraries are shared.
>
>
> On Fri, Sep 6, 2013 at 10:45 AM, Amila Jayasekara <thejaka.amila@gmail.com
> > wrote:
>
>> Hi All,
>>
>> We are experiencing that war file size is increased significantly from
>> last release. Guess we need to reduce its size.
>> One solution is to exclude unnecessary maven dependencies.
>>
>> Appreciated your feedback.
>>
>> Thanks
>> Amila
>>
>
>

Re: Distribution size increased in war

Posted by Saminda Wijeratne <sa...@gmail.com>.
The war distribution contains 2 war files. one to host axis2 services and
the other to host jersey REST services. Each will have its own set of
sharable libraries. I'm trying to see if we can merge the two in a safely
to a single war so that libraries are shared.


On Fri, Sep 6, 2013 at 10:45 AM, Amila Jayasekara
<th...@gmail.com>wrote:

> Hi All,
>
> We are experiencing that war file size is increased significantly from
> last release. Guess we need to reduce its size.
> One solution is to exclude unnecessary maven dependencies.
>
> Appreciated your feedback.
>
> Thanks
> Amila
>