One of the files in each of the EARs is a JAR file (config.jar) containing POJOs and EJBs. config.jar is in the root level of the EARs.
--- MBeans waiting for other MBeans ---
Reason: javax.management.InstanceAlreadyExistsException: jboss.j2ee:jndiName=ejb/CustBean,service=EJB already registered.
Which version of JBossAS do you use? And are those EJB2.x beans? If yes, then it looks related to https://jira.jboss.org/jira/browse/JBAS-6335, which is marked as fixed in 5.0.1 GA and 5.1.0 Beta1 of the AS
Thank you for your reply. I am using JBoss 4.0.4.GA and EJB 2.1. I have looked at the bug report you pointed me at but it mentions that it is a bug in 5.0, and I am using 4.0.4. I suppose that just because it was reported in 5.0 doesn't mean it isn't a problem in 4.0.4 as well?
I am not sure whether that bug existed even in 4.0.4. But based on the comments from the user, in the referenced forum thread in that JIRA:
This was working fine in version 4.2.2 GA
So you could give 4.2.2 or 4.2.3 GA a try.
You did not post the entire exception stacktrace and the relevant console logs, so i am guessing its the same issue. Please post these details, and let's see if it's something else.