I created a new plocal db, and still got the following exception:
[INFO] Application - .:Welcome to Rexster:.
[INFO] RexsterProperties - Using 
[/home/elad/Development/rexster-server-2.6.0/config/rexster.xml] as 
configuration source.
[INFO] Application - Rexster is watching 
[/home/elad/Development/rexster-server-2.6.0/config/rexster.xml] for change.
[WARN] GraphConfigurationContainer - Could not load graph test. Please 
check the XML configuration.
[WARN] GraphConfigurationContainer - GraphConfiguration could not be found 
or otherwise instantiated: 
[com.tinkerpop.rexster.OrientGraphConfiguration]. Ensure that it is in 
Rexster's path.
com.tinkerpop.rexster.config.GraphConfigurationException: 
GraphConfiguration could not be found or otherwise instantiated: 
[com.tinkerpop.rexster.OrientGraphConfiguration]. Ensure that it is in 
Rexster's path.
at 
com.tinkerpop.rexster.config.GraphConfigurationContainer.getGraphFromConfiguration(GraphConfigurationContainer.java:142)
at 
com.tinkerpop.rexster.config.GraphConfigurationContainer.<init>(GraphConfigurationContainer.java:54)
at 
com.tinkerpop.rexster.server.XmlRexsterApplication.reconfigure(XmlRexsterApplication.java:99)
at 
com.tinkerpop.rexster.server.XmlRexsterApplication.<init>(XmlRexsterApplication.java:47)
at com.tinkerpop.rexster.Application.<init>(Application.java:97)
at com.tinkerpop.rexster.Application.main(Application.java:189)
Caused by: com.tinkerpop.rexster.config.GraphConfigurationException: 
com.orientechnologies.common.exception.OException: Error on creation of 
shared resource
at 
com.tinkerpop.rexster.OrientGraphConfiguration.configureGraphInstance(OrientGraphConfiguration.java:82)
at 
com.tinkerpop.rexster.config.GraphConfigurationContainer.getGraphFromConfiguration(GraphConfigurationContainer.java:124)
... 5 more
Caused by: com.orientechnologies.common.exception.OException: Error on 
creation of shared resource
at 
com.orientechnologies.common.concur.resource.OSharedContainerImpl.getResource(OSharedContainerImpl.java:55)
at 
com.orientechnologies.orient.core.metadata.OMetadataDefault.init(OMetadataDefault.java:110)
at 
com.orientechnologies.orient.core.metadata.OMetadataDefault.load(OMetadataDefault.java:68)
at 
com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.open(ODatabaseRecordAbstract.java:291)
at 
com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.open(ODatabaseWrapperAbstract.java:49)
at 
com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.openOrCreate(OrientBaseGraph.java:1741)
at 
com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.<init>(OrientBaseGraph.java:136)
at 
com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.<init>(OrientTransactionalGraph.java:63)
at 
com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.<init>(OrientTransactionalGraph.java:59)
at 
com.tinkerpop.blueprints.impls.orient.OrientGraph.<init>(OrientGraph.java:78)
at 
com.tinkerpop.rexster.OrientGraphConfiguration.configureGraphInstance(OrientGraphConfiguration.java:79)
... 6 more
Caused by: 
com.orientechnologies.orient.core.exception.ORecordNotFoundException: The 
record with id '#0:1' not found
at 
com.orientechnologies.orient.core.record.ORecordAbstract.reload(ORecordAbstract.java:317)
at 
com.orientechnologies.orient.core.record.impl.ODocument.reload(ODocument.java:406)
at 
com.orientechnologies.orient.core.type.ODocumentWrapper.reload(ODocumentWrapper.java:87)
at 
com.orientechnologies.orient.core.type.ODocumentWrapperNoClass.reload(ODocumentWrapperNoClass.java:69)
at 
com.orientechnologies.orient.core.metadata.schema.OSchemaShared.load(OSchemaShared.java:921)
at 
com.orientechnologies.orient.core.metadata.OMetadataDefault$1.call(OMetadataDefault.java:115)
at 
com.orientechnologies.orient.core.metadata.OMetadataDefault$1.call(OMetadataDefault.java:110)
at 
com.orientechnologies.common.concur.resource.OSharedContainerImpl.getResource(OSharedContainerImpl.java:53)
... 16 more
Caused by: com.orientechnologies.orient.core.exception.ODatabaseException: 
Error on retrieving record #0:1 (cluster: internal)
at 
com.orientechnologies.orient.core.db.raw.ODatabaseRaw.read(ODatabaseRaw.java:257)
at 
com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.executeReadRecord(ODatabaseRecordAbstract.java:1005)
at 
com.orientechnologies.orient.core.tx.OTransactionNoTx.loadRecord(OTransactionNoTx.java:70)
at 
com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.reload(ODatabaseRecordTx.java:283)
at 
com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.reload(ODatabaseRecordTx.java:40)
at 
com.orientechnologies.orient.core.record.ORecordAbstract.reload(ORecordAbstract.java:310)
... 23 more
Caused by: java.lang.NoClassDefFoundError: org/xerial/snappy/Snappy
at 
com.orientechnologies.orient.core.compression.impl.OSnappyCompression.uncompress(OSnappyCompression.java:49)
at 
com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.readRecord(OPaginatedCluster.java:647)
at 
com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.readRecord(OLocalPaginatedStorage.java:1487)
at 
com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.readRecord(OLocalPaginatedStorage.java:754)
at 
com.orientechnologies.orient.core.db.raw.ODatabaseRaw.read(ODatabaseRaw.java:250)
... 28 more
Caused by: java.lang.ClassNotFoundException: org.xerial.snappy.Snappy
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 33 more
[WARN] GraphConfigurationContainer - 
com.orientechnologies.common.exception.OException: Error on creation of 
shared resource
com.tinkerpop.rexster.config.GraphConfigurationException: 
com.orientechnologies.common.exception.OException: Error on creation of 
shared resource
at 
com.tinkerpop.rexster.OrientGraphConfiguration.configureGraphInstance(OrientGraphConfiguration.java:82)
at 
com.tinkerpop.rexster.config.GraphConfigurationContainer.getGraphFromConfiguration(GraphConfigurationContainer.java:124)
at 
com.tinkerpop.rexster.config.GraphConfigurationContainer.<init>(GraphConfigurationContainer.java:54)
at 
com.tinkerpop.rexster.server.XmlRexsterApplication.reconfigure(XmlRexsterApplication.java:99)
at 
com.tinkerpop.rexster.server.XmlRexsterApplication.<init>(XmlRexsterApplication.java:47)
at com.tinkerpop.rexster.Application.<init>(Application.java:97)
at com.tinkerpop.rexster.Application.main(Application.java:189)
Caused by: com.orientechnologies.common.exception.OException: Error on 
creation of shared resource
at 
com.orientechnologies.common.concur.resource.OSharedContainerImpl.getResource(OSharedContainerImpl.java:55)
at 
com.orientechnologies.orient.core.metadata.OMetadataDefault.init(OMetadataDefault.java:110)
at 
com.orientechnologies.orient.core.metadata.OMetadataDefault.load(OMetadataDefault.java:68)
at 
com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.open(ODatabaseRecordAbstract.java:291)
at 
com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.open(ODatabaseWrapperAbstract.java:49)
at 
com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.openOrCreate(OrientBaseGraph.java:1741)
at 
com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.<init>(OrientBaseGraph.java:136)
at 
com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.<init>(OrientTransactionalGraph.java:63)
at 
com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.<init>(OrientTransactionalGraph.java:59)
at 
com.tinkerpop.blueprints.impls.orient.OrientGraph.<init>(OrientGraph.java:78)
at 
com.tinkerpop.rexster.OrientGraphConfiguration.configureGraphInstance(OrientGraphConfiguration.java:79)
... 6 more
Caused by: 
com.orientechnologies.orient.core.exception.ORecordNotFoundException: The 
record with id '#0:1' not found
at 
com.orientechnologies.orient.core.record.ORecordAbstract.reload(ORecordAbstract.java:317)
at 
com.orientechnologies.orient.core.record.impl.ODocument.reload(ODocument.java:406)
at 
com.orientechnologies.orient.core.type.ODocumentWrapper.reload(ODocumentWrapper.java:87)
at 
com.orientechnologies.orient.core.type.ODocumentWrapperNoClass.reload(ODocumentWrapperNoClass.java:69)
at 
com.orientechnologies.orient.core.metadata.schema.OSchemaShared.load(OSchemaShared.java:921)
at 
com.orientechnologies.orient.core.metadata.OMetadataDefault$1.call(OMetadataDefault.java:115)
at 
com.orientechnologies.orient.core.metadata.OMetadataDefault$1.call(OMetadataDefault.java:110)
at 
com.orientechnologies.common.concur.resource.OSharedContainerImpl.getResource(OSharedContainerImpl.java:53)
... 16 more
Caused by: com.orientechnologies.orient.core.exception.ODatabaseException: 
Error on retrieving record #0:1 (cluster: internal)
at 
com.orientechnologies.orient.core.db.raw.ODatabaseRaw.read(ODatabaseRaw.java:257)
at 
com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.executeReadRecord(ODatabaseRecordAbstract.java:1005)
at 
com.orientechnologies.orient.core.tx.OTransactionNoTx.loadRecord(OTransactionNoTx.java:70)
at 
com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.reload(ODatabaseRecordTx.java:283)
at 
com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.reload(ODatabaseRecordTx.java:40)
at 
com.orientechnologies.orient.core.record.ORecordAbstract.reload(ORecordAbstract.java:310)
... 23 more
Caused by: java.lang.NoClassDefFoundError: org/xerial/snappy/Snappy
at 
com.orientechnologies.orient.core.compression.impl.OSnappyCompression.uncompress(OSnappyCompression.java:49)
at 
com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.readRecord(OPaginatedCluster.java:647)
at 
com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.readRecord(OLocalPaginatedStorage.java:1487)
at 
com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.readRecord(OLocalPaginatedStorage.java:754)
at 
com.orientechnologies.orient.core.db.raw.ODatabaseRaw.read(ODatabaseRaw.java:250)
... 28 more
Caused by: java.lang.ClassNotFoundException: org.xerial.snappy.Snappy
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 33 more



On Monday, January 19, 2015 at 1:51:39 PM UTC+2, Andrey Lomakin wrote:
>
> I suppose that is bacause you created database as local and use it as 
> local, could you create database as plocal and use it as such one.
>
> Also did you provide full stack trace ?
> Problem with local is that it not thread safe so I do suggest to switch to 
> plocal.
>
> On Mon, Jan 19, 2015 at 10:58 AM, Elad <[email protected] 
> <javascript:>> wrote:
>
>> Hi Luca,
>>
>> The plocal doesn't really working.
>>
>> Test orient 1.7.10 with rexster 2.6.0.
>> Using rexster configuration:
>> <graph>
>>             <graph-name>test</graph-name>
>>             
>> <graph-type>com.tinkerpop.rexster.OrientGraphConfiguration</graph-type>
>>             
>> <graph-location>plocal:/home/elad/orientdb-community-1.7.10/databases/GratefulDeadConcerts</graph-location>
>>             <properties>
>>                 <username>admin</username>
>>                 <password>admin</password>
>>             </properties>
>>             <extensions>
>>                 <allows>
>>                     <allow>tp:gremlin</allow>
>>                 </allows>
>>             </extensions>
>>         </graph>
>>
>> Got the errors:
>> [WARN] GraphConfigurationContainer - Could not load graph test. Please 
>> check the XML configuration.
>> [WARN] GraphConfigurationContainer - GraphConfiguration could not be 
>> found or otherwise instantiated: 
>> [com.tinkerpop.rexster.OrientGraphConfiguration]. Ensure that it is in 
>> Rexster's path.
>> com.tinkerpop.rexster.config.GraphConfigurationException: 
>> GraphConfiguration could not be found or otherwise instantiated: 
>> [com.tinkerpop.rexster.OrientGraphConfiguration]. Ensure that it is in 
>> Rexster's path.
>> at 
>> com.tinkerpop.rexster.config.GraphConfigurationContainer.getGraphFromConfiguration(GraphConfigurationContainer.java:142)
>> at 
>> com.tinkerpop.rexster.config.GraphConfigurationContainer.<init>(GraphConfigurationContainer.java:54)
>> at 
>> com.tinkerpop.rexster.server.XmlRexsterApplication.reconfigure(XmlRexsterApplication.java:99)
>> at 
>> com.tinkerpop.rexster.server.XmlRexsterApplication.<init>(XmlRexsterApplication.java:47)
>> at com.tinkerpop.rexster.Application.<init>(Application.java:97)
>> at com.tinkerpop.rexster.Application.main(Application.java:189)
>> Caused by: com.tinkerpop.rexster.config.GraphConfigurationException: 
>> com.orientechnologies.common.exception.OException: Error on creation of 
>> shared resource
>> at 
>> com.tinkerpop.rexster.OrientGraphConfiguration.configureGraphInstance(OrientGraphConfiguration.java:82)
>> at 
>> com.tinkerpop.rexster.config.GraphConfigurationContainer.getGraphFromConfiguration(GraphConfigurationContainer.java:124)
>> ... 5 more
>> Caused by: com.orientechnologies.common.exception.OException: Error on 
>> creation of shared resource
>> at 
>> com.orientechnologies.common.concur.resource.OSharedContainerImpl.getResource(OSharedContainerImpl.java:55)
>> at 
>> com.orientechnologies.orient.core.metadata.OMetadataDefault.init(OMetadataDefault.java:110)
>> at 
>> com.orientechnologies.orient.core.metadata.OMetadataDefault.load(OMetadataDefault.java:68)
>> at 
>> com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.open(ODatabaseRecordAbstract.java:291)
>> at 
>> com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.open(ODatabaseWrapperAbstract.java:49)
>> at 
>> com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.openOrCreate(OrientBaseGraph.java:1741)
>> at 
>> com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.<init>(OrientBaseGraph.java:136)
>> at 
>> com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.<init>(OrientTransactionalGraph.java:63)
>> at 
>> com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.<init>(OrientTransactionalGraph.java:59)
>> at 
>> com.tinkerpop.blueprints.impls.orient.OrientGraph.<init>(OrientGraph.java:78)
>> at 
>> com.tinkerpop.rexster.OrientGraphConfiguration.configureGraphInstance(OrientGraphConfiguration.java:79)
>> ... 6 more
>> Caused by: 
>> com.orientechnologies.orient.core.exception.ORecordNotFoundException: The 
>> record with id '#0:1' not found
>> at 
>> com.orientechnologies.orient.core.record.ORecordAbstract.reload(ORecordAbstract.java:317)
>> at 
>> com.orientechnologies.orient.core.record.impl.ODocument.reload(ODocument.java:406)
>> at 
>> com.orientechnologies.orient.core.type.ODocumentWrapper.reload(ODocumentWrapper.java:87)
>> at 
>> com.orientechnologies.orient.core.type.ODocumentWrapperNoClass.reload(ODocumentWrapperNoClass.java:69)
>> at 
>> com.orientechnologies.orient.core.metadata.schema.OSchemaShared.load(OSchemaShared.java:921)
>> at 
>> com.orientechnologies.orient.core.metadata.OMetadataDefault$1.call(OMetadataDefault.java:115)
>> at 
>> com.orientechnologies.orient.core.metadata.OMetadataDefault$1.call(OMetadataDefault.java:110)
>> at 
>> com.orientechnologies.common.concur.resource.OSharedContainerImpl.getResource(OSharedContainerImpl.java:53)
>>
>>
>> Thanks,
>> Elad
>>
>>
>>
>> On Sunday, January 18, 2015 at 6:40:19 PM UTC+2, Lvc@ wrote:
>>>
>>> Hi Elad,
>>> Please don't use "local" storage engine, but rather "plocal". We 
>>> deprecated "local" long time ago. If you have a database you want to move 
>>> to "plocal", then export and reimport it.
>>>
>>> I suggest you also to use a more recent OrientDB version.
>>>
>>> Lvc@
>>>
>>>
>>> On 18 January 2015 at 16:46, Elad <[email protected]> wrote:
>>>
>>>> When run rexster-server-2.6.0 with orientdb 1.7.2 I got the following 
>>>> error when run rexster server:
>>>> The error appeared after the disk ran out of space and cleaned.
>>>>
>>>> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
>>>> at com.orientechnologies.orient.core.storage.impl.local.
>>>> ODataLocal.moveRecord(ODataLocal.java:630)
>>>> at com.orientechnologies.orient.core.storage.impl.local.
>>>> ODataLocal.defragHole(ODataLocal.java:555)
>>>> at com.orientechnologies.orient.core.storage.impl.local.
>>>> ODataLocal.createHole(ODataLocal.java:465)
>>>> at com.orientechnologies.orient.core.storage.impl.local.
>>>> ODataLocal.setRecord(ODataLocal.java:348)
>>>> at com.orientechnologies.orient.core.storage.impl.local.
>>>> OStorageLocal.updateRecord(OStorageLocal.java:1881)
>>>> at com.orientechnologies.orient.core.storage.impl.local.OTxSegment.
>>>> recoverTransactionEntry(OTxSegment.java:374)
>>>> at com.orientechnologies.orient.core.storage.impl.local.
>>>> OTxSegment.recoverTransaction(OTxSegment.java:343)
>>>> at com.orientechnologies.orient.core.storage.impl.local.OTxSegment.
>>>> recoverTransactions(OTxSegment.java:211)
>>>> at com.orientechnologies.orient.core.storage.impl.local.
>>>> OTxSegment.open(OTxSegment.java:95)
>>>> at com.orientechnologies.orient.core.storage.impl.local.
>>>> OStorageLocalTxExecuter.open(OStorageLocalTxExecuter.java:63)
>>>> at com.orientechnologies.orient.core.storage.impl.local.
>>>> OStorageLocal.open(OStorageLocal.java:218)
>>>> at com.orientechnologies.orient.core.db.raw.ODatabaseRaw.open(
>>>> ODatabaseRaw.java:107)
>>>> at com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.open(
>>>> ODatabaseWrapperAbstract.java:49)
>>>> at com.orientechnologies.orient.core.db.record.
>>>> ODatabaseRecordAbstract.open(ODatabaseRecordAbstract.java:268)
>>>> at com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.open(
>>>> ODatabaseWrapperAbstract.java:49)
>>>> at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.
>>>> openOrCreate(OrientBaseGraph.java:1741)
>>>> at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.<
>>>> init>(OrientBaseGraph.java:136)
>>>> at com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.<
>>>> init>(OrientTransactionalGraph.java:63)
>>>> at com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.<
>>>> init>(OrientTransactionalGraph.java:59)
>>>> at com.tinkerpop.blueprints.impls.orient.OrientGraph.<
>>>> init>(OrientGraph.java:78)
>>>> at com.tinkerpop.rexster.OrientGraphConfiguration.
>>>> configureGraphInstance(OrientGraphConfiguration.java:79)
>>>> at com.tinkerpop.rexster.config.GraphConfigurationContainer.
>>>> getGraphFromConfiguration(GraphConfigurationContainer.java:124)
>>>> at com.tinkerpop.rexster.config.GraphConfigurationContainer.<init>(
>>>> GraphConfigurationContainer.java:54)
>>>> at com.tinkerpop.rexster.server.XmlRexsterApplication.reconfigure(
>>>> XmlRexsterApplication.java:99)
>>>> at com.tinkerpop.rexster.server.XmlRexsterApplication.<init>(
>>>> XmlRexsterApplication.java:47)
>>>> at com.tinkerpop.rexster.Application.<init>(Application.java:97)
>>>> at com.tinkerpop.rexster.Application.main(Application.java:189)
>>>>
>>>> I rebuild all indexes using OrientDB studio, and it didn't solve the 
>>>> problem.
>>>>
>>>> Any tip to solve or diagnose this issue?
>>>>
>>>> Thanks,
>>>> Elad
>>>>
>>>> -- 
>>>>
>>>> --- 
>>>> 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.
>>>>
>>>
>>>  -- 
>>
>> --- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Best regards,
> Andrey Lomakin.
>
>  

-- 

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