开发者社区> 问答> 正文

启动OFBIZ时报 Unable to bind RMIDispatcher to RMI onhost127.0.0.1

ofbiz试验 5月20前运行良好,没有修改任何配置,从5月20日后不能正常启动报如下错误,
[java] 2016-06-03 10:47:26,834 FATAL Unable to register shutdown hook because JVM is shutting down.[java] org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.service.rmi.RmiServiceContainer (Unable to bind RMIDispatcher to RMI on //host[127.0.0.1]:port[1099]/name[RMIDispatcher] - with remote=RemoteDispatcherImpl[UnicastServerRef2 [liveRef: [endpoint:[10.164.2.59:56274,org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory@5b529706,org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory@63fdab07](local),objID:[-2e06566f:15514265c00:-7fff, 3606132618529606290]]]] (Connection refused to host: 127.0.0.1; nested exception is:[java]     java.net.ConnectException: Connection timed out))[java]     at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:239)[java]     at org.ofbiz.base.start.Start.startStartLoaders(Start.java:343)[java]     at org.ofbiz.base.start.Start.start(Start.java:369)[java]     at org.ofbiz.base.start.Start.main(Start.java:136)  <div text-explode="" ng-binding"="">2016-06-03 11:15:27

展开
收起
toptao 2016-06-03 18:35:23 6101 0
2 条回答
写回答
取消 提交回答
  • 旺旺:nectar2。
    楼主您好,

    请问,10.164.2.59 是您ECS的内网IP地址吗?

    -------------------------

    回 4楼(toptao) 的帖子
    您好,

    或许您可以参考一下这个问答: http://stackoverflow.com/questions/10094416/rmiserviceexporter-not-working-does-not-connect-to-rmi-localhost-at-port-1099

    里边提到,需要重点检查一下 registryHost 的设置是否缺失喔。

    -------------------------

    回 6楼(toptao) 的帖子
    您好,

    感谢您更新帖子的状态喔,欢迎常来阿里云论坛。
    2016-06-03 19:46:20
    赞同 展开评论 打赏
  • 回 楼主toptao的帖子
    ecs  操作系统 linux ubuntu14

    -------------------------

    Re启动OFBIZ时报 Unable to bind RMIDispatcher to RMI onhost127.0.0.1
    是的

    -------------------------

    回 2楼dongshan8的帖子
    是的

    -------------------------

    回 5楼dongshan8的帖子
    原来是不知谁在iptables/rules.v4文件
    #-A INPUT -p tcp -m tcp --dport 1099 -j DROP
    注释了,重新启动系统好了
    谢谢各位了
    2016-06-03 18:43:52
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Data-Driven Water Security with Bluemix Apache Spark Service 立即下载
Build Your Next Apache Spark Job in .NET Using Mobius 立即下载
Data as a Service - 数据即服务 立即下载