could not deploy the ear file: [EntityContainer] Registration is not done -

Hi, i have a problem in running this ear file which i think i may have some mistakes in my deployment descriptor. i'm using Jboss 4 .0.3 and mySQL.

I have include the ear file in attachment and print screen the running sequence of the program and the errors are:

16:42:33,406 INFO Init J2EE application: file:/C:/jboss4.0.3SP1/server/default/deploy/MusicCustomerApplication.ear
16:42:33,500 INFO Deploying CustomerBean
16:42:33,515 INFO Deploying CustomerSessionBean
16:42:33,531 INFO Registration is not done -> stop 16:42:33,531 WARN Problem creating service jboss.j2ee:service=EjbModule,module=ejb-jar-customerSession.jar jboss.j2ee:jndiName=CustomerBean,service=EJB already registered.*

In the ear file, these 3 jar files are use for:
ejb-jar-customerSession - This is where new users create a new account and their data are store in the database. Also use for logging into the system. Using Bean Manage Persistence

Both ejb-jar-iterator and ejb-jar-ic are working perfectly. I just add the new entity bean, ejb-jar-customerSession to enhance the program.

The problem i facing now is the ejb-jar-customerSession.jar when i add the ejb-jar-customerSession and the deployment descriptors. How do i solve the above error? is it something wrong wif the deployment descriptor?

Please do advise me on what should i do. i have spent weeks to solve the problem but to no avail.

Message was edited by:

Comment actions Permalink


I get a completely different error message when I deploy your ear file in JBoss 4.0.4, therefore I don't know if this is the only problem. In any case you have to add the ejb-jar-page module in the application.xml file. After fixing this the application deployed successfully.

- Martin

Comment actions Permalink

Hi martin..

Thanks.. U have solve my probem. However after making the necessary changes which you have advise, another error comes up which i have already post it as another new question. Please give me some of your advice on what has gone wrong.

And BTW, you note that after deploying the ear file in your jboss, you have an error different from mine. May i know what it is?

Regards Shirley

Message was edited by:


Please sign in to leave a comment.