orientechnologies / orientdb

OrientDB is the most versatile DBMS supporting Graph, Document, Reactive, Full-Text and Geospatial models in one Multi-Model product. OrientDB can run distributed (Multi-Master), supports SQL, ACID Transactions, Full-Text indexing and Reactive Queries.
https://orientdb.dev
Apache License 2.0
4.73k stars 869 forks source link

Most basic distributed configuration not working. #6916

Closed mongoose666 closed 7 years ago

mongoose666 commented 7 years ago

OrientDB Version, operating system, or hardware.

Operating System

Expected behavior and actual behavior

Have been trying for hours to get the most basic 2 node distributed database cluster working with TCP-IP not MULTICAST.

It continues to timeout waiting for the other node. This is when running (in a test environment) on the same development machine but with different ports. They seem to connect with each other,

This problem seems to have been around for a while and is dismissed regularly and marked as resolved. Whereas everyone starting out seems to be getting this issue. It would be nice if the OrientDB team took it seriously and put together a proper tutorial from beginning to end with proof that it works.

I have been in the industry 32 years so am no stranger to the difficulties of software design but when something as simple as this does not work it makes me want to choose another database which would be a shame as I like the features that OrientDB has boasted about, simplicity being one of them.

Second instance (node) log:

2016-11-16 15:10:18:917 INFO  Loading configuration from input stream [OServerConfigurationLoaderXml]
2016-11-16 15:10:19:187 INFO  OrientDB Server v3.0.0-SNAPSHOT is starting up... [OServer]
2016-11-16 15:10:19:212 INFO  OrientDB auto-config DISKCACHE=3,572MB (heap=3,572MB direct=3,572MB os=16,064MB), assuming maximum direct memory size equals to maximum JVM heap size [orientechnologies]
2016-11-16 15:10:19:212 WARNI MaxDirectMemorySize JVM option is not set or has invalid value, that may cause out of memory errors. Please set the -XX:MaxDirectMemorySize=16064m option when you start the JVM. [Class]
2016-11-16 15:10:19:231 INFO  Databases directory: D:\Development\NexusSuite\Projects\MongooseGFX\MGFXOrientDBDatabaseDesigner\databases [OServer]
2016-11-16 15:10:19:262 SEVER ODefaultServerSecurity.loadConfig() Could not access the security JSON file: D:/Development/NexusSuite/Projects/MongooseGFX/MGFXOrientDBDatabaseDesigner//config/security.json [ODefaultServerSecurity]
2016-11-16 15:10:19:312 INFO  Listening binary connections on 0.0.0.0:8091 (protocol v.36, socket=ssl) [OServerNetworkListener]
2016-11-16 15:10:19:325 INFO  Listening http connections on 0.0.0.0:8092 (protocol v.10, socket=https) [OServerNetworkListener]
2016-11-16 15:10:19:332 WARNI Found ORIENTDB_ROOT_PASSWORD variable, using this value as root's password [OServer]
2016-11-16 15:10:19:503 INFO  Installing dynamic plugin 'studio-2.2.zip'... [OServerPluginManager]
2016-11-16 15:10:19:627 INFO  Installed GREMLIN language v.2.6.0 - graph.pool.max=50 [OGraphServerHandler]
2016-11-16 15:10:19:701 INFO  Configuring Hazelcast from 'D:\Development\NexusSuite\Projects\MongooseGFX\MGFXOrientDBDatabaseDesigner\configuration\orientdb\hazelcast.xml'. [FileSystemXmlConfig]
2016-11-16 15:10:19:793 WARNI Name of the hazelcast schema location incorrect using default [AbstractXmlConfigHelper]
2016-11-16 15:10:20:100 INFO  [LOCAL] [orientdb] [3.6.5] Interfaces is disabled, trying to pick one address from TCP-IP config addresses: [127.0.0.1] [DefaultAddressPicker]
2016-11-16 15:10:20:107 INFO  [LOCAL] [orientdb] [3.6.5] Picked Address[127.0.0.1]:8093, using socket ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=8093], bind any local is true [DefaultAddressPicker]
2016-11-16 15:10:20:120 INFO  [127.0.0.1]:8093 [orientdb] [3.6.5] Hazelcast 3.6.5 (20160823 - e4af3d9) starting at Address[127.0.0.1]:8093 [system]
2016-11-16 15:10:20:121 INFO  [127.0.0.1]:8093 [orientdb] [3.6.5] Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved. [system]
2016-11-16 15:10:20:121 INFO  [127.0.0.1]:8093 [orientdb] [3.6.5] Configured Hazelcast Serialization version : 1 [system]
2016-11-16 15:10:20:316 INFO  [127.0.0.1]:8093 [orientdb] [3.6.5] Backpressure is disabled [OperationService]
2016-11-16 15:10:20:336 INFO  [127.0.0.1]:8093 [orientdb] [3.6.5] Starting with 1 generic operation threads and 1 partition operation threads. [ClassicOperationExecutor]
2016-11-16 15:10:20:748 INFO  [127.0.0.1]:8093 [orientdb] [3.6.5] Creating TcpIpJoiner [Node]
2016-11-16 15:10:20:749 INFO  [127.0.0.1]:8093 [orientdb] [3.6.5] Address[127.0.0.1]:8093 is STARTING [LifecycleService]
2016-11-16 15:10:20:968 INFO  [127.0.0.1]:8093 [orientdb] [3.6.5] TcpIpConnectionManager configured with Non Blocking IO-threading model: 3 input threads and 3 output threads [NonBlockingIOThreadingModel]
2016-11-16 15:10:21:021 INFO  [127.0.0.1]:8093 [orientdb] [3.6.5] Connecting to /127.0.0.1:8083, timeout: 0, bind-any: true [InitConnectionTask]
2016-11-16 15:10:21:034 INFO  [127.0.0.1]:8093 [orientdb] [3.6.5] Established socket connection between /127.0.0.1:52495 and /127.0.0.1:8083 [TcpIpConnectionManager]
2016-11-16 15:10:28:034 INFO  [127.0.0.1]:8093 [orientdb] [3.6.5] 

