You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by rs...@imolinfo.it on 2006/12/20 10:35:53 UTC

Re: problem packaging multiple service unit dependant from the same component

I confirm I have the same problem with sm 3.0, alas never tried 3.1 snapshot.

bye
Raffaele

Quoting Guillaume Nodet <gn...@gmail.com>:

> Because the jbi maven plugin is released as part of servicemix,
> and this is the one that cause such problems.
> Could you try with 3.1-SNAPSHOT ?
>
> On 12/20/06, Maxim Y. Tebenev <mt...@softech.ru> wrote:
>>
>> I'm using 3.0.
>> I wonder how it may depend on smx version since that's build-time error.
>>
>> Best regards, Maxim Tebenev.
>>
>>
>> gnodet wrote:
>> >
>> > Using 3.0 or 3.1-SNAPSHOT ?
>> >
>> > On 12/20/06, Maxim Y. Tebenev <mt...@softech.ru> wrote:
>> >>
>> >> Hello guys,
>> >>
>> >> I'm constantly facing up with the same issues. Any thoughts on how it
>> >> could
>> >> be fixed?
>> >> Thanks in advance.
>> >>
>> >> Best regards, Maxim Tebenev.
>> >>
>> >>
>> >> Could you raise a JIRA please.
>> >> I thought it was fixed, but i guess i'm wrong.
>> >> You use the 3.0 release version, right ?
>> >>
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >> 
>> http://www.nabble.com/problem-packaging-multiple-service-unit-dependant-from-the-same-component-tf2409058s12049.html#a7986498
>> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>> > --
>> > Cheers,
>> > Guillaume Nodet
>> >
>> >
>>
>> --
>> View this message in context: 
>> http://www.nabble.com/problem-packaging-multiple-service-unit-dependant-from-the-same-component-tf2409058s12049.html#a7987589
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet





Re: problem packaging multiple service unit dependant from the same component

Posted by "Maxim Y. Tebenev" <mt...@softech.ru>.
Hello Guillaume, 
Thank you for your effort!

Best regards, Maxim Tebenev.

-- 
View this message in context: http://www.nabble.com/problem-packaging-multiple-service-unit-dependant-from-the-same-component-tf2409058s12049.html#a8047259
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: problem packaging multiple service unit dependant from the same component

Posted by Guillaume Nodet <gn...@gmail.com>.
This is now fixed in 3.1.

On 12/20/06, Maxim Y. Tebenev <mt...@softech.ru> wrote:
>
> Alas, that didn't help too.
> As workaround I've moved http endpoints to a single SU - that works. If you
> have another ideas, please let me know. I've added JIRA issue as well.
>
> Best regards, Maxim Tebenev.
> --
> View this message in context: http://www.nabble.com/problem-packaging-multiple-service-unit-dependant-from-the-same-component-tf2409058s12049.html#a7991188
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet

Re: problem packaging multiple service unit dependant from the same component

Posted by "Maxim Y. Tebenev" <mt...@softech.ru>.
Alas, that didn't help too. 
As workaround I've moved http endpoints to a single SU - that works. If you
have another ideas, please let me know. I've added JIRA issue as well.

Best regards, Maxim Tebenev.
-- 
View this message in context: http://www.nabble.com/problem-packaging-multiple-service-unit-dependant-from-the-same-component-tf2409058s12049.html#a7991188
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: problem packaging multiple service unit dependant from the same component

Posted by Guillaume Nodet <gn...@gmail.com>.
Not in the xbean.xml, but in the pom.xml, you should have

            <plugin>
                <groupId>org.apache.servicemix.tooling</groupId>
                <artifactId>jbi-maven-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <componentName>servicemix-jsr181</componentName>
                </configuration>
            </plugin>
 	
Change the value to the component you use.

On 12/20/06, Maxim Y. Tebenev <mt...@softech.ru> wrote:
>
> I have xbean.xml describing http WS binding. It doesn't have <configuration>
> section (I used one from Bridge sample). Could you please point on sample
> xbean.xml with configuration tag or write simple snippet?
>
> Thanks!
> Best regards, Maxim Tebenev.
> --
> View this message in context: http://www.nabble.com/problem-packaging-multiple-service-unit-dependant-from-the-same-component-tf2409058s12049.html#a7990691
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet

Re: problem packaging multiple service unit dependant from the same component

