A DistributorServer
runs as a Nucleus component on each HTTP server machine. When a DistributorServer
receives a connection from a DistributorSender
, the DistributorServer
creates a DistributorReader
. The DistributorReader
handles the processing of the put
or fileCheck
command from the DistributorSender
.
Installing the DistributorServer
To install a DistributorServer
on Windows:
Make sure the HTTP server machine has a Java Virtual Machine installed.
Obtain the ATG Web Server Extensions distribution file,
OCWebServerExtensions11.3.exe
.Run the ATG Web Server Extensions file.
The installer displays the Welcome dialog box. Click Next to continue.
Select the installation directory, and then click Next to continue. The default directory is
C:\ATG\ATGWeb11.3
.The installer displays the list of web server extensions you can configure during the installation process. Make sure the
DistributorServer
is selected, and click Next to continue. (If you want to install the Publishing web agent as well, see the Content Administration Programming Guide.)Specify the port that the
DistributorServer
should use to listen for connections fromDistributorSender
components, and click Next to continue. The default is 8810.Specify the directory that the
DistributorServer
should use to cache files, and click Next to continue. The directory can be the HTTP server’s document root, or any subdirectory within it. The default is thehome\doc
subdirectory of the installation directory you previously specified.Enter a name for the Program Folder, and click Next to continue. The default is
<ATG11dir>\ATG
Web
Server
Extensions
.The installer displays the settings you selected. If you need to make any changes, click Back. Otherwise, click Next to proceed with the installation.
To install a DistributorServer
on Unix:
Make sure the HTTP server machine has a Java Virtual Machine installed.
Obtain the Oracle Commerce Web Server Extensions 11.3 distribution file from the Oracle Software Delivery Cloud site..
Run the
OCWebServerExtensions11.3.bin
file.The installer creates an ATGWeb11.3 subdirectory in the current directory. This subdirectory includes the files and directories needed to install the web server extensions.
Change to the
ATGWeb11.3/home
directory and enter the following command (or its equivalent) to set read and write permissions for theInstall
script:chmod 755 bin/Install
Run the
Install
script:bin/Install
The installer displays the list of web server extensions to install. Type A to install the
DistributorServer
. (If you want to install the Publishing web agent as well, see the Content Administration Programming Guide.)Specify the port that the
DistributorServer
should use to listen for connections fromDistributorSender
components. The default is 8810.Specify the directory that the
DistributorServer
should use to cache files. The directory can be the HTTP server’s document root, or any subdirectory within it. The default is thehome/doc
subdirectory of the installation directory.
Configuring the DistributorServer
The DistributorServer
component is an instance of atg.server.distributor.DistributorServer
. You can configure it by editing the DistributorServer.properties
file in the home\localconfig\atg\dynamo\server
subdirectory of the ATG Web Extensions installation directory. The DistributorServer
has the following properties:
Property Name | Description |
---|---|
| If |
| The port where the |
| Directory on the HTTP server where the |
| A comma-separated list of |
Starting the DistributorServer
To start up Nucleus and run the DistributorServer
component, use the following command:
startNucleus -m Distributor
If you also have a configured ATG Publishing web agent on the web server, you can start up the Distributor
and PublishingWebAgent
modules at the same time. In this case, use the following command:
startNucleus –m PublishingWebAgent:Distributor
For information about the Oracle Commerce Platform Publishing web agent, see the Content Administration Programming Guide.