Thanks, but I don't even know the tags I have to use, because I don't have a 
dtd or xml schema. 

Anyway, my user-service.xml looks like the following:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server>





The problem I still have is the following:
The MBean com.regenwetter.Test is deployed within an ear-File (named test.ear). 
Therefore I do get a ClassNotFoundException because the classloader is not able 
to load the MBean com.regenwetter.Test. Hence I used the classpath tag:






But of course the classloader is still not able to load the MBean 
com.regenwetter.Test, because the MBean is located in an jar file (named 
test.jar) within the ear file.  Everything is working fine, if I extract the 
ear-File and write something like:






But we are not allowed to extract the ear-File. In addtion to that I don't want 
to create a separate sar directory and put the jar File into that, because I 
have to provide the jar file twice in this case. So, what can I do or what is 
the best way to go respectively ? 






View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872346#3872346

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872346


-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to