The behaviour described in http://java.net/jira/browse/OPENSSO-6020 still exists.
For example:
-sh-4.1$ ./ssoadm list-datastore-types -u amadmin -f password
Supported Datastore Types:
Description Type
---------------------------------------- ---------------------
Database Repository (Early Access) Database
Active Directory Application Mode (ADAM) LDAPv3ForADAM
Active Directory LDAPv3ForAD
Tivoli Directory Server LDAPv3ForTivoli
Cosmos OpenDJ Repository CosmosLDAPv3ForOpenDJ
Sun DS with OpenAM schema LDAPv3ForAMDS
OpenDS LDAPv3ForOpenDS
-sh-4.1$ ./ssoadm create-realm -e test -u amadmin -f password
Realm was created.
-sh-4.1$ ./ssoadm create-datastore -e test -m OpenDJ -t cosmosOpenDJRepository -D /opt/openam/amconf/datastore_users.conf -u amadmin -f password
Unable to add subConfig OpenDJ
-sh-4.1$ ./ssoadm create-datastore -e test -m OpenDJ -t cosmosOpenDJRepository -D /opt/openam/amconf/datastore_users.conf -u amadmin -f password -v
Process Request ...
Constructing Request Context...
Validating mandatory options...
Processing Sub Command ...
Executing class, com.sun.identity.cli.datastore.CreateDataStore.
Authenticating...
Authenticated.
com.sun.identity.cli.CLIException: Unable to add subConfig OpenDJ
at com.sun.identity.cli.datastore.CreateDataStore.handleRequest(CreateDataStore.java:113)
at com.sun.identity.cli.SubCommand.execute(SubCommand.java:291)
at com.sun.identity.cli.CLIRequest.process(CLIRequest.java:212)
at com.sun.identity.cli.CLIRequest.process(CLIRequest.java:134)
at com.sun.identity.cli.CommandManager.serviceRequestQueue(CommandManager.java:575)
at com.sun.identity.cli.CommandManager.<init>(CommandManager.java:173)
at com.sun.identity.cli.CommandManager.main(CommandManager.java:150)
Unable to add subConfig OpenDJ
The datastore creates successfully through the console, and native DataStores create successfully with ssoadm.