Exporting an enterprise application after hot deployment in V5 releases
 Technote (troubleshooting)
 
Problem(Abstract)
It is possible to export an application from the IBM® WebSphere® Application Server V5 environment using the administrative console. However, if you do this after hot deployment has been used, the export does not include any alterations made within the installedApps directory.
 
Cause
When an application is exported, files are never copied from the installedApps directory. Two hot deployment scenarios show how enterprise applications are exported in WebSphere® Application Server V5.
 
Resolving the problem
Techniques for effective hot deploy:
  1. Keep a separate, updated .ear file that includes the hot deployment updates. This allows for use in another installation and provides effective backup.

  2. Use the EarExpander tool to collapse the installedApps directory that has the updates.

    WARNING: if Use Metadata From Binaries is not checked, this will not get the metadata being used by WebSphere Application Server.

  3. Update the two places where the .ear is exported from when also updating the metadata and binaries being used by WebSphere.

When Use Metadata From Binaries is not checked:


metadata -

$WAS_ROOT/config/cells/<cell_name>/applications/<application_name>/deployments

binaries -

$WAS_ROOT/config/cells/<cell_name>/applications/<application_name>/<application_name>.ear


When Use Metadata From Binaries is checked:


metadata and binaries -

$WAS_ROOT/config/cells/<cell_name>/applications/<application_name>/<application_name>.ear

 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


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): Windows
Software version: 5.1
Software edition:
Reference #: 1162312
IBM Group: Software Group
Modified date: Jan 5, 2005