Is there a way to detect from a java class (outside the server) if JBoss is currently running?

Discussion in 'Java' started by Peter Blatt, Oct 9, 2004.

  1. Peter Blatt

    Peter Blatt Guest

    From a java class outside JBoss I want to check if JBoss is currently running.
    How do I do that?

    May be I could write a java class which tries to ping the JBoss server.
    Or the java class tries to sent a standard request (which?) to JBoss.
    If a response occurs then JBoss is running and the java class.
    This class should implement a timeout function which represents a "not-running" status.

    In order not to re-invent the wheel: Does such a class exist?

    Peter Blatt, Oct 9, 2004
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page