"stevecoh2" wrote : | 1) Do I have to write MBean code to create a class loader to do my specific loading or is there already an MBean in existence that handles classloading according to some already defined scheme? IN other words, does the presence of a <loader-repository> element properly formed in your jboss-web.xml file automatically cause a change in class loading for your application? I presume so since putting an entry into my jboss-web.xml solved my problem.
You do not have to write a MBean for having a classloader for your application. You are right, the presence of a <loader-repository> element properly formed in your jboss-web.xml file automatically cause a change in class loading for your application. "stevecoh2" wrote : | 2) Assuming that there already is a class-loading MBean, does this particular MBean work by associating the domain in the JMX object name with a package root? For example, suppose I want to have scoped class loading for the packages rooted at com.foo.bar and com.higgledy.piggledy but only for those two packages. What would my jboss-web.xml then look like? You are defining a classloader for your APPLICATION and NOT for a specific package. So whenver a class has to be loaded in your application, the classloader specified by you for the application will be used. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897923#3897923 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897923 ------------------------------------------------------- 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 JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user