To get started, you need to download the FEJ distribution. You should end up downloading a compressed ZIP file named something like fixedgej-x.y.z.zip. Once you have downloaded the FEJ zip, installing and setting up a standalone FEJ node is pretty simple and straightforward. Let’s extract the compressed zip archive into
/usr/share. On Linux, Mac OS X, or any other UNIX-like system, you can use the following command to extract the distribution:
If you are using Windows, you will need to use a decompression tool such as WinZip to extract the distribution.
In the distribution directory, find the
bin directory that contains the scripts needed to start FEJ on UNIX platforms (Linux, Mac OS X, etc.) and the
bat directory that contains the scripts for Windows. The
conf directory holds configuration files. The
lib directory contains Java JAR files, which are third-party files needed to run FEJ.
Once we have extracted the zipball, the next thing is to configure and start FEJ.
Remember to place the license file (
fixaj2-license.bin) to the
Starting the FEJ container on Windows (Unix)
Now, let’s go ahead and start FEJ. All FEJ administration scripts to start/stop the container for Windows are shipped along with the archive in the
bat directory with the following content (Unix: similar in the
To start FEJ as a console application on the Windows system, you need to execute
To avoid going to the FEJ install directory to run these scripts, you can include it in your PATH variable as follows:
To start FEJ as a Windows service, you first need to install it. To install the application as a service, execute
You need to have administrative privileges to run these scripts.
A successful installation of the container will show the following output:
The service installation is completed successfully.
We are now ready to start the service. Run
The service started successfully.
To stop the service, you can use the
stopService.bat script (unix:
The service stopped successfully.
Finally, if you want to uninstall the service, run
The service was removed successfully.
Check the FIXEdge Java status via FIXICC
After installation is done and FIXEdge is up and running, the user can remotely check FIXEdge Java Server status with the FIXICC monitoring UI tool.
FIXICC supports FIXEdge Java starting from version 2.12
Please follow the following steps:
- Add a new server.
FIXICC uses an administrative session for communicating with FIX engines.
Default parameters for an administrative session in FIXEdge Java are:
Type: B2BITS FIX Edge Java
Don't forget to specify the destination host.
- Right-click on the just created server and select Connect.
- Enter the credentials. The default ones are: admin/admin
- If the connection is successful, then the status of the server will be changed from RED (No connection) to Lime (Connected directly to engine).
The server will show the configured sessions and its status.
- Installation is completed.