HI,
Exception is that storage is not closed.

Do you create storage which was deleted before ?
We have tons of such test cases, may you provide test, which I will run and
see that code does not work correctly ?




On Sat, Jun 7, 2014 at 4:01 AM, Glenn Irwin <[email protected]> wrote:

> When running this code:
>
>  ODatabaseDocumentTx db = new ODatabaseDocumentTx("plocal:data").create();
> (I have tried with various names - directory doesn't exist)
>
> This worked in 1.7 OrientDB
> I get this stack trace:
>
> com.orientechnologies.orient.core.exception.ODatabaseException: Cannot
> create database
>
> at
> com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.create(
> ODatabaseRecordAbstract.java:396)
>
> at com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.create(
> ODatabaseWrapperAbstract.java:55)
>
> at
> com.orientechnologies.orient.core.db.ODatabaseRecordWrapperAbstract.create(
> ODatabaseRecordWrapperAbstract.java:64)
>
> at permeagility.util.Database.createLocal(Database.java:169)
>
> at permeagility.web.Server.initializeServer(Server.java:902)
>
> at permeagility.web.Server.main(Server.java:174)
>
> Caused by: com.orientechnologies.orient.core.exception.ODatabaseException:
> Cannot create database
>
> at com.orientechnologies.orient.core.db.raw.ODatabaseRaw.create(
> ODatabaseRaw.java:135)
>
> at com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.create(
> ODatabaseWrapperAbstract.java:55)
>
> at
> com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.create(
> ODatabaseRecordAbstract.java:350)
>
> ... 5 more
>
> Caused by: com.orientechnologies.orient.core.exception.OStorageException:
> Cannot create new storage 'data' because it is not closed
>
> at
> com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.create(
> OLocalPaginatedStorage.java:297)
>
> at com.orientechnologies.orient.core.db.raw.ODatabaseRaw.create(
> ODatabaseRaw.java:131)
>
> ... 7 more
>
> Jun 06, 2014 6:53:33 PM com.orientechnologies.common.log.OLogManager log
>
> INFO: - storage: data...
>
> Jun 06, 2014 6:53:33 PM com.orientechnologies.common.log.OLogManager log
>
> WARNING: Error on closing storage
>
> Jun 06, 2014 6:53:33 PM com.orientechnologies.common.log.OLogManager log
>
> INFO: OrientDB Engine shutdown complete
>
>
> Am I missing a setup step first?
>
> in 1.7 it would create a database just fine.
>
> --
>
> ---
> 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.
>



-- 
Best regards,
Andrey Lomakin.

Orient Technologies
the Company behind OrientDB

-- 

--- 
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