[ 
https://issues.apache.org/activemq/browse/AMQ-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Strachan resolved AMQ-1278.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.0

Its most probably caused by this, which should be fixed in 5.0.0
http://activemq.apache.org/my-producer-blocks.html

Incidentally, this is a kinda old version of ActiveMQ; any chance you could 
retest with a newer version (say 4.1.1)?

BTW blocking on operations on the client usually mean the broker is 
busy/waiting. If you see this again, could you provide a stack trace of the 
broker.




> createTemporaryQueue hangs
> --------------------------
>
>                 Key: AMQ-1278
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1278
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client
>    Affects Versions: 4.0 RC2
>         Environment: Solaris
>            Reporter: Roberto Navarro
>             Fix For: 5.0.0
>
>   Original Estimate: 2 days
>  Remaining Estimate: 2 days
>
> When we attempt to create a temporary queue, the connection hangs:
> "http-8080-Processor1" daemon prio=10 tid=0x00127650 nid=0xd in Object.wait() 
> [0x340fe000..0x340ffc28]
>         at java.lang.Object.wait(Native Method)
>         at java.lang.Object.wait(Unknown Source)
>         at 
> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.waitFor(FutureTask.java:267)
>         at 
> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:117)
>         - locked <0x4cfc65c0> (a org.apache.activemq.transport.FutureResponse)
>         at 
> org.apache.activemq.transport.FutureResponse.getResult(FutureResponse.java:44)
>         - locked <0x4cfc65c0> (a org.apache.activemq.transport.FutureResponse)
>         at 
> org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:69)
>         at 
> org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1108)
>         at 
> org.apache.activemq.ActiveMQConnection.createTempDestination(ActiveMQConnection.java:1453)
>         at 
> org.apache.activemq.ActiveMQSession.createTemporaryQueue(ActiveMQSession.java:1103)
>         at es.tid.geremias.planb.QueryTask.getTask(QueryTask.java:198)
>         at es.tid.geremias.planb.QueryTask.doGet(QueryTask.java:157)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
>         at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at 
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
>         at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
>         at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>         at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>         at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
>         at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>         at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>         at 
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>         at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>         at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>         at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>         at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>         at java.lang.Thread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to