Andreas;
Part of the problem may be how you are using the SystemClassLoader to load the
resorce. What you need is to use the MBean's own class loader, so in your code you
should use something like
this.getClass().getClassLoader().getSystemResource("resources/simple.xml");
This is what works for our code:
InputStream is = this.getClass().getResourceAsStream(resourceName);
Cheers.
//Nicholas
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841532#3841532
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841532
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user