Deployment
Package
Package consists of:
- conf - configuration of the FIXEdge/J
- SqliteLibs - SQLite library files
- ear module of the FIXEdge/J
Configuration deployment
- Unpack 'conf' folder from archive.
- Select 'Add Unmanaged Deployment' on the Deployment tab.
- Set 'configuration' as a Name
- Specify path to the 'conf' folder into Path field
- Click Enable on configuration
Make sure that folder SqliteLibs located in same root folder with 'conf' folder.
Configuration deployment using CLI command
By using the CLI command, you can create unmanaged deployment. For example, copy the configuration (conf) folder into %JBOSS_HOME% and execute the following commands:
-cd %JBOSS_HOME%/bin
-jboss-cli.bat --connect --command="deploy --unmanaged ../conf --name=configuration --force"
FIXEdge/J package deployment
- Select 'Upload Deployment' and specify .ear module from archive
- Optional. Rename .ear module into the 'fej-wildfly'.
- Choose Enabled = 'On' option.
- Verify that the upload is successful.
- Check errors in the log files.
- FIXEdge/J logs:
- Systems properties "user.dir" poits on log folder (%JBOSS_HOME%\bin) and two main log files fixedgej.log and fixedgej-admin.log.
- There is Log4j2.xml in conf folder for configuration logging and changing log level FIXEdge/J
- WildFly Logs:
- Server log is located in %JBOSS_HOME%\standalone\log\server.log
- FIXEdge/J logs:
Reconfiguration
Replace deployed FIXEdge/J package
- Update SQLite library in the 'SqliteLibs' folder
- Select the 'Replace' action on ear link and specify the new version ear module
Update Configuration
1. Disable ear module:
2. Update configuration files in configuration folder
3. Run cmd command : service wildfly restart
4. Enable ear module
5. Check errors in the log files:
- FIXEdge/J logs:
- Systems properties "user.dir" points on log folder (%JBOSS_HOME%\bin) and two main log files fixedgej.log and fixedgej-admin.log.
- There is Log4j2.xml in conf folder for configuration logging and changing log level FIXEdge/J
- WildFly Logs:
- Server log is located in %JBOSS_HOME%\standalone\log\server.log