-
Notifications
You must be signed in to change notification settings - Fork 0
Installing the Edge Node
The Edge node J2EE application comes bundled in a WAR file that contains the servlets implementing the common interface. It requires that the compulsory third party components are installed and configured correctly, according to these instructions.
The installation, as with most Web Applications, simply involves copying the WAR file to the Tomcat web applications’ directory and restarting Tomcat.
These configuration steps will be required each time the Edge Node J2EE application is installed or upgraded and involves setting up the correct credentials for administrative access to CouchDB.
After copying the WAR file to the Tomcat webapps folder, it should be automatically extracted, creating a SMARTEdgeNode
folder. Configuration requires editing the couchdb.properties
file located inside the SMARTEdgeNode/WEB-INF
folder. Its contents should be similar to the following:
server = 127.0.0.1
port = 5984
user = admin
pass = password
Changing the address and port of CouchDB should not be needed, if you have installed it in the same computer as the Tomcat server and you have not changed the default CouchDB port. Otherwise, set the correct server address and port.
You will need to update the user and pass fields with the credentials you have configured when installing CouchDB.
Finally, restart Tomcat and perform the following steps to verify that the Edge Node J2EE application is working
- Check that SMARTEdgeNode main page is working, by going to
http://localhost:8080/SMARTEdgeNode/
- Check that the first 2 links in "Retrieve XML" are working, the 3rd one will need a long time in order to finish as crowd_analysis_feed is quite large.
- Optionally, check that the links in "Replay Feed" are working. The last link will delete all replays but you will need to add an "s" at the end of the path. This is done to avoid accidental deletion.