5 Replies Latest reply on Dec 11, 2012 3:13 PM by m f

    problem with set CLUSTER_PROPS in run.bat

    m f Newbie

      Hi all

       

      I'm using hornetq standalone server (2.2.14.Final).

      I used set CLUSTER_PROPS to configure connector port and hostname from run.bat:

      set CLUSTER_PROPS="-Djnp.port=1099 -Djnp.rmiPort=1098 -Djnp.host=localhost -Dhornetq.remoting.netty.host=localhost -Dhornetq.remoting.netty.port=3333"
      

       

      my connector and acceptor:

      <connector name="netty">
               <factory-class>org.hornetq.core.remoting.impl.netty.NettyConnectorFactory</factory-class>
               <param key="host"  value="${hornetq.remoting.netty.host:127.0.0.1}"/>
               <param key="port"  value="${hornetq.remoting.netty.port:5445}"/>
            </connector>
      
       <acceptor name="netty">
               <factory-class>org.hornetq.core.remoting.impl.netty.NettyAcceptorFactory</factory-class>
               <param key="host"  value="${hornetq.remoting.netty.host:127.0.0.1}"/>
               <param key="port"  value="${hornetq.remoting.netty.port:5445}"/>
      </acceptor>
      

       

      But when i start server, connector port and hostname will not be changed (they have been set to default values)!!!

      Is it a bug?

       

      Thanks