的GemFire;启动REST API服务器问题

时间:2017-07-10 18:07:22

标签: gemfire

我在Ubuntu上安装了Gemfire 9.x并且能够启动定位器和服务器但是无法使用命令选项启动服务器启动REST服务器--name = server1 --start-rest-api = true --http-service-port = 8080 --http-service-bind-address = localhost。

在服务器日志中,我看到以下错误消息。请以正确的方式指导我。

揍你。

错误讯息..

[info 2017/07/10 13:36:58.131 EDT server1 tid = 0x1] geode-web-api war found:/opt/pivotal/pivotal-gemfire-9.0.4/tools/Extensions/geode-web- API-9.0.4.war

[info 2017/07/10 13:36:58.144 EDT server1 tid = 0x1]记录已初始化@ 4705ms

[info 2017/07/10 13:36:58.210 EDT server1 tid = 0x1] jetty-9.3.6.v20151106

[info 2017/07/10 13:36:58.747 EDT server1 tid = 0x1]没有JSP支持/ gemfire-api,没找到org.eclipse.jetty.jsp.JettyJspServlet

[info 2017/07/10 13:36:58.907 EDT server1 tid = 0x1]初始化Spring FrameworkServlet' geode'

[info 2017/07/10 13:37:01.560 EDT server1 tid = 0x1]上下文刷新

[info 2017/07/10 13:37:01.574 EDT server1 tid = 0x1]找到1个自定义文档插件

[info 2017/07/10 13:37:01.580 EDT server1 tid = 0x1]扫描api列表参考

[info 2017/07/10 13:37:01.721 EDT server1 tid = 0x1]生成名为:deleteUsingDELETE_1的唯一操作

[info 2017/07/10 13:37:01.765 EDT server1 tid = 0x1]生成名为readUsingGET_1的唯一操作

[info 2017/07/10 13:37:01.810 EDT server1 tid = 0x1]生成名为:createUsingPOST_1的唯一操作

[info 2017/07/10 13:37:01.818 EDT server1 tid = 0x1]生成名为:deleteUsingDELETE_2

的唯一操作

[info 2017/07/10 13:37:01.824 EDT server1 tid = 0x1]生成名为listUsingGET_1的唯一操作

[info 2017/07/10 13:37:01.848 EDT server1 tid = 0x1]生成名为:updateUsingPUT_1的唯一操作

[info 2017/07/10 13:37:01.888 EDT server1 tid = 0x1]启动oejwWebAppContext @ 49754e74 {/ gemfire-api,[file:/// home / telirisuser / mygemfire / server1 / GemFire_telirisuser / services / http / 10.160.3.181_7070_gemfire-api / webapp /,jar:file:///home/telirisuser/mygemfire/server1/GemFire_telirisuser/services/http/10.160.3.181_7070_gemfire-api/webapp/WEB-INF/lib/springfox-招摇-UI-2.6.0.jar!/ META-INF /资源],其可以} {/选择/枢转/枢转运动的GemFire-9.0.4 /工具/扩展/晶洞的Web-API 9.0.4.war}

[info 2017/07/10 13:37:02.182 EDT server1 tid = 0x1]没有JSP支持/ geode,没找到org.eclipse.jetty.jsp.JettyJspServlet

[info 2017/07/10 13:37:02.229 EDT server1 tid = 0x1]初始化Spring FrameworkServlet' geode'

[info 2017/07/10 13:37:04.502 EDT server1 tid = 0x1]上下文刷新

[info 2017/07/10 13:37:04.518 EDT server1 tid = 0x1]找到1个自定义文档插件

[info 2017/07/10 13:37:04.528 EDT server1 tid = 0x1]扫描api列表参考

[info 2017/07/10 13:37:04.666 EDT server1 tid = 0x1]生成名为:deleteUsingDELETE_1的唯一操作

[info 2017/07/10 13:37:04.717 EDT server1 tid = 0x1]生成名为readUsingGET_1的唯一操作

[info 2017/07/10 13:37:04.767 EDT server1 tid = 0x1]生成名为:createUsingPOST_1的唯一操作

[info 2017/07/10 13:37:04.776 EDT server1 tid = 0x1]生成名为:deleteUsingDELETE_2

的唯一操作

[info 2017/07/10 13:37:04.783 EDT server1 tid = 0x1]生成名为listUsingGET_1的唯一操作

[info 2017/07/10 13:37:04.809 EDT server1 tid = 0x1]生成名为:updateUsingPUT_1的唯一操作

[info 2017/07/10 13:37:04.857 EDT server1 tid = 0x1]启动oejwWebAppContext @ 353422fd {/ geode,[file:/// home / telirisuser / mygemfire / server1 / GemFire_telirisuser / services / http / 10.160.3.181_7070_geode / webapp /,jar:file:///home/telirisuser/mygemfire/server1/GemFire_telirisuser/services/http/10.160.3.181_7070_geode/webapp/WEB-INF/lib/springfox-swagger-ui-2.6。 0.jar!/ META-INF /资源],AVAILABLE} {/选择/枢转/枢转-的GemFire-9.0.4 /工具/扩展/晶洞的Web-API-9.0.4.war}

[info 2017/07/10 13:37:04.857 EDT server1 tid = 0x1]停止HTTP服务......

[info 2017/07/10 13:37:04.859 EDT server1 tid = 0x1]已停止ServerConnector @ 2dbcee03 {HTTP / 1.1,[http / 1.1]} {10.160.3.181:7070}

[info 2017/07/10 13:37:04.859 EDT server1 tid = 0x1]销毁Spring FrameworkServlet' geode'

[info 2017/07/10 13:37:04.871 EDT server1 tid = 0x1]已停止oejwWebAppContext @ 353422fd {/ geode,null,UNAVAILABLE} {/ opt / pivotal / pivotal-gemfire-9.0.4 / tools /扩展/晶洞的Web-API-9.0.4.war}

[info 2017/07/10 13:37:04.871 EDT server1 tid = 0x1]销毁Spring FrameworkServlet' geode'

[info 2017/07/10 13:37:04.880 EDT server1 tid = 0x1]已停止oejwWebAppContext @ 49754e74 {/ gemfire-api,null,UNAVAILABLE} {/ opt / pivotal / pivotal-gemfire-9.0.4 /工具/扩展/晶洞的Web-API-9.0.4.war}

[info 2017/07/10 13:37:04.893 EDT server1 tid = 0x1]缓存服务器连接侦听器绑定到地址为0.0.0.0/0.0.0.0:40404,积压为1,000。

[info 2017/07/10 13:37:04.902 EDT server1 tid = 0x1] ClientHealthMonitorThread ping之间允许的最长时间:60,000

[info 2017/07/10 13:37:04.908 EDT server1 tid = 0x1] CacheServer配置:port = 40404 max-connections = 800 max-threads = 0 notify-by-subscription = true socket-buffer-size = 32768 max-time-between-pings = 60000 maximum-message-count = 230000 message-time-live = 180 eviction-policy = none capacity = 1 overflow directory =。 groups = [] loadProbe = ConnectionCountProbe loadPollInterval = 5000 tcpNoDelay = true

1 个答案:

答案 0 :(得分:0)

我在日志中看不到错误消息。我认为问题是您需要绑定到IP地址而不是localhost它与NIC设置有关。

就像start server --name=server1 --start-rest-api=true --http-service-port=8080 --http-service-bind-address=191.234.180.99 --server-bind-address=191.234.180.99

一样