orientdb-community-2.0.4

step1:

orientdb> create database remote:localhost/blog root root plocal document

Creating database [remote:localhost/blog] using the storage type [plocal]...
Connecting to database [remote:localhost/blog] with user 'admin'...OK
......

Database created successfully.

step2:
orientdb {db=blog}> drop database remote:localhost/blog root root plocal

Disconnecting from remote server [remote:localhost/blog]...
OK
Disconnecting from the database [blog]...OK

Database 'remote:localhost/blog' deleted successfully


step3:

orientdb> create database remote:localhost/blog root root plocal document

Creating database [remote:localhost/blog] using the storage type 
[plocal]...Cannot create the remote storage: blog
com.orientechnologies.orient.core.exception.ODatabaseException: Cannot 
create database 'blog'
        at 
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:439)
        at 
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:352)
        at 
com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.createDatabase(OBinaryNetworkProtocolAbstract.java:273)
        at 
com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.createDatabase(ONetworkProtocolBinary.java:980)
        at 
com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:290)
        at 
com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:220)
        at 
com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:69)
Caused by: com.orientechnologies.orient.core.exception.ODatabaseException: 
Cannot open database
        at 
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:276)
        at 
com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:674)
        at 
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installDbClustersLocalStrategy(OHazelcastPlugin.java:1093)
        at 
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.onOpen(OHazelcastPlugin.java:418)
        at 
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.callOnOpenListeners(ODatabaseDocumentTx.java:336)
        at 
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:270)
        at 
com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:647)
        at 
com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:613)
        at 
com.orientechnologies.orient.server.hazelcast.ODistributedWorker.initDatabaseInstance(ODistributedWorker.java:161)
        at 
com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.unqueuePendingMessages(OHazelcastDistributedDatabase.java:264)
        at 
com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.configureDatabase(OHazelcastDistributedDatabase.java:209)
        at 
com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.onCreate(OHazelcastPlugin.java:382)
        at 
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:429)
        ... 6 more
Caused by: java.lang.IllegalStateException: Database blog is already open
        at 
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:237)
        ... 18 more

Error: com.orientechnologies.orient.core.exception.OStorageException: 
Cannot create the remote storage: blog

Error: com.orientechnologies.orient.core.exception.ODatabaseException: 
Cannot create database 'blog'

Error: com.orientechnologies.orient.core.exception.ODatabaseException: 
Cannot open database

Error: java.lang.IllegalStateException: Database blog is already open

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to