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 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.

Reply via email to