Errors after installing Enterprise Application through a remote WebSphere Application Server administration console because the EAR file has not been properly expanded
 Technote (FAQ)
 
Problem
When using a remote administrative console to install an EAR file, the file is not always expanded into the InstalledApps directory properly. When you try to start the Enterprise Application or the Application Server, the modules of the Enterprise Application are installed and generate the error code CNTR0020E in the console. This indicates a file does not exist.
 
Solution

Overview:

In WebSphere® 4.0, an EAR file is expanded only if the following is true:

  1. The node where the EAR file is located is on the same node where the EAR will be expanded.

    and

  2. The node where the adminserver is running on and client connected to is the same node where the EAR will be expanded.

    and

  3. The node where the enterprise application is installed is on the same node where the EAR will be expanded.


Administration server's WorkLoad Management (WLM) feature in WebSphere 4.0 allows you to violate these three requirements.

WLM selects the target server for request routing either randomly or by using preferLocal (local to client). Since the administration server is WLM enabled by default, the request to
install the Enterprise Application does not always go to the adminserver that the client is connected to; therefore, the EAR is not expanded if the request goes to a different server.

This is why a local console or a single node environment does not experience this problem.

Solution:
Apply Interim Fix PQ60657.

Go to http://www14.software.ibm.com/webapp/download/product.jsp?cat=&s=p&id=TDUN-49EVRT&pf=&presb=&type=s&postsb=v and search on PQ60657.

There is an interim fix for both WebSphere 4.0.2, 4.0.3 and 4.0.4. It is included in Fix Pack 5 (4.0.5).

Alternative Solution:
If after installation the EAR file is not expanded into the installedApps directory, use the EarExpander tool to expand it properly:

Usage: EARExpander.(bat|sh) -ear <ear file or directory> -expandDir <directory in which to expand ear> -operation <expand | collapse> [-expansionFlags <all | war>]

Make sure the -expandDir is within the InstalledApps directory and named according to the directory given in the final installation window of the administrative console.

 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Deploy (for example: AAT or ANT or EAR/WAR/JAR)
Operating system(s): HP-UX
Software version: 4.0.1
Software edition:
Reference #: 1055321
IBM Group: Software Group
Modified date: Aug 30, 2004