Members [2] {
    Member [127.0.0.1]:8083
    Member [127.0.0.1]:8093 this
}
 [ClusterService]
2016-11-16 15:10:30:050 INFO  [127.0.0.1]:8093 [orientdb] [3.6.5] Address[127.0.0.1]:8093 is STARTED [LifecycleService]
2016-11-16 15:10:30:050 INFO  Starting distributed server 'nexus-test-2' (hzID=6033608a-c37b-487b-92b7-65127c68ad26)... [OHazelcastPlugin]
2016-11-16 15:10:30:106 WARNI [nexus-test-2] Servers in cluster: [nexus-test-1, nexus-test-2] [OHazelcastPlugin]
2016-11-16 15:10:39:383 INFO  [nexus-test-2] Current node is a MASTER for database 'testdatabase' [OHazelcastPlugin]
2016-11-16 15:10:39:395 INFO  [nexus-test-2] New distributed configuration for database: testdatabase (version=1)

CLUSTER CONFIGURATION (LEGEND: X = Owner, o = Copy)
+--------+-----------+----------+------------+-------------+
|        |           |          |   MASTER   |   MASTER    |
|        |           |          |   ONLINE   |NOT_AVAILABLE|
+--------+-----------+----------+------------+-------------+
|CLUSTER |writeQuorum|readQuorum|nexus-test-1|nexus-test-2 |
+--------+-----------+----------+------------+-------------+
|*       |     1     |    1     |     X      |      o      |
|internal|     1     |    1     |            |             |
+--------+-----------+----------+------------+-------------+

 [OHazelcastPlugin]
2016-11-16 15:10:39:395 INFO  [nexus-test-2] Saving distributed configuration file for database 'testdatabase' to: D:\Development\NexusSuite\Projects\MongooseGFX\MGFXOrientDBDatabaseDesigner\databases\testdatabase\distributed-config.json [OHazelcastPlugin]
2016-11-16 15:10:39:401 INFO  [nexus-test-2] Distributed servers status:

+-------------+--------+----------------------------+-----+---------+------------------+------------------+----------------------+
|Name         |Status  |Databases                   |Conns|StartedOn|Binary            |HTTP              |UsedMemory            |
+-------------+--------+----------------------------+-----+---------+------------------+------------------+----------------------+
|nexus-test-1 |ONLINE  |testdatabase=ONLINE (MASTER)|2    |15:08:59 |169.254.80.80:8081|169.254.80.80:8082|79.92MB/3.49GB (2.24%)|
|nexus-test-2*|STARTING|                            |1    |15:10:19 |169.254.80.80:8091|169.254.80.80:8092|98.37MB/3.49GB (2.75%)|
+-------------+--------+----------------------------+-----+---------+------------------+------------------+----------------------+
 [OHazelcastPlugin]
2016-11-16 15:10:39:419 WARNI [nexus-test-2]->[[nexus-test-1]] Requesting deploy of database 'testdatabase' on local server... [OHazelcastPlugin]
[nexus-test-2] Error on starting distributed plugin
com.orientechnologies.orient.server.distributed.task.ODistributedOperationException: No response received from any of nodes [nexus-test-1] for request id=1.0 task=deploy_db after 1200046ms
    at com.orientechnologies.orient.server.distributed.ODistributedResponseManager.getFinalResponse(ODistributedResponseManager.java:350)
    at com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl.waitForResponse(ODistributedDatabaseImpl.java:802)
    at com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl.send2Nodes(ODistributedDatabaseImpl.java:434)
    at com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin.sendRequest(ODistributedAbstractPlugin.java:623)
    at com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin.requestDatabaseFullSync(ODistributedAbstractPlugin.java:1119)
    at com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin.requestFullDatabase(ODistributedAbstractPlugin.java:961)
    at com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin.installDatabase(ODistributedAbstractPlugin.java:928)
    at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installNewDatabasesFromCluster(OHazelcastPlugin.java:1109)
    at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:209)
    at com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:1144)
    at com.orientechnologies.orient.server.OServer.activate(OServer.java:398)
    at nz.co.mongoosegfx.Main$1$1.execute(Main.java:198)
    at nz.co.mongoosegfx.abstracts.system.threading.MGFXRunnable.run(MGFXRunnable.java:60)
    at nz.co.mongoosegfx.impl.system.threading.MGFXExecutorThread.run(MGFXExecutorThread.java:250)
[DATETIME] 2016-11-16 15:30:39.429 [THREAD] 0000000000000037 [LEVEL] WARNING [MESSAGE] Thread 'system-executor-1479273018284' was terminated: Reason = '{com.orientechnologies.orient.server.distributed.task.ODistributedOperationException}-{
    No response received from any of nodes [nexus-test-1] for request id=1.0 task=deploy_db after 1200046ms
}
Stack trace:
com.orientechnologies.orient.server.distributed.task.ODistributedOperationException: No response received from any of nodes [nexus-test-1] for request id=1.0 task=deploy_db after 1200046ms
    at com.orientechnologies.orient.server.distributed.ODistributedResponseManager.getFinalResponse(ODistributedResponseManager.java:350)
    at com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl.waitForResponse(ODistributedDatabaseImpl.java:802)
    at com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl.send2Nodes(ODistributedDatabaseImpl.java:434)
    at com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin.sendRequest(ODistributedAbstractPlugin.java:623)
    at com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin.requestDatabaseFullSync(ODistributedAbstractPlugin.java:1119)
    at com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin.requestFullDatabase(ODistributedAbstractPlugin.java:961)
    at com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin.installDatabase(ODistributedAbstractPlugin.java:928)
    at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installNewDatabasesFromCluster(OHazelcastPlugin.java:1109)
    at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:209)
    at com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:1144)
    at com.orientechnologies.orient.server.OServer.activate(OServer.java:398)
    at nz.co.mongoosegfx.Main$1$1.execute(Main.java:198)
    at nz.co.mongoosegfx.abstracts.system.threading.MGFXRunnable.run(MGFXRunnable.java:60)
    at nz.co.mongoosegfx.impl.system.threading.MGFXExecutorThread.run(MGFXExecutorThread.java:250)

First instance (node) log:

2016-11-16 15:08:58:301 INFO  Loading configuration from input stream [OServerConfigurationLoaderXml]
2016-11-16 15:08:58:567 INFO  OrientDB Server v3.0.0-SNAPSHOT is starting up... [OServer]
2016-11-16 15:08:58:599 INFO  OrientDB auto-config DISKCACHE=3,572MB (heap=3,572MB direct=3,572MB os=16,064MB), assuming maximum direct memory size equals to maximum JVM heap size [orientechnologies]
2016-11-16 15:08:58:600 WARNI MaxDirectMemorySize JVM option is not set or has invalid value, that may cause out of memory errors. Please set the -XX:MaxDirectMemorySize=16064m option when you start the JVM. [Class]
2016-11-16 15:08:58:619 INFO  Databases directory: D:\Development\NexusSuite\Projects\MongooseGFX\MGFXOrientDBContainerServer\databases [OServer]
2016-11-16 15:08:58:653 SEVER ODefaultServerSecurity.loadConfig() Could not access the security JSON file: D:/Development/NexusSuite/Projects/MongooseGFX/MGFXOrientDBContainerServer//config/security.json [ODefaultServerSecurity]
2016-11-16 15:08:58:676 INFO  Listening binary connections on 0.0.0.0:8081 (protocol v.36, socket=ssl) [OServerNetworkListener]
2016-11-16 15:08:58:691 INFO  Listening http connections on 0.0.0.0:8082 (protocol v.10, socket=https) [OServerNetworkListener]
2016-11-16 15:08:58:699 WARNI Found ORIENTDB_ROOT_PASSWORD variable, using this value as root's password [OServer]
2016-11-16 15:08:58:876 INFO  Installing dynamic plugin 'studio-2.2.zip'... [OServerPluginManager]
2016-11-16 15:08:58:983 INFO  Installed GREMLIN language v.2.6.0 - graph.pool.max=50 [OGraphServerHandler]
2016-11-16 15:08:59:074 INFO  Configuring Hazelcast from 'D:\Development\NexusSuite\Projects\MongooseGFX\MGFXOrientDBContainerServer\configuration\orientdb\hazelcast.xml'. [FileSystemXmlConfig]
2016-11-16 15:08:59:164 WARNI Name of the hazelcast schema location incorrect using default [AbstractXmlConfigHelper]
2016-11-16 15:08:59:446 INFO  [LOCAL] [orientdb] [3.6.5] Interfaces is disabled, trying to pick one address from TCP-IP config addresses: [127.0.0.1] [DefaultAddressPicker]
2016-11-16 15:08:59:452 INFO  [LOCAL] [orientdb] [3.6.5] Picked Address[127.0.0.1]:8083, using socket ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=8083], bind any local is true [DefaultAddressPicker]
2016-11-16 15:08:59:463 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] Hazelcast 3.6.5 (20160823 - e4af3d9) starting at Address[127.0.0.1]:8083 [system]
2016-11-16 15:08:59:463 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved. [system]
2016-11-16 15:08:59:463 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] Configured Hazelcast Serialization version : 1 [system]
2016-11-16 15:08:59:647 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] Backpressure is disabled [OperationService]
2016-11-16 15:08:59:668 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] Starting with 1 generic operation threads and 1 partition operation threads. [ClassicOperationExecutor]
2016-11-16 15:09:00:043 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] Creating TcpIpJoiner [Node]
2016-11-16 15:09:00:043 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] Address[127.0.0.1]:8083 is STARTING [LifecycleService]
2016-11-16 15:09:00:112 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] TcpIpConnectionManager configured with Non Blocking IO-threading model: 3 input threads and 3 output threads [NonBlockingIOThreadingModel]
2016-11-16 15:09:00:150 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] Connecting to /127.0.0.1:8093, timeout: 0, bind-any: true [InitConnectionTask]
2016-11-16 15:09:01:150 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] Could not connect to: /127.0.0.1:8093. Reason: SocketException[Connection refused: connect to address /127.0.0.1:8093] [InitConnectionTask]
2016-11-16 15:09:01:151 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] Address[127.0.0.1]:8093 is added to the blacklist. [TcpIpJoiner]
2016-11-16 15:09:02:149 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] 

Members [1] {
    Member [127.0.0.1]:8083 this
}
 [TcpIpJoiner]
2016-11-16 15:09:02:175 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] Address[127.0.0.1]:8083 is STARTED [LifecycleService]
2016-11-16 15:09:02:178 INFO  Starting distributed server 'nexus-test-1' (hzID=2cec5118-c10b-4b44-8a7a-5a9c35167c7c)... [OHazelcastPlugin]
2016-11-16 15:09:02:203 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] Initializing cluster partition table arrangement... [InternalPartitionService]
2016-11-16 15:09:02:284 WARNI [nexus-test-1] Servers in cluster: [nexus-test-1] [OHazelcastPlugin]
2016-11-16 15:09:02:477 INFO  [nexus-test-1] Opening database 'testdatabase'... [OHazelcastPlugin]
2016-11-16 15:09:02:484 INFO  [nexus-test-1] loaded database configuration from disk: D:\Development\NexusSuite\Projects\MongooseGFX\MGFXOrientDBContainerServer\databases\testdatabase\distributed-config.json [OHazelcastPlugin]
2016-11-16 15:09:02:494 INFO  [nexus-test-1] New distributed configuration for database: testdatabase (version=1)

CLUSTER CONFIGURATION (LEGEND: X = Owner, o = Copy)
+--------+-----------+----------+-------------+-------------+
|        |           |          |   MASTER    |   MASTER    |
|        |           |          |NOT_AVAILABLE|NOT_AVAILABLE|
+--------+-----------+----------+-------------+-------------+
|CLUSTER |writeQuorum|readQuorum|nexus-test-1 |nexus-test-2 |
+--------+-----------+----------+-------------+-------------+
|*       |     1     |    1     |      X      |      o      |
|internal|     1     |    1     |             |             |
+--------+-----------+----------+-------------+-------------+

 [OHazelcastPlugin]
2016-11-16 15:09:02:496 INFO  [nexus-test-1] Distributed servers status:

