I have a -service.xml file that has an mbean that depends on an ejb. My line looks like
<depends>jboss.j2ee:jndiName=cadex/Transferhead,service=EJB</depends> Now the problem is that some off the method signatures in the MBean contain references to the EJB and thus when the Mbean is created I am getting a java.lang.NoClassDefFoundError. Now I can hack around this but it does not make sense to have dependencies if you have to hack around them. A quick peek at the code shows the create method is being called and then the create method in the service control checks to see if the mbean has dependices and should be created/started. This seems backward. Should we not first check to see the dependices are met and if they are not simply register the name and do not try to instaniate the class. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
