You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by hotcool <ji...@gmail.com> on 2007/09/17 04:45:54 UTC
more more discussion on hello-world-bc ,
3. more details about the pom.xml and xbean.xml
but if I paste them in text ,the mailing list will refuse my post,So i put
them it the attachments.
the reason why i post as three sections.becasue if i post all in a time,the
mailing list always refuse . for the reason :
SMTP error from remote mail server after end of data:
host mx1.eu.apache.org [192.87.106.230]: 552 spam score (6.2) exceeded
threshold http://www.nabble.com/file/p12728359/hello-world-smx-ForBC.rar
hello-world-smx-ForBC.rar
--
View this message in context: http://www.nabble.com/a-discussion-on-hello-world-bc%2C-tf4450388s12049.html#a12728359
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: more more discussion on hello-world-bc ,
Posted by hotcool <ji...@gmail.com>.
bsnyder wrote:
>
>
>
> Please provide the xbean.xml file.
>
> Bruce
>
>
ok.because if i paste the xbean.xml file in the post ,the mail list will
refuse me .
So I put the files in the attachment!
see the attachement below!
http://www.nabble.com/file/p12788634/hello-world-smx-ForBC.rar
hello-world-smx-ForBC.rar
--
View this message in context: http://www.nabble.com/a-discussion-on-hello-world-bc%2C-tf4450388s12049.html#a12788634
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: more more discussion on hello-world-bc ,
Posted by Bruce Snyder <br...@gmail.com>.
On 9/16/07, hotcool <ji...@gmail.com> wrote:
> "Unrecognized xbean element mapping: endpoi
> t in namespace http://org.apache.servicemix.samples.helloworld.bc/1.0"
> this is the error!
Please provide the xbean.xml file.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/
Re: more more discussion on hello-world-bc ,
Posted by hotcool <ji...@gmail.com>.
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.
etty.JCLLogger@128340 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.
Re: more more discussion on hello-world-bc ,
Posted by Bruce Snyder <br...@gmail.com>.
On 9/16/07, hotcool <ji...@gmail.com> wrote:
>
> 3. more details about the pom.xml and xbean.xml
>
> but if I paste them in text ,the mailing list will refuse my post,So i put
> them it the attachments.
>
> the reason why i post as three sections.becasue if i post all in a time,the
> mailing list always refuse . for the reason :
>
> SMTP error from remote mail server after end of data:
> host mx1.eu.apache.org [192.87.106.230]: 552 spam score (6.2) exceeded
> threshold http://www.nabble.com/file/p12728359/hello-world-smx-ForBC.rar
> hello-world-smx-ForBC.rar
Evidently some characteristics of the message have triggered a spam
rule. What exactly is your question?
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/