avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Mayring <u...@denic.de>
Subject MXINFO question
Date Mon, 21 Oct 2002 10:10:20 GMT

I've just created my first MXINFO file, but the descriptions I put in 
don't appear in the management console of MX4J. Apparently the file 
wasn't evaluated, but I don't see any error message in phoenix.log. Here 
are the files I have:

MyApp - an empty interface class (no methods or constructors)
MyAppMBean - contains some interface definitions for JMX
MyAppImpl - contains the implementations of the MyAppMBean interfaces 
and implements MyApp
MyAppMBean.mxinfo - my MXINFO file

Here's my MyAppMBean file:

public interface MyAppMBean {
     public String deleteObject(String id);
     public String getStatus();
     public void resume();
     public void pause();

Here's what I have in the MXINFO file:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE mxinfo PUBLIC "-//PHOENIX/Mx Info DTD Version 1.0//EN"


     <topic name="MyApp">

       <!-- attributes -->
         description="Status of MyApp"

       <!-- operations -->
         description="Deletes an Object"
           description="ID of Object to be deleted"



I was expecting that the descriptions I put in should appear in the 
MX4J-generated MBean web page, but they don't. I can think of two 
possible mistakes I made (although the docs don't forbid them):

1. I didn't define all the methods from the interfaces in MyAppMBean in 
the MXINFO file, because I only need descriptions for a few.

2. I should have called the MXINFO file MyAppImpl.mxinfo

Any ideas on how to debug this?


Ulrich Mayring
DENIC eG, Systementwicklung

To unsubscribe, e-mail:   <mailto:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>

View raw message