Found it. There is a conflict, I have 2.4.0 as well as 2.5.0-SNAPSHOT of tinkerpop libraries in the same classpath. Removing the 2.4.0 libs worked.
On Tuesday, March 18, 2014 7:19:26 PM UTC-4, Amit Kumar wrote: > > I tried the same test with 1.7rc1 and I still see the same failure - > > java.lang.IllegalAccessError: class com.tinkerpop.blueprints.impls.orient. > OrientGraphQuery$OrientGraphQueryIterable cannot access its superclass com > .tinkerpop.blueprints.util.DefaultGraphQuery$DefaultGraphQueryIterable > > at java.lang.ClassLoader.defineClass1(Native Method) > > at java.lang.ClassLoader.defineClass(ClassLoader.java:792) > > at java.security.SecureClassLoader.defineClass(SecureClassLoader. > java:142) > > at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) > > at java.net.URLClassLoader.access$100(URLClassLoader.java:71) > > at java.net.URLClassLoader$1.run(URLClassLoader.java:361) > > 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:424) > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > > at com.tinkerpop.blueprints.impls.orient.OrientGraphQuery.vertices( > OrientGraphQuery.java:104) > > at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph. > getVertices(OrientBaseGraph.java:517) > > > > On Tuesday, March 18, 2014 2:41:37 PM UTC-4, Amit Kumar wrote: >> >> Sure, will try now. By the way, I am amazed with the replies I get for my >> first post. THANK YOU. I am sure I am going to be in good hands :-) >> >> On Tuesday, March 18, 2014 2:36:06 PM UTC-4, Andrey Lomakin wrote: >>> >>> )) could you download from here >>> http://helios.orientechnologies.com/job/orient-maven/lastStableBuild/ . >>> >>> >>> On Tue, Mar 18, 2014 at 8:33 PM, Amit Kumar <[email protected]> wrote: >>> >>>> I am not able to download the RC1. Performed the registration, received >>>> an email. When clicked on download link, I keep seeing the following - >>>> >>>> Service Temporarily Unavailable >>>> >>>> The server is temporarily unable to service your request due to >>>> maintenance downtime or capacity problems. Please try again later. >>>> >>>> >>>> >>>> On Tuesday, March 18, 2014 1:39:33 PM UTC-4, Andrey Lomakin wrote: >>>> >>>>> Yes, >>>>> Blueprint implementation of OrientDB is already bundled. >>>>> >>>>> >>>>> On Tue, Mar 18, 2014 at 5:59 PM, Amit Kumar <[email protected]> wrote: >>>>> >>>>>> I am trying to test using a code which attempts to test things >>>>>> against any tinkerpop blueprints enabled database. That allows me to >>>>>> evaluate various databases. Currently, I am trying to evaluate OrientDB >>>>>> and >>>>>> Neo4J. I find OrientDB more interesting with respect to document + graph >>>>>> and its performance numbers. >>>>>> >>>>>> I would like to continue to use the blueprint APi to communicate with >>>>>> the graph database instead of vendor specific APIs at least for the PoC >>>>>> I >>>>>> am doing. >>>>>> >>>>>> Are you saying that the blueprint implementation of OrientDB is >>>>>> already bundled within the 1.7rc ? >>>>>> >>>>>> >>>>>> On Tuesday, March 18, 2014 11:52:53 AM UTC-4, Andrey Lomakin wrote: >>>>>> >>>>>>> You do not need blueprints any more. >>>>>>> Just graph db dependency. >>>>>>> >>>>>>> >>>>>>> On Tue, Mar 18, 2014 at 5:51 PM, Amit Kumar <[email protected]>wrote: >>>>>>> >>>>>>>> Let me try that. Is that the recommended version for the client and >>>>>>>> the blueprint both ? >>>>>>>> >>>>>>>> >>>>>>>> On Tuesday, March 18, 2014 11:31:37 AM UTC-4, Andrey Lomakin wrote: >>>>>>>> >>>>>>>>> Hi Amit, >>>>>>>>> You use very old snapshot versions. >>>>>>>>> >>>>>>>>> Could you try on 1.7-rc2 ? >>>>>>>>> We will release it on this week. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Mar 18, 2014 at 5:17 PM, Amit Kumar <[email protected]>wrote: >>>>>>>>> >>>>>>>>>> I am using blueprints-orient-graph (2.5.0-SNAPSHOT) and orientdb >>>>>>>>>> -client (1.6.0-SNAPSHOT) to invoke a groovy script that returns >>>>>>>>>> interesting vertices from the graph. I invoke this script using >>>>>>>>>> GremlinGroovyScriptEngine programatically. I can not get past this >>>>>>>>>> error >>>>>>>>>> (guess class loader issue). >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> java.lang.IllegalAccessError: class com.tinkerpop.blueprints. >>>>>>>>>> impls.orient.OrientGraphQuery$OrientGraphQueryIterable cannot >>>>>>>>>> access its superclass com.tinkerpop.blueprints.util. >>>>>>>>>> DefaultGraphQuery$DefaultGraphQueryIterable >>>>>>>>>> >>>>>>>>>> at java.lang.ClassLoader.defineClass1(Native Method) >>>>>>>>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:792) >>>>>>>>>> at java.security.SecureClassLoader.defineClass(SecureClassLoader >>>>>>>>>> .java:142) >>>>>>>>>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) >>>>>>>>>> at java.net.URLClassLoader.access$100(URLClassLoader.java:71) >>>>>>>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:361) >>>>>>>>>> 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:424) >>>>>>>>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) >>>>>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357) >>>>>>>>>> at com.tinkerpop.blueprints.impls.orient.OrientGraphQuery.verti >>>>>>>>>> ces(OrientGraphQuery.java:106) >>>>>>>>>> at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.getVer >>>>>>>>>> tices(OrientBaseGraph.java:513) >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> >>>>>>>>>> --- >>>>>>>>>> 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. >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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. >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> 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. >>>> >>> >>> >>> >>> -- >>> 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.
