- Installer EAR Building Guide
- Building Application for Setup
1 Building Application for Setup
The process of building EAR for various application types files includes the following steps:
- The process of building EAR files includes the following steps:
- Obtain the fcubs.properties file generated by the GUI Installer, which is saved in the required path. For more information, refer to Treasury Management Installer Property File Creation document
- fcubs.properties file will be used for building the ear. This will be created as part of the initial property file creation.
- env.properties file parameters get updated during every property file creation (like OBTR, Gateway, Scheduler, etc.). After Property file creation, proceed with respective EAR build and then proceed with other components property file creations and build.
- Run the respective EAR.bat (Windows) or respective EAR.sh (Linux) file.
- The command window closes after the EAR is generated.
- The EAR will be generated in the EAR destination path provided during property file creation.
- JS and UIXML will also be generated in the EAR destination path if external JS/UIXML is selected during property file creation.
- The external path for JS/UIXML and EAR destination path can be referred to in the env.properties file.
- Manually copy the JS/UIXML generated in the EAR destination .path, to external JS/UIXML path.
- Obtain the fcubs.properties file generated by the GUI Installer, which is saved in the required path.
- Maintain the following Application Type accordingly for building respective EAR's.
Table 1-1 EAR Creation
Product Type Application Type EAR Name BAT/sh file to be run Property file to be used TR OBTR Any Distinct Name TREarRun.bat or TRCEarRun.sh fcubs.properties GW-Integrated INTEGRATED Any Distinct Name TRGatewayEarRun.b at or TRGatewayEarRun.s h GW_WS_Prop.prop erties GW-Individual INDIVIDUAL Not Required TRGatewayEarRun.b at or TRGatewayEarRun.s h GW_WS_Prop.ppro perties GW-REST INDIVIDUAL Any Distinct Name TRGatewayRestEar Run.bat or TRGatewayRestEar Run.sh GW_RESTEJB_Pro p.properties and GW_RESTEJB_Pro p.properties GW-MDB GATEWAY Any Distinct Name GWMDBEarRun.bat GWMDBEarRun.sh GW_MDB_Prop.pro perties GW-HTTP GATEWAY Any Distinct Name GWHTTPEarRun.bat GWHTTPEarRun.sh GW_HTTP_Prop.pr operties GW- EJB GATEWAY Any Distinct Name GWEJBEarRun.bat or GWEJBEarRun GW_ EJB_ Prop.properties Scheduler SCHDLR Any Distinct Name TRSchedulerEarRun.bat or TRSchedulerEarRun.sh Scheduler.properties ODT ODT Any Distinct Name ODTWarRun.bat or ODTWarRun.sh ODT.properties - The env.properties will have the appropriate application type set.
- Go to
\INSTALLER\SOFT
path and execute the <product T ype>EarRun bat file for EAR build.For Example, <product type>EarRun.bat:- TREarRun.bat (TREarRun.sh for running in Linux machine) for TR and so on. - EAR file will be generated in the mentioned destination path. Similarly, all the EAR Build follow the same steps.
- For Gateway EAR, execute <Product Name>GatewayEarRun.bat (<Product Name>GatewayEarRun.sh)
- For EJB, MDB and HTTP gateways , run the respective bat files i.e. GWEJBEarRun.bat (GWEJBEarRun.sh), GWMDBEarRun.bat (GWMDBEarRun.sh) and GWHTTPEarRun.bat (GWHTTPEarRun.sh).
- For ODT, execute ODTWarRun.bat in Windows (ODTWarRun.sh in Linux) after building odt.properties.
- For STAND ALONE SCHEDULER, execute TRSchedulerEarRun.bat in Windows (TRSchedulerEarRun.sh in Linux).
- After this, deploy the EAR in the application console.
Note:
Please ensure the necessary resources are created in the application server as mentioned in the Resources to be Created document