Step 13: Defining some properties required by the server (WebLogic)
You may need to define the values of the following variables:
- dataDir: path to directory that contains the EBICS Server persistent data
- dataStorePath: path of the repository
- configurationPath: absolute path of the configuration.properties file
- de.businesslogics.bankrechner.bank.ebicsKeyMode: default security format to be used for banks
- de.businesslogics.bankrechner.bank.ebicsKeyLength: default key length to be used for key generation (default value of the key length box in bank creation screen). With certificates, any value under 2048 is rounded up to 2048
Before you begin, make sure that the directories exist. If necessary, create them manually. The Server checks and creates required subdirectories.
If the bankrechner.dataDir variable is not defined, the EBICS Server uses the directory:
- UNIX: /opt/bankrechner
- Windows: C:\opt\bankrechner
For example, to define the bankrechner.dataDir variable, use the WebLogic GUI, or:
- Modify the WebLogic launch script:
- UNIX:
<Server>/users_projects/domains/ebics_server/bin/startWebLogic.sh - Windows:
<Server>\users_projects\domains\ebics_server\bin\startWebLogic.bat
- Before the command, echo starting weblogic with Java version, add the line:
- UNIX:
JAVA_OPTIONS="${JAVA_OPTIONS} -Dbankrechner.dataDir=<user_home>/<ebics_server_install_dir>/EbicsServer/data/dataDir" - Windows:
JAVA_OPTIONS="%JAVA_OPTIONS% -Dbankrechner.dataDir=<user_home>\<ebics_server_install_dir>\EbicsServer\data\dataDir"
Repeat this procedure for the dataStorePath and configurationPath variables.
- For the dataStorePath variable, add the line:
- UNIX:
JAVA_OPTIONS="${JAVA_OPTIONS} -Dbankrechner.dataStorePath=<user_home>/<ebics_server_install_dir>/EbicsServer/data/dataStore" - Windows:
JAVA_OPTIONS="%JAVA_OPTIONS% -Dbankrechner.dataStorePath=<user_home>\<ebics_server_install_dir>/EbicsServer/data/dataStore"
- For the configurationPath variable, add the line:
- UNIX:
JAVA_OPTIONS="${JAVA_OPTIONS} -DconfigurationPath=<user_home>/<ebics_server_install_dir>/EbicsServer/data/conf/configuration.properties" - Windows:
JAVA_OPTIONS="%JAVA_OPTIONS% -DconfigurationPath=<user_home>\<ebics_server_install_dir>\EbicsServer\data\conf\configuration.properties"
- For the de.businesslogics.bankrechner.bank.ebicsKeyMode variable, add the line:
- UNIX:
JAVA_OPTIONS="${JAVA_OPTIONS} -Dde.businesslogics.bankrechner.bank.ebicsKeyMode=SELF_SIGNED_CERTIFICATE" # or PLAIN_KEY, or PKCS12_IMPORT - Windows:
JAVA_OPTIONS="%JAVA_OPTIONS% -Dde.businesslogics.bankrechner.bank.ebicsKeyMode=SELF_SIGNED_CERTIFICATE"
- For the de.businesslogics.bankrechner.bank.ebicsKeyLength variable, add the line:
- UNIX:
JAVA_OPTIONS="${JAVA_OPTIONS} -Dde.businesslogics.bankrechner.bank.ebicsKeyLength=2048" # or any other desired value - Windows:
JAVA_OPTIONS="%JAVA_OPTIONS% -Dde.businesslogics.bankrechner.bank.ebicsKeyLength=2048"
Related topics
Installing EBICS Server on WebLogic: general implementation procedure