List:Cluster« Previous MessageNext Message »
From:Craig L Russell Date:June 26 2013 8:48pm
Subject:Re: ClusterJDatastoreException (possible obscure Windows error?)
View as plain text  
Hi Serdyn,

On Jun 26, 2013, at 12:38 PM, Serdyn du Toit wrote:

> Sorry, with the nodeId specified as 1 explicitly I got the following error:
> 
> Caused by: com.mysql.clusterj.ClusterJDatastoreException: Datastore
> exception on connectString 'nodeid=1;192.168.1.3:1186' nodeId 0; Return
> code: -1 error code: 1 message: Configuration error: Error: Could not alloc
> node id at 192.168.1.3 port 1186: Id 1 configured as ndb_mgmd(MGM), connect
> attempted as mysqld(API)..

This looks like a valid user error report. When you explicitly name a node id, that node
id must have been configured in the cluster config file as an API node.

Craig

> at
>
> com.mysql.clusterj.tie.ClusterConnectionImpl.throwError(ClusterConnectionImpl.java:168)
> ~[clusterj-7.3.2.jar:na]
> at
>
> com.mysql.clusterj.tie.ClusterConnectionImpl.handleError(ClusterConnectionImpl.java:138)
> ~[clusterj-7.3.2.jar:na]
> at
> com.mysql.clusterj.tie.ClusterConnectionImpl.connect(ClusterConnectionImpl.java:96)
> ~[clusterj-7.3.2.jar:na]
> at
>
> com.mysql.clusterj.core.SessionFactoryImpl.createClusterConnection(SessionFactoryImpl.java:244)
> ~[clusterj-7.3.2.jar:na]
> ... 52 common frames omitted

Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@stripped
P.S. A good JDO? O, Gasp!

Thread
ClusterJDatastoreException (possible obscure Windows error?)Serdyn du Toit5 Jun
  • RE: ClusterJDatastoreException (possible obscure Windows error?)Andrew Morgan5 Jun
    • Re: ClusterJDatastoreException (possible obscure Windows error?)Serdyn du Toit5 Jun
      • Re: ClusterJDatastoreException (possible obscure Windows error?)Serdyn du Toit26 Jun
        • Re: ClusterJDatastoreException (possible obscure Windows error?)Serdyn du Toit26 Jun
          • Re: ClusterJDatastoreException (possible obscure Windows error?)Craig L Russell26 Jun
            • Re: ClusterJDatastoreException (possible obscure Windows error?)Serdyn du Toit26 Jun
              • Re: ClusterJDatastoreException (possible obscure Windows error?)Craig L Russell26 Jun
                • Re: ClusterJDatastoreException (possible obscure Windows error?)Serdyn du Toit29 Jun
                  • Re: ClusterJDatastoreException (possible obscure Windows error?)Andrew Morgan29 Jun
                    • Re: ClusterJDatastoreException (possible obscure Windows error?)Johan Andersson29 Jun
                      • Re: ClusterJDatastoreException (possible obscure Windows error?)Serdyn du Toit3 Jul