Guillaume,

I have made a mix between your solution and the mine because your webapp was successfully deployed (thanks a lot for your help !) but when I tried to deploy sm-http from today in it there was a NoClassDefFoundError. After a quick look I have seen that some classes are now embeded concerning jetty for example... So I have in fact taken the web app of the current trunk with my web.xml file and I have replaced xbean-kernel, xbean-spring and xbean-server by those present in the webapp you sent me. I am able to deploy the webapp into my J2EE app server with no error. I can installl sm-http, sm-jms, sm-eip and my Orchestra SE.

The problem is that I still have the same problem concerning my factorial sample :

Client -> HTTP -> NMR --1--> BPEL SE --2--> BPEL engine --3--> BPEL SE --4--> NMR --5--> BPEL SE --6--> BPEL Engine --7--> BPEL SE ....

after the arrow #4 the message is sent but no response is given in return to my RR call...
I can see the following logs when I perform the sendSync operation :

DEBUG - DeliveryChannelImpl - SendSync ID:frec445363-37245-1156856899414-5:0 in DeliveryChannel{Orchestra}
DEBUG - DeliveryChannelImpl            - Sent: MessageExchange[
 id: ID:frec445363-37245-1156856899414-5: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="">2.0</value></process>
]
DEBUG - DefaultBroker                  - Routing exchange MessageExchange[
 id: ID:frec445363-37245-1156856899414-5: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="">2.0</value></process> ] to: ServiceEndpoint[service={urn:factorialService:bpel:bsoap}FactorialServiceServiceBP,endpoint=FactorialServicePT]
DEBUG - SedaFlow                       - Called Flow send
DEBUG - DeliveryChannelImpl - Waiting for exchange ID:frec445363-37245-1156856899414-5:0 (1702f3f) to be answered in DeliveryChannel{Orchestra} from sendSync DEBUG - SedaQueue - [EMAIL PROTECTED] dequeued exchange: MessageExchange[
 id: ID:frec445363-37245-1156856899414-5: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="">2.0</value></process>
]
DEBUG - DeliveryChannelImpl - Processing inbound exchange: MessageExchange[
 id: ID:frec445363-37245-1156856899414-5: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="">2.0</value></process>
]
DEBUG - DeliveryChannelImpl - Notifying exchange ID:frec445363-37245-1156856899414-5:0(1702f3f) in DeliveryChannel{Orchestra} from processInboundSynchronousExchange DEBUG - DeliveryChannelImpl - Notified: ID:frec445363-37245-1156856899414-5:0(1702f3f) in DeliveryChannel{Orchestra} from sendSync


after sendSync, res = true
me.getStatus() = Active
me.getFault() = null
me.getError() = null
me.getMessage(out) = null


I am using the channel of the component.
Have you got any idea ?

Thanks
Charles

Guillaume Nodet wrote:
Download the latest servicemix-web war and use these jars instead:
http://people.apache.org/maven-snapshot-repository/org/apache/servicemix/samples/servicemix-web/3.0-incubating-SNAPSHOT/servicemix-web-3.0-incubating-20060826.104511-8.war

