You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Charles Souillard <Ch...@ext.bull.net> on 2006/09/26 14:18:48 UTC

sm hangs

Hi all,

I have a factorial service example which was running well with a nightly 
build from last thursday (2006/09/21) and it is not working at all since 
yesterday (nightly build 2006/09/25).
Between these two dates, I have seen that a thread pool has been added.
Is it possible that there is a problem with that ?
My example is as follow :

client -> sm-http -> BPEL SE -> BPEL Engine -> BPEL-SE.... -> sm-http -> 
client

You can find hereafter the traces I get. In fact, in a normal execution, 
the following calls are performed :

DeliveryChannelImpl.processInBound : Processing inbound exchange
DeliveryChannelImpl.processInBound : Received
DeliveryChannelImpl.sendSync : SendSync 
ID:frec445363-48671-1159271817545-7:0 in DeliveryChannel{Orchestra}
DeliveryChannelImpl.doSend : Sent:
DefaultBroker.resolveAddress : Routing exchange
AbstractFlow.send : Called Flow send
DeliveryChannelImpl.waitForExchange : Waiting for exchange
SedaQueue$1.run : 
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@12cc460 dequeued 
exchange

When the problem occurs, it seems that the last message never appears as 
if the exchange was never dequeued..

Thanks for your help
Regards,
Charles

