[Users] PEtALS Platform in distributed environment

apinske petals-use at ebmwebsourcing.com
Wed Mar 16 10:34:46 CET 2011


Hey,
i have the folowing setup: 2 PEtALS Platform containers in a simple topology, both in the same subdomain.
I depolyed a szenario, where one message exchange spread across those two instances. I have everything at standard config.
I get the folowing stack trace on the machine that is trying to send the message. The discovery of the remotely deployed endpoints words great.


Code:

INFO 2009-08-19 11:32:02,792 [Petals.Container.Components.petals-se-xslt]
    Put the result as Source.
INFO 2009-08-19 11:32:02,808 [Petals.Container.Components.petals-se-eip]
    RoutingSlip forward exchange to : itf={http://cenit.de/demo}apnSenderInterface / srv={http://cenit.de/demo}apnSender / ep=apnSenderEndpoint
WARNING 2009-08-19 11:32:04,418 [Petals.Transporter.Dispatcher]
    The synchronous send with the protocol delegated-service-dream threw a org.ow2.petals.transport.TransportException
org.ow2.petals.transport.TransportException: Error in the sending of the message 
 nullwith dream transporter
	at org.ow2.petals.transport.platform.dream.DreamWrapper.send(DreamWrapper.java:231)
	at org.objectweb.fractal.julia.generated.Ca5a756a1_0.send(INTERCEPTOR[TransportProtocol])
	at org.objectweb.fractal.julia.generated.Cd0cb8bdf_0.send(INTERCEPTOR[TransportProtocol])
	at org.objectweb.fractal.julia.generated.C35863b76_0.send(INTERFACE[TransportProtocol])
	at org.ow2.petals.transport.platform.DispatcherImpl.sendSyncViaProtocol(DispatcherImpl.java:805)
	at org.ow2.petals.transport.platform.DispatcherImpl.sendSync(DispatcherImpl.java:327)
	at org.objectweb.fractal.julia.generated.C7ae51d59_0.sendSync(INTERCEPTOR[Transporter])
	at org.objectweb.fractal.julia.generated.C56069f97_0.sendSync(INTERCEPTOR[Transporter])
	at org.objectweb.fractal.julia.generated.C52af992e_0.sendSync(INTERFACE[Transporter])
	at org.ow2.petals.jbi.messaging.routing.module.RouterSenderModule.sendToProvider(RouterSenderModule.java:302)
	at org.ow2.petals.jbi.messaging.routing.module.RouterSenderModule.sendSync(RouterSenderModule.java:127)
	at org.ow2.petals.jbi.messaging.routing.GlobalRouterModule.sendSync(GlobalRouterModule.java:220)
	at org.ow2.petals.jbi.messaging.routing.RouterServiceImpl.sendSync(RouterServiceImpl.java:232)
	at org.objectweb.fractal.julia.generated.C22d26e5e_0.sendSync(INTERCEPTOR[Router])
	at org.objectweb.fractal.julia.generated.C7e7e12d3_0.sendSync(INTERFACE[Router])
	at org.ow2.petals.monitoring.router.RouterMonitorImpl.sendSync(RouterMonitorImpl.java:172)
	at org.objectweb.fractal.julia.generated.C22d26e5e_0.sendSync(INTERCEPTOR[Router])
	at org.objectweb.fractal.julia.generated.Caa22dd7c_0.sendSync(INTERCEPTOR[Router])
	at org.objectweb.fractal.julia.generated.C7e7e12d3_0.sendSync(INTERFACE[Router])
	at org.ow2.petals.jbi.messaging.exchange.DeliveryChannelImpl.sendExchange(DeliveryChannelImpl.java:332)
	at org.ow2.petals.jbi.messaging.exchange.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:260)
	at org.ow2.petals.component.framework.listener.AbstractListener.sendSync(AbstractListener.java:328)
	at org.ow2.petals.component.framework.listener.AbstractListener.sendSync(AbstractListener.java:365)
	at org.ow2.petals.se.eip.patterns.RoutingSlip.process(RoutingSlip.java:87)
	at org.ow2.petals.se.eip.patterns.AbstractPattern.processPattern(AbstractPattern.java:74)
	at org.ow2.petals.se.eip.listener.JBIListener.process(JBIListener.java:72)
	at org.ow2.petals.se.eip.listener.JBIListener.onJBIMessage(JBIListener.java:55)
	at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.processInOnlyAsProvider(MessageExchangeProcessor.java:471)
	at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.processAsProvider(MessageExchangeProcessor.java:436)
	at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.process(MessageExchangeProcessor.java:234)
	at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.run(MessageExchangeProcessor.java:151)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: org.objectweb.dream.IOPushException
	at org.objectweb.dream.protocol.messagePassing.overChannel.SessionManager.createAndBindNewSession(SessionManager.java:473)
	at org.objectweb.dream.protocol.messagePassing.overChannel.SessionManager.outgoingPush(SessionManager.java:218)
	at org.objectweb.dream.channel.ChannelOutImpl.push(ChannelOutImpl.java:113)
	at org.objectweb.fractal.julia.generated.C10e5d317_0.push(INTERCEPTOR[Push])
	at org.objectweb.fractal.julia.generated.C939b2c85_0.push(INTERCEPTOR[Push])
	at org.objectweb.fractal.julia.generated.C939b2c85_0.push(INTERCEPTOR[Push])
	at org.objectweb.fractal.julia.generated.C2315b89c_0.push(INTERFACE[Push])
	at org.objectweb.dream.router.AbstractRouterImpl.push(AbstractRouterImpl.java:139)
	at org.objectweb.fractal.julia.generated.C10e5d317_0.push(INTERCEPTOR[Push])
	at org.objectweb.fractal.julia.generated.C2315b89c_0.push(INTERFACE[Push])
	at org.ow2.petals.transport.platform.dream.DreamWrapper.send(DreamWrapper.java:229)
	... 33 more
