Hi, I'm trying to connect to a database belonging to a server embedded in a java app.
http://www.orientechnologies.com/docs/last/orientdb.wiki/Embedded-Server.html I modified the server.database.path property from the java source file to point to my database : server.startup( "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>" + "<orient-server>" + "<network>" + "<protocols>" + "<protocol name=\"binary\" implementation=\"com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary\"/>" + "<protocol name=\"http\" implementation=\"com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpDb\"/>" + "</protocols>" + "<listeners>" + "<listener ip-address=\"0.0.0.0\" port-range=\"2424-2430\" protocol=\"binary\"/>" + "<listener ip-address=\"0.0.0.0\" port-range=\"2480-2490\" protocol=\"http\"/>" + "</listeners>" + "</network>" + "<users>" + "<user name=\"root\" password=\"ThisIsA_TEST\" resources=\"*\"/>" + "</users>" + "<properties>" + "<entry value=\"/Users/andreis/Downloads/orientdb-community-2.0-M3/databases/neoImported\" name=\"server.database.path\" />" + "<entry name=\"orientdb.www.path\" value=\"C:/work/dev/orientechnologies/orientdb/releases/1.0rc1-SNAPSHOT/www/\"/>" + "<entry name=\"orientdb.config.file\" value=\"/Users/andreis/Downloads/orientdb-community-2.0-M3/config/orientdb-server-config.xml\"/>" + "<entry name=\"server.cache.staticResources\" value=\"false\"/>" + "<entry name=\"log.console.level\" value=\"info\"/>" + "<entry name=\"log.file.level\" value=\"fine\"/>" //The following is required to eliminate an error or warning "Error on resolving property: ORIENTDB_HOME" + "<entry name=\"plugin.dynamic\" value=\"false\"/>" + "</properties>" + "</orient-server>"); and in orientdb-server-config.xml I added : <storages> <storage name=“neoImported” path="/Users/andreis/Downloads/orientdb-community-2.0-M3/databases/neoImported" userName="admin" userPassword="admin" loaded-at-startup="true" /> <storages/> but , when I am trying to connect form the console : connect remote:localhost:2424/neoImported admin admin I am getting Error: com.orientechnologies.orient.core.exception.OConfigurationException: Database 'neoImported' is not configured on server (home=/Users/andreis/Downloads/orientdb-community-2.0-M3/databases/neoImported) Any help is much appreciated. Thanks and Regards -- --- 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.
