Open scottmarlow opened 9 years ago
I'm not sure what we should do differently yet but starting the application server and seeing repeated "Server seen down" warnings filling the server log is not good.
Related is what to do when the MongoDB server goes down while applications are using it.
Some related reference links: http://blog.mongolab.com/2013/11/deep-dive-into-connection-pooling (deep dive into connection pooling) and http://docs.mongolab.com/connecting
Attempting to connect to a local MongoDB server (host=localhost, port=3444) that is not running, gives continuous warnings logged: " 10:35:27,452 WARNING com.mongodb.DynamicConnectionStatus Server seen down: localhost/127.0.0.1:3444 - java.io.IOException - message: couldn't connect to [localhost/127.0.0.1:3444] bc:java.net.ConnectException: Connection refused 10:35:27,463 WARNING com.mongodb.DynamicConnectionStatus Server seen down: localhost/127.0.0.1:3444 - java.io.IOException - message: couldn't connect to [localhost/127.0.0.1:3444] bc:java.net.ConnectException: Connection refused ".
Exception call stack related is:
"pool-2-thread-1@7461" prio=5 tid=0x78 nid=NA runnable java.lang.Thread.State: RUNNABLE at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
The configuration profile (work in progress still) is: