MySQL Forums :: Cluster :: Connecting MySQL Cluster using ClusterJ
Connecting MySQL Cluster using ClusterJ
Date: July 10, 2014 07:23AM
I'm using 2 data nodes and 2 SQL nodes in MySQL Cluster.
Also i'm planning to connect MySQL Cluster via ClusterJ to achieve high performance.
Running the java command from one of my SQL Node. Facing the following error when trying to execute the java file.
java -classpath /usr/local/mysql/share/java/clusterj-api-7.3.5.jar:. -Djava.library.path=/usr/local/mysql/lib Main
Exception in thread "main" com.mysql.clusterj.ClusterJFatalUserException: No instance for service com.mysql.clusterj.SessionFactoryService could be found. Make sure that there is a file META-INF/services/com.mysql.clusterj.SessionFactoryService in your class path naming the factory class.
Also i tried to use the jpa but i couldn't find the jar in my server. I have installed mysql-cluster 7.3 version.
Am i missing anything here.
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.