On 8/29/06, *Charles Souillard* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Here is the list of jars included in my webapp (I have taken those
    given
    in the build of SM... and I have added xstream-1.1.2.jar,
    stax-utils-snapshot-20040917.jar, jaxen-1.1-beta-8.jar):
    activeio-core-3.0-beta3.jar
    derby-10.1.1.0.jar
    jencks-1.1.3.jar
    wsdl4j-1.5.2.jar
    activemq-core-4.0.jar
    geronimo-activation_1.0.2_spec-1.0.jar
    jmdns-1.0-RC2.jar
    wstx-asl-2.9.3.jar
    activemq-ra-4.0.jar
    geronimo-connector-1.0.jar
    lingo-1.0.jar
    xalan-2.7.0.jar
    aopalliance-1.0.jar
    geronimo-j2ee-connector_1.5_spec-1.0.jar
    log4j-1.2.12.jar
    xbean-2.1.0.jar
    backport-util-concurrent-2.1.jar
    geronimo-j2ee-jacc_1.0_spec-1.0.jar
    mx4j-3.0.1.jar
    xbean-kernel-2.4.jar
    commons-beanutils-core-1.7.0.jar
    geronimo-j2ee-management_1.0_spec-1.0.jar
    mx4j-remote-3.0.1.jar
    xbean-server-2.4.jar
    commons-betwixt-0.7.jar
    geronimo-javamail_1.3.1_spec- 1.1-20060323.jar
    quartz-1.5.1.jar
    xbean-spring-2.4.jar
    commons-collections-3.1.jar
    geronimo-jaxrpc_1.1_spec-1.0.jar
    servicemix-components-3.0-incubating-SNAPSHOT.jar
    xercesImpl-2.7.1.jar
    commons-digester-1.6.jar
    geronimo-jms_1.1_spec-1.0.jar
    servicemix-core-3.0-incubating-SNAPSHOT.jar
    xml-apis-1.3.02.jar
    commons-lang-2.1.jar
    geronimo-jta_1.0.1B_spec-1.0.jar
    servicemix-jbi-3.0-incubating-SNAPSHOT.jar
    xmlpublic-2.1.0.jar
    commons-logging-1.0.3.jar
    geronimo-qname_1.1_spec-1.0.jar
    servicemix-services-3.0-incubating-SNAPSHOT.jar
    xstream-1.1.2.jar
    commons-logging-1.0.4.jar
    geronimo-saaj_1.1_spec-1.0.jar
    spring-2.0-m5.jar
    commons-pool-1.2.jar
    geronimo-transaction-1.0.jar
    stax-api-1.0.1.jar
    concurrent-1.3.4.jar
    jaxen-1.1-beta-8.jar
    stax-utils-snapshot-20040917.jar

    You are right, I don't have xbean-2.6-SNAPSHOT, I should add it and
    remove  another one ?

    I think these questions are very easy for you and I don't want to make
    you wasting your time but there are a lot of jars and I don't know
    whci
    one is replacing another...

    Thanks a lot for these quick answer...

    Charles

    Guillaume Nodet wrote:
    > Which version of xbean is included in your web app ?
    > You must have xbean-2.6-SNAPSHOT inside it.
    > The stack trace shows that you use the old bugged version.
    >
    > On 8/29/06, *Charles Souillard* <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    > <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>> wrote:
    >
    >     Guillaume,
    >
    >     I had already tried that and I always get the following error...
    >     you can find in attach the web.xml file I get in WEB_INF dir
    >
    >     2006-08-29 11:21:08,880 : ApplicationContext.log : Loading
    Spring
    >     root
    >     WebApplicationContext
    >     ERROR - ContextLoader                  - Context
    initialization failed
    >     java.lang.IllegalStateException: Could not find valid
    implementation
    >     for: 2.0-m5
    >             at
> org.apache.xbean.spring.context.XmlWebApplicationContext.createBeanDefinitionReader
    >     (XmlWebApplicationContext.java:84)
    >             at
> org.apache.xbean.spring.context.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:63)
    >             at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory

    >     (AbstractRefreshableApplicationContext.java:89)
    >             at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:278)
    >             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)
    >             at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java
    >     :3727)
    >             at
    >     org.apache.catalina.core.StandardContext.start
    (StandardContext.java:4162)
    >             at
> org.objectweb.jonas.web.catalina55.JOnASStandardContext.start(JOnASStandardContext.java:252)
    >             at
    >     org.apache.catalina.core.ContainerBase.addChildInternal
    (ContainerBase.java:759)
    >             at
> org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:121)
    >             at
    >     org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run
    >     (ContainerBase.java:143)
    >             at
    java.security.AccessController.doPrivileged(Native Method)
    >             at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
    :737)
    >             at
    >     org.apache.catalina.core.StandardHost.addChild
    (StandardHost.java:524)
    >             at
> org.objectweb.jonas.web.catalina55.CatalinaJWebContainerServiceImpl.doRegisterWar
    (CatalinaJWebContainerServiceImpl.java:570)
    >             at
    >     org.objectweb.jonas.web.AbsJWebContainerServiceImpl.registerWar
    >     (AbsJWebContainerServiceImpl.java:854)
    >             at
> org.objectweb.jonas.web.AbsJWebContainerServiceImpl.doStart(AbsJWebContainerServiceImpl.java:383)
    >             at
> org.objectweb.jonas.web.catalina55.CatalinaJWebContainerServiceImpl.doStart
    >     ( CatalinaJWebContainerServiceImpl.java:297)
    >             at
> org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:80)
    >             at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    >             at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    >             at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
    :25)
    >             at java.lang.reflect.Method.invoke (Method.java:585)
    >             at
