I believe the mbean spec from Sun requires the interface and impl to be
in the same package, with a specific naming convention. Check the spec
for details.. 

James

-----Original Message-----
From: Greg Turner [mailto:gturner@;tiburon-e-systems.com] 
Sent: Monday, November 04, 2002 10:21 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] MBean Question


I have an MBean which I deploy as a sar file with no problems provided I

put the MBean class and its interface in the same package.  However, if 
I move the interface into a separate package, and taking care that the 
MBean class and interface are in the sar file, JBoss throws an 
exception, complaining that my class does not expose an MBean interface.

 I'm running JBoss 3.2 on Win2000.  Is this a bug, or is there something

else that needs to be put into the deployment descriptor to ensure that 
the interface is recognized ?

Thanks

Greg



-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in Las
Vegas (supported by COMDEX), the only Apache event to be fully supported
by the ASF. http://www.apachecon.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to