greenlaw110/play-morphia — Issue #66: DB authenticating on every code change (dev mode)
Author: zenoexo
Created: 2012-02-07 04:57:26+00:00
State: open

In dev mode, when using a non [trusted environment](http://www.mongodb.org/display/DOCS/Security+and+Authentication#SecurityandAuthentication-RunningWithoutSecurity%28TrustedEnvironment%29), requiring authentication, (i.e. mongolab) the connection fails, due to an IllegalStateException in com.mongodb.DB.authenticate(DB.java:437). It is suspected that play is restarting connection on code change.