Note |
---|
Before you begin, please see our compatibility matrix to find out if this version of the product is fully tested on Windows. |
...
- Be sure your system meets the prerequisites . Java Development Kit (JDK) is essential to run the product.
- Be sure that the
PATH
environment variable is set to "C:\Windows\System32
", because thefindstr
windows exe is stored in this path.
Installing and setting up snappy-java
- Download the
snappy-java_1.1.1.7.jar
from here. - Copy the jar to
<IOTS_HOME>\lib
directory. - If WSO2 IoT Server is currently running, restart it to apply the changes.
Installing WSO2 IoTS
- If you have not done so already, download the latest version of the product as described in downloading the product.
Extract the archive file to a dedicated directory for the product, which will hereafter be referred to as
<PRODUCT_HOME>
.
...
- Set the properties from a script
Setting your system properties in the startup script is ideal, because it ensures that you set the properties every time you start the server. To avoid having to modify the script each time you upgrade, the best approach is to create your own startup script that wraps the WSO2 startup script and add the properties you want to set, rather than editing the WSO2 startup script directly.
- Set the properties from an external registry
If you want to access properties from an external registry, you could create Java code that reads the properties at runtime from that registry. Be sure to store sensitive data such as, username and password to connect to the registry in a properties file, instead of in the Java code and secure the properties file with the secure vault.
...