ylbtech-阿里云-ONS-Help-SDK参考-TCP协议-JavaSDK-Demo-[mq-demo-master]:InetillJIDEA log |
1.返回顶部 |
·
"C:Program FilesJavajdk-14injava.exe" "-javaagent:C:Program FilesJetBrainsIntelliJ IDEA 2019.3.4libidea_rt.jar=63252:C:Program FilesJetBrainsIntelliJ IDEA 2019.3.4in" -Dfile.encoding=UTF-8 -classpath D:workjavamq-demo-master2mq-demo-master cpjava-tcp-demo argetclasses;C:UsersAdministrator.m2
epositorycomaliyunopenservicesons-client1.8.4.Finalons-client-1.8.4.Final.jar;C:UsersAdministrator.m2
epositoryorgspringframeworkspring2.5.6.SEC03spring-2.5.6.SEC03.jar;C:UsersAdministrator.m2
epositoryorgslf4jslf4j-api1.7.7slf4j-api-1.7.7.jar;C:UsersAdministrator.m2
epositoryorgslf4jjcl-over-slf4j1.7.7jcl-over-slf4j-1.7.7.jar;C:UsersAdministrator.m2
epositoryorgslf4jslf4j-log4j121.7.7slf4j-log4j12-1.7.7.jar;C:UsersAdministrator.m2
epositorylog4jlog4j1.2.17log4j-1.2.17.jar com.aliyun.openservices.tcp.example.producer.SimpleMQProducer
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.aliyun.openservices.ons.api.impl.rocketmq.ONSUtil (file:/C:/Users/Administrator/.m2/repository/com/aliyun/openservices/ons-client/1.8.4.Final/ons-client-1.8.4.Final.jar) to field java.util.Properties.defaults
WARNING: Please consider reporting this to the maintainers of com.aliyun.openservices.ons.api.impl.rocketmq.ONSUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
log4j:WARN No appenders could be found for logger (com.aliyun.openservices.shade.io.netty.util.internal.logging.InternalLoggerFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Producer Started
Sun Mar 29 23:27:00 CST 2020 Send mq message failed! Topic is:XXX
com.aliyun.openservices.ons.api.exception.ONSClientException: defaultMQProducer send exception
at com.aliyun.openservices.ons.api.impl.rocketmq.ProducerImpl.checkProducerException(ProducerImpl.java:242)
at com.aliyun.openservices.ons.api.impl.rocketmq.ProducerImpl.send(ProducerImpl.java:136)
at com.aliyun.openservices.tcp.example.producer.SimpleMQProducer.main(SimpleMQProducer.java:44)
Caused by: com.aliyun.openservices.shade.com.alibaba.rocketmq.client.exception.MQClientException: No route info of this topic, XXX
See http://rocketmq.apache.org/docs/faq/ for further details.
at com.aliyun.openservices.shade.com.alibaba.rocketmq.client.impl.producer.DefaultMQProducerImpl.sendDefaultImpl(DefaultMQProducerImpl.java:586)
at com.aliyun.openservices.shade.com.alibaba.rocketmq.client.impl.producer.DefaultMQProducerImpl.send(DefaultMQProducerImpl.java:1137)
at com.aliyun.openservices.shade.com.alibaba.rocketmq.client.impl.producer.DefaultMQProducerImpl.send(DefaultMQProducerImpl.java:1091)
at com.aliyun.openservices.shade.com.alibaba.rocketmq.client.producer.DefaultMQProducer.send(DefaultMQProducer.java:257)
at com.aliyun.openservices.ons.api.impl.rocketmq.ProducerImpl.send(ProducerImpl.java:127)
... 1 more
·
2. 成功返回顶部 |
·
"C:Program FilesJavajdk-14injava.exe" "-javaagent:C:Program FilesJetBrainsIntelliJ IDEA 2019.3.4libidea_rt.jar=63488:C:Program FilesJetBrainsIntelliJ IDEA 2019.3.4in" -Dfile.encoding=UTF-8 -classpath D:workjavamq-demo-master2mq-demo-master cpjava-tcp-demo argetclasses;C:UsersAdministrator.m2
epositorycomaliyunopenservicesons-client1.8.4.Finalons-client-1.8.4.Final.jar;C:UsersAdministrator.m2
epositoryorgspringframeworkspring2.5.6.SEC03spring-2.5.6.SEC03.jar;C:UsersAdministrator.m2
epositoryorgslf4jslf4j-api1.7.7slf4j-api-1.7.7.jar;C:UsersAdministrator.m2
epositoryorgslf4jjcl-over-slf4j1.7.7jcl-over-slf4j-1.7.7.jar;C:UsersAdministrator.m2
epositoryorgslf4jslf4j-log4j121.7.7slf4j-log4j12-1.7.7.jar;C:UsersAdministrator.m2
epositorylog4jlog4j1.2.17log4j-1.2.17.jar com.aliyun.openservices.tcp.example.producer.SimpleMQProducer
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.aliyun.openservices.ons.api.impl.rocketmq.ONSUtil (file:/C:/Users/Administrator/.m2/repository/com/aliyun/openservices/ons-client/1.8.4.Final/ons-client-1.8.4.Final.jar) to field java.util.Properties.defaults
WARNING: Please consider reporting this to the maintainers of com.aliyun.openservices.ons.api.impl.rocketmq.ONSUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
log4j:WARN No appenders could be found for logger (com.aliyun.openservices.shade.io.netty.util.internal.logging.InternalLoggerFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Producer Started
Sun Mar 29 23:31:14 CST 2020 Send mq message success! Topic is:uat_topic msgId is: C0A8058537303FEE733D953E18470000
·
·
·
··
·
·
·
·
···
·
3.返回顶部 |
4.返回顶部 |
5.返回顶部 |
6.返回顶部 |
作者:ylbtech 出处:http://ylbtech.cnblogs.com/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。 |