> org.objectweb.jonas.web.wrapper.catalina55.CatalinaJWebContainerServiceWrapper.invoke(CatalinaJWebContainerServiceWrapper.java
    :157)
    >             at
> org.objectweb.jonas.web.wrapper.catalina55.CatalinaJWebContainerServiceWrapper.start
    >     (CatalinaJWebContainerServiceWrapper.java:528)
    >             at
    >     org.objectweb.jonas.service.ServiceManager.startServices
    (ServiceManager.java:336)
    >             at
    org.objectweb.jonas.server.Server.start(Server.java:546)
    >             at
    org.objectweb.jonas.server.Server.main(Server.java:181)
    >             at sun.reflect.NativeMethodAccessorImpl.invoke0
    (Native Method)
    >             at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    >
    >             at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
    :25)
    >             at java.lang.reflect.Method.invoke(Method.java:585)
    >             at org.objectweb.jonas.server.Bootstrap.main
    >     (Bootstrap.java:97)
    >     2006-08-29 11:21:09,381 : StandardContext.listenerStart :
    Exception
    >     sending context initialized event to listener instance of class
    >     org.springframework.web.context.ContextLoaderListener
    >     java.lang.IllegalStateException : Could not find valid
    implementation
    >     for: 2.0-m5
    >             at
> org.apache.xbean.spring.context.XmlWebApplicationContext.createBeanDefinitionReader(XmlWebApplicationContext.java:84)
    >             at
> org.apache.xbean.spring.context.XmlWebApplicationContext.loadBeanDefinitions

    >     (XmlWebApplicationContext.java:63)
    >             at
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:89)

    >             at
> org.springframework.context.support.AbstractApplicationContext.refresh
    >     (AbstractApplicationContext.java:278)
    >             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)
    >             at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3727)
    >             at
    >     org.apache.catalina.core.StandardContext.start
    (StandardContext.java:4162)
    >
    >             at
> org.objectweb.jonas.web.catalina55.JOnASStandardContext.start(JOnASStandardContext.java:252)
    >             at
    >     org.apache.catalina.core.ContainerBase.addChildInternal
    (ContainerBase.java:759)
    >             at
> org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:121)
    >             at
> org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run
    (ContainerBase.java:143)
    >             at java.security.AccessController.doPrivileged
    (Native Method)
    >             at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:737)
    >             at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
    >             at
> org.objectweb.jonas.web.catalina55.CatalinaJWebContainerServiceImpl.doRegisterWar
    >     (CatalinaJWebContainerServiceImpl.java :570)
    >             at
> org.objectweb.jonas.web.AbsJWebContainerServiceImpl.registerWar(AbsJWebContainerServiceImpl.java:854)
    >             at
    >     org.objectweb.jonas.web.AbsJWebContainerServiceImpl.doStart
    >     (AbsJWebContainerServiceImpl.java:383)
    >             at
> org.objectweb.jonas.web.catalina55.CatalinaJWebContainerServiceImpl.doStart(CatalinaJWebContainerServiceImpl.java:297)
    >             at
    >     org.objectweb.jonas.service.AbsServiceImpl.start
    >     (AbsServiceImpl.java:80)
    >             at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    >             at
    >     sun.reflect.NativeMethodAccessorImpl.invoke
    (NativeMethodAccessorImpl.java:39)
    >             at
    >     sun.reflect.DelegatingMethodAccessorImpl.invoke
    >     (DelegatingMethodAccessorImpl.java:25)
    >             at java.lang.reflect.Method.invoke (Method.java:585)
    >             at
> org.objectweb.jonas.web.wrapper.catalina55.CatalinaJWebContainerServiceWrapper.invoke(CatalinaJWebContainerServiceWrapper.java
    >     :157)
    >             at
