You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by oh-no <ir...@freenet.de> on 2012/08/07 22:30:11 UTC

Unrecognized xbean namespace mapping

Hi,

i have a problem by deploy a service assembly.
my service assemply has two service unit, the first with servicemix-mail and
the second with servicemix-http.
When copy the serviceassembly.zip file in the hotdeploy folder, service mix
print a error message "Unrecognized xbean namespace mapping:
http://servicemix.apache.org/mail/1.0".
When create the the service assembly with only one of service unit(myil or
http), then is the deploy, ok.
What ist the Problem with two service unit?

my servicemixversion is 3.3.2

Thank you

http://servicemix.396122.n5.nabble.com/file/n5714098/mail-su-pom.xml
mail-su-pom.xml 
http://servicemix.396122.n5.nabble.com/file/n5714098/mail-su-xbean.xml
mail-su-xbean.xml 
http://servicemix.396122.n5.nabble.com/file/n5714098/http-su-pom.xml
http-su-pom.xml 
http://servicemix.396122.n5.nabble.com/file/n5714098/http-su-xbean.xml
http-su-xbean.xml 



--
View this message in context: http://servicemix.396122.n5.nabble.com/Unrecognized-xbean-namespace-mapping-tp5714098.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Unrecognized xbean namespace mapping

Posted by oh-no <ir...@freenet.de>.
Hi,

is strange, on the next day, after shutdown my pc. i deploy the
serviceaasembly and it is ok.
Why?


Thank you




--
View this message in context: http://servicemix.396122.n5.nabble.com/Unrecognized-xbean-namespace-mapping-tp5714098p5714101.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Unrecognized xbean namespace mapping

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

I believe the error comes from that your mail-su pom.xml has two JBI component dependency
One is servicemix-mail, one is servicemix-bean.
In this case you should explicitly add a property in pom.xml to specify which JBI component this su belong to, so that the jbi-maven-plugin can work accordingly.
Add something like
<properties>
        <componentName>servicemix-mail</componentName>
</properties>
in your mail-su pom.xml should work

Freeman
-------------
Freeman Fang

FuseSource
Email:ffang@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042

On 2012-8-8, at 上午4:30, oh-no wrote:

> Hi,
> 
> i have a problem by deploy a service assembly.
> my service assemply has two service unit, the first with servicemix-mail and
> the second with servicemix-http.
> When copy the serviceassembly.zip file in the hotdeploy folder, service mix
> print a error message "Unrecognized xbean namespace mapping:
> http://servicemix.apache.org/mail/1.0".
> When create the the service assembly with only one of service unit(myil or
> http), then is the deploy, ok.
> What ist the Problem with two service unit?
> 
> my servicemixversion is 3.3.2
> 
> Thank you
> 
> http://servicemix.396122.n5.nabble.com/file/n5714098/mail-su-pom.xml
> mail-su-pom.xml 
> http://servicemix.396122.n5.nabble.com/file/n5714098/mail-su-xbean.xml
> mail-su-xbean.xml 
> http://servicemix.396122.n5.nabble.com/file/n5714098/http-su-pom.xml
> http-su-pom.xml 
> http://servicemix.396122.n5.nabble.com/file/n5714098/http-su-xbean.xml
> http-su-xbean.xml 
> 
> 
> 
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Unrecognized-xbean-namespace-mapping-tp5714098.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.