Re: Connecting to server from java: can't lock berkeleyje


queshaw
 

Apparently it replaces the full path to the properties file with a relative path (conf/remote-graph.properties), which isn't found, of course.


So, I've copied them and now I can connect. 


Thanks.


On Sunday, September 11, 2022 1:20 PM, hadoopmarc@... wrote:

The stacktrace is not very helpful, unfortunately, but that is not your doing. The original example does not use an "ats" variable but instantiates g with a oneliner, but it hard to see why this could make a difference. Most likely, the code has trouble finding the conf/remote-objects.yaml file, referenced in the conf/remote-graph.properties file.

As an alternative to fiddling with your current code, you could take a look at:


Best wishes,    Marc


Join {janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.