java.io.IOException: The process cannot access the file because another process has locked a portion of the file [ONetworkProtocolHttpDb]--
---
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 orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Plocal
Factory = new OrientGraphFactory("plocal:d:/db/test");
Factory.getTx()
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/ny6WHJZ7_Ok/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.
new OrientGraphFactory("plocal:d:/db/test");
server.activate();I prefer doing this as below,
OServer server = OServerMain.create(); server.startup(new File("/usr/local/temp/db.config")); server.activate();
<listener protocol="http" port-range="2480-2490" ip-address="0.0.0.0"> <commands> <command implementation="com.orientechnologies.orient.server.network.protocol.http.command.get.OServerCommandGetStaticContent" pattern="GET|www GET|studio/ GET| GET|*.htm GET|*.html GET|*.xml GET|*.jpeg GET|*.jpg GET|*.png GET|*.gif GET|*.js GET|*.css GET|*.swf GET|*.ico GET|*.txt GET|*.otf GET|*.pjs GET|*.svg"> <parameters> <entry value="Cache-Control: no-cache, no-store, max-age=0, must-revalidate\r\nPragma: no-cache" name="http.cache:*.htm *.html"/> <entry value="Cache-Control: max-age=120" name="http.cache:default"/> </parameters> </command> </commands> </listener>
OServer server = OServerMain.create(); server.startup(new File("/usr/local/temp/db.config")); server.activate();