Restart issues is fixed now. Please uncomment and check the related integration tests..
Thanks, Sameera.. On Thu, Feb 23, 2012 at 9:17 AM, Sameera Jayasoma <same...@wso2.com> wrote: > 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" <same...@wso2.com> wrote: > >> >> >> On Wed, Feb 22, 2012 at 5:17 PM, Afkham Azeez <az...@wso2.com> 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 <same...@wso2.com>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: same...@wso2.com >>>> blog: http://tech.jayasoma.org >>>> >>>> Lean . Enterprise . Middleware >>>> >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> Carbon-dev@wso2.org >>>> 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: **az...@wso2.com* <az...@wso2.com>* 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 >>> Carbon-dev@wso2.org >>> 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: same...@wso2.com >> blog: http://tech.jayasoma.org >> >> Lean . Enterprise . Middleware >> > -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: same...@wso2.com blog: http://tech.jayasoma.org Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev