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 <[email protected]> wrote:

>
>
> On Thu, Mar 3, 2016 at 12:35 PM, Dumidu Handakumbura <[email protected]>
> 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 server also, so that can't be achieved using
> the Admin Service.
>
>>
>> Thanks,
>> Dumidu
>>
>> On Thu, Mar 3, 2016 at 12:26 PM, Vithulan Vijayanandan <[email protected]
>> > 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
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Dumidu Handakumbura*
>> Software Engineer - QA
>> WSO2 Inc; http://www.wso2.com/.
>> Mobile;
>> *+94777706740 <%2B94777706740> *
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Aruna Sujith Karunarathna *
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: [email protected] | Web: www.wso2.com
>
>



-- 
*Vithulan MV*

Intern-Software Engineering
WSO2, Inc : wso2.com
Mobile        : +94712540524
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to