Hi, I misunderstood that I added the servicemix-bean in the su pom.xml instead of sa pom.xml. Now I add this dependency on the sa pom.xml and fixed the error. But a new issue is produced. When deploy my sa, servicemix shows a warning "servicemix-bean are not installed yet: the service assembly http-upload-sa deployment is suspended and will be resumed once the listed components are installed". I have checked that the file "servicemix-bean-2008.01-installer.zip" is in hotdeploy directory. Do you know what this error is?
thanks Freeman Fang wrote: > > Would you ensure servicemix-bean component already get installed in your > container? > Or send us your SA so that we can get it a quick try locally? > Freeman > > youhaodeyi wrote: >> Hi, >> >> Yes it contains servicemix-bean in the pom.xml. >> >> thanks, >> >> ZY >> >> Jean-Baptiste Onofré wrote: >> >>> Hi, >>> >>> Is your pom.xml contains the servicemix-bean dependency ? >>> >>> Regards >>> JB >>> >>> youhaodeyi wrote: >>> >>>> Hi, >>>> >>>> I have tried your method, but the problem is still there. I don't >>>> understand >>>> why add a property in pom.xml. >>>> >>>> thanks. >>>> >>>> >>>> Freeman Fang wrote: >>>> >>>>> Hi, >>>>> Add >>>>> <properties> >>>>> <componentName>servicemix-bean</componentName> >>>>> </properties> >>>>> to the pom.xml and try again >>>>> Freeman >>>>> >>>>> youhaodeyi wrote: >>>>> >>>>>> I set a service unit and its xbean.xml is: >>>>>> >>>>>> <beans xmlns="http://www.springframework.org/schema/beans" >>>>>> xmlns:bean="http://servicemix.apache.org/bean/1.0" >>>>>> xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance" >>>>>> xmlns:ex="http://www.servicemix.org/example" >>>>>> >>>>>> <bean:endpoint service="ex:httphandler" endpoint="handlerEndpoint" >>>>>> bean="#extractorBean"/> >>>>>> >>>>>> <bean id="extractorBean" >>>>>> class="org.apache.servicemix.jbi.HandlerBean"/> >>>>>> >>>>>> </beans> >>>>>> >>>>>> When I deploy it I got the error: >>>>>> Unrecognized xbean namespace mapping: >>>>>> http://servicemix.apache.org/bean/1.0 >>>>>> >>>>>> Does anyone know this error? >>>>>> >>>>>> thanks. >>>>>> >>>>>> >>>>> -- >>>>> Freeman Fang >>>>> ------------------------ >>>>> Open Source SOA: http://fusesource.com >>>>> >>>>> >>>>> >>>>> >>> >> >> > > > -- > Freeman Fang > ------------------------ > Open Source SOA: http://fusesource.com > > > -- View this message in context: http://www.nabble.com/Unrecognized-xbean-namespace-mapping-error.-tp23827771p23844131.html Sent from the ServiceMix - User mailing list archive at Nabble.com.