Try
mbeans.sar
-felipe
-test
-JDNIMap.class
-META-INF
-jboss-service.xml
JD
-----Original Message-----
From: Felipe Oliveira [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 05, 2003 12:15 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Custom Mbean
Hi!
I am trying to write a Custom Mbean but no luck so far. As a first step
I am getting the code of the JNDIMapMBean example of the paid JBoss doc
(page 92), compiling it, packaging as a SAR file and copying it to the
deploy directory.
I am getting an exception: "No ClassLoaders found for: felipe.test.JNDIMap".
mbeans1.sar
-mbeans1.jar
-META-INF
-- jboss-service.xml
<server>
<mbean code="felipe.test.JNDIMap" name="chap2.ex2:service=JNDIMap">
<attribute name="JndiName">inmemory/maps/MapTest2</attribute>
<depends>jboss:service=Naming</depends>
</mbean>
</server>
Any help would be greatly appreaciated. Does anybody have an example of
a working sar with source code?
Thank you,
Felipe
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
