To build a standalone-mode EAR file that uses a non-default server, you can run the application assembler with the –standalone
and –server
flags. For example:
runAssembler –standalone –server myServer MyApp.ear –m MyApp DSS
Note: If your production environment is clustered, do not specify the Oracle Commerce Platform server when you build the EAR. Instead, omit the –server
flag and create a single EAR that can be deployed to all servers in the cluster. When you run the application, supply the Java argument -Datg.dynamo.server.name=
server-name
to specify the named instance of each server.
There are four localconfig
directories at the end of the application’s configuration path. They appear in the following order:
atg_bootstrap.war/WEB-INF/ATG-INF/localconfig
(a copy of<ATG11dir>/home/localconfig
)ATG-Data/localconfig
atg_bootstrap.war/WEB-INF/ATG-INF/home/servers/
servername
/localconfig
(a copy of<ATG11dir>/servers/
servername
/localconfig
)ATG-Data/servers/
servername
/localconfig
For output files, the application uses the logs
and pagebuild
subdirectories in the ATG-Data/servers/
servername
directory. You should not use the same server for more than one EAR file. If multiple EAR files are using the same output directories, errors or deadlocks can result.