zoukankan      html  css  js  c++  java
  • active mq start

    Corporation 1.8.0_211 C:Program FilesJavajdk1.8.0_211jre
    ==================================================================================================================================
    ERROR | Failed to start Apache ActiveMQ (localhost, ID:SUJIE10-55704-1597277598596-0:1)
    java.io.IOException: Transport Connector could not be registered in JMX: java.io.IOException: Failed to bind to server socket: amqp://0.0.0.0:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600 due to: java.net.BindException: Address already in use: JVM_Bind
    at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:28)
    ==================================================================================================================================
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1748)
    ==================================================================================================================================
    at org.apache.activemq.console.Main.main(Main.java:115)
    Caused by: java.io.IOException: Failed to bind to server socket: amqp://0.0.0.0:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600 due to: java.net.BindException: Address already in use: JVM_Bind
    at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:34)
    ==================================================================================================================================
    at org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:2275)
    ... 40 more
    Caused by: java.net.BindException: Address already in use: JVM_Bind
    at java.net.DualStackPlainSocketImpl.bind0(Native Method)
    ==================================================================================================================================
    at org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:143)
    ... 46 more
    INFO | Apache ActiveMQ 5.16.0 (localhost, ID:SUJIE10-55704-1597277598596-0:1) is shutting down
    INFO | Connector openwire stopped
    INFO | Connector amqp stopped
    INFO | Connector stomp stopped
    INFO | Connector mqtt stopped
    INFO | Connector ws stopped
    INFO | PListStore:[C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..datalocalhost mp_storage] stopped
    INFO | Stopping async queue tasks
    INFO | Stopping async topic tasks
    INFO | Stopped KahaDB
    INFO | Apache ActiveMQ 5.16.0 (localhost, ID:SUJIE10-55704-1597277598596-0:1) uptime 0.662 seconds
    INFO | Apache ActiveMQ 5.16.0 (localhost, ID:SUJIE10-55704-1597277598596-0:1) is shutdown
    INFO | Closing org.apache.activemq.xbean.XBeanBrokerFactory$1@71318ec4: startup date [Thu Aug 13 08:13:16 CST 2020]; root of context hierarchy
    WARN | Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path resource [activemq.xml]: Invocation of init method failed; nested exception is java.io.IOException: Transport Connector could not be registered in JMX: java.io.IOException: Failed to bind to server socket: amqp://0.0.0.0:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600 due to: java.net.BindException: Address already in use: JVM_Bind
    ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
    java.lang.RuntimeException: Failed to execute start task. Reason: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
    at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:91)
    ==================================================================================================================================
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
    at org.apache.activemq.console.Main.main(Main.java:115)
    PS C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in> netstat -aon|findstr "8161"
    PS C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in> netstat -aon|findstr "8161"
    PS C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in> netstat -aon|findstr "61616"
    PS C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in> netstat -lntp | grep 8161
    grep : 无法将“grep”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确
    ,然后再试一次。
    所在位置 行:1 字符: 17
    + netstat -lntp | grep 8161
    + ~~~~
    + CategoryInfo : ObjectNotFound: (grep:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    PS C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in> netstat -aon|findstr "5672"
    TCP 0.0.0.0:5672 0.0.0.0:0 LISTENING 7996
    TCP 0.0.0.0:25672 0.0.0.0:0 LISTENING 7996
    TCP [::]:5672 [::]:0 LISTENING 7996
    PS C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in> tasklist|findstr "7996"
    erl.exe 7996 Services 0 16,224 K
    PS C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in> .activemq start
    Java Runtime: Oracle Corporation 1.8.0_211 C:Program FilesJavajdk1.8.0_211jre
    Heap sizes: current=1005056k free=989327k max=1005056k
    JVM args: -Dcom.sun.management.jmxremote -Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..conflogin.config -Dactivemq.classpath=C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..conf;C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in../conf;C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in../conf; -Dactivemq.home=C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in.. -Dactivemq.base=C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in.. -Dactivemq.conf=C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..conf -Dactivemq.data=C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..data -Djava.io.tmpdir=C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..data mp
    Extensions classpath:
    [C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..lib,C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..libcamel,C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..liboptional,C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..libweb,C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..libextra]
    ACTIVEMQ_HOME: C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..
    ACTIVEMQ_BASE: C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..
    ACTIVEMQ_CONF: C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..conf
    ACTIVEMQ_DATA: C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..data
    Loading message broker from: xbean:activemq.xml
    INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@71318ec4: startup date [Thu Aug 13 08:16:08 CST 2020]; root of context hierarchy
    INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..datakahadb]
    INFO | KahaDB is version 7
    INFO | PListStore:[C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..datalocalhost mp_storage] started
    INFO | Apache ActiveMQ 5.16.0 (localhost, ID:SUJIE10-55818-1597277769904-0:1) is starting
    INFO | Listening for connections at: tcp://SUJIE10:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
    INFO | Connector openwire started
    INFO | Listening for connections at: amqp://SUJIE10:5672?maximumConnections=1000&wireFormat.maxFrameSize=104857600
    INFO | Connector amqp started
    INFO | Listening for connections at: stomp://SUJIE10:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600
    INFO | Connector stomp started
    INFO | Listening for connections at: mqtt://SUJIE10:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600
    INFO | Connector mqtt started
    INFO | Starting Jetty server
    INFO | Creating Jetty connector
    WARN | ServletContext@o.e.j.s.ServletContextHandler@4df5bcb4{/,null,STARTING} has uncovered http methods for path: /
    INFO | Listening for connections at ws://SUJIE10:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600
    INFO | Connector ws started
    INFO | Apache ActiveMQ 5.16.0 (localhost, ID:SUJIE10-55818-1597277769904-0:1) started
    INFO | For help or more information please see: http://activemq.apache.org
    WARN | Store limit is 102400 mb (current store usage is 0 mb). The data directory: C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..datakahadb only has 51144 mb of usable space. - resetting to maximum available disk space: 51144 mb
    WARN | Temporary Store limit is 51200 mb (current store usage is 0 mb). The data directory: C:Appapache-activemq-5.16.0-binapache-activemq-5.16.0in..data only has 51144 mb of usable space. - resetting to maximum available disk space: 51144 mb
    INFO | ActiveMQ WebConsole available at http://127.0.0.1:8161/
    INFO | ActiveMQ Jolokia REST API available at http://127.0.0.1:8161/api/jolokia/

  • 相关阅读:
    纷享销客公司产品能力学习笔记
    有质量的两道面试题
    java项目启动时执行指定方法
    css银行卡号样式
    swiper6使用鼠标滚轮失效退回swiper4即可
    vue-swiper Demo
    vue点击下载图片
    跨域请求发送数据在body里,java后台接收
    跨域,跨服务session获取不到,前后台不会传输Cookie,sessionId不一致
    Windows下 redis命令及配置
  • 原文地址:https://www.cnblogs.com/2eggs/p/13494331.html
Copyright © 2011-2022 走看看