Thanks James,

I skimmed the spec and could not find any specs on the package of the interface. Furthermore, the manual from the adanced JBoss training has a diagram of a sar file that shows the MBean and its interface as being in different packages. Scott or Juha want to weigh in here ?

Greg




James Higginbotham wrote:

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



--
Greg Turner, JBoss Authorized Consultant

Tiburon Enterprise Systems
http://www.tiburon-e-systems.com
Box 1171
Tiburon, CA 94920
415-927-2543





-------------------------------------------------------
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