activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: hung connecting to broker
Date Thu, 01 Jun 2006 14:29:06 GMT
Is there any errors occurring on the broker?

BTW please read this page...
http://incubator.apache.org/activemq/spring-support.html

in particular you should always use the PooledConnectionFactory if you
want to use Spring's JmsTemplate - unless you are using JCA

On 6/1/06, Jamie McCrindle <jamiemccrindle@gmail.com> wrote:
> hi,
>
> every now and again my client hangs while connecting to the broker.
> I'm using the incubating-activemq 4.0 release on windows XP,
> connecting via tcp://localhost:61616. Stacktrace is as follows:
>
> "main" prio=6 tid=0x00037b38 nid=0x875c in Object.wait() [0x0007f000..0x0007fc40
> ]
>         at java.lang.Object.wait(Native Method)
>         - waiting on <0x03274110> (a edu.emory.mathcs.backport.java.util.concurr
> ent.CountDownLatch)
>         at java.lang.Object.wait(Object.java:474)
>         at edu.emory.mathcs.backport.java.util.concurrent.CountDownLatch.await(C
> ountDownLatch.java:179)
>         - locked <0x03274110> (a edu.emory.mathcs.backport.java.util.concurrent.
> CountDownLatch)
>         at org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatN
> egotiator.java:73)
>         at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.ja
> va:44)
>         - locked <0x03276a30> (a java.lang.Object)
>         at org.apache.activemq.transport.ResponseCorrelator.asyncRequest(Respons
> eCorrelator.java:68)
>         at org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorr
> elator.java:73)
>         at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnect
> ion.java:1131)
>         at org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(Activ
> eMQConnection.java:1219)
>         - locked <0x02b60208> (a org.apache.activemq.ActiveMQConnection)
>         at org.apache.activemq.ActiveMQConnection.start(ActiveMQConnection.java:
> 435)
>         at com.vnocore.empower.jms.JmsTemplate.afterPropertiesSet(JmsTemplate.ja
> va:217)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBean
> Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBean
> Factory.createBean(AbstractAutowireCapableBeanFactory.java:363)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
> (AbstractBeanFactory.java:226)
>         - locked <0x030ebdf0> (a java.util.HashMap)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
> (AbstractBeanFactory.java:147)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.
> preInstantiateSingletons(DefaultListableBeanFactory.java:275)
>         at org.springframework.context.support.AbstractApplicationContext.refres
> h(AbstractApplicationContext.java:320)
>
> regards,
> jamie.
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message