Re: [Dev] [Carbon] Starting and stopping WSO2 carbon server programmatically

2016-03-03 Thread Aruna Karunarathna
On Thu, Mar 3, 2016 at 2:01 PM, Vithulan Vijayanandan wrote: > Hi, > > So for starting I'll do the Processbuilder way and for shutdown calling > admin service will do right? > [Adding Nirmal] Did you check how the instance spawn done in stratos? > > On Thu, Mar 3, 2016 at

Re: [Dev] [Carbon] Starting and stopping WSO2 carbon server programmatically

2016-03-03 Thread Vithulan Vijayanandan
Hi, So for starting I'll do the Processbuilder way and for shutdown calling admin service will do right? On Thu, Mar 3, 2016 at 1:55 PM, Aruna Karunarathna wrote: > > > On Thu, Mar 3, 2016 at 12:35 PM, Dumidu Handakumbura > wrote: > >> Hi, >> >> Carbon servers

Re: [Dev] [Carbon] Starting and stopping WSO2 carbon server programmatically

2016-03-03 Thread Aruna Karunarathna
On Thu, Mar 3, 2016 at 12:35 PM, Dumidu Handakumbura wrote: > 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. > I think he wants to start the

Re: [Dev] [Carbon] Starting and stopping WSO2 carbon server programmatically

2016-03-02 Thread Dumidu Handakumbura
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 wrote: > Hi, > > I am

[Dev] [Carbon] Starting and stopping WSO2 carbon server programmatically

2016-03-02 Thread Vithulan Vijayanandan
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