Hi,

Just get some time to play with your project, after change several place, I
get it deployed successfully.
Please s http://www.nabble.com/file/p23846592/httpupload.tar httpupload.tar
ee the attachment, you can tell the difference with your projects
Freeman

Freeman Fang wrote:
> 
> Hi,
> 
> I go through your project, one big problem is the components version 
> like servicemix-http, servicemix-bean shouldn't be 3.3, it should be
> 2008.01
> And I suggest you follow the cxf-wsdl-first example strictly, which is 
> quite similar as your scenario, one SE su and one BC su, it will save 
> your lots of energy than start from scratch.
> Regards
> Freeman
> 
> youhaodeyi wrote:
>> Hi,
>>
>> Because servicemix doesn't have 3.3 jbi plugin, so I use 3.2.3. I
>> attached
>> the SA file. 
>> Thanks for your help,
>>
>> http://www.nabble.com/file/p23845291/httpupload.zip httpupload.zip 
>>
>> ZY
>>
>>
>> Freeman Fang wrote:
>>   
>>> It's a little weird in your pom, since there are two different 
>>> servicemix version, 3.2.3 and 3.3
>>> Also could you zip your project and append it with nabble, not only the 
>>> pom.xml?
>>> Freeman
>>>
>>> youhaodeyi wrote:
>>>     
>>>> Hi,
>>>>
>>>> After reinstall servicemix, the error of failed to recognized xbean
>>>> element
>>>> mapping is still there. This is my SA pom.xml:
>>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <project>
>>>>   <modelVersion>4.0.0</modelVersion>
>>>>   <parent>
>>>>     <artifactId>http-example</artifactId>
>>>>     <groupId>org.apache.servicemix.examples</groupId>
>>>>     <version>1.0-SNAPSHOT</version>
>>>>   </parent>
>>>>   <groupId>org.apache.servicemix.examples</groupId>
>>>>   <artifactId>http-upload-sa</artifactId>
>>>>   <version>1.0-SNAPSHOT</version>
>>>>   <packaging>jbi-service-assembly</packaging>
>>>>   <name>A custom project</name>
>>>>   <url>http://www.myorganization.org</url>
>>>>   <build>
>>>>     <plugins>
>>>>       <plugin>
>>>>         <groupId>org.apache.servicemix.tooling</groupId>
>>>>         <artifactId>jbi-maven-plugin</artifactId>
>>>>         <version>3.2.3</version>
>>>>         <extensions>true</extensions>
>>>>         <configuration>
>>>>           <type>service-assembly</type>
>>>>         </configuration>
>>>>       </plugin>
>>>>     </plugins>
>>>>   </build>
>>>>   <repositories>
>>>>     <repository>
>>>>       <releases />
>>>>       <snapshots>
>>>>         <enabled>false</enabled>
>>>>       </snapshots>
>>>>       <id>apache</id>
>>>>       <name>Apache Repository</name>
>>>>      
>>>> <url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url>
>>>>     </repository>
>>>>     <repository>
>>>>       <releases>
>>>>         <enabled>false</enabled>
>>>>       </releases>
>>>>       <snapshots />
>>>>       <id>apache.snapshots</id>
>>>>       <name>Apache Snapshots Repository</name>
>>>>       <url>http://people.apache.org/repo/m2-snapshot-repository</url>
>>>>     </repository>
>>>>   </repositories>
>>>>   <pluginRepositories>
>>>>     <pluginRepository>
>>>>       <releases />
>>>>       <snapshots>
>>>>         <enabled>false</enabled>
>>>>       </snapshots>
>>>>       <id>apache</id>
>>>>       <name>Apache Repository</name>
>>>>      
>>>> <url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url>
>>>>     </pluginRepository>
>>>>     <pluginRepository>
>>>>       <releases>
>>>>         <enabled>false</enabled>
>>>>       </releases>
>>>>       <snapshots />
>>>>       <id>apache.snapshots</id>
>>>>       <name>Apache Snapshots Repository</name>
>>>>       <url>http://people.apache.org/repo/m2-snapshot-repository</url>
>>>>     </pluginRepository>
>>>>   </pluginRepositories>
>>>>   <dependencies>
>>>>     <dependency>
>>>>       <groupId>junit</groupId>
>>>>       <artifactId>junit</artifactId>
>>>>       <version>3.8.1</version>
>>>>       <scope>test</scope>
>>>>     </dependency>
>>>>    <dependency>
>>>>            <groupId>org.apache.servicemix.examples</groupId>
>>>>            <artifactId>http-consumre-su</artifactId>
>>>>            <version>1.0-SNAPSHOT</version>
>>>>    </dependency>
>>>>    <dependency>
>>>>            <groupId>org.apache.servicemix.examples</groupId>
>>>>            <artifactId>http-handler-su</artifactId>
>>>>            <version>1.0-SNAPSHOT</version>
>>>>    </dependency>
>>>>    <dependency>
>>>>            <groupId>org.apache.servicemix</groupId>
>>>>            <artifactId>servicemix-bean</artifactId>
>>>>            <version>3.3</version>
>>>>    </dependency>
>>>>   </dependencies>
>>>>   <properties>
>>>>     <componentName>servicemix-bean</componentName>
>>>>     <servicemix-version>3.2.3</servicemix-version>
>>>>   </properties>
>>>> </project>
>>>>
>>>>
>>>>
>>>> Freeman Fang wrote:
>>>>   
>>>>       
>>>>> Could you remove $SMX_HOME folder to get a clean installation to try
>>>>> it 
>>>>> again
>>>>> Freeman
>>>>> youhaodeyi wrote:
>>>>>     
>>>>>         
>>>>>> 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>     
>>>>>>>         
>>>>>>>             
>>>>>>   
>>>>>>       
>>>>>>           
>>>>> -- 
>>>>> Freeman Fang
>>>>> ------------------------
>>>>> Open Source SOA: http://fusesource.com
>>>>>
>>>>>
>>>>>
>>>>>     
>>>>>         
>>>>   
>>>>       
>>> -- 
>>> 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.-tp23827771p23846592.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to