Discussions

General J2EE: ping service in Jboss

  1. ping service in Jboss (1 messages)

    Hi , I am looking to find if a Jboss appserver is up and alive by using any ping service.Is there any Tomcat service or other way to do this using MBean ? I can write some ping utility but I wanted to know if there is an existing API point.

    For example in Weblogic we can do
    ---------------------------------------------------
    T3ServicesDef t3_services = T3Services.getT3Services();
    String sent = "Okay";
    String read = null;

    read = t3_services.admin().ping( sent.getBytes() );
    ------------------------------------------------------

    Thanks,
    N

    Threaded Messages (1)

  2. ping service in Jboss[ Go to top ]

    Do a resource look up against that server. you able to get the context then the server is running otherwise not .

    -arun