Caused by: org.objectweb.dream.protocol.BindException: Unable to open connection to specified export :  exportId={localhost:7801}
	at org.objectweb.dream.protocol.channel.TCPIPProtocolImpl.bind(TCPIPProtocolImpl.java:333)
	at org.objectweb.fractal.julia.generated.C3a3178da_0.bind(INTERCEPTOR[TCPIPProtocol])
	at org.objectweb.fractal.julia.generated.Cd1f2a6bc_0.bind(INTERFACE[ChannelProtocol])
	at org.objectweb.dream.protocol.messagePassing.overChannel.SessionManager.bindSession(SessionManager.java:543)
	at org.objectweb.dream.protocol.messagePassing.overChannel.SessionManager.createAndBindNewSession(SessionManager.java:471)
	... 43 more
Caused by: java.net.SocketException: Socket operation on nonsocket: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at org.objectweb.dream.protocol.channel.TCPIPProtocolImpl.createConnection(TCPIPProtocolImpl.java:751)
	at org.objectweb.dream.protocol.channel.TCPIPProtocolImpl.bind(TCPIPProtocolImpl.java:331)
	... 47 more
SEVERE 2009-08-19 11:32:04,449 [Petals.Container.Components.petals-se-eip]
    javax.jbi.messaging.MessagingException: org.ow2.petals.jbi.messaging.routing.RoutingException: org.ow2.petals.transport.platform.MultiTransportException: Failed to send synchronously the exchange: petals:uid:52C1710492288C101B1795022801361623. All transporters attempts failed
