FYI,
>From the release of Carbon 3.0.1(which will be out soon) the JMX
configuration has changed to the following.

<JMX>
            <!--The port RMI registry is exposed-->
            <!--<RMIRegistryPort>9999</RMIRegistryPort>-->
            <!--The port RMI server should be exposed-->
            <!--<RMIServerPort>11111</RMIServerPort>-->
</JMX>

Rajika


On Thu, Aug 12, 2010 at 6:16 PM, Aalto Ilari <[email protected]>wrote:

>  Yep,
>
> Thanks.
>
>
>
> For anybody interested, I had to actually uncomment:
>
> conf/carbon.xml:
>
> …
>
> <Ports>
>
>         <!--
>
>            The JMX Port
>
>         -->
>
>        <JMX>9999</JMX>
>
>
>
> for the right MBean(s) to appear. Now I can bring the bus down with just:
>
> jmxterm:
>
> run -b org.wso2.carbon:type=ServerAdmin shutdownGracefully
>
>
>
> -I
>
>
>  ------------------------------
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Afkham Azeez
> *Sent:* 10. elokuuta 2010 22:09
> *To:* [email protected]
> *Subject:* Re: [esb-java-user] How to shutdown WSO2ESB with JMX?
>
>
>
> Please locate the ServerAdmin MBean and execute the
> shutdown/gracefulShutdown operations.
>
>
>
> On Tue, Aug 10, 2010 at 8:24 PM, Aalto Ilari <[email protected]>
> wrote:
>
> Hello,
>
>
>
> I have WSO2ESB version 2.1.3 started with bin/wso2server.x and I’m trying
> to initiate a graceful shutdown via remote jmx client.
>
> This should be possible as advertised:
>
> http://wso2.org/projects/esb/java/features
>
> “JMX monitoring support and JMX management capabilities like,
> Gracefull/Forcefull shutdown/restart”
>
> but I just can’t seem to find out what MBean and operation to call. I’ve
> tried most of the “stop” operations under carbonEngine, but they do not
> bring the whole process down correctly. I’m after a <Ctrl+C> in the shell
> type shutdown without resorting to “kill pid” type things.
>
>
>
> Is it possible to trigger:
>
> “CarbonServerManager Gracefully shutting down WSO2 ESB...”
>
> via JMX?
>
>
>
> -Ilari
>
>
>
>
>
>
>
>
>  ------------------------------
>
> Disclaimer: This message and any attachments thereto are intended solely
> for the addressed recipient(s) and may contain confidential information.
> If you are not the intended recipient, please notify the sender by reply
> e-mail and delete the e-mail (including any attachments thereto) without
> producing, distributing or retaining any copies thereof. Any review,
> dissemination or other use of, or taking of any action in reliance upon,
> this information by persons or entities other than the intended recipient(s)
> is prohibited.
> Thank you.
>
>
> _______________________________________________
> Esb-java-user mailing list
> [email protected]
> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>
>
>
> --
> Afkham Azeez
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> Lean . Enterprise . Middleware
> Member; Apache Software Foundation; http://www.apache.org/
> email: [email protected] cell: +94 77 3320919
> blog: http://blog.afkham.org
> twitter: http://twitter.com/afkham_azeez
> linked-in: http://lk.linkedin.com/in/afkhamazeez
>
> ------------------------------
> Disclaimer: This message and any attachments thereto are intended solely
> for the addressed recipient(s) and may contain confidential information.
> If you are not the intended recipient, please notify the sender by reply
> e-mail and delete the e-mail (including any attachments thereto) without
> producing, distributing or retaining any copies thereof. Any review,
> dissemination or other use of, or taking of any action in reliance upon,
> this information by persons or entities other than the intended recipient(s)
> is prohibited.
> Thank you.
>
> _______________________________________________
> Esb-java-user mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>
_______________________________________________
Esb-java-user mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to