org.springframework.data.mongodb.UncategorizedMongoDbException: Out of semaphores to get db connection; nested exception is com.mongodb.DBPortPool$SemaphoresOut: Out of semaphores to get db connection org.springframework.data.mongodb.core.MongoExceptionTranslator.translateExceptionIfPossible(MongoExceptionTranslator.java:70) org.springframework.data.mongodb.core.MongoTemplate.potentiallyConvertRuntimeException(MongoTemplate.java:1548) org.springframework.data.mongodb.core.MongoTemplate.executeFindOneInternal(MongoTemplate.java:1412) org.springframework.data.mongodb.core.MongoTemplate.doFindOne(MongoTemplate.java:1215) org.springframework.data.mongodb.core.MongoTemplate.findOne(MongoTemplate.java:458) org.springframework.data.mongodb.core.MongoTemplate.findOne(MongoTemplate.java:453) com.funi.frontend.support.security.FireWallFilter.doFilter(FireWallFilter.java:28)

root cause

com.mongodb.DBPortPool$SemaphoresOut: Out of semaphores to get db connection
	com.mongodb.DBPortPool.get(DBPortPool.java:176)
	com.mongodb.DBTCPConnector$MyPort.get(DBTCPConnector.java:370)
	com.mongodb.DBTCPConnector.call(DBTCPConnector.java:212)
	com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:305)
	com.mongodb.DBCollection.findOne(DBCollection.java:647)
	com.mongodb.DBCollection.findOne(DBCollection.java:626)
	org.springframework.data.mongodb.core.MongoTemplate$FindOneCallback.doInCollection(MongoTemplate.java:1603)
	org.springframework.data.mongodb.core.MongoTemplate$FindOneCallback.doInCollection(MongoTemplate.java:1588)
	org.springframework.data.mongodb.core.MongoTemplate.executeFindOneInternal(MongoTemplate.java:1408)
	org.springframework.data.mongodb.core.MongoTemplate.doFindOne(MongoTemplate.java:1215)
	org.springframework.data.mongodb.core.MongoTemplate.findOne(MongoTemplate.java:458)
	org.springframework.data.mongodb.core.MongoTemplate.findOne(MongoTemplate.java:453)
	com.funi.frontend.support.security.FireWallFilter.doFilter(FireWallFilter.java:28)

note The full stack trace of the root cause is available in the JBoss Web/7.0.13.Final logs.


JBoss Web/7.0.13.Final