R66ClientConfig

Waarp R66 Client Configuration File

config

  • comment:string Optional

identity

  • hostid:nonEmptyString

    Host ID in NON SSL mode

  • sslhostid:nonEmptyString Optional

    Host ID in SSL mode

  • cryptokey:Des-File

    Des CryptoKey File containing the key in Des mode for R66 passwords

  • authentfile:XML-File Optional

    Authentication File containing Authentications for partners

client Optional

  • taskrunnernodb:booleanType Optional default="False"

    When client with no DB, do R66 will use XML files as permanent information on Transfer Tasks

  • businessfactorynetwork:nonEmptyString if specified

    If you need a special Business Factory, you must specify the full class name here.

    Default is: org.waarp.openr66.context.R66DefaultBusinessFactory which only logs in DEBUG mode.

ssl Optional

  • keypath:JKS-File

    JKS KeyStore for R66 Access in SSL Mode (containing Server Certificate)

  • keystorepass:nonEmptyString

    Password for the KeyStore

  • keypass:nonEmptyString

    Password for the Server Certificate within the KeyStore

  • trustkeypath:JKS-File

    JKS Trust KeyStore for R66 Access in SSL Mode with Client Authentication (containing Client Certificate)

  • trustkeystorepass:nonEmptyString

    Password for the Trust KeyStore

  • trustuseclientauthenticate:booleanType default="False"

    True if R66 will only allow client through SSL authentication

directory

  • serverhome:directoryType

    Home Directory for the OpenR66 Server (relative path to this Home)

  • in:nonEmptyString Optional default="IN"

    Default Receive Directory

  • out:nonEmptyString Optional default="OUT"

    Default Send Directory

  • arch:nonEmptyString Optional default="ARCH"

    Default Archive Directory

  • work:nonEmptyString Optional default="WORK"

    Default Working Directory

  • conf:nonEmptyString Optional default="CONF"

    Configuration Directory

limit

  • serverthread:nonNulInteger default="number of core * 2 + 1" Optional

    Number of Threads on Server side (=Number of Cores * 2 + 1)

  • clientthread:nonNulInteger default="10" Optional

    Number of Threads on Client side (=10xServer)

  • memorylimit:nonNulInteger default="4000000000" Optional

    Memory Limit for R66 Server Java Process

  • sessionlimit:nonNegInteger default="8388608" Optional

    HBandwidth for one session (64Mb)

  • globallimit:nonNegInteger default="67108864" Optional

    Global Bandwidth (512Mb)

  • delaylimit:nonNulInteger default="10000" Optional

    Delay between 2 checks of Bandwidth (10s). The less this value, the better the bandwidth limitation is done. However take care to not give too low value

  • runlimit:nonNulInteger default="10000" Optional

    Limite by batch of active transfers (10000)

  • delaycommand:nonNulInteger default="5000" Optional

    Delay between 2 execution of the Commander (5s)

  • delayretry:nonNulInteger default="30000" Optional

    Delay between 2 attemps in case of error (30s)

  • timeoutcon:nonNulInteger default="30000" Optional

    Delay before a Time Out occurs (30s)

  • blocksize:nonNulInteger default="65536" Optional

    Block size (64Ko). A value between 8 KB to 16 MB is recommanded

  • gaprestart:nonNulInteger default="30" Optional

    Gap to use when restarting a transfer as gap x blocksize

  • usenio:booleanType default="False" Optional

    Usage of NIO support for the files. According to the JDK, it can enhance the performances

  • usecpulimit:booleanType default="False" Optional

    Usage of CPU Limitation when new request starts

  • usejdkcpulimit:booleanType default="False" Optional

    Usage of CPU limitation based on Native JDK support, else (False) on Java Sysmon library

  • cpulimit:decimalType default="0.0" Optional

    Usage of CPU limitation based on Native JDK support, else (False) on Java Sysmon library

  • connlimit:nonNegInteger default="0" Optional

    Usage of CPU limitation based on Native JDK support, else (False) on Java Sysmon library

  • digest:integerNotNegative default=0 (to setup a different Digest than MD5 globally)
  • usefastmd5:booleanType default="True"

    Usage of FastMD5 library. The library greatly improves the performances for the MD5 computations

  • fastmd5:SODLL-File Optional

    Library JNI Filepath. If the path is empty, the pure Java version will be used

  • checkversion: booleanType Optional default="False"

    True to allow the extended protocol on end of request (>= 2.3)

  • globaldigest::booleanType Optional default="True"

    If True, it will enable a global digest (MD5, SHA1, ...) per file per transfer

db Optional

  • dbdriver:address

    4 types of database are currently supported: oracle, mysql, postgresql, h2

  • dbserver:normString

    Connection to the database in JDBC mode (jdbc:type://[host:port]....). Use the database documentation to find the correct syntax for the JDBC connection

  • dbuser:address

    Database User

  • dbpasswd:nonEmptyString

    Database User's Password

  • dbcheck:boolean 

    Database check activation at startup (default True)

  • taskrunnernodb:booleanType Optional default="False"

    When client with no DB, do R66 will use XML files as permanent information on Transfer Tasks

business

  • businessid:nonEmptyString

    the host ids (1 by 1) that will be allow to use Business Request (>= 2.3)

aliases

  • alias

    This will allow alias usage for host ids (from version 2.4.12).

    • realid:nonEmptyString

      The real host id that will have aliases (locally)

    • aliasid:nonEmptyString with separators as blank or '|'

      The set of aliases assign to this host

Example:

<?xml version="1.0" encoding="UTF-8"?>
<config xmlns:x0="http://www.w3.org/2001/XMLSchema">
    <comment>Example of config file: change its as your need.</comment>
    <identity>
        <hostid>hosta</hostid>
        <sslhostid>hostas</sslhostid>
        <cryptokey>D:\GG\R66\certs\test-key.des</cryptokey>
        <authentfile>D:\GG\R66\conf\OpenR66-authent-A.xml</authentfile>
    </identity>
    <client>
    </client>
    <ssl>
        <keypath>D:\GG\R66\certs\testsslnocert.jks</keypath>
        <keystorepass>testsslnocert</keystorepass>
        <keypass>testalias</keypass>
        <trustkeypath>D:\GG\R66\certs\testcert.jks</trustkeypath>
        <trustkeystorepass>testcert</trustkeystorepass>
        <trustuseclientauthenticate>False</trustuseclientauthenticate>
    </ssl>
    <directory>
        <serverhome>d:/GG/R66</serverhome>
        <in>in</in>
        <out>out</out>
        <arch>arch</arch>
        <work>work</work>
        <conf>conf</conf>
    </directory>
    <limit>
        <usefastmd5>True</usefastmd5>
        <fastmd5>D:\NEWJARS\gglib\win32\MD5.dll</fastmd5>
        <delayretry>10000</delayretry>
        <timeoutcon>10000</timeoutcon>
    </limit>
    <db>
        <dbdriver>h2</dbdriver>
        <dbserver>jdbc:h2:D:/GG/R66/data/openr66;IFEXISTS=TRUE;MODE=Oracle;AUTO_SERVER=TRUE</dbserver>
        <dbuser>openr66</dbuser>
        <dbpasswd>openr66</dbpasswd>
    </db>
</config>