i try to use 
HighlyAvailableGraphDatabaseFactory<http://components.neo4j.org/neo4j-enterprise/2.0.0/apidocs/org/neo4j/graphdb/factory/HighlyAvailableGraphDatabaseFactory.html#newHighlyAvailableDatabaseBuilder(java.lang.String)>
 but 
got following error.. i tryed but not found any jar in 2.0 for class   
RequestContext

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/neo4j/com/RequestContext
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2521)
at java.lang.Class.privateGetPublicMethods(Class.java:2641)
at java.lang.Class.getMethods(Class.java:1457)
at sun.misc.ProxyGenerator.generateClassFile(ProxyGenerator.java:426)
at sun.misc.ProxyGenerator.generateProxyClass(ProxyGenerator.java:323)
at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:636)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:722)
at 
org.neo4j.kernel.ha.HighlyAvailableGraphDatabase.create(HighlyAvailableGraphDatabase.java:165)
at 
org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:304)
at 
org.neo4j.kernel.ha.HighlyAvailableGraphDatabase.<init>(HighlyAvailableGraphDatabase.java:157)
at 
org.neo4j.graphdb.factory.HighlyAvailableGraphDatabaseFactory$1.newDatabase(HighlyAvailableGraphDatabaseFactory.java:47)
at 
org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:197)
at com.migrate.work.Migrate.sample(Migrate.java:19)
at com.migrate.work.Migrate.main(Migrate.java:52)
Caused by: java.lang.ClassNotFoundException: org.neo4j.com.RequestContext
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:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)




On Wednesday, March 12, 2014 2:39:18 PM UTC+5:30, Michael Hunger wrote:
>
> Yes, see: 
> http://docs.neo4j.org/chunked/stable/tutorials-java-embedded-setup.html#editions
>
> You would use this API 
> http://components.neo4j.org/neo4j-enterprise/2.0.0/apidocs/org/neo4j/graphdb/factory/HighlyAvailableGraphDatabaseFactory.html#newHighlyAvailableDatabaseBuilder(java.lang.String)
>
> and pass in your HA config e.g. read from a file (e.g. with 
> http://api.neo4j.org/2.0.0/org/neo4j/helpers/collection/MapUtil.html#load(java.io.File)
> )
> or manually.
>
>
> Cheers,
>
> Michael
>
> ----
> (michael 
> <http://twitter.com/mesirii>)-[:SUPPORTS]->(*YOU*)-[:USE]->(Neo4j<http://neo4j.org>
> )
> Learn Online <http://neo4j.org/learn/online_course>, 
> Offline<http://www.neo4j.org/events> or 
> Read a Book <http://graphdatabases.com> (in Deutsch<http://bit.ly/das-buch>
> )
> We're trading T-shirts for cool Graph Models <http://bit.ly/graphgist>
>
>
>
>
>
>
>  
> Am 12.03.2014 um 09:40 schrieb Navrattan Yadav 
> <[email protected]<javascript:>
> >:
>
> hi i am using Neo4j 2.0. i use Java Api to create database ( node and 
> relation) GraphDatabaseFactory.
> i want to cluster the db . is it possible ?  
>
> i am not using any Neo4j server nor RestAPI.
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" 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