ActiveMQ異常排查: peer did not send his wire format.
後臺報出如下錯誤:
javax.jms.JMSException: Wire format negociation timeout: peer did not send his wire format. at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:58) at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1185) at org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1263) at org.apache.activemq.ActiveMQConnection.start(ActiveMQConnection.java:449)
有三種可能情況:
1. You're connecting to the port not used by ActiveMQ TCP transport
Make sure to check that you're connecting to the appropriate host:port
2. You're using log4j JMS appender and doesn't filter out ActiveMQ log messages
Be sure to read How do I use log4j JMS appender with ActiveMQ and more importantly to never send ActiveMQ log messages to JMS appender
3. Your broker is probably under heavy load (or network connection is unreliable), so connection setup cannot be completed in a reasonable time
If you experience sporadic exceptions like this, the best solution is to use failover transport, so that your clients can try connecting again if the first attempt fails. If you're getting these kind of exceptions more frequently you can also try extending
wire format negotiation period (default 10 sec). You can do that by using wireFormat.maxInactivityDurationInitalDelay property on the connection URL in your client. For example
tcp://localhost:61616?wireFormat.maxInactivityDurationInitalDelay=30000 will use 30 sec timeout.
相關推薦
ActiveMQ異常排查: peer did not send his wire format.
後臺報出如下錯誤: javax.jms.JMSException: Wire format negociation timeout: peer did not send his wire format. at org.apache.activemq.util.JMSExce
java.lang.IllegalStateException: onMeasure() did not set the measured dimension by calling setMeasur
今天自定義Recycleview時,呼叫 adapter.notifyDataSetChanged(); 報異常,異常資訊如下: java.lang.IllegalStateException: View with id 2131230785: com.example.sma
Java異常 - Dubbo RemotingException: message can not send, because channel is closed
問題描述 Dubbo應用啟動成功 在Dubbo Admin可以看到服務狀態為正常(存在提供者和消費者)。 Zookeeper所在伺服器能ping通Dubbo應用所在伺服器。 在這種情況下,消費者請求服務時一直提示message can not send,
連線資料庫Oracle12c異常解決:Connections could not be acquired from the underlying database
Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database! 之前本地使用的oracle11g,結果伺服器上來了一個Oracle12c,瞬間就連不上了,害得我花費
mvn 打jar包異常:The packaging for this project did not assign a file to the build artifact -> [Help 1]
idea maven打包 install 報錯,資訊如下: 這是說找不到外掛的包,其實不是找不到這個打包外掛,而是自己的專案沒有從maven倉庫里加載這個包到專案裡, idea中打包maven專案,有兩個install;其實本人很菜鳥,一直就用Plugins下的ins
Spring Boot使用thymeleaf模板時報異常:template might not exist or might not be accessible by any of the configured Template Resolvers
logs pla 開頭 spring 方法 temp ring mode acc 錯誤如下: template might not exist or might not be accessible by any of the configured Template R
數據庫異常整理:org.hibernate.QueryException: could not resolve property: “mStation”
blog use could not 小寫字母 www. 實例變量 特殊情況 lips 數據 最近用hibernate作數據庫查詢,結果遇到問題: org.hibernate.QueryException: could not resolve property: ‘mSta
git操作時提示:fatal: pathspec 'README' did not match any files 的處理辦法
簡單的 後綴 嚴重 大小寫 簡單 file 系統 如果 fatal 根據網上教程使用git,結果沒幾步就開始出問題。。。 就是個簡單的git add 看到提示的fatal,下意識的認為很嚴重,開始以為跟大小寫有關,結果試了下還是不行 加上文件的後綴名,搞定。 並且跟大小
一次SocketException:Connection reset 異常排查
端口 沒有 pipe eset 當前 發送 情況下 .net 指定端口 本次需求,並沒有修改邏輯,為什麽會出現這種情況呢?只是網絡關系,還是跟代碼有關呢。我有幾個疑問: 什麽情況下會產生Connection reset? 長連接中,向server發請求,是先發送數據的,如
java呼叫郵箱報錯解決:Client was not authenticated to send anonymous mail during MAIL FROM
郵件傳送報錯資訊 com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM 錯誤資訊:
【異常-java- java.lang.IllegalArgumentException: Parameter with that position [1] did not exist】
SQL引數化查詢報此錯。 StringBuilder sb = new Stringbuilder("select * from XXX c"); sql.append(" AND c.name LIKE ?"); params.add("%"+ classesDTO.getName()+"%
Selenium-異常:Element is not currently visible and so may not be interacted with的解決
2014年07月09日 11:37:15 leolu007 閱讀數:5629更多 個人分類: selenium自動化測試 Selenium-異常:Element is not currently visible and so may not be interacted with的解決 解
Android7.0異常:You can not keep you settings in the secure settings.(framework修改)
異常:You can not keep you settings in the secure settings.解決辦法(framework修改) 前言 Android7.0版本,對許可權的管理更加的嚴格,許多Android6.0banb版本上的app都需要對7.0進
Redis一個異常的解決辦法,異常描述:Could not get a resource from the pool
異常描述: redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool at redis.clients.util.Pool.getRes
redis異常解決:attempted to load session[xxx] which has been created but not yet serialized.
使用redis做了tomcat的session共享,又一次訪問session時出現下面的異常: java.lang.IllegalStateException: Race condition encountered: attempted to load session[23DF9FE58DAF
redis異常解決:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist
專案中用到redis做快取伺服器,近日出現這個異常: redis.clients.jedis.exceptions.JedisDataException: MISCONF Redis is configured to save RDB snapshots, but is currently no
maven install報錯:The packaging for this project did not assign a file to the build artifact
IDEA進行mvn install時,遇到以下錯誤 The packaging for this project did not assign a file to the build artif
異常:getHibernateFlushMode is not valid without active transaction; nested exception is org.hibernate.HibernateException: getHibernateFlushMode is not v
場景: 在使用spring整合hibernate呼叫的HibernateTemplate時報錯解決: 在spring配置檔案中新增事務的配置 <bean id="hibernateTransactionManager" class="org.springframework.orm.
Git異常:fatal: could not create work tree dir 'XXX': No such file or directory
—————————————————————————————————————————————————————— 很多人問,明明有git gui 和 github可以直接圖形化操作的嗎?全部指令幹啥??? 呃(⊙o⊙)…呃(⊙o⊙)… ===> 裝逼~ O(∩_∩)O~,開玩笑的,其實就是為了通用
警告:[SetPropertiesRule]Setting property 'source' to xxx did not find a matching property.的消除
Tomcat Publishing Options Two new options which affect publishing are now available in the Server Options section of the Tomcat server editor. The Tomcat s