Hi,

Carbon servers provides restart/shutdown operations through the ServerAdmin
MBean(in org.wso2.carbon). You should be able to call these operations
using a java jmx client.

Thanks,
Dumidu

On Thu, Mar 3, 2016 at 12:26 PM, Vithulan Vijayanandan <vithu...@wso2.com>
wrote:

> Hi,
>
> I am  currently able to start the server using Processbulder class [1]. Is
> there any other way to start and stop the carbon server from Java?
>
> [1]
> https://docs.oracle.com/javase/7/docs/api/java/lang/ProcessBuilder.html
>
> --
> *Vithulan MV*
>
> Intern-Software Engineering
> WSO2, Inc : wso2.com
> Mobile        : +94712540524
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Dumidu Handakumbura*
Software Engineer - QA
WSO2 Inc; http://www.wso2.com/.
Mobile;
*+94777706740 *
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to