2006-09-26 14:08:15,379 : DeliveryChannelImpl.send : Send 
ID:frec445363-48671-1159271817545-3:0 in DeliveryChannel{servicemix-http}
2006-09-26 14:08:15,431 : DeliveryChannelImpl.doSend : Sent: InOut[
  id: ID:frec445363-48671-1159271817545-3:0
  status: Active
  role: consumer
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><tns:process 
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:tns="urn:factorialService:bpel:bsoap"><value>10.0</value></tns:process>
]
2006-09-26 14:08:15,443 : DefaultBroker.resolveAddress : Routing 
exchange InOut[
  id: ID:frec445363-48671-1159271817545-3:0
  status: Active
  role: provider
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><tns:process 
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:tns="urn:factorialService:bpel:bsoap"><value>10.0</value></tns:process>
] to: 
ServiceEndpoint[service={urn:factorialService:bpel:bsoap}FactorialServiceServiceBP,endpoint=FactorialServicePT]
2006-09-26 14:08:15,444 : AbstractFlow.send : Called Flow send
2006-09-26 14:08:15,469 : SedaQueue$1.run : 
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1ae735e dequeued 
exchange: InOut[
  id: ID:frec445363-48671-1159271817545-3:0
  status: Active
  role: provider
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><tns:process 
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:tns="urn:factorialService:bpel:bsoap"><value>10.0</value></tns:process>
]
2006-09-26 14:08:15,471 : DeliveryChannelImpl.processInBound : 
Processing inbound exchange: InOut[
  id: ID:frec445363-48671-1159271817545-3:0
  status: Active
  role: provider
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><tns:process 
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:tns="urn:factorialService:bpel:bsoap"><value>10.0</value></tns:process>
]
2006-09-26 14:08:15,477 : DeliveryChannelImpl.processInBound : Received: 
InOut[
  id: ID:frec445363-48671-1159271817545-3:0
  status: Active
  role: provider
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><tns:process 
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:tns="urn:factorialService:bpel:bsoap"><value>10.0</value></tns:process>
]
OrchestraExchangeProcessor.process, exchange = InOut[
  id: ID:frec445363-48671-1159271817545-3:0
  status: Active
  role: provider
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><tns:process 
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:tns="urn:factorialService:bpel:bsoap"><value>10.0</value></tns:process>
]
callOrchestra, endpointURL = 
http://localhost:9000/axis/services/FactorialServicePT
callOrchestra, conFactory = 
org.apache.axis.soap.SOAPConnectionFactoryImpl@1504155
callOrchestra, connection = org.apache.axis.soap.SOAPConnectionImpl@205c98
callOrchestra, messFactory = org.apache.axis.soap.MessageFactoryImpl@293b29
callOrchestra, message = org.apache.axis.Message@eb1c86
callOrchestra, in = [#document: null]
callOrchestra, in = <?xml version="1.0" encoding="UTF-8"?><tns:process 
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:tns="urn:factorialService:bpel:bsoap"><value>10.0</value></tns:process>
callOrchestra, body = <soapenv:Body 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><tns:process 
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:tns="urn:factorialService:bpel:bsoap"><value>10.0</value></tns:process></soapenv:Body>
2006-09-26 14:08:15,576 : FileProvider.check : Configuration file 
read-only so engine configuration changes will not be saved.
2006-09-26 14:08:17,940 : FileProvider.check : Configuration file 
read-only so engine configuration changes will not be saved.
2006-09-26 14:08:18,288 : FileProvider.check : Configuration file 
read-only so engine configuration changes will not be saved.
In the impl file, body received : [process: null]
In the impl file before sending the message
OrchestraMessageListener.onMessage, message = 
(org.objectweb.joram.client.jms.MapMessage@7ad4d5,messageID=ID:0.0.1026c16m1,destination=queue#0.0.1039,correlationId=null,deliveryMode=2,expiration=0,priority=4,redelivered=false,replyTo=null,timestamp=1159272498446,type=null), 
this = org.objectweb.orchestra.jbi.se.OrchestraMessageListener@2aee3f
before sendSync, me = InOut[
  id: ID:frec445363-48671-1159271817545-7:0
  status: Active
  role: consumer
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">9.0</value></process>
]
2006-09-26 14:08:18,509 : DeliveryChannelImpl.sendSync : SendSync 
ID:frec445363-48671-1159271817545-7:0 in DeliveryChannel{Orchestra}
2006-09-26 14:08:18,515 : DeliveryChannelImpl.doSend : Sent: InOut[
  id: ID:frec445363-48671-1159271817545-7:0
  status: Active
  role: consumer
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">9.0</value></process>
]
2006-09-26 14:08:18,518 : DefaultBroker.resolveAddress : Routing 
exchange InOut[
  id: ID:frec445363-48671-1159271817545-7:0
  status: Active
  role: provider
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">9.0</value></process>
] to: 
ServiceEndpoint[service={urn:factorialService:bpel:bsoap}FactorialServiceServiceBP,endpoint=FactorialServicePT]
2006-09-26 14:08:18,521 : AbstractFlow.send : Called Flow send
2006-09-26 14:08:18,523 : DeliveryChannelImpl.waitForExchange : Waiting 
for exchange ID:frec445363-48671-1159271817545-7:0 (c7e580) to be 
answered in DeliveryChannel{Orchestra} from sendSync
2006-09-26 14:08:18,527 : SedaQueue$1.run : 
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@12cc460 dequeued 
exchange: InOut[
  id: ID:frec445363-48671-1159271817545-7:0
  status: Active
  role: provider
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">9.0</value></process>
]
2006-09-26 14:08:18,531 : DeliveryChannelImpl.processInBound : 
Processing inbound exchange: InOut[
  id: ID:frec445363-48671-1159271817545-7:0
  status: Active
  role: provider
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">9.0</value></process>
]
2006-09-26 14:08:18,541 : DeliveryChannelImpl.processInBound : Received: 
InOut[
  id: ID:frec445363-48671-1159271817545-7:0
  status: Active
  role: provider
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">9.0</value></process>
]
OrchestraExchangeProcessor.process, exchange = InOut[
  id: ID:frec445363-48671-1159271817545-7:0
  status: Active
  role: provider
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">9.0</value></process>
]
callOrchestra, endpointURL = 
http://localhost:9000/axis/services/FactorialServicePT
callOrchestra, conFactory = 
org.apache.axis.soap.SOAPConnectionFactoryImpl@1e94776
callOrchestra, connection = org.apache.axis.soap.SOAPConnectionImpl@52a665
callOrchestra, messFactory = org.apache.axis.soap.MessageFactoryImpl@2a4591
In the impl file after sending the message, not oneWay
callOrchestra, message = org.apache.axis.Message@13d58a1
callOrchestra, in = [#document: null]
callOrchestra, in = <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">9.0</value></process>
callOrchestra, body = <soapenv:Body 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><ns1:process 
xmlns="urn:factorialService:bpel:bsoap" 
xmlns:ns1="urn:factorialService:bpel:bsoap"><value 
xmlns="">9.0</value></ns1:process></soapenv:Body>
2006-09-26 14:08:18,599 : FileProvider.check : Configuration file 
read-only so engine configuration changes will not be saved.
2006-09-26 14:08:20,164 : FileProvider.check : Configuration file 
read-only so engine configuration changes will not be saved.
2006-09-26 14:08:20,249 : FileProvider.check : Configuration file 
read-only so engine configuration changes will not be saved.
In the impl file, body received : [process: null]
In the impl file before sending the message
In the impl file after sending the message, not oneWay
OrchestraMessageListener.onMessage, message = 
(org.objectweb.joram.client.jms.MapMessage@1de997c,messageID=ID:0.0.1026c28m1,destination=queue#0.0.1039,correlationId=null,deliveryMode=2,expiration=0,priority=4,redelivered=false,replyTo=null,timestamp=1159272500325,type=null), 
this = org.objectweb.orchestra.jbi.se.OrchestraMessageListener@12ed858
before sendSync, me = InOut[
  id: ID:frec445363-48671-1159271817545-7:1
  status: Active
  role: consumer
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">8.0</value></process>
]
2006-09-26 14:08:20,340 : DeliveryChannelImpl.sendSync : SendSync 
ID:frec445363-48671-1159271817545-7:1 in DeliveryChannel{Orchestra}
2006-09-26 14:08:20,343 : DeliveryChannelImpl.doSend : Sent: InOut[
  id: ID:frec445363-48671-1159271817545-7:1
  status: Active
  role: consumer
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">8.0</value></process>
]
2006-09-26 14:08:20,348 : DefaultBroker.resolveAddress : Routing 
exchange InOut[
  id: ID:frec445363-48671-1159271817545-7:1
  status: Active
  role: provider
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">8.0</value></process>
] to: 
ServiceEndpoint[service={urn:factorialService:bpel:bsoap}FactorialServiceServiceBP,endpoint=FactorialServicePT]
2006-09-26 14:08:20,349 : AbstractFlow.send : Called Flow send
2006-09-26 14:08:20,353 : DeliveryChannelImpl.waitForExchange : Waiting 
for exchange ID:frec445363-48671-1159271817545-7:1 (7293dd) to be 
answered in DeliveryChannel{Orchestra} from sendSync
2006-09-26 14:08:20,361 : SedaQueue$1.run : 
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@499eb5 dequeued 
exchange: InOut[
  id: ID:frec445363-48671-1159271817545-7:1
  status: Active
  role: provider
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">8.0</value></process>
]
2006-09-26 14:08:20,364 : DeliveryChannelImpl.processInBound : 
Processing inbound exchange: InOut[
  id: ID:frec445363-48671-1159271817545-7:1
  status: Active
  role: provider
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">8.0</value></process>
]
2006-09-26 14:08:20,366 : DeliveryChannelImpl.processInBound : Received: 
InOut[
  id: ID:frec445363-48671-1159271817545-7:1
  status: Active
  role: provider
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">8.0</value></process>
]
OrchestraExchangeProcessor.process, exchange = InOut[
  id: ID:frec445363-48671-1159271817545-7:1
  status: Active
  role: provider
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">8.0</value></process>
]
callOrchestra, endpointURL = 
http://localhost:9000/axis/services/FactorialServicePT
callOrchestra, conFactory = 
org.apache.axis.soap.SOAPConnectionFactoryImpl@1528259
callOrchestra, connection = org.apache.axis.soap.SOAPConnectionImpl@1ebd60d
callOrchestra, messFactory = org.apache.axis.soap.MessageFactoryImpl@321d9a
callOrchestra, message = org.apache.axis.Message@356eb0
callOrchestra, in = [#document: null]
callOrchestra, in = <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">8.0</value></process>
callOrchestra, body = <soapenv:Body 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><ns1:process 
xmlns="urn:factorialService:bpel:bsoap" 
xmlns:ns1="urn:factorialService:bpel:bsoap"><value 
xmlns="">8.0</value></ns1:process></soapenv:Body>
2006-09-26 14:08:20,392 : FileProvider.check : Configuration file 
read-only so engine configuration changes will not be saved.
2006-09-26 14:08:21,217 : FileProvider.check : Configuration file 
read-only so engine configuration changes will not be saved.
2006-09-26 14:08:21,296 : FileProvider.check : Configuration file 
read-only so engine configuration changes will not be saved.
In the impl file, body received : [process: null]
In the impl file before sending the message
OrchestraMessageListener.onMessage, message = 
(org.objectweb.joram.client.jms.MapMessage@1c1e949,messageID=ID:0.0.1026c42m1,destination=queue#0.0.1039,correlationId=null,deliveryMode=2,expiration=0,priority=4,redelivered=false,replyTo=null,timestamp=1159272501338,type=null), 
this = org.objectweb.orchestra.jbi.se.OrchestraMessageListener@1bacc03
before sendSync, me = InOut[
  id: ID:frec445363-48671-1159271817545-7:2
  status: Active
  role: consumer
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">7.0</value></process>
]
2006-09-26 14:08:21,349 : DeliveryChannelImpl.sendSync : SendSync 
ID:frec445363-48671-1159271817545-7:2 in DeliveryChannel{Orchestra}
2006-09-26 14:08:21,354 : DeliveryChannelImpl.doSend : Sent: InOut[
  id: ID:frec445363-48671-1159271817545-7:2
  status: Active
  role: consumer
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">7.0</value></process>
]
2006-09-26 14:08:21,359 : DefaultBroker.resolveAddress : Routing 
exchange InOut[
  id: ID:frec445363-48671-1159271817545-7:2
  status: Active
  role: provider
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">7.0</value></process>
] to: 
ServiceEndpoint[service={urn:factorialService:bpel:bsoap}FactorialServiceServiceBP,endpoint=FactorialServicePT]
2006-09-26 14:08:21,361 : AbstractFlow.send : Called Flow send
In the impl file after sending the message, not oneWay
2006-09-26 14:08:21,364 : DeliveryChannelImpl.waitForExchange : Waiting 
for exchange ID:frec445363-48671-1159271817545-7:2 (198cbaa) to be 
answered in DeliveryChannel{Orchestra} from sendSync
2006-09-26 14:08:21,377 : SedaQueue$1.run : 
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@631b3b dequeued 
exchange: InOut[
  id: ID:frec445363-48671-1159271817545-7:2
  status: Active
  role: provider
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">7.0</value></process>
]
2006-09-26 14:08:21,381 : DeliveryChannelImpl.processInBound : 
Processing inbound exchange: InOut[
  id: ID:frec445363-48671-1159271817545-7:2
  status: Active
  role: provider
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">7.0</value></process>
]
2006-09-26 14:08:21,384 : DeliveryChannelImpl.processInBound : Received: 
InOut[
  id: ID:frec445363-48671-1159271817545-7:2
  status: Active
  role: provider
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">7.0</value></process>
]
OrchestraExchangeProcessor.process, exchange = InOut[
  id: ID:frec445363-48671-1159271817545-7:2
  status: Active
  role: provider
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">7.0</value></process>
]
callOrchestra, endpointURL = 
http://localhost:9000/axis/services/FactorialServicePT
callOrchestra, conFactory = 
org.apache.axis.soap.SOAPConnectionFactoryImpl@90f71b
callOrchestra, connection = org.apache.axis.soap.SOAPConnectionImpl@14f2478
callOrchestra, messFactory = org.apache.axis.soap.MessageFactoryImpl@e37431
callOrchestra, message = org.apache.axis.Message@e146a7
callOrchestra, in = [#document: null]
callOrchestra, in = <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">7.0</value></process>
callOrchestra, body = <soapenv:Body 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><ns1:process 
xmlns="urn:factorialService:bpel:bsoap" 
xmlns:ns1="urn:factorialService:bpel:bsoap"><value 
xmlns="">7.0</value></ns1:process></soapenv:Body>
2006-09-26 14:08:21,409 : FileProvider.check : Configuration file 
read-only so engine configuration changes will not be saved.
2006-09-26 14:08:22,328 : FileProvider.check : Configuration file 
read-only so engine configuration changes will not be saved.
2006-09-26 14:08:22,381 : FileProvider.check : Configuration file 
read-only so engine configuration changes will not be saved.
In the impl file, body received : [process: null]
In the impl file before sending the message
In the impl file after sending the message, not oneWay
OrchestraMessageListener.onMessage, message = 
(org.objectweb.joram.client.jms.MapMessage@1a2f8ca,messageID=ID:0.0.1026c53m1,destination=queue#0.0.1039,correlationId=null,deliveryMode=2,expiration=0,priority=4,redelivered=false,replyTo=null,timestamp=1159272502591,type=null), 
this = org.objectweb.orchestra.jbi.se.OrchestraMessageListener@7ba4f9
before sendSync, me = InOut[
  id: ID:frec445363-48671-1159271817545-7:3
  status: Active
  role: consumer
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">6.0</value></process>
]
2006-09-26 14:08:22,934 : DeliveryChannelImpl.sendSync : SendSync 
ID:frec445363-48671-1159271817545-7:3 in DeliveryChannel{Orchestra}
2006-09-26 14:08:22,936 : DeliveryChannelImpl.doSend : Sent: InOut[
  id: ID:frec445363-48671-1159271817545-7:3
  status: Active
  role: consumer
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">6.0</value></process>
]
2006-09-26 14:08:22,943 : DefaultBroker.resolveAddress : Routing 
exchange InOut[
  id: ID:frec445363-48671-1159271817545-7:3
  status: Active
  role: provider
  interface: {urn:factorialService:bpel:bsoap}FactorialServicePT
  service: {urn:factorialService:bpel:bsoap}FactorialServiceServiceBP
  endpoint: FactorialServicePT
  operation: {urn:factorialService:bpel:bsoap}process
  in: <?xml version="1.0" encoding="UTF-8"?><process 
xmlns="urn:factorialService:bpel:bsoap"><value 
xmlns="">6.0</value></process>
] to: 
ServiceEndpoint[service={urn:factorialService:bpel:bsoap}FactorialServiceServiceBP,endpoint=FactorialServicePT]
2006-09-26 14:08:22,944 : AbstractFlow.send : Called Flow send
2006-09-26 14:08:22,946 : DeliveryChannelImpl.waitForExchange : Waiting 
for exchange ID:frec445363-48671-1159271817545-7:3 (1175cd6) to be 
answered in DeliveryChannel{Orchestra} from sendSync


Re: sm hangs

Posted by Guillaume Nodet <gn...@gmail.com>.
Sorry, the <sm:executorFactory /> element is meant
to be inside the <sm:container /> tag.
It points to the setExecutorFactory method on the JBI
container.  So it should look like:

  <sm:container ...>
    <sm:executorFactory>
      ...
    </sm:executorFactory>
    ...
  </sm:container>

On 9/26/06, Charles Souillard <Ch...@ext.bull.net> wrote:
> Guillaume,
>
> thanks for your help.
> As I am using sm as a webapp, I have added these lines into
> WEB-INF/applicationContext.xml file.
> Now, when my webapp is being deployed, I get a ClassNotFoundException
> (see under).
> I tried to add geronimo-j2ee-connector_1.5_spec-1.0.1.jar into my webapp
> lib dir but this does not change anything. I tied to search a class with
> this name and I found one in servicemix-services. This jar was already
> in my webapp.
> Perhaps there is a jar file to add of spring ?
> Can you help me ?
>
> Thanks
> Charles
>
> java.lang.ClassNotFoundException: executorFactory; nested exception is
> java.lang.ClassNotFoundException: executorFactory
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:423)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:360)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
>         at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
>         at
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
>         at
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:123)
>         at
> org.apache.xbean.spring.context.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:71)
>         at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)
>         at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:294)
>         at
> org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
>         at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
>         at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
>         at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
>         ... 5 more
> Caused by:
> org.springframework.beans.factory.BeanDefinitionStoreException: Failed
> to load type: executorFactory. Reason: java.lang.ClassNotFoundException:
> executorFactory; nested exception is java.lang.ClassNotFoundException:
> executorFactory
>         at
> org.apache.xbean.spring.context.v2.XBeanQNameHelper.getBeanInfo(XBeanQNameHelper.java:75)
>         at
> org.apache.xbean.spring.context.v2.XBeanQNameHelper.coerceNamespaceAwarePropertyValues(XBeanQNameHelper.java:54)
>         at
> org.apache.xbean.spring.context.v2b.XBeanBeanDefinitionParserDelegate.parseBeanDefinitionElement(XBeanBeanDefinitionParserDelegate.java:62)
>         at
> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:398)
>         at
> org.apache.xbean.spring.context.v2b.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.java:205)
>         at
> org.apache.xbean.spring.context.v2b.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.java:253)
>         at
> org.apache.xbean.spring.context.v2b.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:153)
>         at
> org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:49)
>         at
> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1118)
>         at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:141)
>         at
> org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.parseBeanDefinitions(XBeanBeanDefinitionDocumentReader.java:39)
>         at
> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:496)
>         at
> org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.registerBeanDefinitions(XBeanXmlBeanDefinitionReader.java:79)
>         at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:406)
>         ... 17 more
> Caused by: java.lang.ClassNotFoundException: executorFactory
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
>         at
> org.apache.xbean.spring.context.v2.XBeanQNameHelper.loadClass(XBeanQNameHelper.java:107)
>         at
> org.apache.xbean.spring.context.v2.XBeanQNameHelper.getBeanInfo(XBeanQNameHelper.java:72)
>         ... 31 more
>
> Guillaume Nodet wrote:
> > If you use lots of sendSync, which is your case, you will need
> > to change the default configuration of your thread pool, so that
> > you can have an unbounded number of threads, without queuing
> > the requests (as the queue will only be processed by existing
> > threads). See http://servicemix.goopen.org/site/thread-pools.html
> >
> > Try with the following snippet
> >  <sm:executorFactory>
> >    <bean
> > class="org.apache.servicemix.executors.impl.ExecutorFactoryImpl">
> >      <property name="defaultConfig">
> >          <bean
> > class="org.apache.servicemix.executors.impl.ExecutorConfig">
> >            <property name="corePoolSize" value="4"/>
> >            <property name="maximumPoolSize" value="-1"/>
> >            <property name="queueSize" value="0"/>
> >          </bean>
> >      </property>
> >    </bean>
> >  </sm:executorFactory>
> >
> > It changes the default configuration to not use any queues.  It means
> > that it's not really SEDA anymore, but SEDA is not very effective when
> > using only sendSync (as there is always a waiting thread).  The above
> > configuration should allow the thread pool to grow as needed.
> >
> > On 9/26/06, Charles Souillard <Ch...@ext.bull.net> wrote:
> >> Hi all,
> >>
> >> I have a factorial service example which was running well with a nightly
> >> build from last thursday (2006/09/21) and it is not working at all since
> >> yesterday (nightly build 2006/09/25).
> >> Between these two dates, I have seen that a thread pool has been added.
> >> Is it possible that there is a problem with that ?
> >> My example is as follow :
> >>
> >> client -> sm-http -> BPEL SE -> BPEL Engine -> BPEL-SE.... -> sm-http ->
> >> client
> >>
> >> You can find hereafter the traces I get. In fact, in a normal execution,
> >> the following calls are performed :
> >>
> >
>


-- 
Cheers,
Guillaume Nodet

Re: sm hangs

Posted by Charles Souillard <Ch...@ext.bull.net>.
Guillaume,

thanks for your help.
As I am using sm as a webapp, I have added these lines into 
WEB-INF/applicationContext.xml file.
Now, when my webapp is being deployed, I get a ClassNotFoundException 
(see under).
I tried to add geronimo-j2ee-connector_1.5_spec-1.0.1.jar into my webapp 
lib dir but this does not change anything. I tied to search a class with 
this name and I found one in servicemix-services. This jar was already 
in my webapp.
Perhaps there is a jar file to add of spring ?
Can you help me ?

Thanks
Charles

java.lang.ClassNotFoundException: executorFactory; nested exception is 
java.lang.ClassNotFoundException: executorFactory
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:423)
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:360)
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
        at 
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
        at 
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
        at 
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:123)
        at 
org.apache.xbean.spring.context.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:71)
        at 
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:294)
        at 
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
        at 
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
        at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
        at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        ... 5 more
Caused by: 
org.springframework.beans.factory.BeanDefinitionStoreException: Failed 
to load type: executorFactory. Reason: java.lang.ClassNotFoundException: 
executorFactory; nested exception is java.lang.ClassNotFoundException: 
executorFactory
        at 
