Problems connecting with grmlin using latest update of Orient

14 views
Skip to first unread message

ashwi...@gmail.com

unread,
Apr 25, 2011, 1:41:19 AM4/25/11
to orient-database, Luca Garulli, Marko Rodriguez
I took the latest build of both this morning. I cannot connect using the remote protocol both in my code and the gremlin console 


> g = new OrientGraph("remote:localhost/graph")

the is the stacktrace i get 

java.lang.UnsupportedOperationException: Can't check the existance of a database in a remote server. Please use the console or the OServerAdmin class.
        at com.orientechnologies.orient.client.remote.OStorageRemote.exists(OStorageRemote.java:133)
        at com.orientechnologies.orient.core.db.raw.ODatabaseRaw.exists(ODatabaseRaw.java:172)
        at com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.exists(ODatabaseWrapperAbstract.java:53)
        at com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.exists(ODatabaseWrapperAbstract.java:53)
        at com.tinkerpop.blueprints.pgm.impls.orientdb.OrientGraph.openOrCreate(OrientGraph.java:356)
        at com.tinkerpop.blueprints.pgm.impls.orientdb.OrientGraph.<init>(OrientGraph.java:46)

Luca Garulli

unread,
Apr 25, 2011, 4:49:16 AM4/25/11
to ashwi...@gmail.com, orient-database, Marko Rodriguez
This is a problem of recent change of EXIST operation due to a security issue: you've to be authorized to know if a db exists in a server, so the connect is required.

I've to change the OrientGraph impl to CONNECT to the server before to check if db exists. This s only for remote connections.

Can you open a HIGH priority issue for this?

Lvc@

ashwi...@gmail.com

unread,
Apr 25, 2011, 5:01:02 AM4/25/11
to Luca Garulli, orient-database, Marko Rodriguez
hi Luca,

Opened the issue #318, cant increase its priority, Can you please do this at your end.
Reply all
Reply to author
Forward
0 new messages