thanks very much..my question is in another post :
below is that:

2. you can find that in the web page 
http://incubator.apache.org/servicemix/hello-world-bc.html . 

"Creating a Hello World BC Service Unit 
This is a work in progress" 

So if we follow the things describe below step by setp,we can't get the
hello-world-bc work.. 

There is no SU. 
So  I do the things as below: 
I creat a service unit named "hello-world-su": 


second: I add  a xbean.xml  to hello-world-su\src\main\resources directory: 

I also creat a http consumer su and client.xml: 


the client.html will send the request to the locationURI. 

Third:I creat a SA: 


At last I creat a top level pom.xml: 
The modules are list below: 
<modules> 
        <module>hello-world-http-su</module> 
        <module>hello-world-su</module> 
        <module>hello-world-bc</module> 
        <module>hello-world-sa</module>     
</modules> 

when I deploy the SA: 
After the  servicemix starts,the components  hello-world-bc and 
servicemix-http can initialized,but the service Assembly failed: 
I got a error: 
INFO  - ComponentMBeanImpl             - Starting component: hello-world-bc 
INFO  - ComponentMBeanImpl             - Initializing component:
hello-world-bc 
INFO  - jetty                          - Logging to
org.apache.servicemix.http. 
[EMAIL PROTECTED] via org.apache.servicemix.http.jetty.JCLLogger 
INFO  - ComponentMBeanImpl             - Starting component: servicemix-http 
INFO  - ComponentMBeanImpl             - Initializing component:
servicemix-htt 

INFO  - DeploymentService              - UnDeployed ServiceUnit
hello-world-htt 
-su from Component: servicemix-http 
ERROR - AutoDeploymentService          - Failed to update Service Assembly:
hel 
o-world-sa 
java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?> 
<jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message";
version="1. 
"> 
<jbi-task-result> 
<frmwk-task-result> 
<frmwk-task-result-details> 
<task-result-details> 
<task-id>deploy</task-id> 
<task-result>FAILED</task-result> 
<message-type>ERROR</message-type> 
</task-result-details> 
</frmwk-task-result-details> 
</frmwk-task-result> 
<component-task-result
xmlns="http://java.sun.com/xml/ns/jbi/management-message 
> 
        <component-name>hello-world-bc</component-name> 
        <component-task-result-details> 
                <task-result-details> 
                        <task-id>deploy</task-id> 
                        <task-result>FAILED</task-result> 
                        <message-type>ERROR</message-type> 
                        <task-status-msg> 
<msg-loc-info> 
<loc-token/> 
<loc-message>Could not deploy xbean service unit</loc-message> 
</msg-loc-info> 
</task-status-msg> 
                        <exception-info> 
                                <nesting-level>1</nesting-level> 
                                <msg-loc-info> 
                                        <loc-token/> 
                                       
<loc-message>org.springframework.beans. 
actory.BeanDefinitionStoreException: Unrecognized xbean element mapping:
endpoi 
t in namespace
http://org.apache.servicemix.samples.helloworld.bc/1.0</loc-mess 
ge> 
......

"Unrecognized xbean element mapping: endpoi 
t in namespace http://org.apache.servicemix.samples.helloworld.bc/1.0"; 
this is the error! 

the reason is what?Any ideas?Any others people try the hello-world-bc, 
Do  you succeed? 

Oh,It is so long!~~ 

Hope for any reply!Thanks! 

-- 
View this message in context: 
http://www.nabble.com/a-discussion-on-hello-world-bc%2C-tf4450388s12049.html#a12728680
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to