JBoss Community

Cannot deploy ear on JBoss 7, ClassNotFoundException throws

created by Hiep Le Canh in JBoss AS7 Development - View the full discussion

Hi,

 

When I deploy my ear which was deployed successfully in JBoss 5 to JBoss 7. ClassNotFoundException happens.

I have 2 ejb modules, one module contans the interface (ExamInterface module) and the other contain implemention of that interface (ExamImpl module) . Both of them are placed at the root of the EAR file. The exception thrown when ExamImpl module deploying, the interface not found.

 

Does anyone have the same issue? please let me know how to fix it.

 

I think this issue happens because of the order of deployment, ExamInterface must be deployed before ExamImpl module. I try to add

<initialize-in-order>true</initialize-in-order> to application.xml but it seems not working.

 

Thanks

Hiep

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community