> org.objectweb.jonas.web.wrapper.catalina55.CatalinaJWebContainerServiceWrapper.start(CatalinaJWebContainerServiceWrapper.java:528)
    >             at
    >     org.objectweb.jonas.service.ServiceManager.startServices
    >     (ServiceManager.java:336)
    >             at
    org.objectweb.jonas.server.Server.start(Server.java:546)
    >             at
    org.objectweb.jonas.server.Server.main(Server.java:181)
    >             at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native
    >     Method)
    >             at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    >             at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    >             at java.lang.reflect.Method.invoke(Method.java:585)
    >             at
    >     org.objectweb.jonas.server.Bootstrap.main (Bootstrap.java:97)
    >     2006-08-29 11:21:09,389 : StandardContext.start : Error
    listenerStart
    >     2006-08-29 11:21:09,391 : StandardContext.start : Context
    >     [/SM-2006-08-29] startup failed due to previous errors
    >     2006-08-29 11:21:09,393 : ApplicationContext.log : Closing
    Spring root
    >     WebApplicationContext
    >
    >
    >     Regards
    >     Charles
    >
    >
    >     Guillaume Nodet wrote:
    >     > The xbean version used in latest snapshot incorporate the fix.
    >     > So you can not rely on servicemix class which has been
    removed,
    >     > but you must use the
    >     >    org.apache.xbean.spring.context.XmlWebApplicationContext
    >     > in your web.xml.
    >     > For an example, take a look at
    >     >
    >     >
> http://svn.apache.org/repos/asf/incubator/servicemix/trunk/samples/servicemix-web/src/webapp/WEB-INF/web.xml
    >     <
    
http://svn.apache.org/repos/asf/incubator/servicemix/trunk/samples/servicemix-web/src/webapp/WEB-INF/web.xml>
    >     >
    >     <
    
http://svn.apache.org/repos/asf/incubator/servicemix/trunk/samples/servicemix-web/src/webapp/WEB-INF/web.xml
    >     <
    
