Many thanks Guillame, this indeed worked,
However I'am still stuck here and waondering if you
can help me.

The new problem I have now is that my service
assemblies does not seemed to be recongnized inside
JBoss.  I can see a component pathinside the
servicemix deploy folder.  But I see no
service-assemblies folder.  I'am guessing that my
service assemblies is not properly recongnised, here
is the content of my xbean.xml file (for my service
unit)
----------
<beans
xmlns:sm="http://servicemix.apache.org/config/1.0";
  xmlns:http="http://servicemix.apache.org/http/1.0";>
  <classpath>
    <location>.</location>
  </classpath>

        <bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
      <property name="location"
value="classpath:connection.properties"/>
  </bean>

        <http:endpoint service="simple-service"
                endpoint="simple-service"
                role="provider"
                locationURI="${http.provider.uri}"
                defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                soapVersion="1.1"
                soap="true" />
        <http:endpoint service="simple-service"
                endpoint="simple-service1"
                role="consumer"
                locationURI="${http.consumer.uri}"
                wsdlResource="${http.provider.uri.wsdl}"
                defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                soapVersion="1.1"
                soap="true" />
</beans>
-----------
And here is a copie of my jbi.xml for my service
assemblie :
<jbi xmlns="http://java.sun.com/xml/ns/jbi"; 
    
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
    
xsi:schemaLocation="http://java.sun.com/xml/ns/jbi"; 
     version="1.0">
     
   <service-assembly>
     <identification>
       <name>AU1</name>
       <description>Sample AU</description>
     </identification>
     <service-unit>
       <identification>
         <name>SU1</name>
         <description>Sample</description>
       </identification>
       <target>
        
<artifacts-zip>cardinal-su.zip</artifacts-zip>
        
<component-name>cardinal-http</component-name>
       </target>
     </service-unit>
    </service-assembly>
    
</jbi>
-----------

Any hint anyone ?


--- Guillaume Nodet <[EMAIL PROTECTED]> wrote:

> You may want to change the way JBI classloaders are
> created by setting
> the class-loader-delegation to self-first in the jbi
> descriptor of the
> component.
> I guess this should be the default...
> Could you raise a jira for that if it works for you
> ?
> 
> Cheers,
> Guillaume Nodet
> 
> On 3/21/06, Eric Dofonsou <[EMAIL PROTECTED]>
> wrote:
> > Has anybody deployed servicemix 3.0 in JBoss and
> tried
> > to deployed the servicemix-http service assemblie
> > inside that servicemix  ?
> > Right now I'am having some problems with the
> > librairies, the servicemix-http requires the
> > common-httpclient librairie version 3.0  However
> JBoss
> > by default uses the version 2.0 of that
> librairies.
> > So I get the following error when trying to deploy
> the
> > service-http assembly :
> >
> > ---------
> > Caused by: java.lang.NoSuchFieldError:
> > ANY_HOST_CONFIGURATION
> >         at
> >
>
org.apache.commons.httpclient.params.HttpConnectionManagerParams.setDefaultMaxConnectionsPerHost(HttpConnectionManagerParams.java:85)
> >         at
> >
>
org.apache.servicemix.http.HttpLifeCycle.doInit(HttpLifeCycle.java:78)
> >         at
> >
>
org.apache.servicemix.common.BaseLifeCycle.init(BaseLifeCycle.java:101)
> >         at
> >
>
org.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:887)
> >         at
> >
>
org.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:838)
> >         at
> >
>
org.servicemix.jbi.framework.InstallerMBeanImpl.install(InstallerMBeanImpl.java:131)
> >         at
> >
>
org.servicemix.jbi.framework.InstallationService.install(InstallationService.java:263)
> > --------
> >
> > So My question really is, is there a way to force
> > either JBoss or servicemix to use the
> > common-httpclient librairie version 3 to load the
> > servicemix-http assembly ?
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to