+-------------+--------+---------+-----+---------+------------------+------------------+----------------------+
|Name         |Status  |Databases|Conns|StartedOn|Binary            |HTTP              |UsedMemory            |
+-------------+--------+---------+-----+---------+------------------+------------------+----------------------+
|nexus-test-1*|STARTING|         |1    |15:08:59 |169.254.80.80:8081|169.254.80.80:8082|94.19MB/3.49GB (2.64%)|
+-------------+--------+---------+-----+---------+------------------+------------------+----------------------+
 [OHazelcastPlugin]
2016-11-16 15:09:02:496 INFO  [nexus-test-1] Current node started as MASTER for database 'testdatabase' [OHazelcastPlugin$4]
2016-11-16 15:09:02:510 INFO  [nexus-test-1] New distributed configuration for database: testdatabase (version=1)

CLUSTER CONFIGURATION (LEGEND: X = Owner, o = Copy)
+--------+-----------+----------+-------------+-------------+
|        |           |          |   MASTER    |   MASTER    |
|        |           |          |SYNCHRONIZING|NOT_AVAILABLE|
+--------+-----------+----------+-------------+-------------+
|CLUSTER |writeQuorum|readQuorum|nexus-test-1 |nexus-test-2 |
+--------+-----------+----------+-------------+-------------+
|*       |     1     |    1     |      X      |      o      |
|internal|     1     |    1     |             |             |
+--------+-----------+----------+-------------+-------------+

 [OHazelcastPlugin]
2016-11-16 15:09:03:303 INFO  [nexus-test-1] Publishing ONLINE status for database nexus-test-1.testdatabase... [ODistributedDatabaseImpl]
2016-11-16 15:09:03:305 WARNI [nexus-test-1] Updated node status to 'ONLINE' [OHazelcastPlugin]
2016-11-16 15:09:03:469 INFO  [nexus-test-1] Distributed servers status:

+-------------+------+----------------------------+-----+---------+------------------+------------------+----------------------+
|Name         |Status|Databases                   |Conns|StartedOn|Binary            |HTTP              |UsedMemory            |
+-------------+------+----------------------------+-----+---------+------------------+------------------+----------------------+
|nexus-test-1*|ONLINE|testdatabase=ONLINE (MASTER)|1    |15:08:59 |169.254.80.80:8081|169.254.80.80:8082|42.72MB/3.49GB (1.20%)|
+-------------+------+----------------------------+-----+---------+------------------+------------------+----------------------+
 [OHazelcastPlugin]
2016-11-16 15:09:06:470 WARNI Authenticated clients can execute any kind of code into the server by using the following allowed languages: [sql] [OServerSideScriptInterpreter]
2016-11-16 15:09:06:471 WARNI onAfterActivate() Configuration document is empty [ODefaultServerSecurity]
2016-11-16 15:09:06:568 INFO  OrientDB Studio available at http://169.254.80.80:8082/studio/index.html [OServer]
2016-11-16 15:09:06:568 INFO  OrientDB Server is active v3.0.0-SNAPSHOT. [OServer]

2016-11-16 15:10:21:023 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] Accepting socket connection from /127.0.0.1:52495 [SocketAcceptorThread]
2016-11-16 15:10:21:039 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] Established socket connection between /127.0.0.1:8083 and /127.0.0.1:52495 [TcpIpConnectionManager]
2016-11-16 15:10:28:027 WARNI [nexus-test-1] Added new node id=Member [127.0.0.1]:8093 name=ext:6033608a-c37b-487b-92b7-65127c68ad26 [OHazelcastPlugin]
2016-11-16 15:10:28:027 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] 

Members [2] {
    Member [127.0.0.1]:8083 this
    Member [127.0.0.1]:8093
}
 [ClusterService]
2016-11-16 15:10:28:279 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] Re-partitioning cluster data... Migration queue size: 135 [InternalPartitionService]
2016-11-16 15:10:29:549 INFO  [127.0.0.1]:8083 [orientdb] [3.6.5] All migration tasks have been completed, queues are empty. [InternalPartitionService]
2016-11-16 15:10:30:107 INFO  [nexus-test-1]<-[ext:6033608a-c37b-487b-92b7-65127c68ad26] Received updated about registered nodes [OHazelcastPlugin]
2016-11-16 15:10:45:371 INFO  [nexus-test-1]<-[nexus-test-2] Added node configuration id=Member [127.0.0.1]:8093 name=nexus-test-2, now 2 nodes are configured [OHazelcastPlugin]
2016-11-16 15:10:45:373 INFO  [nexus-test-1] Distributed servers status:

+-------------+--------+----------------------------+-----+---------+------------------+------------------+----------------------+
|Name         |Status  |Databases                   |Conns|StartedOn|Binary            |HTTP              |UsedMemory            |
+-------------+--------+----------------------------+-----+---------+------------------+------------------+----------------------+
|nexus-test-1*|ONLINE  |testdatabase=ONLINE (MASTER)|3    |15:08:59 |169.254.80.80:8081|169.254.80.80:8082|81.63MB/3.49GB (2.29%)|
|nexus-test-2 |STARTING|                            |1    |15:10:19 |169.254.80.80:8091|169.254.80.80:8092|98.37MB/3.49GB (2.75%)|
+-------------+--------+----------------------------+-----+---------+------------------+------------------+----------------------+
 [OHazelcastPlugin]
2016-11-16 15:10:45:374 INFO  [nexus-test-1]<-[nexus-test-2] Received new status nexus-test-2.testdatabase=SYNCHRONIZING [OHazelcastPlugin]

Steps to reproduce the problem