javax.jbi.messaging.MessagingException: javax.jbi.messaging.MessagingException: org.ow2.petals.jbi.messaging.routing.RoutingException: org.ow2.petals.transport.platform.MultiTransportException: Failed to send synchronously the exchange: petals:uid:52C1710492288C101B1795022801361623. All transporters attempts failed
	at org.ow2.petals.component.framework.listener.AbstractListener.sendSync(AbstractListener.java:338)
	at org.ow2.petals.component.framework.listener.AbstractListener.sendSync(AbstractListener.java:365)
	at org.ow2.petals.se.eip.patterns.RoutingSlip.process(RoutingSlip.java:87)
	at org.ow2.petals.se.eip.patterns.AbstractPattern.processPattern(AbstractPattern.java:74)
	at org.ow2.petals.se.eip.listener.JBIListener.process(JBIListener.java:72)
	at org.ow2.petals.se.eip.listener.JBIListener.onJBIMessage(JBIListener.java:55)
	at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.processInOnlyAsProvider(MessageExchangeProcessor.java:471)
	at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.processAsProvider(MessageExchangeProcessor.java:436)
	at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.process(MessageExchangeProcessor.java:234)
	at org.ow2.petals.component.framework.listener.MessageExchangeProcessor.run(MessageExchangeProcessor.java:151)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: javax.jbi.messaging.MessagingException: org.ow2.petals.jbi.messaging.routing.RoutingException: org.ow2.petals.transport.platform.MultiTransportException: Failed to send synchronously the exchange: petals:uid:52C1710492288C101B1795022801361623. All transporters attempts failed
	at org.ow2.petals.jbi.messaging.exchange.DeliveryChannelImpl.sendExchange(DeliveryChannelImpl.java:343)
	at org.ow2.petals.jbi.messaging.exchange.DeliveryChannelImpl.sendSync(DeliveryChannelImpl.java:260)
	at org.ow2.petals.component.framework.listener.AbstractListener.sendSync(AbstractListener.java:328)
	... 12 more
Caused by: org.ow2.petals.jbi.messaging.routing.RoutingException: org.ow2.petals.transport.platform.MultiTransportException: Failed to send synchronously the exchange: petals:uid:52C1710492288C101B1795022801361623. All transporters attempts failed
	at org.ow2.petals.jbi.messaging.routing.module.RouterSenderModule.sendToProvider(RouterSenderModule.java:317)
	at org.ow2.petals.jbi.messaging.routing.module.RouterSenderModule.sendSync(RouterSenderModule.java:127)
	at org.ow2.petals.jbi.messaging.routing.GlobalRouterModule.sendSync(GlobalRouterModule.java:220)
	at org.ow2.petals.jbi.messaging.routing.RouterServiceImpl.sendSync(RouterServiceImpl.java:232)
	at org.objectweb.fractal.julia.generated.C22d26e5e_0.sendSync(INTERCEPTOR[Router])
	at org.objectweb.fractal.julia.generated.C7e7e12d3_0.sendSync(INTERFACE[Router])
	at org.ow2.petals.monitoring.router.RouterMonitorImpl.sendSync(RouterMonitorImpl.java:172)
	at org.objectweb.fractal.julia.generated.C22d26e5e_0.sendSync(INTERCEPTOR[Router])
	at org.objectweb.fractal.julia.generated.Caa22dd7c_0.sendSync(INTERCEPTOR[Router])
	at org.objectweb.fractal.julia.generated.C7e7e12d3_0.sendSync(INTERFACE[Router])
	at org.ow2.petals.jbi.messaging.exchange.DeliveryChannelImpl.sendExchange(DeliveryChannelImpl.java:332)
	... 14 more
Caused by: org.ow2.petals.transport.platform.MultiTransportException: Failed to send synchronously the exchange: petals:uid:52C1710492288C101B1795022801361623. All transporters attempts failed
	at org.ow2.petals.transport.platform.DispatcherImpl.sendSync(DispatcherImpl.java:333)
	at org.objectweb.fractal.julia.generated.C7ae51d59_0.sendSync(INTERCEPTOR[Transporter])
	at org.objectweb.fractal.julia.generated.C56069f97_0.sendSync(INTERCEPTOR[Transporter])
	at org.objectweb.fractal.julia.generated.C52af992e_0.sendSync(INTERFACE[Transporter])
	at org.ow2.petals.jbi.messaging.routing.module.RouterSenderModule.sendToProvider(RouterSenderModule.java:302)
	... 24 more




Any idea? The exchange works great when deployed into a single instance, i.e. without the remote transport necessary.

Would appreciate any help. Thx.




-------------------- m2f --------------------

Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=872#872

-------------------- m2f --------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/3e570ed4/attachment.htm>


More information about the Users mailing list