When you assemble your application, the application assembler includes all of the ATG servers you have configured. This means that you can build your application once, deploy it on each WebLogic server, and enable the appropriate ATG server on each instance simply by changing the value of the atg.dynamo.server.name
system property when you start up WebLogic.
Follow these steps to assemble and configure your ATG application to run on a WebLogic cluster:
When you invoke the application assembler, use the
–standalone
flag to assemble the application in standalone mode, so it is not dependent on your ATG installation. In addition, use the–liveconfig
flag to enable theliveconfig
configuration layer. Do not use the–server
flag to specify an ATG server configuration.Deploy the application on each WebLogic server.
On each WebLogic server, enable the corresponding ATG server configuration by creating the
atg.dynamo.server.name
property for the JVM the server is running on and setting the property to the name of the ATG server. For example:-Datg.dynamo.server.name=myserver