Instance ONE server configuration:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<orient-server>
    <handlers>
        <handler class="com.orientechnologies.orient.graph.handler.OGraphServerHandler">
            <parameters>
                <parameter name="enabled" value="true"/>
                <parameter name="graph.pool.max" value="50"/>
            </parameters>
        </handler>
        <!-- CLUSTER PLUGIN, TO TURN ON SET THE 'ENABLED' PARAMETER TO 'true' -->
        <handler class="com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin">
            <parameters>
                <parameter name="nodeName" value="test-1" />
                <parameter name="enabled" value="true" />
                <parameter name="configuration.db.default" value="${ORIENTDB_HOME}/configuration/orientdb/default-distributed-db-config.json"/>
                <parameter name="configuration.hazelcast" value="${ORIENTDB_HOME}/configuration/orientdb/hazelcast.xml"/>
            </parameters>
        </handler>
        <!-- JMX SERVER, TO TURN ON SET THE 'ENABLED' PARAMETER TO 'true' -->
        <handler class="com.orientechnologies.orient.server.handler.OJMXPlugin">
            <parameters>
                <parameter name="enabled" value="false"/>
                <parameter name="profilerManaged" value="true"/>
            </parameters>
        </handler>
        <!-- AUTOMATIC BACKUP, TO TURN ON SET THE 'ENABLED' PARAMETER TO 'true' -->
        <handler class="com.orientechnologies.orient.server.handler.OAutomaticBackup">
            <parameters>
                <parameter name="enabled" value="false"/>
                <!-- LOCATION OF JSON CONFIGURATION FILE -->
                <parameter name="config" value="${ORIENTDB_HOME}/configuration/oriebtdb/automatic-backup.json"/>
            </parameters>
        </handler>
        <!-- SERVER SIDE SCRIPT INTERPRETER. WARNING, THIS CAN BE A SECURITY HOLE BECAUSE MALICIOUS CODE COULD BE INJECTED.
            ENABLE IT ONLY IF CLIENTS ARE TRUSTED, TO TURN ON SET THE 'ENABLED' PARAMETER TO 'true' -->
        <handler
                class="com.orientechnologies.orient.server.handler.OServerSideScriptInterpreter">
            <parameters>
                <parameter name="enabled" value="true"/>
                <parameter name="allowedLanguages" value="SQL"/>
            </parameters>
        </handler>

    </handlers>
    <network>
        <sockets>
            <socket implementation="com.orientechnologies.orient.server.network.OServerTLSSocketFactory" name="ssl">
                <parameters>
                    <parameter value="false" name="network.ssl.clientAuth"/>
                    <parameter value="./mystore.ks" name="network.ssl.keyStore"/>
                    <parameter value="password" name="network.ssl.keyStorePassword"/>
                    <parameter value="./mystore.ks" name="network.ssl.trustStore"/>
                    <parameter value="password" name="network.ssl.trustStorePassword"/>
                </parameters>
            </socket>
            <socket implementation="com.orientechnologies.orient.server.network.OServerTLSSocketFactory" name="https">
                <parameters>
                    <parameter value="false" name="network.ssl.clientAuth"/>
                    <parameter value="./mystore.ks" name="network.ssl.keyStore"/>
                    <parameter value="password" name="network.ssl.keyStorePassword"/>
                    <parameter value="./mystore.ks" name="network.ssl.trustStore"/>
                    <parameter value="password" name="network.ssl.trustStorePassword"/>
                </parameters>
            </socket>
        </sockets>
        <protocols>
            <!-- Default registered protocol. It reads commands using the HTTP protocol
                and write data locally -->
            <protocol name="binary" implementation="com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary"/>
            <protocol name="http" implementation="com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpDb"/>
        </protocols>
        <listeners>
            <listener protocol="binary" ip-address="0.0.0.0" port-range="8081" socket="ssl"/>
            <listener protocol="http" ip-address="0.0.0.0" port-range="8082" socket="https">
                <parameters>

                    <!-- Connection's custom parameters. If not specified the global configuration will be taken -->
                    <parameter name="network.http.charset" value="utf-8"/>
                    <parameter value="true" name="network.http.jsonResponseError"/>

                    <!-- Define additional HTTP headers to always send as response -->
                    <!-- Allow cross-site scripting -->
                    <!-- parameter name="network.http.additionalResponseHeaders" value="Access-Control-Allow-Origin:
                        *;Access-Control-Allow-Credentials: true" / -->
                </parameters>
                <commands>
                    <command
                            pattern="GET|www GET|studio/ GET| GET|*.htm GET|*.html GET|*.xml GET|*.jpeg GET|*.jpg GET|*.png GET|*.gif GET|*.js GET|*.css GET|*.swf GET|*.ico GET|*.txt GET|*.otf GET|*.pjs GET|*.svg GET|*.json GET|*.woff GET|*.woff2 GET|*.ttf GET|*.svgz"
                            implementation="com.orientechnologies.orient.server.network.protocol.http.command.get.OServerCommandGetStaticContent">
                        <parameters>

                            <!-- Don't cache html resources in development mode -->
                            <entry name="http.cache:*.htm *.html" value="Cache-Control: no-cache, no-store, max-age=0, must-revalidate\r\nPragma: no-cache"/>

                            <!-- Default caching -->
                            <entry name="http.cache:default" value="Cache-Control: max-age=120"/>

                        </parameters>
                    </command>
                    <command pattern="GET|gephi/*" implementation="com.orientechnologies.orient.graph.server.command.OServerCommandGetGephi"/>
                </commands>
            </listener>
        </listeners>

        <!-- Clusters??? -->
        <cluster>
        </cluster>
    </network>
    <storages>
    </storages>
    <users>
        <user name="root" password="password" resources="*"></user>
    </users>
    <properties>
        <!-- DATABASE POOL: size min/max -->
        <entry name="db.pool.min" value="1"/>
        <entry name="db.pool.max" value="50"/>

        <!-- PROFILER: configures the profiler as <seconds-for-snapshot>,<archive-snapshot-size>,<summary-size> -->
        <entry name="profiler.enabled" value="false"/>

        <!-- <entry name="profiler.config" value="30,10,10" /> -->
    </properties>
</orient-server>

Instance TWO server configuration:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<orient-server>
    <handlers>
        <handler class="com.orientechnologies.orient.graph.handler.OGraphServerHandler">
            <parameters>
                <parameter name="enabled" value="true"/>
                <parameter name="graph.pool.max" value="50"/>
            </parameters>
        </handler>
        <!-- CLUSTER PLUGIN, TO TURN ON SET THE 'ENABLED' PARAMETER TO 'true' -->
        <handler class="com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin">
            <parameters>
                <parameter name="nodeName" value="test-2" />
                <parameter name="enabled" value="true" />
                <parameter name="configuration.db.default" value="${ORIENTDB_HOME}/configuration/orientdb/default-distributed-db-config.json"/>
                <parameter name="configuration.hazelcast" value="${ORIENTDB_HOME}/configuration/orientdb/hazelcast.xml"/>
            </parameters>
        </handler>
        <!-- JMX SERVER, TO TURN ON SET THE 'ENABLED' PARAMETER TO 'true' -->
        <handler class="com.orientechnologies.orient.server.handler.OJMXPlugin">
            <parameters>
                <parameter name="enabled" value="false"/>
                <parameter name="profilerManaged" value="true"/>
            </parameters>
        </handler>
        <!-- AUTOMATIC BACKUP, TO TURN ON SET THE 'ENABLED' PARAMETER TO 'true' -->
        <handler class="com.orientechnologies.orient.server.handler.OAutomaticBackup">
            <parameters>
                <parameter name="enabled" value="false"/>
                <!-- LOCATION OF JSON CONFIGURATION FILE -->
                <parameter name="config" value="${ORIENTDB_HOME}/configuration/oriebtdb/automatic-backup.json"/>
            </parameters>
        </handler>
        <!-- SERVER SIDE SCRIPT INTERPRETER. WARNING, THIS CAN BE A SECURITY HOLE BECAUSE MALICIOUS CODE COULD BE INJECTED.
            ENABLE IT ONLY IF CLIENTS ARE TRUSTED, TO TURN ON SET THE 'ENABLED' PARAMETER TO 'true' -->
        <handler
                class="com.orientechnologies.orient.server.handler.OServerSideScriptInterpreter">
            <parameters>
                <parameter name="enabled" value="true"/>
                <parameter name="allowedLanguages" value="SQL"/>
            </parameters>
        </handler>

    </handlers>
    <network>
        <sockets>
            <socket implementation="com.orientechnologies.orient.server.network.OServerTLSSocketFactory" name="ssl">
                <parameters>
                    <parameter value="false" name="network.ssl.clientAuth"/>
                    <parameter value="./mystore.ks" name="network.ssl.keyStore"/>
                    <parameter value="password" name="network.ssl.keyStorePassword"/>
                    <parameter value="./mystore.ks" name="network.ssl.trustStore"/>
                    <parameter value="password" name="network.ssl.trustStorePassword"/>
                </parameters>
            </socket>
            <socket implementation="com.orientechnologies.orient.server.network.OServerTLSSocketFactory" name="https">
                <parameters>
                    <parameter value="false" name="network.ssl.clientAuth"/>
                    <parameter value="./mystore.ks" name="network.ssl.keyStore"/>
                    <parameter value="password" name="network.ssl.keyStorePassword"/>
                    <parameter value="./mystore.ks" name="network.ssl.trustStore"/>
                    <parameter value="password" name="network.ssl.trustStorePassword"/>
                </parameters>
            </socket>
        </sockets>
        <protocols>
            <!-- Default registered protocol. It reads commands using the HTTP protocol
                and write data locally -->
            <protocol name="binary" implementation="com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary"/>
            <protocol name="http" implementation="com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpDb"/>
        </protocols>
        <listeners>
            <listener protocol="binary" ip-address="0.0.0.0" port-range="8091" socket="ssl"/>
            <listener protocol="http" ip-address="0.0.0.0" port-range="8092" socket="https">
                <parameters>

                    <!-- Connection's custom parameters. If not specified the global configuration will be taken -->
                    <parameter name="network.http.charset" value="utf-8"/>
                    <parameter value="true" name="network.http.jsonResponseError"/>

                    <!-- Define additional HTTP headers to always send as response -->
                    <!-- Allow cross-site scripting -->
                    <!-- parameter name="network.http.additionalResponseHeaders" value="Access-Control-Allow-Origin:
                        *;Access-Control-Allow-Credentials: true" / -->
                </parameters>
                <commands>
                    <command
                            pattern="GET|www GET|studio/ GET| GET|*.htm GET|*.html GET|*.xml GET|*.jpeg GET|*.jpg GET|*.png GET|*.gif GET|*.js GET|*.css GET|*.swf GET|*.ico GET|*.txt GET|*.otf GET|*.pjs GET|*.svg GET|*.json GET|*.woff GET|*.woff2 GET|*.ttf GET|*.svgz"
                            implementation="com.orientechnologies.orient.server.network.protocol.http.command.get.OServerCommandGetStaticContent">
                        <parameters>

                            <!-- Don't cache html resources in development mode -->
                            <entry name="http.cache:*.htm *.html" value="Cache-Control: no-cache, no-store, max-age=0, must-revalidate\r\nPragma: no-cache"/>

                            <!-- Default caching -->
                            <entry name="http.cache:default" value="Cache-Control: max-age=120"/>

                        </parameters>
                    </command>
                    <command pattern="GET|gephi/*" implementation="com.orientechnologies.orient.graph.server.command.OServerCommandGetGephi"/>
                </commands>
            </listener>
        </listeners>

        <!-- Clusters??? -->
        <cluster>
        </cluster>
    </network>
    <storages>
    </storages>
    <users>
        <user name="root" password="password" resources="*"></user>
    </users>
    <properties>
        <!-- DATABASE POOL: size min/max -->
        <entry name="db.pool.min" value="1"/>
        <entry name="db.pool.max" value="50"/>

        <!-- PROFILER: configures the profiler as <seconds-for-snapshot>,<archive-snapshot-size>,<summary-size> -->
        <entry name="profiler.enabled" value="false"/>

        <!-- <entry name="profiler.config" value="30,10,10" /> -->
    </properties>
</orient-server>

Instance ONE Hazlecast configuration:

<?xml version="1.0" encoding="UTF-8"?>
<hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.3.xsd" xmlns="http://www.hazelcast.com/schema/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <group>
        <name>orientdb</name>
        <password>orientdb</password>
    </group>
    <properties>
        <property name="hazelcast.mancenter.enabled">false</property>
        <property name="hazelcast.memcache.enabled">false</property>
        <property name="hazelcast.rest.enabled">false</property>
        <property name="hazelcast.wait.seconds.before.join">5</property>
        <property name="hazelcast.operation.thread.count">1</property>
        <property name="hazelcast.operation.generic.thread.count">1</property>
        <property name="hazelcast.client.event.thread.count">1</property>
        <property name="hazelcast.event.thread.count">1</property>
    </properties>
    <network>
        <port auto-increment="false" port-count="100">8083</port>
        <join>
            <multicast enabled="false"> 
                <multicast-group>235.1.1.1</multicast-group>
                <multicast-port>2434</multicast-port>
            </multicast>
            <tcp-ip enabled="true">
                <member>127.0.0.1:8093</member>
            </tcp-ip>
        </join>
    </network>
    <executor-service>
        <pool-size>16</pool-size>
    </executor-service>
</hazelcast>

Instance TWO Hazelcast configuration:

<?xml version="1.0" encoding="UTF-8"?>
<hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.3.xsd" xmlns="http://www.hazelcast.com/schema/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <group>
        <name>orientdb</name>
        <password>orientdb</password>
    </group>
    <properties>
        <property name="hazelcast.mancenter.enabled">false</property>
        <property name="hazelcast.memcache.enabled">false</property>
        <property name="hazelcast.rest.enabled">false</property>
        <property name="hazelcast.wait.seconds.before.join">5</property>
        <property name="hazelcast.operation.thread.count">1</property>
        <property name="hazelcast.operation.generic.thread.count">1</property>
        <property name="hazelcast.client.event.thread.count">1</property>
        <property name="hazelcast.event.thread.count">1</property>
    </properties>
    <network>
        <port auto-increment="false" port-count="100">8093</port>
        <join>
            <multicast enabled="false">
                <multicast-group>235.1.1.1</multicast-group>
                <multicast-port>2434</multicast-port>
            </multicast>
            <tcp-ip enabled="true">
                <member>127.0.0.1:8083</member>
            </tcp-ip>
        </join>
    </network>
    <executor-service>
        <pool-size>16</pool-size>
    </executor-service>
</hazelcast>

Default distributed DB config JSON:

{
  "replication": true,
  "hotAlignment": true,
  "resyncEvery": 15,
  "executionMode": "undefined",
  "autoDeploy": true,
  "readQuorum": 1,
  "writeQuorum": "majority",
  "readYourWrites": true,
  "failureAvailableNodesLessQuorum": false,
  "servers": 
  {
    "*": "master"
  },
  "clusters": 
  {
    "internal": 
    {
    },
    "*": 
    {
      "servers": ["<NEW_NODE>"]
    }
  }
}
lvca commented 7 years ago

Hi @mongoose666, first I don't suggest you to use 3.0.0-SNAPSHOT because it's still in development. Please retry with last 2.2.13 GA and let me know how is going. Thanks.

mongoose666 commented 7 years ago

Hi @lvca, Thanks for the prompt reply :) The same issue is in 2.2.12 as well - I went to 3.0.0-SNAPSHOT to see if it had been fixed. Also I might add there is a serious issue with getString( "@rid" ) and getObject( "@rid" ) within the JDBC Result Row where a null document check is not performed and then choosing the document.getIdentity() from the Result Row to return the @rid value. I circumvented/fixed this if you would like me to send you the fixes or information on where the problem is? This is in both 2.2.12 and 3.0.0-SNAPSHOT.

Cheers, Andy.
mongoose666 commented 7 years ago

@lvca I would also like to mention that I am running two separate JVMs but in "Embedded" mode as this is paramount for our application. As we are already running a server core and wish to be able to start and stop various portions of the application as needed via administrative interfaces of varying types (application, web etc). I am not sure if it's because I am running it in Embedded mode or not ... but this is a necessity. Is there a JVM arg, or System property maybe that is missing that the scripts/batch files set that I may not be setting?

lvca commented 7 years ago

@mongoose666 could you please open a new ticket for the JDBC issue, so I can assign it to a different developer?

About the tutorial, we're already working on updating the one in the docs. @santo-it will work on it.

About this issue, are you able to reproduce it with 2.2.17? We recently fixed a bug in the initial start that in some cases failed.

mongoose666 commented 7 years ago

@lvca - Thank you for the reply, However as this took so long to get any feedback from I have gone with Apache Cassandra which provided working examples straight out of the box.

Cheers, Andy.
lvca commented 7 years ago

@mongoose666 what a shame! :-) Anyway, we'll use this issue to improve the first user experience.

mongoose666 commented 7 years ago

@Ivca - Sorry about that but as a lead Software Engineer on a product it must work for me within the first hour if it does not I bin it :( but your guys vision and direction is a good one so don't stop forging ahead as the design decisions you have made are good ones :)

coldfuzz commented 7 years ago

Hi Are there any improvement about this bug.

santo-it commented 7 years ago

Hi @coldfuzz ,

Since you are a Customer of us, if you need any help with running OrientDB in distributed mode, or have any other questions, please do open a support ticket - and the Support Team will help you there

Many thanks,

deepsm007 commented 7 years ago

Hi I have been trying to run the OrientDB in distributed mode using the hazelcast multicast join. I am using the 2.2.18. But the cluster is not formed. Using 2 VM on local network to form the cluster.

hazelcast configuration for both the nodes are same

Have been trying this multicast for hours. Can i get some help with it?

hazelcast.xml

 <?xml version="1.0" encoding="UTF-8"?>
        <hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.3.xsd" xmlns="http://www.hazelcast.com/schema/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <group>
                <name>orientdb</name>
                <password>orientdb</password>
            </group>
            <properties>
                <property name="hazelcast.phone.home.enabled">false</property>
                <property name="hazelcast.mancenter.enabled">false</property>
                <property name="hazelcast.memcache.enabled">false</property>
                <property name="hazelcast.rest.enabled">false</property>
                <property name="hazelcast.wait.seconds.before.join">5</property>
                <property name="hazelcast.operation.thread.count">1</property>
                <property name="hazelcast.operation.generic.thread.count">1</property>
                <property name="hazelcast.client.event.thread.count">1</property>
                <property name="hazelcast.event.thread.count">1</property>
                <property name="hazelcast.heartbeat.interval.seconds">5</property>
                <property name="hazelcast.max.no.heartbeat.seconds">30</property>
                <property name="hazelcast.icmp.enabled">true</property>
                <property name="hazelcast.icmp.timeout">5000</property>
                <property name="hazelcast.icmp.ttl">3</property>
                <property name="hazelcast.merge.next.run.delay.seconds">15</property>
            </properties>
            <network>
                <port auto-increment="true">2434</port>
                <join>
                    <multicast enabled="true">
                        <multicast-group>235.1.1.1</multicast-group>
                        <multicast-port>2434</multicast-port>
                    </multicast>
                </join>
            </network>
            <executor-service>
                <pool-size>16</pool-size>
            </executor-service>
        </hazelcast>

orientdb-server-config.xml

  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <orient-server>
            <handlers>
                <handler class="com.orientechnologies.orient.graph.handler.OGraphServerHandler">
                    <parameters>
                        <parameter value="true" name="enabled"/>
                        <parameter value="50" name="graph.pool.max"/>
                    </parameters>
                </handler>
                <handler class="com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin">
                    <parameters>
                        <parameter value="${distributed}" name="enabled"/>
                        <parameter value="${ORIENTDB_HOME}/config/default-distributed-db-config.json" name="configuration.db.default"/>
                        <parameter value="${ORIENTDB_HOME}/config/hazelcast.xml" name="configuration.hazelcast"/>
                        <parameter value="node1" name="nodeName"/>
                    </parameters>
                </handler>
                <handler class="com.orientechnologies.orient.server.handler.OJMXPlugin">
                    <parameters>
                        <parameter value="false" name="enabled"/>
                        <parameter value="true" name="profilerManaged"/>
                    </parameters>
                </handler>
                <handler class="com.orientechnologies.orient.server.handler.OAutomaticBackup">
                    <parameters>
                        <parameter value="false" name="enabled"/>
                        <parameter value="${ORIENTDB_HOME}/config/automatic-backup.json" name="config"/>
                    </parameters>
                </handler>
                <handler class="com.orientechnologies.orient.server.handler.OServerSideScriptInterpreter">
                    <parameters>
                        <parameter value="true" name="enabled"/>
                        <parameter value="SQL" name="allowedLanguages"/>
                    </parameters>
                </handler>
            </handlers>
            <network>
                <sockets>
                    <socket implementation="com.orientechnologies.orient.server.network.OServerTLSSocketFactory" name="ssl">
                        <parameters>
                            <parameter value="false" name="network.ssl.clientAuth"/>
                            <parameter value="config/cert/orientdb.ks" name="network.ssl.keyStore"/>
                            <parameter value="password" name="network.ssl.keyStorePassword"/>
                            <parameter value="config/cert/orientdb.ks" name="network.ssl.trustStore"/>
                            <parameter value="password" name="network.ssl.trustStorePassword"/>
                        </parameters>
                    </socket>
                    <socket implementation="com.orientechnologies.orient.server.network.OServerTLSSocketFactory" name="https">
                        <parameters>
                            <parameter value="false" name="network.ssl.clientAuth"/>
                            <parameter value="config/cert/orientdb.ks" name="network.ssl.keyStore"/>
                            <parameter value="password" name="network.ssl.keyStorePassword"/>
                            <parameter value="config/cert/orientdb.ks" name="network.ssl.trustStore"/>
                            <parameter value="password" name="network.ssl.trustStorePassword"/>
                        </parameters>
                    </socket>
                </sockets>
                <protocols>
                    <protocol implementation="com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary" name="binary"/>
                    <protocol implementation="com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpDb" name="http"/>
                </protocols>
                <listeners>
                    <listener protocol="binary" socket="default" port-range="2424-2430" ip-address="0.0.0.0"/>
                    <listener protocol="http" socket="default" port-range="2480-2490" ip-address="0.0.0.0">
                        <commands>
                            <command implementation="com.orientechnologies.orient.server.network.protocol.http.command.get.OServerCommandGetStaticContent" pattern="GET|www GET|studio/ GET| GET|*.htm GET|*.html GET|*.xml GET|*.jpeg GET|*.jpg GET|*.png GET|*.gif GET|*.js GET|*.css GET|*.swf GET|*.ico GET|*.txt GET|*.otf GET|*.pjs GET|*.svg GET|*.json GET|*.woff GET|*.woff2 GET|*.ttf GET|*.svgz" stateful="false">
                                <parameters>
                                    <entry value="Cache-Control: no-cache, no-store, max-age=0, must-revalidate\r\nPragma: no-cache" name="http.cache:*.htm *.html"/>
                                    <entry value="Cache-Control: max-age=120" name="http.cache:default"/>
                                </parameters>
                            </command>
                            <command implementation="com.orientechnologies.orient.graph.server.command.OServerCommandGetGephi" pattern="GET|gephi/*" stateful="false"/>
                        </commands>
                        <parameters>
                            <parameter value="utf-8" name="network.http.charset"/>
                            <parameter value="true" name="network.http.jsonResponseError"/>
                        </parameters>
                    </listener>
                </listeners>
            </network>
            <storages/>
            <users>
                <user resources="*" password="{PBKDF2WithHmacSHA1}9DFF3F5B0F6D4C337EB4FF7C6D93AE19582B11933DB8A82C:76A668C0E4519F7E795E75354C6BD4747BA464EAB86169C6:65536" name="root"/>
                <user resources="connect,server.listDatabases,server.dblist" password="{PBKDF2WithHmacSHA1}8430483B7BD8AEC7FA648C0B64262DFE7CD9265F091A28F6:094E2CF05590EC20741D57EF97D097C5A015B0E0D08841AD:65536" name="guest"/>
            </users>
            <properties>
                <entry value="1" name="db.pool.min"/>
                <entry value="50" name="db.pool.max"/>
                <entry value="false" name="profiler.enabled"/>
            </properties>
            <isAfterFirstTime>true</isAfterFirstTime>
        </orient-server>
lvca commented 7 years ago

@deepsm007 can you post also the logs of both servers?

lvca commented 7 years ago

Closing this issue because of no response after a long time.