If the start of the mbean contains :
Thread t;
public void start() throws Exception{
finished = false;
homesReady = false;
forcing = false;//==========================================================================
t = new Thread(){ //at this line IllegalAccessError is thrown
int timeout = delay;public void run(){
//some code
} //end run()
} //end new Thread()
}//end start()
So I can't use inline or inner classes. Maybe it's am mbeans' issue. I'll try it on a session. And why would this code involve 2 different classLoaders?
Till then, please reply if you have answers.
Scott M Stark wrote:
Two class loaders are attempting to load the org.ca.ejb.services.CService class in the same application context. How is this service packaged and deployed?
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
