We ( Azeez, Pradeep and myself) had an offline discussion on this. This
complication comes only when the server is started in the wrapper mode.

Also there are plans to get rid of this wapper mode in the future, hence we
temporary ingore the wapper mode restart..

Thanks,
Sameera
On Feb 22, 2012 5:52 PM, "Sameera Jayasoma" <[email protected]> wrote:

>
>
> On Wed, Feb 22, 2012 at 5:17 PM, Afkham Azeez <[email protected]> wrote:
>
>> Why not simply move System restarter to org.wso2.carbon.core?
>>
>
> Then the problem is, we have to import tanuke(Wrapper) jars to Carbon.core.
>
> Sameera.
>
>>
>> On Wed, Feb 22, 2012 at 3:38 PM, Sameera Jayasoma <[email protected]>wrote:
>>
>>> Hi Devs,
>>>
>>> Background
>>> -----------------
>>>
>>> * Earlier, all the classes in the org.wso2.carbon.bridge package have
>>> been exported to the OSGi environment. This bridge package was running in
>>> the Carbon webapp class space.
>>> * SystemRestarter class which is responsible for restarting Carbon, was
>>> there in the bridge package. Carbon Core bundle invokes the
>>> SystemRestarter.restart() to restart the system forcefully or
>>>    gracefully. This class is visible to Carbon core, because we have
>>> exposed all classes in the bridge package.
>>>
>>> Current Situation
>>> ------------------------
>>> * Now we are removing the webapp support from Carbon. Hence we are
>>> moving all these utility classes to the org.wso2.carbon.server package. And
>>> also we decided not expose the classes in org.wso2.carbon.server package
>>> into the OSGi environment.
>>>
>>> Now in order to get this restart to work, the only solution I see is to
>>> use reflection and invoke the SystemRestarter.restart method. If there are
>>> no objections I will implement this.
>>>
>>> Thanks,
>>> Sameera.
>>> --
>>> Sameera Jayasoma
>>> Technical Lead and Product Manager, WSO2 Carbon
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: [email protected]
>>> blog: http://tech.jayasoma.org
>>>
>>> Lean . Enterprise . Middleware
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>**
>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Sameera Jayasoma
> Technical Lead and Product Manager, WSO2 Carbon
>
> WSO2, Inc. (http://wso2.com)
> email: [email protected]
> blog: http://tech.jayasoma.org
>
> Lean . Enterprise . Middleware
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to