I'm trying to use the embedded server in my application.
First I generated some OrientGraphNoTx graphs on disk.
Then I started an embedded server as described at
https://github.com/orientechnologies/orientdb/wiki/Embedded-Server
[root@test] java -cp testing.jar com.company.Class -test server
------------------------------------------------------------------------
-- this test starts an embedded server to serve the previously generated
graphs
------------------------------------------------------------------------
2014-04-10 02:18:27:519 INFO Loading configuration from input stream
[OServerConfigurationLoaderXml]
2014-04-10 02:18:27:872 INFO OrientDB Server v1.7-rc2 is starting up...
[OServer]
2014-04-10 02:18:27:880 INFO Databases directory: /tmp/graphs [OServer]
2014-04-10 02:18:27:921 INFO Listening binary connections on 0.0.0.0:8424
(protocol v.20) [OServerNetworkListener]
2014-04-10 02:18:27:927 INFO Listening http connections on 0.0.0.0:8480
(protocol v.10) [OServerNetworkListener]
2014-04-10 02:18:27:930 INFO OrientDB Server v1.7-rc2 is active. [OServer]
I connect to the server instance and list databases shows my databases
but I cant connect to them. I used the "embedded config" option in the wiki
page.
[root@test] ./console.sh
OrientDB console v.1.7-rc2 (build UNKNOWN@r; 2014-03-25 15:54:54+0100)
www.orientechnologies.com
Type 'help' to display all the commands supported.
Installing extensions for GREMLIN language v.2.5.0-SNAPSHOT
orientdb> connect remote:localhost:8424 root pass
Connecting to remote Server instance [remote:localhost:8424] with user
'root'...OK
orientdb {remote:localhost:8424/}> list databases
Found 10 databases:
* dafb189b-5396-4799-bd02-d114d48959aa (plocal)
* 99e5147e-a031-47ce-a852-3ad284cb72c2 (plocal)
* 7f56f44e-09b6-4744-a789-917d7dd50688 (plocal)
* a2b28381-38f6-4bf8-b754-962b9d6a3be0 (plocal)
* abab31ba-3413-429c-917e-adabce07fa9f (plocal)
* 7f06aff9-db85-4bd1-91dd-32e3db1a72d2 (plocal)
* b4590602-fc27-4b2a-8a3e-a54073d087ca (plocal)
* a5ab5872-0302-4153-a70b-0b583b41dd16 (plocal)
* 526854b7-1787-46d1-979b-f9dae49ed315 (plocal)
* 445e7974-ab45-4c35-989d-3cc500ea2201 (plocal)
orientdb {remote:localhost:8424/}> connect
remote:localhost:8424/dafb189b-5396-4799-bd02-d114d48959aa root pass
Disconnecting from remote server [remote:localhost:8424/]...
OKConnecting to database
[remote:localhost:8424/dafb189b-5396-4799-bd02-d114d48959aa] with user
'root'...
Error:
com.orientechnologies.orient.enterprise.channel.binary.OResponseProcessingException:
Exception during response processing.
Error: com.orientechnologies.orient.core.exception.OConfigurationException:
Database 'dafb189b-5396-4799-bd02-d114d48959aa' is not configured on server
Alan
--
---
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.