Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to start neo4j server in HA setup #252

Closed
tomaadland opened this issue Apr 16, 2013 · 9 comments
Closed

Fail to start neo4j server in HA setup #252

tomaadland opened this issue Apr 16, 2013 · 9 comments

Comments

@tomaadland
Copy link
Contributor

I followed the instructions in https://github.com/andreasronge/neo4j/wiki/Neo4j%3A%3Aha-cluster to setup the neo4j as a HA cluster in order to use the neo4j server admin as described.

The Rails server and console works fine, starts two servers that communicates with each other. When I start the neo4j server it seems to have some trouble communicating with the other servers in the setup. From the Rails server log I get these errors:

2013-04-16 20:53:02.575+0000 ERROR [o.n.c.c.NetworkInstance]: Receive exception:
java.io.InvalidClassException: failed to read class descriptor
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1564) ~[na:1.6.0_43]
......

This happens when running neo4j-enterprise-1.9.RC1

When I try neo4j-enterprise-2.0.0-M01 I get:

2013-04-16 20:42:11.062+0000 ERROR [o.n.c.c.NetworkInstance]: Receive exception:
java.io.InvalidObjectException: enum constant performRoleElections does not exist in class org.neo4j.cluster.protocol.election.ElectionMessage
at java.io.ObjectInputStream.readEnum(ObjectInputStream.java:1701) ~[na:1.6.0_43]
....

I get this same error message when trying neo4j-enterprise-1.9-SNAPSHOT

I can't seem to get my hands on neo4j-enterprise-1.9.M03 so have not been able to try that one.

I was using JRuby 1.7.3 on Mac OS X 10.8.3

Any suggestions would be greatly appreciated.

@andreasronge
Copy link
Member

Hi

Ok, hopefully I will get some time next week to have a look at it.

On Tue, Apr 16, 2013 at 11:05 PM, Tom Henrik Aadland <
[email protected]> wrote:

I followed the instructions in
https://github.com/andreasronge/neo4j/wiki/Neo4j%3A%3Aha-cluster to setup
the neo4j as a HA cluster in order to use the neo4j server admin as
described.

The Rails server and console works fine, starts two servers that
communicates with each other. When I start the neo4j server it seems to
have some trouble communicating with the other servers in the setup. From
the Rails server log I get these errors:

2013-04-16 20:53:02.575+0000 ERROR [o.n.c.c.NetworkInstance]: Receive
exception:
java.io.InvalidClassException: failed to read class descriptor
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1564)
~[na:1.6.0_43]
......

This happens when running neo4j-enterprise-1.9.RC1

When I try neo4j-enterprise-2.0.0-M01 I get:

2013-04-16 20:42:11.062+0000 ERROR [o.n.c.c.NetworkInstance]: Receive
exception:
java.io.InvalidObjectException: enum constant performRoleElections does
not exist in class org.neo4j.cluster.protocol.election.ElectionMessage
at java.io.ObjectInputStream.readEnum(ObjectInputStream.java:1701)
~[na:1.6.0_43]
....

I get this same error message when trying neo4j-enterprise-1.9-SNAPSHOT

I can't seem to get my hands on neo4j-enterprise-1.9.M03 so have not been
able to try that one.

I was using JRuby 1.7.3 on Mac OS X 10.8.3

Any suggestions would be greatly appreciated.


Reply to this email directly or view it on GitHubhttps://github.com//issues/252
.

@tomaadland
Copy link
Contributor Author

Would be great. Let me know if and how I can help in resolving this.

@andreasronge
Copy link
Member

Just ping me again if I forget to fix it

On Wed, Apr 17, 2013 at 6:37 PM, Tom Henrik Aadland <
[email protected]> wrote:

Would be great. Let me know if and how I can help in resolving this.


Reply to this email directly or view it on GitHubhttps://github.com//issues/252#issuecomment-16517218
.

@ruprict
Copy link

ruprict commented Jun 6, 2013

So, I have just hit this error, and it looks like it's due to version issues. In my case, I have a standalone Neo4j instance that I want to be the master, then have Rails app and Rails console connect as slaves only.

I get the failed to read class descriptor error when the slaves attempt to start up. The standalone neo4j is using 1.9.RC2, and we are using the 1.9.M03 gem.

Any ideas? How can we easily get both on the same 1.9?

@andreasronge
Copy link
Member

Yes, we are aware of the problem. We will try to get Neo4j.rb working with HA Neo4j 1.9, see #258
As soon as I get Neo4j 1.9 working in a Neo4j.rb HA cluster I will release 1.9 jars.
Btw, everything else seems to work with the 1.9 jars, even a simple HA example: https://github.com/andreasronge/neo4j/tree/master/example/ha-cluster (strange)

@tomaadland
Copy link
Contributor Author

How far are we from a release with 1.9 jars ?

@ruprict
Copy link

ruprict commented Jun 19, 2013

It was releases today! See the message about 2.3.0 on the Google group. https://groups.google.com/forum/m/#!topic/neo4jrb/zaYHU4a0JZ4

@tomaadland
Copy link
Contributor Author

awesome will upgrade right away :)

@saterus
Copy link
Contributor

saterus commented Jul 3, 2013

2.3.0 was released with new jars. Closing.

@saterus saterus closed this as completed Jul 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants