是什么导致这个OrientDB启动错误?

时间:2015-11-10 08:17:02

标签: orientdb

我刚开始运行Orient时遇到此错误。有什么建议怎么办?

2015-11-10 08:09:52:003 INFO  OrientDB auto-config DISKCACHE=489MB (heap=491MB os=52,339MB disk=978MB) [orientechnologies]
2015-11-10 08:09:52:111 INFO  Loading configuration from: /home/ubuntu/workspace/orient215/config/orientdb-server-config.xml... [OServerConfigurationLoaderXml]
2015-11-10 08:09:52:391 INFO  OrientDB Server v2.1.5 (build 2.1.x@r; 2015-10-29 16:54:25+0000) is starting up... [OServer]
2015-11-10 08:09:52:430 INFO  Databases directory: /home/ubuntu/workspace/orient215/databases [OServer]
2015-11-10 08:09:52:484 INFO  Listening binary connections on 0.0.0.0:2424 (protocol v.32, socket=default) [OServerNetworkListener]Exception in thread "main" java.lang.NegativeArraySizeException
        at com.orientechnologies.orient.server.network.OServerNetworkListener.getPorts(OServerNetworkListener.java:113)
        at com.orientechnologies.orient.server.network.OServerNetworkListener.listen(OServerNetworkListener.java:305)
        at com.orientechnologies.orient.server.network.OServerNetworkListener.<init>(OServerNetworkListener.java:79)
        at com.orientechnologies.orient.server.OServer.activate(OServer.java:334)
        at com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:41)

1 个答案:

答案 0 :(得分:0)

我很快就删除了这个问题,因为我找到了自己的答案。但是第二个想到如果有人在orientdb-server-config.xml中的端口规范中输入了拼写错误,那么他们可能会觉得这篇文章很有用