camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: jms endpoint error : java.io.IOException: Server TransportAcceptListener is null
Date Wed, 22 Oct 2008 16:09:21 GMT
Whats the configuration of your jms component?

2008/10/22 cmoulliard <cmoulliard@gmail.com>:
>
> Hi,
>
> I have a strange error reported by the following route in Camel 1.5 snapshot
> ?
>
> Here is the route :
>
>                <route>
>                        <from
> uri="timer:generateStockPrice?fixedRate=true&amp;delay=0&amp;period=600" />
>                        <to uri="bean:stockPriceGenerator" />
>                        <marshal ref="myXstreamDataFormat" />
>                        <splitter>
>                                <xpath>//price</xpath>
>                                <setHeader headerName="stock">
>                                        <xpath>//price/@stock</xpath>
>                                </setHeader>
>                                <recipientList>
>                                        <simple>jms:topic:STOCK.${in.header.stock}</simple>
>                                </recipientList>
>                        </splitter>
>                </route>
>
> Question : I don't know if I use the correct syntax because in my case the
> bean generator will only generate one xml stock price at a time ?
>
> Error reported :
>
> 22-oct.-2008 17:17:50 org.apache.camel.processor.Logger log
> GRAVE: Failed delivery for exchangeId:
> ID-dell-charles/4539-1224688567875/0-19. On delivery attempt: 2 caught:
> org.springframework.jms.UncategorizedJmsException: Uncategorized exception
> occured during JMS processing; nested exception is javax.jms.JMSException:
> Could not create Transport. Reason: java.io.IOException: Server
> TransportAcceptListener is null.; nested exception is java.io.IOException:
> Server TransportAcceptListener is null.
> org.springframework.jms.UncategorizedJmsException: Uncategorized exception
> occured during JMS processing; nested exception is javax.jms.JMSException:
> Could not create Transport. Reason: java.io.IOException: Server
> TransportAcceptListener is null.; nested exception is java.io.IOException:
> Server TransportAcceptListener is null.
>        at
> org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:292)
>        at
> org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:168)
>        at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:474)
>        at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:548)
>        at org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:227)
>        at
> org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:190)
>        at
> org.apache.camel.processor.RecipientList.sendToRecipientList(RecipientList.java:75)
>        at org.apache.camel.processor.RecipientList.process(RecipientList.java:59)
>        at
> org.apache.camel.processor.DelegateProcessor.processNext(DelegateProcessor.java:50)
>        at
> org.apache.camel.processor.DelegateProcessor.proceed(DelegateProcessor.java:79)
>        at
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:84)
>        at
> org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
>        at org.apache.camel.processor.Pipeline.process(Pipeline.java:106)
>        at org.apache.camel.processor.Pipeline.process(Pipeline.java:90)
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
>        at org.apache.camel.processor.Pipeline.process(Pipeline.java:57)
>        at
> org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:190)
>        at
> org.apache.camel.processor.DelegateProcessor.processNext(DelegateProcessor.java:50)
>        at
> org.apache.camel.processor.DelegateProcessor.proceed(DelegateProcessor.java:79)
>        at
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:84)
>        at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:75)
>        at
> org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:172)
>        at
> org.apache.camel.processor.DeadLetterChannel.process(DeadLetterChannel.java:93)
>        at org.apache.camel.processor.Pipeline.process(Pipeline.java:106)
>        at org.apache.camel.processor.Pipeline.process(Pipeline.java:90)
>        at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:63)
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
>        at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:50)
>        at
> org.apache.camel.processor.DelegateProcessor.processNext(DelegateProcessor.java:50)
>        at
> org.apache.camel.processor.DelegateProcessor.proceed(DelegateProcessor.java:79)
>        at
> org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:84)
>        at
> org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:43)
>        at
> org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:47)
>        at
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:41)
>        at
> org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:66)
>        at
> org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:98)
>        at
> org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:49)
>        at java.util.TimerThread.mainLoop(Unknown Source)
>        at java.util.TimerThread.run(Unknown Source)
> Caused by: javax.jms.JMSException: Could not create Transport. Reason:
> java.io.IOException: Server TransportAcceptListener is null.
>        at
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
>        at
> org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:237)
>        at
> org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:250)
>        at
> org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:222)
>        at
> org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:170)
>        at
> org.apache.activemq.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:125)
>        at
> org.apache.activemq.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:110)
>        at
> org.apache.activemq.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:86)
>        at
> org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:184)
>        at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:461)
>        ... 36 more
> Caused by: java.io.IOException: Server TransportAcceptListener is null.
>        at
> org.apache.activemq.transport.vm.VMTransportServer.connect(VMTransportServer.java:72)
>        at
> org.apache.activemq.transport.vm.VMTransportFactory.doCompositeConnect(VMTransportFactory.java:140)
>        at
> org.apache.activemq.transport.vm.VMTransportFactory.doConnect(VMTransportFactory.java:53)
>        at
> org.apache.activemq.transport.TransportFactory.doConnect(TransportFactory.java:47)
>        at
> org.apache.activemq.transport.TransportFactory.connect(TransportFactory.java:76)
>        at
> org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:235)
>        ... 44 more
>
> KR,
>
> Charles Moulliard
>
> -----
> Enterprise Architect
>
> Xpectis
> 12, route d'Esch
> L-1470 Luxembourg
>
> Phone +352 25 10 70 470
> Mobile +352 621 45 36 22
>
> e-mail : cmoulliard@xpectis.com
> web site :  www.xpectis.com www.xpectis.com
> My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/
> --
> View this message in context: http://www.nabble.com/jms-endpoint-error-%3A-java.io.IOException%3A-Server-TransportAcceptListener-is-null-tp20113200s22882p20113200.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Mime
View raw message