Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mongo 3.2 incompatibility #356

Closed
jeffastorey opened this issue Dec 21, 2015 · 3 comments
Closed

mongo 3.2 incompatibility #356

jeffastorey opened this issue Dec 21, 2015 · 3 comments

Comments

@jeffastorey
Copy link

When first starting up seyren, I got this error

Dec 21, 2015 10:50:00 AM com.mongodb.ServerMonitor$ServerMonitorRunnable run
WARNING: Exception in monitor thread during notification of server state change
java.lang.NoClassDefFoundError: com/mongodb/ChangeEvent
at com.mongodb.ServerMonitor$ServerMonitorRunnable.sendStateChangedEvent(ServerMonitor.java:135)
at com.mongodb.ServerMonitor$ServerMonitorRunnable.run(ServerMonitor.java:118)
at java.lang.Thread.run(Thread.java:745)

Adding a mongo java driver to the classpath fixed the issue. Is this expected? If so, it should be documented.

@jeffastorey
Copy link
Author

It looks like this is actually an issue with mongo 3.2+

I will test with the mongo drivers for 3.2 rather than the bundled ones to see what happens

@jeffastorey
Copy link
Author

When testing with the mongo 3.2 drivers, I found that the seyren code breaks because the driver code is different and is not backwards compatible. I immediately found that CommandFailureException is no longer a class in the mongo 3.2 driver and caused exceptions in the seyren code.

@jeffastorey jeffastorey changed the title mongo noclassdeferror mongo 3.2 incompatibility Dec 21, 2015
@scobal
Copy link
Owner

scobal commented May 1, 2016

Just to let you know I've just updated the Mongo version to 3.2.2, 988f3de. It will be included in the next release, thanks!

@scobal scobal closed this as completed May 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants