-
1. Re: MBeans and EJBs
adrian.brock Jun 24, 2002 2:03 PM (in response to squelch)http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ can also cange the deployment scanner to deploy
files in a different order.
e.g.
10myejb.jar
20mymbean-service.xml
Have a look at the comments in jboss-service.xml
Regards,
Adrian -
2. Re: MBeans and EJBs
squelch Jun 25, 2002 5:20 AM (in response to squelch)Adrian,
Is this a feature of version 3.0 only? I'm using 2.4.4 -
3. Re: MBeans and EJBs
adrian.brock Jun 25, 2002 7:58 AM (in response to squelch)Yes, you didn't mention your version ;-)
You can sort the loading order by adding your MBean
AFTER the AutoDeployer in jboss.jcml
But you will hit problems with class visibility.
Your MBean won't be able to see classes in your ejb's jar.
The only way to solve this is to add your ejb's jar
to lib/ext (or add a classpath extension mbean)
but then you lose the ability to hotdeploy.
These are some of the problems that 3.0 helps to
solve.
Regards,
Adrian -
4. Re: MBeans and EJBs
squelch Jun 25, 2002 10:37 AM (in response to squelch)Adrian,
Thanks. I had actually set the custom MBeans after the autodeployer; the problem I was experiencing was stated in your last response - the MBeans cannot find the EJB since they currently aren't in the lib\ext folder.