[JAVA-1494] got error while mongodb with teland Created: 08/Oct/14 Updated: 04/Apr/23 Resolved: 23/Jun/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | arun kumar | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Exception in component tMongoDBInput_1 |
| Comments |
| Comment by Jeffrey Yemin [ 23/Jun/15 ] |
|
As we haven't heard back from you in a while, I'm closing this issue. |
| Comment by Ross Lawley [ 08/Oct/14 ] |
|
Hi arun@singh, From the exception message it seems there has been a problem connecting to the master node in the replicaSet. Looking at your mongod logs should provide some information about the replicaSet health. Also you need to make sure your application can reach / connect to the mongod i.e. there are no firewall rules preventing access. I also noticed that the checkMaster() method is from an older version of the Java driver and the current release is 2.12.3 so if possible its advisable to keep up to date with the latest release. For future reference, the best place for questions regarding MongoDB usage or the Java driver specifics is the mongodb-user mailinglist or stackoverflow as you will reach a boarder audience there. This JAVA project is specifically for driver based bugs or issues. Ross |