L.S.,
I'm afraid this is a bug that slipped into the 3.2.1 release. It should
be fixed in 3.2.2 (cfr.
https://issues.apache.org/activemq/browse/SM-1240) but unfortunately
there are no development SNAPSHOTs of that available on-line for the
moment. If you really want to try this basic example, you will have to
build ServiceMix locally yourself. ServiceMix 3.2.2 should be released
in few weeks.
Gert
standior wrote:
I am a newer for serviceMix.when I run the basic example, I got this error,
how to resolve it?
Shutting down ServiceMix JBI Container (ServiceMix) stopped
2008-05-20 13:06:53,765 [ix ShutdownHook] INFO JBIContainer
-
Deactivating component #SubscriptionManager#
2008-05-20 13:06:54,000 [pool-1-thread-3] ERROR JcaConsumerProcessor
-
Error while handling jms message
java.lang.NullPointerException
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue.enqueue(SedaQueue.j
ava:128)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.enqueuePacket(SedaFl
ow.java:182)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doSend(SedaFlow.java
:162)
at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.send(AbstractFlow.jav
a:123)
at
org.apache.servicemix.jbi.nmr.DefaultBroker.sendExchangePacket(Defaul
tBroker.java:283)
at
org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBICont
ainer.java:830)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(Delive
ryChannelImpl.java:395)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
veryChannelImpl.java:470)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.sendSync(Deli
veryChannelImpl.java:442)
at
org.apache.servicemix.common.EndpointDeliveryChannel.sendSync(Endpoin
tDeliveryChannel.java:95)
at
org.apache.servicemix.jms.jca.JcaConsumerProcessor.onMessage(JcaConsu
merProcessor.java:112)
at org.jencks.XAEndpoint.onMessage(XAEndpoint.java:129)
at
org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.onMe
ssage(MessageEndpointProxy.java:121)
at
org.apache.activemq.ra.MessageEndpointProxy.onMessage(MessageEndpoint
Proxy.java:61)
at org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:696)
at
org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:1
65)
at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.ja
va:290)
at
org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnab
le.java:32)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:675)
at java.lang.Thread.run(Thread.java:595)
2008-05-20 13:06:54,031 [pool-1-thread-3] INFO ServerSessionImpl:0
-
Endpoint failed to process message. Reason: java.lang.RuntimeException:
Endpoin
t after delivery notification failure
2008-05-20 13:06:56,765 [127.0.0.1:61616] WARN ActiveMQConnection
-
Async exception with no exception listener: java.io.EOFException
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:358)
at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.
java:267)
at
org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTranspo
rt.java:156)
at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:
136)
at java.lang.Thread.run(Thread.java:595)
2008-05-20 13:06:56,781 [MQ ShutdownHook] INFO TransportConnector
-
Connector tcp://localhost:61616 Stopped