org.apache.xbean.spring.context.v2.XBeanQNameHelper.getBeanInfo(XBeanQNameHelper.java:75)
        at 
org.apache.xbean.spring.context.v2.XBeanQNameHelper.coerceNamespaceAwarePropertyValues(XBeanQNameHelper.java:54)
        at 
org.apache.xbean.spring.context.v2b.XBeanBeanDefinitionParserDelegate.parseBeanDefinitionElement(XBeanBeanDefinitionParserDelegate.java:62)
        at 
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:398)
        at 
org.apache.xbean.spring.context.v2b.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.java:205)
        at 
org.apache.xbean.spring.context.v2b.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.java:253)
        at 
org.apache.xbean.spring.context.v2b.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:153)
        at 
org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:49)
        at 
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1118)
        at 
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:141)
        at 
org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.parseBeanDefinitions(XBeanBeanDefinitionDocumentReader.java:39)
        at 
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:496)
        at 
org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.registerBeanDefinitions(XBeanXmlBeanDefinitionReader.java:79)
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:406)
        ... 17 more
Caused by: java.lang.ClassNotFoundException: executorFactory
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
        at 
org.apache.xbean.spring.context.v2.XBeanQNameHelper.loadClass(XBeanQNameHelper.java:107)
        at 
org.apache.xbean.spring.context.v2.XBeanQNameHelper.getBeanInfo(XBeanQNameHelper.java:72)
        ... 31 more

