-
1. Re: MBean instantiation and NoClassDefFoundErrors
adrian.brock Jan 23, 2003 9:42 PM (in response to coyotesqrl)The deployment is done using the following steps.
1) Classloaders are created
2) MBeans are instantiated and registered with the
MBeanServer
3) create()/createService()
4) start()/startService()
Sounds like your problem is with step 1
Why can't the MBeanServer in step 2 see your classes that
should have been deployed in step 1?
Can you jar -tf the deployment and any subdeployments?
You can filter irrelevent bits to keep it small.
Regards,
Adrian -
2. Re: MBean instantiation and NoClassDefFoundErrors
coyotesqrl Jan 24, 2003 12:01 AM (in response to coyotesqrl)We're not exactly sure what the problem was. By rebuilding the jar containing the classes that were not being found by the loader, we were able to stop the problem from happening. I'd guess there was something wrong with that jar, but we queried the ServerInfo MBean after the server was up and saw that the class was deployed.
Very strange.
Thanks for the advice; if we see it again, we're probably just going to explode the offending jar into the directory structure. This is really just an issue for a few of us doing infrastructure development. In the end, most will only have jars.
Cheers!
-Richard Porter