HtmlAdaptorServer - Compilation Error
Hi I m very new to JMX.
I m trying to run a simple JMX example in JBoss. I m getting compilation error at HtmlAdaptorServer adapter = new HtmlAdaptorServer();
The problem of course is at
import com.sun.jdmk.comm.HtmlAdaptorServer;
Can someone plz tell me what files I need to add to my classpath in order to resolve my problem.
Thanks in advance.
I m using eclipse. The class does not compile. I gather jmxtools.jar needs to be present in order to function.
I m using open source codes so I cannot use the version by sun.
I m going to use JManage ocz thats whats required in the work. Is this equivalent to HTMLAdaptorServer.
How to write an agent for a JMX -JManage application?
Thanks again
> I m using eclipse. The class does not compile.
Ok, I've understood it doesn't work, but try to explain us what the error is.
> I m using open source codes so I cannot use the
> version by sun.
ok, so try to use one of these
http://mx4j.sourceforge.net/
http://www.xmojo.org/products/xmojo/index.html
Both of them come with the html adaptor
>
> I m going to use JManage ocz thats whats required in
> the work. Is this equivalent to HTMLAdaptorServer.
>
Well, I don't know but here
http://jmanage.org/wiki/index.php/JDK_1.5
it uses rmi
> How to write an agent for a JMX -JManage
> application?
>
See http://www.xmojo.org/products/xmojo/docs/index.html and http://mx4j.sourceforge.net/docs/ch05.html
> Thanks again
Hope this helps,
Michele