This guide shows how to integrate MongoDB into jstat-gui
.
The general steps are:
- Install MongoDB as described here
- Start the MongoDB server
sudo service mongod start
- Check the status by
sudo service mongod status
By default MongoDB uses the 27017 port on localhost.
- The file
src/main/resources/application.properties
specifies the the name of the MongoDB the application is using, the url and the and port. Change there accordingly or leave the defaults
Note that an instance of mongod
should be running in order to read/write to the DB.