Hi Enrico,
Thanks for your help after using the remote it is now working well without
locking issues. I really appreciate it.
On Tuesday, August 12, 2014 3:07:39 PM UTC+4, Enrico Risa wrote:
>
> Hi Kareem
>
> you call this:
>
> OServer server = OServerMain.create();
> server.startup(new File("/
Hi Kareem
you call this:
OServer server = OServerMain.create();
server.startup(new File("/usr/local/temp/db.config"));
server.activate();
At the startup of your application, then from your application code you can
use
new OrientGraphFactory("plocal:d:/db/test");
For the db.config it is the c
Thanks Enrico, I really appreciate it.
Can I then call
new OrientGraphFactory("plocal:d:/db/test");
after:
server.activate();
I prefer doing this as below,
OServer server = OServerMain.create();server.startup(new
File("/usr/local/temp/db.config"));server.activate();
The documentation is
Hi Kareem
you can use embedded server Take a look here.
Let's you connect in plocal but you can use tool like Studio and Console
https://github.com/orientechnologies/orientdb/wiki/Embedded-Server
2014-08-12 0:41 GMT+02:00 Kareem Jabr :
> Plocal
> Factory = new OrientGraphFactory("plocal:d:/db/
Plocal
Factory = new OrientGraphFactory("plocal:d:/db/test");
Factory.getTx()
On Aug 11, 2014 4:54 PM, "Enrico Risa" wrote:
> Hi Kareem
>
> how do you open the database from tomcat server?
>
> plocal or remote?
>
>
>
>
> 2014-08-11 14:51 GMT+02:00 Kareem Jabr :
>
>> If I try to connect to the DB
Hi Kareem
how do you open the database from tomcat server?
plocal or remote?
2014-08-11 14:51 GMT+02:00 Kareem Jabr :
> If I try to connect to the DB thru studio from the browser
>
> http://localhost:2480/studio/index.html#/database/test/browse
>
> *it shows this in the log:*
>
> java.io.IO
If I try to connect to the DB thru studio from the browser
http://localhost:2480/studio/index.html#/database/test/browse
*it shows this in the log:*
java.io.IOException: The process cannot access the file because another
process has locked a portion of the file [ONetworkProtocolHttpDb]
Since