Guillaume Nodet wrote:
> If you use lots of sendSync, which is your case, you will need
> to change the default configuration of your thread pool, so that
> you can have an unbounded number of threads, without queuing
> the requests (as the queue will only be processed by existing
> threads). See http://servicemix.goopen.org/site/thread-pools.html
>
> Try with the following snippet
>  <sm:executorFactory>
>    <bean 
> class="org.apache.servicemix.executors.impl.ExecutorFactoryImpl">
>      <property name="defaultConfig">
>          <bean 
> class="org.apache.servicemix.executors.impl.ExecutorConfig">
>            <property name="corePoolSize" value="4"/>
>            <property name="maximumPoolSize" value="-1"/>
>            <property name="queueSize" value="0"/>
>          </bean>
>      </property>
>    </bean>
>  </sm:executorFactory>
>
> It changes the default configuration to not use any queues.  It means
> that it's not really SEDA anymore, but SEDA is not very effective when
> using only sendSync (as there is always a waiting thread).  The above
> configuration should allow the thread pool to grow as needed.
>
> On 9/26/06, Charles Souillard <Ch...@ext.bull.net> wrote:
>> Hi all,
>>
>> I have a factorial service example which was running well with a nightly
>> build from last thursday (2006/09/21) and it is not working at all since
>> yesterday (nightly build 2006/09/25).
>> Between these two dates, I have seen that a thread pool has been added.
>> Is it possible that there is a problem with that ?
>> My example is as follow :
>>
>> client -> sm-http -> BPEL SE -> BPEL Engine -> BPEL-SE.... -> sm-http ->
>> client
>>
>> You can find hereafter the traces I get. In fact, in a normal execution,
>> the following calls are performed :
>>
>

