Jump to content
We've recently updated our Privacy Statement, available here ×
  • Mongodb install for JasperReports Server v4.5.x and v4.7.x


    ernestoo
    • Version: v4.7, v4.5 Product: JasperReports® Server

    Purpose

    JasperReports Server and iReport Designer v4.5.1 and earlier do not ship with built-in connectors to MongoDB. These resources are provided here in order to enable JasperReports Server to access MongoDB data.

    Editions of JasperReports Server v4.7 and greater include official support for MongoDB, backed by Jaspersoft Support.

    Summary

    1. Obtain and unzip MongoDB-connector-for-Jaspersoft-bin-xxx.zip
    2. Deploy the MongoDB plugin to iReport
    3. Create a report
    4. Deploy the query executer to JasperReports Server
    5. Deploy the report to JasperReports Server
    6. Run the report

    Details

    1. Obtain and unzip MongoDB-connector-for-Jaspersoft-bin-xxx.zip

    Import note: These steps are only required if you have JasperReports Server v4.5.1 or below

    Download it from the project release area. The following files are included:

    • plugin/MongoDbPlugin-0.11.nbm
    • WEB-INF/applicationContext-MongoDbDataSource.xml
    • WEB-INF/bundles/MongoDbDataSource.properties
    • WEB-INF/lib/mongo-java-driver-2.3.jar
    • WEB-INF/lib/MongoDbDatasource-0.11.jar

    2. Deploy the MongoDB plugin to iReport

    1. Choose the menu Tools → Plugins.

    Import note: These steps are only required if you have JasperReports Server v4.5.1 or below

    1. From the tab "Downloaded" add the plugin file MongoDbPlugin-xxx.nbm

      01_Add_Plugin.png.a436937217d53fc72e129e758dc71130.png
    2. : After installing the plugin you must restart iReport.
    3. Click the button "Report Datasources" to define a new connection to MongoDB.

      02_Report_Datasources.png.80dcc8c1e4ef65dcc62271776337df78.png

    See Also


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...