Do you have servicemix-http, servicemix-bean and servicemix-shared installed in the ESB (i.e. in the hotdeploy folder)?
On Sun, Sep 20, 2009 at 3:48 AM, youhaodeyi <[email protected]> wrote: > > Hi, > > I use smx bean to deploy the SU but got the same error. Below is my > xbean.xml file for the su: > > <beans xmlns:bean="http://servicemix.apache.org/bean/1.0" > xmlns:xyz="http://companyxyz.com"> > <bean:endpoint service="xyz:helloWorld" endpoint="helloWorld" > bean="#listenerBean" /> > <bean id="listenerBean" > class="org.apache.servicemix.bean.beans.ListenerBean" /> > > </beans> > > below is another http SU: > <beans xmlns:http="http://servicemix.apache.org/http/1.0" > xmlns:xyz="http://companyxyz.com" > xmlns="http://www.springframework.org/schema/beans" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://servicemix.apache.org/http/1.0 > http://servicemix.apache.org/schema/servicemix-http-3.2.3.xsd > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> > > <http:endpoint service="xyz:helloWorldHttp" > endpoint="helloWorld" > role="consumer" > targetService="xyz:helloWorld" > locationURI="http://localhost:8000/example/" > defaultMep="http://www.w3.org/2004/08/wsdl/in-out" > soap="true" /> > > </beans> > > I made them into an assembly and deploy this assembly. I will get this > error: > > WARN - AutoDeploymentService - Components hello-world-se-su are > not in > stalled yet: the service assembly hello-world-assembly deployment is > suspended a > nd will be resumed once the listed components are installed > > > Madesclair Vivian wrote: >> >> What are the listed component mentionned in your exception? >> >> I think the missing component is the one associated with your >> hwse:endpoint. >> >> You have to know which Service Engine you want to use first, then code it >> in an xbean.xml. When you know which Service Engine you need to use, you >> will use a valide namespace specific to this SE and not your hwse which is >> unknown as a component namespace. >> >> So if you want to expose a POJO like you said in an other thread, first >> you need to know if you will expose it with CXF-SE or the smx bean >> component. Then refer to the proper tutorial to set it up. >> >> Regards >> Vivian >> >> >> -----Message d'origine----- >> De : youhaodeyi [mailto:[email protected]] >> Envoyé : mercredi 16 septembre 2009 16:28 >> À : [email protected] >> Objet : An error of "the service assembly hello-world-assembly deployment >> is suspended" >> >> >> I defined a customized SU as below: >> >> <beans xmlns:hwse="http://org.apache.servicemix.samples.helloworld.se/1.0" >> xmlns:xyz="http://companyxyz.com"> >> <hwse:endpoint service="xyz:helloWorld" endpoint="helloWorld1" /> >> </beans> >> >> and I put it to a SA called hello-world-assembly. When I deploy this SA I >> will get this error: >> >> WARN - AutoDeploymentService - Components hello-world-se-su are >> not in >> stalled yet: the service assembly hello-world-assembly deployment is >> suspended a nd will be resumed once the listed components are installed. >> >> Why can't the hello-world-assembly be installed? What's wrong with the >> assembly? >> >> thanks. >> -- >> View this message in context: >> http://www.nabble.com/An-error-of-%22the-service-assembly-hello-world-assembly-deployment-is-suspended%22-tp25473638p25473638.html >> Sent from the ServiceMix - User mailing list archive at Nabble.com. >> >> >> > > -- > View this message in context: > http://www.nabble.com/An-error-of-%22the-service-assembly-hello-world-assembly-deployment-is-suspended%22-tp25473638p25528314.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > >
