java - I QUERY [conn487] assertion 13 not authorized for query on -



java - I QUERY [conn487] assertion 13 not authorized for query on -

when tried connect mongodb3.0 java service, there error

2015-04-04t07:39:15.008+0800 query [conn487] assertion 13 not authorized query on....

in fact, can utilize username query directly in mongodb. also, can utilize username finish crud operations node.js application. of course, it's simple mongodb, no replication.

i set duplicated usernames in admin , database, granted user privileges , actions( actions: [ "find","insert","remove","update" ]).

i have no thought what's wrong java service.

this mongo configuration file.

port = 27017 fork = true auth = true directoryperdb = true nohttpinterface = true

my mongo-java-driver 3.0.0.

i've googled it, can't find solution. give thanks much.

java mongodb

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -