I have writtern a MBean, class of which is in a jar called Rjar.jar
Follwing is structure of my .ear
R.ear
    REJB.jar
    Rjar.jar
    Rweb.jar

Class which implemets Mbean interface is in Rjar.jar, but the while deploying 
corresponding xml, xml gets deployed before this .ear is loaded and hence it 
throws ClassNotFoundException.
Following is my xml

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


        
                jboss.j2ee:module=REJB.jar,service=EjbModule 
        


I have tried various combinations of depends tag. but it is still not working.
I have usedREJB.jar instead of Rjar.jar (which actually contains class) b'coz 
JBoss seems to work in this way(Not sure thought)

Thanks in Advance
Bhushan

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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to