http://svn.apache.org/repos/asf/incubator/servicemix/trunk/samples/servicemix-web/src/webapp/WEB-INF/web.xml>>
    >     >
    >     >
    >     > On 8/29/06, *Charles Souillard* <
    [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
    >     <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>
    >     > <mailto: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >     <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>>> wrote:
    >     >
    >     >     It is not a problem for me to use the following class
    but please
    >     >     give me
    >     >     a bit more information on how to do that and which
    changes I
    >     have
    >     >     to do.
    >     >     I am not familiar with xbean at all.
    >     >     I give you the thread dealing with that problem :
    >     >
    >     >
    >     >     In the mean time, you can use the
    >     >     org.apache.servicemix.xbean.XmlWebApplicationContext
    class.
    >     >
    >     >     Cheers,
    >     >     Guillaume Nodet
    >     >
    >     >     On 7/25/06, Guillaume Nodet <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >     <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
    >     >     <mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
    <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>>> wrote:
    >     >
    >     >     The patch is applied in xbean, but ServiceMix does not
    use
    >     the latest
    >     >     version yet.
    >     >     It should be done asap.
    >     >
    >     >     Cheers,
    >     >     Guillaume Nodet
    >     >
    >     >
    >     >     On 7/19/06, Charles Souillard <
    >     [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>
    >     >     <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >     <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>>> wrote:
    >     >     >
    >     >     > Hi all,
    >     >     >
    >     >     > I am trying to deploy the SM web app into my J2EE app
    >     server and
    >     >     I am
    >     >     > getting an error :
    >     >     > java.lang.IllegalStateException : Could not find valid
    >     >     implementation
    >     >     > for: 2.0-m5
    >     >     >         at
    >     >     >
    >     >     >
    >     >
> org.apache.xbean.spring.context.XmlWebApplicationContext.createBeanDefinitionReader
    >     (
    >     >
    >     >     > XmlWebApplicationContext.java :84)
    >     >     >         at
    >     >     >
    >     >     >
    >     >
> org.apache.xbean.spring.context.XmlWebApplicationContext.loadBeanDefinitions

    >     >
    >     >     > (XmlWebApplicationContext.java:63)
    >     >     >         at
    >     >     >
    >     >     >
    >     >
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory

    >     >     (
    >     >
    >     >     > AbstractRefreshableApplicationContext.java:89)
    >     >     >         at
    >     >     >
    >     >
> org.springframework.context.support.AbstractApplicationContext.refresh
    (
    >     >     > AbstractApplicationContext.java :278)
    >     >     >         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)
    >     >     >         at
    >     >     > org.apache.catalina.core.StandardContext.listenerStart(
    >     >     > StandardContext.java :3727)
    >     >     >         at
    >     >     > org.apache.catalina.core.StandardContext.start
    >     (StandardContext.java
    >     >     > :4162)
    >     >     >
    >     >     > I saw that some bugs were created for that problem :
    >     >     > http://issues.apache.org/jira/browse/XBEAN-21
    >     >     > https://issues.apache.org/activemq/browse/SM-458
    >     >     >
    >     >     > In the XBEAN-21 bud, it is written that the patch is
    >     applied bug
    >     >     I still
    >     >     > get the error with the latest sn from 2006/07/18.
    >     >     > I tried to replace in my eclipse project the linked java
    >     file but
    >     >     > nothing change. This error make me impossible using the
    >     web app
    >     >     in my
    >     >     > J2EE app server.
    >     >     >
    >     >     > Perhaps I missed something in the way to bypass the
    error
    >     so can
    >     >     you
    >     >     > tell me what I have to do ?
    >     >     > Can you give me the exact status of this bug ? (it is
    >     still open
    >     >     in jira
    >     >     > but a patch exist....)
    >     >     >
    >     >     > Thanks a lot
    >     >     > Regards,
    >     >     > Charles
    >     >     >
    >     >
    >     >
    >     >
    >     >
    >     >
    >     >
    >     >     Guillaume Nodet wrote:
    >     >     > The latest snapshots use xbean-2.6-snapshot (which
    should be
    >     >     upgrade to
    >     >     > xbean-2.6 final in a few days) which should fix any
    xbean
    >     related
    >     >     > problem.
    >     >     > Which specific problem are you refering to ?
    >     >     >
    >     >     > On 8/29/06, Charles Souillard
    >     <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >     <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>
    >     >     <mailto: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >     <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>>> wrote:
    >     >     >>
    >     >     >> I can only find here 3.0M2 release which is not a good
    >     one for
    >     >     me as you
    >     >     >> said :
    >     >     >> "make sure you use a post M2 release (a snapshot)".
    And
    >     when I
    >     >     choose
    >     >     >> development snapshot, I can find snapshots from :
    >     >     >> 06/20 = the same date as the 3.0M2
    >     >     >> and then snapshots from 08/08 and later.
    >     >     >> I know that the xbean problem was present ont the
    07/19 so it
    >     >     means I
    >     >     >> can not find any build later than 3.0M2 and before
    the xbean
    >     >     problem
    >     >     >> occurs ?
    >     >     >>
    >     >     >> Thanks
    >     >     >> Charles
    >     >     >>
    >     >     >> Guillaume Nodet wrote:
    >     >     >> > Have you tried
    >     http://servicemix.goopen.org/site/download.html ?
    >     >     >> >
    >     >     >> > On 8/29/06, Charles Souillard
    >     <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >     <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>
    >     >     <mailto: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >     <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>>> wrote:
    >     >     >> >>
    >     >     >> >> Hi Guillaume,
    >     >     >> >>
    >     >     >> >> I can see in the mailling list that the 3.0 M2 was
    >     released
    >     >     on the
    >     >     >> 20th
    >     >     >> >> of june. Is that correct ?
    >     >     >> >> I am currently using a personnal build from the 19th
    >     of june...
    >     >     >> >> As I explained in a previous thread (07/19/06),
    I can not
    >     >     use for the
    >     >     >> >> moment the current nightly build because of the
    error
    >     >     concerning the
    >     >     >> >> xbean jar file...
    >     >     >> >>
    >     >     >> >> Can you tell me if I can find (and where) a
    nightly build
    >     >     containing
    >     >     >> the
    >     >     >> >> fix without the xbean problem ?
    >     >     >> >>
    >     >     >> >> Thanks a lot
    >     >     >> >> Charles
    >     >     >> >>
    >     >     >> >> Guillaume Nodet wrote:
    >     >     >> >> > Implementing a factorial using sendSync is the
    worst
    >     possible
    >     >     >> >> example !
    >     >     >> >> > This is the one I used in a previous thread to
    >     explain how
    >     >     you
    >     >     >> could
    >     >     >> >> > easily deadlock ServiceMix :)  Unless you have an
    >     >     unlimited number
    >     >     >> >> > of threads available.
    >     >     >> >> >
    >     >     >> >> > Anyway, to answer your questions, there is one
    and only
    >     >     one channel
    >     >     >> >> > for each component, and a message exchange can
    not be
    >     >     *reused*.
    >     >     >> >> >
    >     >     >> >> > Also, make sure you use a post M2 release (a
    >     snapshot) as a
    >     >     >> critical
    >     >     >> >> > bug has been fixed which was causing deadlocks
    when
    >     exchanges
    >     >     >> >> > were send from a component to itself (it may
    be another
    >     >     endpoint,
    >     >     >> >> > but in the same component).
    >     >     >> >> >
    >     >     >> >> > On 8/24/06, Charles Souillard
    >     >     < [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >     <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>
    >     >     <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >     <mailto:[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>>>
    >     >     >> wrote:
    >     >     >> >> >>
    >     >     >> >> >> Hi all,
    >     >     >> >> >>
    >     >     >> >> >> I am currently working on a SE. My problem is to
    >     >     understand how
    >     >     >> >> channels
    >     >     >> >> >> are managed into the jbi container. My use
    case is the
    >     >     following :
    >     >     >> >> >>
    >     >     >> >> >> the NMR calls my BPEL SE. I receive a
    >     messageExchange and I
    >     >     >> send the
    >     >     >> >> xml
    >     >     >> >> >> document to my BPEL engine. In some cases the
    process
    >     >     must call
    >     >     >> some
    >     >     >> >> >> other services (invoke statement of the BPEL)
    which
    >     are
    >     >     deployed
    >     >     >> >> on the
    >     >     >> >> >> NMR. In my particular case, I am trying to
    execute a
    >     >     factorial
    >     >     >> >> service
    >     >     >> >> >> (it give the mathematical result of the factorial
    >     operand
    >     >     : 10!
    >     >     >> for
    >     >     >> >> >> example). I can summarize my problem as the
    following :
    >     >     >> >> >>
    >     >     >> >> >> NMR - 1 > BPEL SE - 2 > BPEL engine - 3 >
    BPEL SE -
    >     4 >
    >     >     NMR - 5 >
    >     >     >> >> BPEL
    >     >     >> >> >> SE - 6 > BPEL Engine - 7 > BPEL SE ....
    >     >     >> >> >>
    >     >     >> >> >> So is ity mandatory to use the same channel /
    >     exchage in
    >     >     all of
    >     >     >> these
    >     >     >> >> >> flows ?
    >     >     >> >> >>
    >     >     >> >> >> In my case, I use the given exchange for the
    arrow
    >     #1 and
    >     >     for
    >     >     >> >> arrow #4
    >     >     >> >> I
    >     >     >> >> >> can get the BPEL SE component channel and then I
    >     create a new
    >     >     >> >> >> exchange...
    >     >     >> >> >> Is that correct ?
    >     >     >> >> >>
    >     >     >> >> >> In that case, when I perform the following
    code, after
    >     >     the arrow
    >     >     >> >> #4 the
    >     >     >> >> >> message is sent but no response is given in
    return
    >     to my RR
    >     >     >> call...
    >     >     >> :
    >     >     >> >> >>
    >     >     >> >> >> Element body = <myBody>
    >     >     >> >> >> URI mep = URI.create ("
    >     >     http://www.w3.org/2004/08/wsdl/in-out";);
    >     >     >> >> >> MessageExchangeFactory factory =
    >     >     channel.createExchangeFactory();
    >     >     >> >> >> MessageExchange me = factory.createExchange(mep);
    >     >     >> >> >> me.setInterfaceName(new
    >     QName(portTypeNS,portTypeName));
    >     >     >> >> >> QName serviceQN = new
    QName(serviceNS,serviceName);
    >     >     >> >> >> me.setService(serviceQN);
    >     >     >> >> >> me.setEndpoint(this.component.getComponentContext
    >     >     >> >> >> ().getEndpoint(serviceQN,portName));
    >     >     >> >> >> me.setOperation(new
    QName(operationNS,operationName));
    >     >     >> >> >> NormalizedMessage nm = me.createMessage();
    >     >     >> >> >> me.setMessage(nm, "in");
    >     >     >> >> >> nm.setContent(new DOMSource(body));
    >     >     >> >> >> boolean res = this.channel.sendSync(me);
    >     >     >> >> >> System.out.println("after sendSync, res =
    "+res);
    >     >     => I get
    >     >     >> >> res =
    >     >     >> >> >> true
    >     >     >> >> >> if (!res) {
    >     >     >> >> >>   throw new
    >     >     Exception("OrchestraMessageListener.onMessage, Timeout
    >     >     >> on
    >     >     >> >> >> sending request/response message");
    >     >     >> >> >> }
    >     >     >> >> >> if (me.getStatus() == ExchangeStatus.ACTIVE) {
    >     >     >> >> >>   if (me.getFault == null) {
    >     >     >> >> >>     nm = me.getMessage("out");
    >     >     >> >> >>     if (nm != null) {
    >     >     >> >> >>       newBody = ((Document)
    >     >     >> >> >> this.transformer.toDOMNode
    (nm)).getDocumentElement();
    >     >     >> >> >>       System.out.println("newBody = "+newBody);
    >     >     >> >> >>     }
    >     >     >> >> >>   }
    >     >     >> >> >> }
    >     >     >> >> >>
    >     >     >> >> >>
    >     >     >> >> >> I have tried to activate and understand
    traces but
    >     it is
    >     >     hard for
    >     >     >> >> me...
    >     >     >> >> >> I can give then to you if you have an idea ?
    >     >     >> >> >>
    >     >     >> >> >> DEBUG - DeliveryChannelImpl            - SendSync
    >     >     >> >> >> ID:frec445363-48773-1156420954393-5:0 in
    >     >     >> DeliveryChannel{Orchestra}
    >     >     >> >> >> DEBUG - DeliveryChannelImpl            - Sent:
    >     >     MessageExchange[
    >     >     >> >> >>   id: ID:frec445363-48773-1156420954393-5: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="">2.0</value></process>
    >     >     >> >> >> ]
    >     >     >> >> >> DEBUG - DefaultBroker                  - Routing
    >     exchange
    >     >     >> >> >> MessageExchange[
    >     >     >> >> >>   id: ID:frec445363-48773-1156420954393-5: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=""> 2.0</value></process>
    >     >     >> >> >> ] to:
    >     >     >> >> >>
    >     >     >> >> >>
    >     >     >> >>
    >     >     >>
    >     >
> ServiceEndpoint[service={urn:factorialService:bpel:bsoap}FactorialServiceServiceBP,endpoint=FactorialServicePT]

    >
    >     >
    >     >     >>
    >     >     >> >>
    >     >     >> >> >>
    >     >     >> >> >> DEBUG - SedaFlow                       - Called
    >     Flow send
    >     >     >> >> >> DEBUG - DeliveryChannelImpl            -
    Waiting for
    >     >     exchange
    >     >     >> >> >> ID:frec445363-48773-1156420954393-5:0
    (10f29f) to be
    >     >     answered in
    >     >     >> >> >> DeliveryChannel{Orchestra} from sendSync
    >     >     >> >> >> DEBUG - SedaQueue                      -
    >     >     >> >> >>
    >     [EMAIL PROTECTED]
    >     >     >> dequeued
    >     >     >> >> >> exchange: MessageExchange[
    >     >     >> >> >>   id: ID:frec445363-48773-1156420954393-5: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="">2.0</value></process>
    >     >     >> >> >> ]
    >     >     >> >> >> DEBUG - DeliveryChannelImpl            -
    Processing
    >     inbound
    >     >     >> exchange:
    >     >     >> >> >> MessageExchange[
    >     >     >> >> >>   id: ID:frec445363-48773-1156420954393-5: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=""> 2.0</value></process>
    >     >     >> >> >> ]
    >     >     >> >> >> DEBUG - DeliveryChannelImpl            -
    Notifying
    >     exchange
    >     >     >> >> >> ID:frec445363-48773-1156420954393-5:0(10f29f) in
    >     >     >> >> >> DeliveryChannel{Orchestra} from
    >     >     processInboundSynchronousExchange
    >     >     >> >> >> DEBUG - DeliveryChannelImpl            -
    Notified:
    >     >     >> >> >> ID:frec445363-48773-1156420954393-5:0(10f29f) in
    >     >     >> >> >> DeliveryChannel{Orchestra} from sendSync
    >     >     >> >> >> after sendSync, res = true
    >     >     >> >> >> status = Active
    >     >     >> >> >> fault = null
    >     >     >> >> >> error = null
    >     >     >> >> >> out = null
    >     >     >> >> >> newBody = null
    >     >     >> >> >>
    >     >     >> >> >>
    >     >     >> >> >> Thanks a lot
    >     >     >> >> >> Charles
    >     >     >> >> >>
    >     >     >> >> >>
    >     >     >> >> >
    >     >     >> >> >
    >     >     >> >>
    >     >     >> >
    >     >     >> >
    >     >     >> >
    >     >     >>
    >     >     >
    >     >     >
    >     >     >
    >     >
    >     >
    >     >
    >     >
    >     > --
    >     > Cheers,
    >     > Guillaume Nodet
    >
    >
    >
    >
    >
    > --
    > Cheers,
    > Guillaume Nodet




--
Cheers,
Guillaume Nodet

Reply via email to