I want to execute soem admin command with parameters from java.
The commands are:
{ enablesharding : \"test\" } { shardcollection : \"test.test_coll
Have you ensured you have authenticated to the db successfully?
Have you tried db.eval(COMMAND_THAT_YOU_WANT_TO_EVAL);