Opening existing OrientDB database from external program fails with undescriptive error message if ORIENTDB_HOME variable not set [moved] #941

Closed
lvca opened this Issue Dec 10, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Owner

lvca commented Dec 10, 2012

This is Issue 941 moved from a Google Code project.
Added by 2012-07-09T03:06:19.000Z by nuzz604.
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Defect, Priority-Medium, Release

Original description

<b>OrientDB release? (If you're using a SNAPSHOT please attach also the build</b>
number found in &quot;build.number&quot; file):

1.0.1

<b>What steps will reproduce the problem?</b>
1. Do not have ORIENTDB_HOME variable set
2. Call OGraphDatabase.open(iUserName, iUserPassword) from external program

<b>What is the expected output? What do you see instead?</b>

Error message says: [WARN] GraphConfigurationContainer - com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage 'path/to/db' with mode=rw

Can we have it check the value of ORIENTDB_HOME and instead return an error message stating that ORIENTDB_HOME is not set?

@lvca lvca closed this Oct 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment