Deployment of EAR on Multiple Server
![](http://jazz.net/_images/myphoto/62c0ab0cd4a94b9569a6ce5a8960d69c.jpg)
4 answers
![](http://jazz.net/_images/myphoto/62c0ab0cd4a94b9569a6ce5a8960d69c.jpg)
Hi
Can any one provide me with any guided activity or related documentation that can be hekpfull for deployment of Single EAR file on multiple servers.
Hi,
Here's a guided activity we have for installing an app to a server or cluster.
http://www-01.ibm.com/support/docview.wss?uid=swg27016454&aid=1
If all the servers you plan on deploying to belong to the same cluster, you may want to look at deploying the app to the cluster instead of the individual apps.
If your servers are not all in the same cluster (or even the same cell) you can look at using Build Forge to automate the deployment by using Build Forge to call that same install action multiple times, once for each target server.
Jesse
![](http://jazz.net/_images/myphoto/62c0ab0cd4a94b9569a6ce5a8960d69c.jpg)
Hi Jesse
I am getting the following error
ADMA5016I: Installation of Dynamic Cache Monitor started.
552 06/05/11 09:28AM EXEC ADMA5067I: Resource validation for application Dynamic Cache Monitor completed successfully.
553 06/05/11 09:28AM EXEC ADMA5058I: Application and module versions are validated with versions of deployment targets.
554 06/05/11 09:28AM EXEC ADMA5005I: The application Dynamic Cache Monitor is configured in the WebSphere Application Server repository.
555 06/05/11 09:28AM EXEC ADMA5053I: The library references for the installed optional package are created.
556 06/05/11 09:28AM EXEC ADMA5005I: The application Dynamic Cache Monitor is configured in the WebSphere Application Server repository.
557 06/05/11 09:28AM EXEC ADMA5001I: The application binaries are saved in C:\IBm\WebSphere\AppServer\profiles\dmgr\wstemp\Script13195689a76\workspace\cells\RCUATCell\applications\Dynamic Cache Monitor.ear\Dynamic Cache Monitor.ear
558 06/05/11 09:28AM EXEC ADMA5005I: The application Dynamic Cache Monitor is configured in the WebSphere Application Server repository.
559 06/05/11 09:28AM EXEC SECJ0400I: Successfuly updated the application Dynamic Cache Monitor with the appContextIDForSecurity information.
560 06/05/11 09:28AM EXEC ADMA5011I: The cleanup of the temp directory for application Dynamic Cache Monitor is complete.
561 06/05/11 09:28AM EXEC ADMA5013I: Application Dynamic Cache Monitor installed successfully.
562 06/05/11 09:28AM EXEC Info: Application with name CacheMonitor does not exist in Application Server configuration
563 06/05/11 09:28AM EXEC Error: Failed to find application 'CacheMonitor' in Application Server configuration.
564 06/05/11 09:28AM EXEC WASX7309W: No "save" was performed before the script "Z:/product/actions/deploy/was/common/scripts/installApp.py" exited; configuration changes will not be saved.
565 06/05/11 09:28AM EXEC Virtual Drive has been unmapped Z:
566 06/05/11 09:28AM EXEC RAFW_HOME has been restored to C:/IBM/Build Forge/rafw
Property File is
################################################################
### ###
### This property file describes CacheMonitor ###
### ###
################################################################
# Application Specific Info
APP_NAME=CacheMonitor
APP_FILE=${RAFW_HOME}/user/environments/${ENV_NAME}/cells/${CELL_NAME}/apps/media/${APP_NAME}.ear
# war class loader policy: SINGLE=Application, MULTIPLE=Module
WAR_CLASS_LOADER_POLICY=MULTIPLE
# class loader mode options: PARENT_FIRST (default), PARENT_LAST
CLASS_LOADER_MODE=PARENT_FIRST
# Deployment options
OPTIONS=-nopreCompileJSPs -distributeApp -nouseMetaDataFromBinary -nodeployejb -appname "Dynamic Cache Monitor"
-createMBeansForResources -noreloadEnabled -nodeployws -validateinstall warn -noprocessEmbeddedConfig -filepermission
.*\.dll=755#.*\.so=755#.*\.a=755#.*\.sl=755 -noallowDispatchRemoteInclude -noallowServiceRemoteInclude
I am getting the following error
ADMA5016I: Installation of Dynamic Cache Monitor started.
552 06/05/11 09:28AM EXEC ADMA5067I: Resource validation for application Dynamic Cache Monitor completed successfully.
553 06/05/11 09:28AM EXEC ADMA5058I: Application and module versions are validated with versions of deployment targets.
554 06/05/11 09:28AM EXEC ADMA5005I: The application Dynamic Cache Monitor is configured in the WebSphere Application Server repository.
555 06/05/11 09:28AM EXEC ADMA5053I: The library references for the installed optional package are created.
556 06/05/11 09:28AM EXEC ADMA5005I: The application Dynamic Cache Monitor is configured in the WebSphere Application Server repository.
557 06/05/11 09:28AM EXEC ADMA5001I: The application binaries are saved in C:\IBm\WebSphere\AppServer\profiles\dmgr\wstemp\Script13195689a76\workspace\cells\RCUATCell\applications\Dynamic Cache Monitor.ear\Dynamic Cache Monitor.ear
558 06/05/11 09:28AM EXEC ADMA5005I: The application Dynamic Cache Monitor is configured in the WebSphere Application Server repository.
559 06/05/11 09:28AM EXEC SECJ0400I: Successfuly updated the application Dynamic Cache Monitor with the appContextIDForSecurity information.
560 06/05/11 09:28AM EXEC ADMA5011I: The cleanup of the temp directory for application Dynamic Cache Monitor is complete.
561 06/05/11 09:28AM EXEC ADMA5013I: Application Dynamic Cache Monitor installed successfully.
562 06/05/11 09:28AM EXEC Info: Application with name CacheMonitor does not exist in Application Server configuration
563 06/05/11 09:28AM EXEC Error: Failed to find application 'CacheMonitor' in Application Server configuration.
564 06/05/11 09:28AM EXEC WASX7309W: No "save" was performed before the script "Z:/product/actions/deploy/was/common/scripts/installApp.py" exited; configuration changes will not be saved.
565 06/05/11 09:28AM EXEC Virtual Drive has been unmapped Z:
566 06/05/11 09:28AM EXEC RAFW_HOME has been restored to C:/IBM/Build Forge/rafw
Property File is
################################################################
### ###
### This property file describes CacheMonitor ###
### ###
################################################################
# Application Specific Info
APP_NAME=CacheMonitor
APP_FILE=${RAFW_HOME}/user/environments/${ENV_NAME}/cells/${CELL_NAME}/apps/media/${APP_NAME}.ear
# war class loader policy: SINGLE=Application, MULTIPLE=Module
WAR_CLASS_LOADER_POLICY=MULTIPLE
# class loader mode options: PARENT_FIRST (default), PARENT_LAST
CLASS_LOADER_MODE=PARENT_FIRST
# Deployment options
OPTIONS=-nopreCompileJSPs -distributeApp -nouseMetaDataFromBinary -nodeployejb -appname "Dynamic Cache Monitor"
-createMBeansForResources -noreloadEnabled -nodeployws -validateinstall warn -noprocessEmbeddedConfig -filepermission
.*\.dll=755#.*\.so=755#.*\.a=755#.*\.sl=755 -noallowDispatchRemoteInclude -noallowServiceRemoteInclude