Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
HA configuration problem
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
chiaradiamarcelo  
View profile  
 More options Mar 2 2012, 10:26 am
From: chiaradiamarcelo <chiaradiamarc...@gmail.com>
Date: Fri, 2 Mar 2012 07:26:18 -0800 (PST)
Local: Fri, Mar 2 2012 10:26 am
Subject: HA configuration problem
Hi everyone,

im trying to set up a cluster with 3 virtual machines. I have a
Coordinator running in each machine. I have an Embedded Neo4j graph in
one of them, and a Neo4j Server in the other two.

I start the coordinators, then the embedded graph, and everything
works fine.
But when  I start any of the other Neo4j Server, it throws this
exception:

3/2/12 7:09:08 AM org.neo4j.server.NeoServerWithEmbeddedWebServer
INFO: Starting
 Neo Server on port [7474] with [10] threads available
3/2/12 7:09:08 AM org.neo4j.server.database.Database INFO: Using
database at C:\
neo4j-db
3/2/12 7:09:16 AM org.neo4j.server.NeoServerBootstrapper SEVERE:
org.neo4j.com.IllegalProtocolVersionException: Unexpected internal
protocol vers
ion 1, expected 2. Header:[00000100][00000001]
        at
org.neo4j.com.DechunkingChannelBuffer.assertSameProtocolVersion(Dechu
nkingChannelBuffer.java:136)
        at
org.neo4j.com.DechunkingChannelBuffer.readNextChunk(DechunkingChannel
Buffer.java:104)
        at
org.neo4j.com.DechunkingChannelBuffer.<init>(DechunkingChannelBuffer.
java:59)
        at org.neo4j.com.Client.sendRequest(Client.java:210)
        at
org.neo4j.kernel.ha.MasterClient.getMasterIdForCommittedTx(MasterClie
nt.java:249)
        at
org.neo4j.kernel.HAGraphDb.ensureDataConsistencyWithMaster(HAGraphDb.
java:818)
        at org.neo4j.kernel.HAGraphDb.reevaluateMyself(HAGraphDb.java:
682)
        at org.neo4j.kernel.HAGraphDb.newMaster(HAGraphDb.java:1092)
        at org.neo4j.kernel.HAGraphDb.startUp(HAGraphDb.java:300)
        at org.neo4j.kernel.HAGraphDb.<init>(HAGraphDb.java:167)
        at org.neo4j.kernel.HAGraphDb.<init>(HAGraphDb.java:131)
        at
org.neo4j.kernel.HighlyAvailableGraphDatabase.<init>(HighlyAvailableG
raphDatabase.java:55)
        at org.neo4j.server.enterprise.EnterpriseNeoServerBootstrapper
$DatabaseM
ode$2.createDatabase(EnterpriseNeoServerBootstrapper.java:55)
        at
org.neo4j.server.database.Database.createDatabase(Database.java:81)
        at org.neo4j.server.database.Database.<init>(Database.java:64)
        at
org.neo4j.server.NeoServerWithEmbeddedWebServer.startDatabase(NeoServ
erWithEmbeddedWebServer.java:181)
        at
org.neo4j.server.NeoServerWithEmbeddedWebServer.start(NeoServerWithEm
beddedWebServer.java:93)
        at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:87)
        at
org.neo4j.server.advanced.AdvancedNeoServerBootstrapper.start(Advance
dNeoServerBootstrapper.java:38)
        at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:52)
3/2/12 7:09:16 AM org.neo4j.server.NeoServerBootstrapper SEVERE:
Failed to start
 Neo Server on port [7474]

I cant find the problem. I dont know what protocol it is talking
about. Can you give me a hand?

By the way, I'm using neo4j 1.6, for embedded and Neo4 Servers too.

Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
chiaradiamarcelo  
View profile  
 More options Mar 2 2012, 11:54 am
From: chiaradiamarcelo <chiaradiamarc...@gmail.com>
Date: Fri, 2 Mar 2012 08:54:13 -0800 (PST)
Local: Fri, Mar 2 2012 11:54 am
Subject: Re: HA configuration problem
Any help would be appreciated.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim Webber  
View profile  
 More options Mar 2 2012, 1:13 pm
From: Jim Webber <j...@neotechnology.com>
Date: Fri, 2 Mar 2012 18:13:41 +0000
Local: Fri, Mar 2 2012 1:13 pm
Subject: Re: [Neo4j] HA configuration problem
Are you sure you're using 1.6 everywhere?

I believe this error is thrown because the HA protocol is inconsistent with expectations of the instance that throws it.

Jim

On 2 Mar 2012, at 16:54, chiaradiamarcelo wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
chiaradiamarcelo  
View profile  
 More options Mar 2 2012, 1:31 pm
From: chiaradiamarcelo <chiaradiamarc...@gmail.com>
Date: Fri, 2 Mar 2012 10:31:38 -0800 (PST)
Local: Fri, Mar 2 2012 1:31 pm
Subject: Re: HA configuration problem
Well, In my pom.xml on my java project i have these dependencies:

<dependency>
      <groupId>org.neo4j</groupId>
      <artifactId>neo4j-ha</artifactId>
      <version>1.6</version>
    </dependency>

    <dependency>
      <groupId>org.neo4j</groupId>
      <artifactId>neo4j-management</artifactId>
      <version>1.6</version>
    </dependency>

and I downloaded the Neo4j Enterprise edition. Version 1.6.1 to run
the Coordinators and the NEo4j Servers.

The thing is that i can make a cluster with only Neo4j Servers, or
with only Embedded graph, but not mixed. I need to do it mixed so I
can use the webadmin console.

On 2 mar, 15:13, Jim Webber <j...@neotechnology.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
chiaradiamarcelo  
View profile  
 More options Mar 2 2012, 2:57 pm
From: chiaradiamarcelo <chiaradiamarc...@gmail.com>
Date: Fri, 2 Mar 2012 11:57:35 -0800 (PST)
Local: Fri, Mar 2 2012 2:57 pm
Subject: Re: HA configuration problem
Hi, i resolve it. My dependencies were worng, i just changed them to
1.6.1

Thanks for the help!

On 2 mar, 15:31, chiaradiamarcelo <chiaradiamarc...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »