Hi,

I'm running Rexster with OrientDB and run into an exception: "Database 
instance is not set in current thread. Assure to set it with: 
ODatabaseRecordThreadLocal.INSTANCE.set(db); ".
The exception is not always thrown:

gremlin>g.getVertices("explicitid",100000L)
==>v[#9:90603] 
gremlin>g.getVertices("explicitid",100000L)
==>Database instance is not set in current thread. Assure to set it with: 
ODatabaseRecordThreadLocal.INSTANCE.set(db); 

I'm using Rexster 2.6.0, OrientDB 2.0.3, and the rexster configuration is:
<graph>
      <graph-enabled>true</graph-enabled>
      <graph-name>orientdbsample</graph-name>
      
<graph-type>com.tinkerpop.rexster.OrientGraphConfiguration</graph-type>
      <graph-location>plocal:C:/tmp/og</graph-location>
      <properties>
        <username>admin</username>
        <password>admin</password>
      </properties>
    </graph>

When trying to use a remote connection, this exception is always thrown.

Any clues?

Thanks,
Effy

-- 

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