have syncrhronized and problem seems to have gone away.
On 3/26/06, Jamie McCrindle <[EMAIL PROTECTED]> wrote: > hiya, > > i'm not quite sure what's causing it but i'm busy testing my > components in a cluster and they seem to be hanging while trying to > set up the activemq connection: > > [BpmScript] INFO [main] JMSFlow.init(206) | bpmscript-web: Initializing jms > flow > > i've stripped down my servicemix.xml down to the minimum and i start > the broker externally. i'm using the tcp://localhost:61616 broker url > instead of multicast. > > <?xml version="1.0" encoding="UTF-8"?> > <beans xmlns="http://xbean.org/schemas/spring/1.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:sm="http://servicemix.apache.org/config/1.0" > xmlns:fd="http://bpmscript.org/jbi" > xmlns:sc="http://servicemix.org/components" > xmlns:spring="http://xbean.org/schemas/spring/1.0" > xsi:schemaLocation="http://xbean.org/schemas/spring/1.0 > ../../conf/spring-beans.xsd > http://servicemix.apache.org/config/1.0 > ../../conf/servicemix.xsd"> > > <sm:container > spring:id="jbi" > name="bpmscript-jbi" > rootDir="../../../target/servicemix/wdir" > useMBeanServer="true" > createMBeanServer="true" > installationDirPath="../../../target/servicemix/install" > deploymentDirPath="../../../target/servicemix/deploy" > monitorInstallationDirectory="true" > dumpStats="true" > flowName="jms?jmsURL=tcp://localhost:61616" > statsInterval="10"> > <sm:activationSpecs/> > </sm:container> > > </beans> > > i believe i'm running on the latest snapshots (of both servicemix and > activemq). i'm developing on a mac. if i dump a stack trace, this > looks like where it's hanging: > > "main" prio=5 tid=0x00501960 nid=0x1804600 in Object.wait() > [0xf07fe000..0xf08002e0] > at java.lang.Object.wait(Native Method) > - waiting on <0x26ed1b10> (a > edu.emory.mathcs.backport.java.util.concurrent.CountDownLatch) > at java.lang.Object.wait(Object.java:474) > at > edu.emory.mathcs.backport.java.util.concurrent.CountDownLatch.await(CountDownLatch.java:173) > - locked <0x26ed1b10> (a > edu.emory.mathcs.backport.java.util.concurrent.CountDownLatch) > at > org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:61) > at > org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:44) > - locked <0x26ec91e0> (a java.lang.Object) > at > org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCorrelator.java:62) > at > org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:67) > at > org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1067) > at > org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1118) > at > org.apache.activemq.ActiveMQConnection.setClientID(ActiveMQConnection.java:334) > at > org.apache.servicemix.jbi.nmr.flow.jms.JMSFlow.init(JMSFlow.java:232) > at org.apache.servicemix.jbi.nmr.Broker.init(Broker.java:133) > at > org.apache.servicemix.jbi.container.JBIContainer.init(JBIContainer.java:494) > at > org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:54) > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059) >
