Hi Artem Orbets, 1/ After step 4, the OrientDB Studio is still working, query is still success.
2/ I have restarted my development server, it does not fix the problem 3/ I have also re-created entire database, it also get that problem. My Best, Hung Tran On Wed, Jun 4, 2014 at 4:18 PM, Artem Orobets <[email protected]> wrote: > Could you check that server has shut down after step 4? Ensure that server > process ends and check what ports get the new instance. > > Best regards, > Artem Orobets > > * Orient Technologiesthe Company behind OrientDB* > > > 2014-06-04 11:08 GMT+03:00 Hung Tran Dinh <[email protected]>: > > Hi Artem Orobets, >> >> Sorry, I forgot to test it on another PC. I just did, it seems to work >> very well on my testing VPS server. So, the problem occured on my >> development machine only. >> >> Step to reproduce >> 1/ Create a test database >> 2/ Open OrientDB Studio, and connect to it >> 3/ Open OrientDB console, connect remote:localhost/test admin admin >> 4/ It shows error >> 5/ Shutdown the server, start it again >> 6/ From OrientDB console, reconnect again => it works fine >> 7/ Back to OrientDB Studio, cannot connect to it any more. >> >> I will restart my development machine to check whether that error still >> occurs or not. >> >> Thank you! >> >> My Best, >> Hung Tran >> >> >> On Wed, Jun 4, 2014 at 2:40 PM, Artem Orobets <[email protected]> wrote: >> >>> Hi Hung, >>> >>> Oh, sorry. I missed that. >>> >>> Is there any chance to reproduce the issue on other PC? >>> >>> >>> >>> Best regards, >>> Artem Orobets >>> >>> * Orient Technologiesthe Company behind OrientDB* >>> >>> >>> 2014-06-04 10:34 GMT+03:00 Hung Tran Dinh <[email protected]>: >>> >>> Hi Artem Orobets, >>>> >>>> Your explanation makes sense for embedded database, however I am using >>>> remote protocol - I think you saw it from the error. >>>> >>>> " >>>> orientdb> connect *remote*:localhost/test admin admin >>>> >>>> Connecting to database [remote:localhost/test] with user 'admin'... >>>> Error: com.orientechnologies.orient.core.exception.OStorageException: >>>> Cannot open local storage 'D:/Working Folder/Database/OrientDB/git/ >>>> releases/orientdb-community-1.7/databases/test' with mode=rw >>>> >>>> Error: com.orientechnologies.orient.core.exception.OSerializationException: >>>> Cannot load database's configuration. The database seems to be corrupted. >>>> >>>> Error: java.io.IOException: The process cannot access the file because >>>> another process has locked a portion of the file >>>> " >>>> >>>> That's the problem. >>>> >>>> My Best, >>>> Hung Tran >>>> >>>> >>>> >>>> On Wed, Jun 4, 2014 at 2:09 PM, Artem Orobets <[email protected]> >>>> wrote: >>>> >>>>> Hi Hung, >>>>> >>>>> I'm sorry for inconvenience, but this is a right behavior for OrientDB >>>>> in embedded mode. >>>>> >>>>> As soon as all data manipulation performed right in your application, >>>>> OrientDB works directly with files. But to do that in a most efficient way >>>>> it need an exclusive access it is by design, otherwise interprocess >>>>> synchronization would make a significant slowdown. >>>>> >>>>> In the previous versions of OrientDB there were no locking of files, >>>>> that may lead to data corruption. >>>>> >>>>> To get access to the database from the several places simultaneously >>>>> (like from your app and console) use OrientDB server and connect via >>>>> remote >>>>> protocol >>>>> >>>>> >>>>> Best regards, >>>>> Artem Orobets >>>>> >>>>> *Orient Technologies the Company behind OrientDB* >>>>> >>>>> >>>>> 2014-06-04 8:43 GMT+03:00 Hung Tran <[email protected]>: >>>>> >>>>>> Hi, >>>>>> >>>>>> For more information, when my application can access the database, i >>>>>> cannot access it from Console due to the error above, and vice versa. I >>>>>> got >>>>>> the same issue with OrientDB Studio. Look like it is locked by >>>>>> application >>>>>> name. Could you check it? It is really annoying. >>>>>> >>>>>> I got it since v1.7 (use plocal storage), it won't happen on v1.6 >>>>>> (use local storage). >>>>>> >>>>>> Any help will be very appreciated! >>>>>> >>>>>> My Best, >>>>>> Hung Tran >>>>>> >>>>>> >>>>>> On Tuesday, June 3, 2014 3:32:05 PM UTC+7, Hung Tran wrote: >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> Since the last update to Orient v1.7, I often see this error >>>>>>> although I rebuilt my database again. >>>>>>> >>>>>>> " >>>>>>> orientdb> connect remote:localhost/test admin admin >>>>>>> >>>>>>> Connecting to database [remote:localhost/test] with user 'admin'... >>>>>>> Error: com.orientechnologies.orient.core.exception.OStorageException: >>>>>>> Cannot open local storage 'D:/Working Folder/Database/OrientDB/git/ >>>>>>> releases/orientdb-community-1.7/databases/test' with mode=rw >>>>>>> >>>>>>> Error: >>>>>>> com.orientechnologies.orient.core.exception.OSerializationException: >>>>>>> Cannot load database's configuration. The database seems to be >>>>>>> corrupted. >>>>>>> >>>>>>> Error: java.io.IOException: The process cannot access the file >>>>>>> because another process has locked a portion of the file >>>>>>> " >>>>>>> >>>>>>> It won't happen when i shutdown, and restart server. I often happen >>>>>>> daily. >>>>>>> >>>>>>> Any help will be very appreciated! >>>>>>> >>>>>>> My Best, >>>>>>> Hung Tran >>>>>>> >>>>>> -- >>>>>> >>>>>> --- >>>>>> 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. >>>>>> >>>>> >>>>> -- >>>>> >>>>> --- >>>>> 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/ffuzA5IflO4/unsubscribe >>>>> . >>>>> To unsubscribe from this group and all its topics, send an email to >>>>> [email protected]. >>>>> >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> Hung Tran >>>> >>>> -- >>>> >>>> --- >>>> 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. >>>> >>> >>> -- >>> >>> --- >>> 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/ffuzA5IflO4/unsubscribe >>> . >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> >> Hung Tran >> >> -- >> >> --- >> 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. >> > > -- > > --- > 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/ffuzA5IflO4/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Hung Tran -- --- 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.
