Hi Manoj,

Yes. Even if the jar is removed, plugin directory has the same md5 value of
removed jar. means It is not reverted.

To revert the jar, we have to remove the patch directory and restart the
server.

Thanks,
Nuwanw

On Wed, Jun 1, 2016 at 12:03 PM, Manoj Kumara <ma...@wso2.com> wrote:

> During patch application it validate the md5sum's of the jars as well. Can
> you please verify the removed jar has a different md5 value from what's
> there in the server ?
>
> *Manoj Kumara*
> WSO2 Inc. *| **lean. enterprise. middleware.*
> *Mobile:* +94 713 448188
>
> On Wed, Jun 1, 2016 at 11:53 AM, Nuwan Wimalasekara <nuw...@wso2.com>
> wrote:
>
>> Hi Carbon Team,
>>
>> I have observed $subject when I try to remove a jar file from patch
>> directory. I know removing a jar file from patch directory is not a good
>> practise when applying patches. But it may happen and then the behaviour is
>> confusing. However if we update the a jar file inside a patch , it will
>> reflect and update the plugins directory and works as expected.
>>
>> To reproduce the issue, we can apply a patch having two jar file and
>> restart the server. Then it will apply the patch. after that, remove one of
>> jar file in the patch directory and restart the server. The it will not
>> detect as a patch change and will not revert the removed jar from patch0000.
>>
>> Is this a limitation in patch applying process or bug?
>>
>> Thanks,
>> Nuwanw
>>
>> --
>> Nuwan Wimalasekara
>> Senior Software Engineer - Test Automation
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> phone: +94 71 668 4620
>>
>>
>>
>>
>


-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to