For details on how to use RMI Client see Repository Loader RMI Client section of the Repository Loader chapter in the ATG Repository Guide.
The Repository Loader includes an RMI client you can use to submit manifests that identify the files you want to be loaded into the Service repository. This client is named RLClient.
Run one of the scripts found in
<ATG2007.3dir>/RL/bin/RLClient.bat|shtogether with the following arguments:-m [manifestFilePath] -p [propertiesFilePath] -h [hostname] {-r [RMIPort]}-auth [username:password] {-s servicename]}Note: Ensure you have set your
DYNAMO_HOMEvariable before running the script.You can optionally pass the address of a properties file as an argument to the
RLClientcontaining additional parameters and hints to be used by theLoaderManager. The hints file could include the following:batchSize - The number of files to process in each transaction.For example:
atg.repository.loader.batchSize=2If no batch size is specified, the
RLClientuses theLoaderManager defaultBatchSizeproperty.
Dividing Files into Directories
When importing large amount of data you should break the data into batches. To do this, divide the files into directories. Though it is not required to have one directory per batch it is may be useful to organize the data and then specify the file names in the manifest file.
For example, create one batch:
<manifest> <add type-mapping="/atg/svc/rl/solutionTypeMapping">/main/Dynamo/ Service2007.3/Service/RL/data/solutions/batch01/solution01.xml</add> <add type-mapping="/atg/svc/rl/solutionTypeMapping">/main/Dynamo/ Service2007.3/Service/RL/data/solutions/batch01/solution02.xml</add> <add type-mapping="/atg/svc/rl/solutionTypeMapping">/main/Dynamo/ Service2007.3/Service/RL/data/solutions/batch01/solution03.xml</add> <add type-mapping="/atg/svc/rl/solutionTypeMapping">/main/Dynamo/ Service2007.3/Service/RL/data/solutions/batch01/solution04.xml</add> <add type-mapping="/atg/svc/rl/solutionTypeMapping">/main/Dynamo/ Service2007.3/Service/RL/data/solutions/batch01/solution05.xml</add> </manifest>
Then create a second batch:
<manifest> <add type-mapping="/atg/svc/rl/solutionTypeMapping">/main/Dynamo/ Service2007.3/Service/RL/data/solutions/batch02/solution01.xml</add> <add type-mapping="/atg/svc/rl/solutionTypeMapping">/main/Dynamo/ Service2007.3/Service/RL/data/solutions/batch02/solution02.xml</add> <add type-mapping="/atg/svc/rl/solutionTypeMapping">/main/Dynamo/ Service2007.3/Service/RL/data/solutions/batch02/solution03.xml</add> </manifest>

