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>  回復  更多評論
            

          主站蜘蛛池模板: 余姚市| 中牟县| 石门县| 兰州市| 揭阳市| 公主岭市| 西丰县| 呼伦贝尔市| 潜江市| 武隆县| 沾化县| 大安市| 虎林市| 三河市| 时尚| 资兴市| 泗洪县| 清涧县| 荆门市| 隆尧县| 吉安市| 古蔺县| 博客| 五大连池市| 手游| 龙井市| 南召县| 泸水县| 西乌| 五大连池市| 南安市| 西华县| 凌云县| 新和县| 易门县| 永善县| 麻城市| 当涂县| 唐海县| 福贡县| 蚌埠市|