Sun MQ & Lingo.

View: New views
1 Messages — Rating Filter:   Alert me  

Sun MQ & Lingo.

by Uday Subbarayan-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Guys,
      I am trying to use Lingo(JMX over JMS) with Sun MQ4.1 product.
After the initial setup, when i try to run my JMX server to get connect
to the Sun MQ, i am getting this exception:
  ----------------------xxx--------------
  Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/activemq/ActiveMQConnectionFactory
        at
org.logicblaze.lingo.jmx.remote.jms.JmsJmxConnectorServer.start(JmsJmxConnectorServer.java:91)
        at
com.sun.uc.monitor.UCMonitorJMSServer.main(UCMonitorJMSServer.java:37)

  -----------------------xxx----------------
  Here is my JMX server code:
  JMXServiceURL url = new
JMXServiceURL("service:jmx:jms:///tcp://HOST:PORT");

  Map serverEnv=new HashMap();
serverEnv.put("jmx.remote.protocol.provider.pkgs","org.logicblaze.lingo.jmx.remote.provider");

  JMXConnectorServer cs
=JMXConnectorServerFactory.newJMXConnectorServer(url, serverEnv, mbs);

  cs.start();
  
  Question: Where/How to change the JMS provider information to get
connect to Sun MQ instead of ActiveMQ?
  
Thanks,
-Uday.


-------------------------
I do not blog but e-write:
http://uds-web.blogspot.com


Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.
LightInTheBox - Buy quality products at wholesale price!