Posted by "Maxim Y. Tebenev" <mt...@softech.ru>.
I have xbean.xml describing http WS binding. It doesn't have <configuration>
section (I used one from Bridge sample). Could you please point on sample
xbean.xml with configuration tag or write simple snippet?

Thanks!
Best regards, Maxim Tebenev.
-- 
View this message in context: http://www.nabble.com/problem-packaging-multiple-service-unit-dependant-from-the-same-component-tf2409058s12049.html#a7990691
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: problem packaging multiple service unit dependant from the same component

Posted by Guillaume Nodet <gn...@gmail.com>.
Could you please raise a JIRA ?
If you have a simple project that fails, please attach a zip to the
jira so that we can reproduce the problem.
The current workaround is to specify the <componentName>
parameter in the <configuration> section of the jbi plugin.

On 12/20/06, Maxim Y. Tebenev <mt...@softech.ru> wrote:
>
> Hi Guillaume,
>
> I've just built smx 3.1 from sources and still getting this error. Double
> checked that all 3.0 in pom files changed to 3.1. Do you have other ideas
> how to fix this issue what's the reason for that?
>
> May be that's a good practice to have dependency on a component from a
> single other component? - but that's too restrictive. I'm just novice in ESB
> in SMX.
>
> Thank you for your help.
> Best regards, Maxim Tebenev.
>
>
> --
> View this message in context: http://www.nabble.com/problem-packaging-multiple-service-unit-dependant-from-the-same-component-tf2409058s12049.html#a7990136
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet

Re: problem packaging multiple service unit dependant from the same component

Posted by "Maxim Y. Tebenev" <mt...@softech.ru>.
Hi Guillaume,

I've just built smx 3.1 from sources and still getting this error. Double
checked that all 3.0 in pom files changed to 3.1. Do you have other ideas
how to fix this issue what's the reason for that? 

May be that's a good practice to have dependency on a component from a
single other component? - but that's too restrictive. I'm just novice in ESB
in SMX.

Thank you for your help.
Best regards, Maxim Tebenev.


-- 
View this message in context: http://www.nabble.com/problem-packaging-multiple-service-unit-dependant-from-the-same-component-tf2409058s12049.html#a7990136
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: problem packaging multiple service unit dependant from the same component

Posted by Guillaume Nodet <gn...@gmail.com>.
You *should* be able to use the 3.1-SNAPSHOT maven plugin
without using the 3.1-SNAPSHOT ServiceMix container itself,
at least for packaging (this may lead to problems upon deployment,
not sure).

On 12/20/06, rspazzoli@imolinfo.it <rs...@imolinfo.it> wrote:
> I confirm I have the same problem with sm 3.0, alas never tried 3.1 snapshot.
>
> bye
> Raffaele
>
> Quoting Guillaume Nodet <gn...@gmail.com>:
>
> > Because the jbi maven plugin is released as part of servicemix,
> > and this is the one that cause such problems.
> > Could you try with 3.1-SNAPSHOT ?
> >
> > On 12/20/06, Maxim Y. Tebenev <mt...@softech.ru> wrote:
> >>
> >> I'm using 3.0.
> >> I wonder how it may depend on smx version since that's build-time error.
> >>
> >> Best regards, Maxim Tebenev.
> >>
> >>
> >> gnodet wrote:
> >> >
> >> > Using 3.0 or 3.1-SNAPSHOT ?
> >> >
> >> > On 12/20/06, Maxim Y. Tebenev <mt...@softech.ru> wrote:
> >> >>
> >> >> Hello guys,
> >> >>
> >> >> I'm constantly facing up with the same issues. Any thoughts on how it
> >> >> could
> >> >> be fixed?
> >> >> Thanks in advance.
> >> >>
> >> >> Best regards, Maxim Tebenev.
> >> >>
> >> >>
> >> >> Could you raise a JIRA please.
> >> >> I thought it was fixed, but i guess i'm wrong.
> >> >> You use the 3.0 release version, right ?
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/problem-packaging-multiple-service-unit-dependant-from-the-same-component-tf2409058s12049.html#a7986498
> >> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > Cheers,
> >> > Guillaume Nodet
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/problem-packaging-multiple-service-unit-dependant-from-the-same-component-tf2409058s12049.html#a7987589
> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
>
>
>
>
>


-- 
Cheers,
Guillaume Nodet