Re: sm hangs

Posted by Guillaume Nodet <gn...@gmail.com>.
If you use lots of sendSync, which is your case, you will need
to change the default configuration of your thread pool, so that
you can have an unbounded number of threads, without queuing
the requests (as the queue will only be processed by existing
threads). See http://servicemix.goopen.org/site/thread-pools.html

Try with the following snippet
  <sm:executorFactory>
    <bean class="org.apache.servicemix.executors.impl.ExecutorFactoryImpl">
      <property name="defaultConfig">
          <bean class="org.apache.servicemix.executors.impl.ExecutorConfig">
            <property name="corePoolSize" value="4"/>
            <property name="maximumPoolSize" value="-1"/>
            <property name="queueSize" value="0"/>
          </bean>
      </property>
    </bean>
  </sm:executorFactory>

It changes the default configuration to not use any queues.  It means
that it's not really SEDA anymore, but SEDA is not very effective when
using only sendSync (as there is always a waiting thread).  The above
configuration should allow the thread pool to grow as needed.

On 9/26/06, Charles Souillard <Ch...@ext.bull.net> wrote:
> Hi all,
>
> I have a factorial service example which was running well with a nightly
> build from last thursday (2006/09/21) and it is not working at all since
> yesterday (nightly build 2006/09/25).
> Between these two dates, I have seen that a thread pool has been added.
> Is it possible that there is a problem with that ?
> My example is as follow :
>
> client -> sm-http -> BPEL SE -> BPEL Engine -> BPEL-SE.... -> sm-http ->
> client
>
> You can find hereafter the traces I get. In fact, in a normal execution,
> the following calls are performed :
>