Creating the EAR on JBoss
About this task
During the ear build, when JAX-WS webservice creation occurs, Sterling Order Management will look for customer extensions and use them if they exist. If they do not exist, default handler XML and handler classes will be built into the ear and used. Sterling Order Management provides one single set of default handlers that will get used against all beans that are deployed and for which customers have not provided extensions. Customer extensions can be provided on a per JAX-WS bean basis.
Enterprise Archives are built using an ANT (buildEAR.xml) that accepts the following targets:
- Main Target
- Description
- create-ear
- Creates smcfs.ear - the Sterling Selling and Fulfillment Foundation application EAR file.
Note: To successfully build the application
EAR file in 64-bit JBoss, use the following memory parameters:
-XX:MaxPermSize=768m -Xmx2048m -Xms2048m
You can set these memory parameters during installation or in the sandbox.cfg file after installation.
<INSTALL_DIR>\bin\setupfiles.cmd
<INSTALL_DIR>/bin/setupfiles.sh