activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Green <james.mk.gr...@gmail.com>
Subject Big problem. Transport failed: Async Exception Handler
Date Tue, 24 May 2011 09:06:14 GMT
One of our staff just reported that a queue on our "hub" machine was not
being read any more.

Checking the logs of the PHP app we're getting:

exception 'StompException' with message 'Unexpected EOF while reading from
socket'

Inside AMQ (5.5.0/Linux and configured with ACTIVEMQ_OPTS_MEMORY="-Xms512M
-Xmx512M") all I get is:

2011-05-24 09:44:24,918 | INFO  | Transport failed: java.io.IOException:
java.io.EOFException |
org.apache.activemq.broker.TransportConnection.Transport | Async Exception
Handler

Nothing else.

I have now restarted AMQ but still the problem continues. The queue
concerned, which was over 30k messages now stands around 29k (non-persistent
messages have gone). Now the first entry in the queue I cannot get to from
the web console:

2011-05-24 09:59:46,121 | WARN  | /admin/message.jsp |
org.eclipse.jetty.util.log | qtp8239415-2112
javax.el.ELException: javax.jms.JMSException: java.io.EOFException
        at javax.el.BeanELResolver.getValue(BeanELResolver.java:298)
        at
javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
        at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
        at
com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
        at
org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:1001)
        at
org.apache.jsp.message_jsp._jspx_meth_c_out_20(org.apache.jsp.message_jsp:961)
        at
org.apache.jsp.message_jsp._jspx_meth_c_otherwise_0(org.apache.jsp.message_jsp:448)
        at
org.apache.jsp.message_jsp._jspx_meth_c_choose_0(org.apache.jsp.message_jsp:178)
        at
org.apache.jsp.message_jsp._jspService(org.apache.jsp.message_jsp:102)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:527)
        at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1216)
        at
org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
        at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
        at
org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:45)
        at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
        at
org.apache.activemq.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
        at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
        at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
        at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
        at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
        at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:421)
        at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
        at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:493)
        at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
        at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:930)
        at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:358)
        at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
        at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:866)
        at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
        at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
        at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:456)
        at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
        at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
        at org.eclipse.jetty.server.Server.handle(Server.java:351)
        at
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:594)
        at
org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1042)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:549)
        at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:211)
        at
org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:424)
        at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:506)
        at
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
        at java.lang.Thread.run(Thread.java:679)
Caused by: javax.jms.JMSException: java.io.EOFException
        at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62)
        at
org.apache.activemq.command.ActiveMQTextMessage.getText(ActiveMQTextMessage.java:92)
        at
org.apache.activemq.web.MessageQuery.getBody(MessageQuery.java:78)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at javax.el.BeanELResolver.getValue(BeanELResolver.java:293)
        ... 48 more
Caused by: java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:392)
        at
org.apache.activemq.util.MarshallingSupport.readUTF8(MarshallingSupport.java:318)
        at
org.apache.activemq.command.ActiveMQTextMessage.getText(ActiveMQTextMessage.java:86)
        ... 54 more

Other messages I can browse to. I cannot even delete this 1st message
listed. I have now had to purge the queue, obviously losing those 29k
messages.

Is this already listed as a bug?

Thanks,

James

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message