Blog

There is no installed container capable of handling this application EAR

Tags :

Deploying some EJB modules warping in an EAR file in GlassFish 3.1.2 and getting this strange error:

There is no installed container capable of handling this application EAR
SEVERE: Module type not recognized for module .....

SEVERE: There is no installed container capable of handling this application EAR.

 The projects' structures are as follows:

API (just interface of EJB classes)
EJB (Seassion EJBs that refrences to Entity Managers in JPA project)
JPA (Entities and Seassion Bean EntityManagers)
EAR

When we deploy EAR in standalone glass fish server the above error occures. However we can deploy it inside Eclipse IDE perfectly.

we found out sometime the managers not loaded as EJB and we decided to change the JPA project from a java utility project to an EJB module.

This caused that Entity Mangers would not be recognized in EJB project in compliation time. The first solution was adding the JPA project to the Build path of EJB project in Projects tab of Java Build Path window.

The solution didn't solve the first issue. again after deploying the above error occured.

After a lot of searching and evaluating projects properties I found this page:

http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/index.jsp?topic=%2Fcom.ibm.websphere.nd.doc%2Fae%2Fcejb_packfep.html

Under the section Session facades used for persistence scenario it is implied that JPA projects that include Seassion Beans should be included in MANIFEST.MF of the caller EJB project.


This resolved our "There is no installed container capable of handling this application EAR" issue.

 

 

 

0 Comments :

Comment

All Categories