9910

          單飛

             :: 首頁 :: 聯系 :: 聚合  :: 管理
          could not obtain connection to any of these urls localhost 1099 jboss

          修改
          run.bat

          -Djnp.host=172.16.0.128 -Dhornetq.remoting.netty.host=172.16.0.23
          -Djava.rmi.server.hostname=172.16.0.23修改后:

          REM set CLUSTER_PROPS="-Djnp.port=1099 -Djnp.rmiPort=1098 -Djnp.host=172.16.0.23 -Dhornetq.remoting.netty.host=172.16.0.23 -Dhornetq.remoting.netty.port=5445"
          set JVM_ARGS=%CLUSTER_PROPS% -XX:+UseParallelGC  -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Xms512M -Xmx1024M -Dhornetq.config.dir=%CONFIG_DIR%  -Djava.util.logging.config.file=%CONFIG_DIR%\logging.properties -Djava.library.path=. -Djava.rmi.server.hostname=172.16.0.23
          run.sh

          export CLUSTER_PROPS="-Djnp.port=6099 -Djnp.rmiPort=6098 -Djnp.host=server23 -Dhornetq.remoting.netty.host=server23 -Dhornetq.remoting.netty.port=6445"
          export JVM_ARGS="$CLUSTER_PROPS  -Xms512M -Xmx4096M -Dhornetq.config.dir=$CONFIG_DIR -Djava.util.logging.config.file=$CONFIG_DIR/logging.properties -Djava.library.path=. -Dcom.sun.management.jmxre
          mote -Dcom.sun.management.jmxremote.port=4000 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=server23"
          posted on 2015-08-05 09:15 單飛 閱讀(478) 評論(2)  編輯  收藏 所屬分類: java

          Feedback

          # re: hornetq could not obtain connection to any of these urls localhost 1099 jboss 2015-08-05 11:10 單飛
          set JVM_ARGS=%CLUSTER_PROPS% -XX:+UseParallelGC -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Xms512M -Xmx1024M -Dhornetq.config.dir=%CONFIG_DIR% -Djava.util.logging.config.file=%CONFIG_DIR%\logging.properties -Djava.library.path=. -Djnp.port=1099 -Djnp.rmiPort=1098 -Djnp.host=172.16.0.23 -Dhornetq.remoting.netty.host=172.16.0.23-Dhornetq.remoting.netty.port=5445 -Djava.rmi.server.hostname=172.16.0.23  回復  更多評論
            

          # re: hornetq could not obtain connection to any of these urls localhost 1099 jboss 2015-08-05 11:11 單飛
          hornetq-2.2.14.Final\config\stand-alone\non-clustered\hornetq-beans.xml

          <!-- JNDI server. Disable this if you don't want JNDI -->
          <bean name="JNDIServer" class="org.jnp.server.Main">
          <property name="namingInfo">
          <inject bean="Naming"/>
          </property>
          <property name="port">1099</property>
          <property name="bindAddress">172.16.0.23</property>
          <property name="rmiPort">1098</property>
          <property name="rmiBindAddress">172.16.0.23</property>
          </bean>  回復  更多評論
            

          主站蜘蛛池模板: 壤塘县| 大洼县| 临高县| 墨竹工卡县| 深泽县| 饶河县| 兰州市| 洛川县| 威宁| 二连浩特市| 克山县| 象山县| 保德县| 宜兰县| 安多县| 济宁市| 闸北区| 伊宁市| 洛阳市| 格尔木市| 天全县| 循化| 鹰潭市| 右玉县| 德兴市| 塔城市| 长岛县| 禹州市| 通江县| 永宁县| 朔州市| 朝阳县| 安泽县| 依兰县| 南靖县| 东乌珠穆沁旗| 中方县| 郎溪县| 永城市| 汾西县| 绵竹市|