Jump to content
We've recently updated our Privacy Statement, available here ×

Connect JasperReports Server 4.7.0, iReport 4.7.0 to MongoDB 2.2.1


rakesh2kv
Go to solution Solved by rakesh2kv,

Recommended Posts

Hi, 

I installed Jaspersoft  server 4.7.0 and iReport 4.7.0 . I wanted to connect to MongoDB 2.2.1. I downloaded the mongodb connector plugin. I have not been succesful connecting to MongoDB with both the tools. 

From iReport, i tried to add connection like.. mongodb://computername:27017/testdb.. without any username and password, I get an exception: 

Error: jasperreports.engine.JRException: cant call something : computername/192.168.125.20:27017/testdb.. 

I don't understand why computername is being replaced with computername/192.168.125.20.

From JasperReport Server I tried to add a data source with mongodb://computername:27017/testdb . without any username and password.. i get .. connection failed. I dont see any error why the connection failed. 

My testdb is windows authenticated. 

Please let me know if i am doing anything wrong or any issues with the MongoDB version I am using.

 

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...