Skip to content

MongoFactoryBean does not call Mongo.close() on shutdown [DATAMONGO-181] #1116

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

Closed
spring-projects-issues opened this issue Jun 23, 2011 · 1 comment
Assignees
Labels
in: core Issues in core support type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link

Tomasz Nurkiewicz opened DATAMONGO-181 and commented

MongoFactoryBean should call Mongo.close() on created object. Otherwise some resources aren't properly closed on application shutdown. For instance Tomcat reports two Mongo threads not being closed on shutdown


Affects: 1.0 M3

Referenced from: commits 9421c45, 6373a70

1 votes, 2 watchers

@spring-projects-issues
Copy link
Author

Laurent Pireyn commented

This issue was never actually resolved. A pull request on Github proposes a fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core support type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants