Results 1 to 5 of 5

Thread: JMX monitoring

  1. #1
    Member
    Join Date
    Apr 2007
    Location
    Kerry
    Posts
    17

    JMX monitoring

    Hi there.

    I try to access Lightstreamer JMX data through JConsole but it always denies the connection. I guess it requires some user/password but I haven't found anything in the docs.

    Cheers,
    Martin

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    517
    Hi Martin,

    As a first note, please consider that the JMX interfaces are only available in Lightstreamer Vivace (and is disabled in Moderato, Allegro and Presto).

    To connect to Lightstreamer's internal MBean server with JConsole, you should use the rmi connector, rather than the jmxmp connector.
    In lightstreamer_conf.xml you should uncomment the following line:
    <rmi_connector_port>8888</rmi_connector_port>

    Launch JConsole, then specify the this remote process:
    service:jmx:rmi:///jndi/rmi://localhost:8888/lsjmx

  3. #3
    Member
    Join Date
    Apr 2007
    Location
    Kerry
    Posts
    17
    Thanks Alex. Works like a charm now.

  4. #4
    Member
    Join Date
    Feb 2009
    Location
    Pyrmont
    Posts
    25
    Hi there,

    WE've been trying to get JMX to work for a monitoring system and via jconsole.

    We have tried the following but are unable to connect:

    service:jmx:rmi:///jndi/rmi://localhost:8888/jmxrmi
    service:jmx:rmi:///jndi/rmi://localhost:8888/lsjmx

    service:jmx:rmi:///jndi/rmi://<hostname>:8888/jmxrmi
    service:jmx:rmi://<hostname>/jndi/rmi://<hostname>:8888/lsjmx
    service:jmx:rmi://<hostname>/jndi/rmi://<hostname>:8888/jmxrmi
    service:jmx:rmi://<hostname>/jndi/rmi://<hostname>:8888/lsjmx

    service:jmx:rmi:///jndi/rmi://<IP>:8888/jmxrmi
    service:jmx:rmi:///jndi/rmi://<IP>:8888/lsjmx
    service:jmx:rmi:///jndi/rmi://<IP>:8888/jmxrmi
    service:jmx:rmi:///jndi/rmi://<IP>:8888/lsjmx

    Additionally we have the rmi port as 8888

    Is there something else that needs to be configured?

    THanks

    CT

  5. #5
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    517
    JMX is only available on Lightstreamer Vivace (see http://www.lightstreamer.com/products.htm)

 

 

Similar Threads

  1. Monitoring multiple LS clients
    By colmfield in forum Client APIs
    Replies: 1
    Last Post: October 25th, 2011, 10:34 AM
  2. Monitoring the Server through JConsole (since 4.0)
    By DarioCrivelli in forum General
    Replies: 0
    Last Post: June 13th, 2011, 04:50 PM
  3. General Monitoring
    By silvamayne in forum General
    Replies: 1
    Last Post: October 8th, 2007, 06:27 PM
  4. Monitoring the Server through JConsole (before 4.0)
    By DarioCrivelli in forum General
    Replies: 2
    Last Post: August 21st, 2007, 02:16 PM
  5. JMX support for more detailed monitoring ?
    By rsouissi in forum General
    Replies: 1
    Last Post: May 30th, 2007, 05:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 06:30 PM.