You must add the WAR file mappings for defining the context root in the build.properties.in file. This ensures that the web applications that are installed on single application server have unique context roots.
During installation, you can avoid out-of-memory errors by setting JVM-specific properties (ADDITIONAL_ANT_JAVA_TASK_ARGS and ADDITIONAL_ANT_COMPILER_TASK_ARGS).
To add these entries, do the following:
Also, the yfs.context.namespace property value and the WAR file mappings name should be different for each EAR that you want to deploy on the same application server.