Unable to use JMXMP with Knopflerfish?



Share on Google+Share on Google+

sam ellos
Unable to use JMXMP with Knopflerfish?
0 Answer(s)      5 years and 7 months ago
Posted in : Java Beginners

I have a bundle which runs properly with Eclipse, then I generate the jar file and try to use it with Knopflerfish, then I get the following exception

java.net.MalformedURLException: Unsupported protocol: jmxmp
    at javax.management.remote.JMXConnectorServerFactory.newJMXConnectorServer(Unknown Source)
    at agentJMXrequest.RunJMXAgent.startAgent(RunJMXAgent.java:101)
    at agentJMXrequest.RunJMXAgent.run(RunJMXAgent.java:36)
    at java.lang.Thread.run(Unknown Source)

Note that the jar file "jmxremote_optional.jar" exists in the classpath and the MANIFEST.MF is OK. I cannot figure out the problem and hope someone can give me a hint.. thanks in advance

cheers Sam

View Answers