Hello Enrico,
Thanks for your quick reply.
I already tried this, but I don't seem to know how to configure OrientDB to
connect to my embedded database.
So what I did was:
1. Create the database in the folder specified from my code.
2. Add the line below in
"${ORIENTDB_HOME}\config\orientdb-server-config.xml" under the <properties>.
1. <entry name="server.database.path"
value="${user.home}/AppData/codex_orientdb"/>
3. Start the server.bat file from the non-embedded server.
4. Open http://localhost:2480/ in my browser.
5. When I open it, I see my newly created database appear in the
"Database" dropdown.
6. I login using admin/admin, and then I get an "Authentication
Required" popup telling me:
1. The server http://localhost:2480 requires a username and password.
The server says: OrientDB db-codex11.
7. I enter root/root, which I specified in
"${ORIENTDB_HOME}\config\orientdb-server-config.xml" under <users>, but it
won't let me enter. The popup just keeps reappearing. In the server.bat
console, it gives me the following error message:
2014-10-06 10:36:33:071 SEVE Internal server error:
com.orientechnologies.orient.core.exception.OConfigurationException:
Database 'codex11' is not configured on server
(home=C:/Users/JR/AppData/codex_orientdb) [ONetworkProtocolHttpDb]
Would it be possible to know why I'm getting this?
Regards,
Jeremie
On Monday, October 6, 2014 10:14:09 AM UTC-4, Enrico Risa wrote:
>
> Hi jeremies,
>
> you can achieve that by using embedded server.
>
>
> You can see here the documentation.
>
>
> http://www.orientechnologies.com/docs/last/orientdb.wiki/Embedded-Server.html
>
> Enrico
>
> 2014-10-06 16:11 GMT+02:00 jeremies <[email protected] <javascript:>>:
>
>> Hello,
>>
>>
>>
>> I have an embedded OrientDB server (community edition 2.0-M2) running in
>> my Java application. It stores the databases in
>> ${user.home}/AppData/orientdb_codex/.
>>
>>
>>
>> How can I see the results in there using OrientDB Studio or the JDBC
>> driver in DbVisualizer?
>>
>>
>>
>> Any help would be appreciated.
>>
>> Regards,
>>
>> Jeremie
>>
>> --
>>
>> ---
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
---
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.