To set up a MongoDB connection to connect a JReport catalog to a MongoDB data source, follow the steps below:
If you want to set up the connection by adding a data source to an existing catalog and then defining the connection on the data source, open the catalog, select any data source contained in it, click the New Data Source button on the Catalog Browser toolbar, then in the New Data source dialog, specify the name of the data source, select the MongoDB connection type and click OK.
The MongoDB Connection Wizard appears.
Note: When setting up the connection via SSL, you need to import the SSL certificate into the default JKS, and use the -D parameter to specify the system parameter in the file JRServer.bat in <server_install_root>\server\bin
(the MongoDB Java driver mongo-2.12.0.jar is already within JReport). Then add ssl=true in the Options box of the Connection Options screen of the MongoDB Connection Wizard.