Hi, It is not question of implementation but file system permissions you use file system which does not allow to write access to the database folder, if we use permissions in database it was impossible to work with OrientDB on Windows because it does not have such permissions.
You should check your folder permissions. On Thu, Mar 13, 2014 at 12:08 PM, prabhat <[email protected]> wrote: > For plocal, non-root users are not able to access WAL files, so have to > use root > > > > On Thu, Mar 13, 2014 at 3:26 PM, Andrey Lomakin > <[email protected]>wrote: > >> Do you mean that you start JVM using root user privielges ? >> >> >> On Thu, Mar 13, 2014 at 9:10 AM, Shishya <[email protected]> wrote: >> >>> Hi, >>> >>> I found that there is some other issue than plocal. >>> It works fine on local servers where WAL files can be accessed without >>> sudo. >>> But on AWS, Java class needs to be run as sudo for direct read/write. >>> But then Java class is not able to find the classes(all and any) when run >>> as sudo either for remote or plocal. >>> >>> Error is following when run with Sudo . The same runs fine(for remote) >>> without sudo. Though this issue is unreleated now to Orientdb, but any help >>> will be greatly appreciated. >>> ---------------------------------------------------- >>> Exception in thread "main" java.lang.NoClassDefFoundError: >>> com/tinkerpop/blueprints/impls/orient/OrientGraphFactory >>> at MassProcessv1_4.main(USPTO_MassProcessv1_4.java:51) >>> Caused by: java.lang.ClassNotFoundException: >>> com.tinkerpop.blueprints.impls.orient.OrientGraphFactory >>> at java.net.URLClassLoader$1.run(URLClassLoader.java:366) >>> at java.net.URLClassLoader$1.run(URLClassLoader.java:355) >>> at java.security.AccessController.doPrivileged(Native Method) >>> at java.net.URLClassLoader.findClass(URLClassLoader.java:354) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:425) >>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:358) >>> ... 1 more >>> ------------ >>> >>> -- >>> >>> --- >>> 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. >>> >> >> >> >> -- >> Best regards, >> Andrey Lomakin. >> >> Orient Technologies >> the Company behind OrientDB >> >> -- >> >> --- >> 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/LRlrio5Qrx4/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. >> > > -- > > --- > 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. > -- Best regards, Andrey Lomakin. Orient Technologies the Company behind OrientDB -- --- 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.
