Hi Geeks

Now the JMX Connector using RMI is available as separate
archive from jBoss. Therefore it is not necessary to have
jBoss source code and also it is not necessary to use the
jBoss logger (you still can).

What do you need and how to get (you can either download
the whole CVS code from module jBoss or use your browsers
to the parts you need: www.jboss.org->Source code->browse
source online->module jboss):
- For the server-side connector
  - jmxri.jar: jboss->lib and download it
  - jnpserver.jar: (only necessary if you do not have your
    own JNDI server) jboss->src->lib and download it
  - jndi.properties: (only necessary if you do not have your
    own JNDI properties) jboss->src->etc->conf->default
    and download it
- For the client-side connector
  - jmxri.jar: see above
  - jnp-client.jar: jboss->src-client and download it
  - jndi.properties: see above

ATTENTION: for the client (and also for the server if you
do not use jBoss) in the jndi.properties the Provider URL
must be uncommented !!

Both archive comes with a test program which you have to
start with: java -jar <archive>.jar
To use them the additional files (downloaded above) must
be under the following directories (relative to the archive
file you start):
- jndi.properties: locally or ../conf
- jmxri.jar: locally or ../lib
- jnpserver.jar: locally or ../lib/ext
- jnp-client.jar: locally or ../lib

To see the source code of the test programs go to:
jboss->src->main->test->jboss->jmx
and there you find TestClient.java and TestServer.java

If you have any problems drop me a mail, thanx.

Have fun - Mad Andy / Better Pizza

[EMAIL PROTECTED]
[EMAIL PROTECTED]

while( true ) { think(); write(); publish(); );
 

Reply via email to