Activemq Shutdown fails and then kills process

后端 未结 1 1238
遇见更好的自我
遇见更好的自我 2021-01-28 08:26

I am implementing replicated leveldb activemq setup. I have 3 instance of activemq running on same box. I am changing their rmiPort, amqpport and openwire port in config file.

1条回答
  •  攒了一身酷
    2021-01-28 09:08

    If it still helps someone:

    When I had in bin/env this

     export ACTIVEMQ_SUNJMX_CONTROL="-Dactivemq.jmx.url=service:jmx:rmi:///jndi/rmi://127.0.0.1:8100/jmxrmi"
     #
     ACTIVEMQ_SUNJMX_START="-Dcom.sun.management.jmxremote.port=8100 "
     ACTIVEMQ_SUNJMX_START="$ACTIVEMQ_SUNJMX_START -Dcom.sun.management.jmxremote.authenticate=false"   
     ACTIVEMQ_SUNJMX_START="$ACTIVEMQ_SUNJMX_START -Dcom.sun.management.jmxremote.ssl=false"
    

    , it did not work, process failed even without logging. I don't know why, but this method works(for AMQ 5.13): u add to xml this:

    
                
    
    

    and nothing like ACTIVEMQ_SUNJMX_START in env file

    0 讨论(0)
提交回复
热议问题