You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ariekenb <aa...@lmco.com> on 2009/08/12 15:45:29 UTC

FUSE ESB 4.1.0.2: camel-mina feature will not install

Running ESB 4.1.0.2, the camel-mina feature will not install:

smx@root:features> install camel-mina
ERROR CommandLineExecutionFailed:
org.apache.geronimo.gshell.command.CommandException:
org.osgi.framework.BundleException: Unresolved constraint in bundle 157:
package; (package=org.apache.mina.common)


It appears ESB 4.1.0.2 comes with mina version 2.0.0.M6, but camel-mina
still depends on mina 1.1.x.  In ESB 4.1.0.0 a mina 1.1.7 bundle is included
in the system directory.  No mina 1.1.x bundle is included with ESB 4.1.0.2,
and there does not seem to be any mina 1.1.x bundle available on
http://repo.open.iona.com.

Is camel-mina currently broken in FUSE ESB 4.1.0.2?
-- 
View this message in context: http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p24936826.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: FUSE ESB 4.1.0.2: camel-mina feature will not install

Posted by ariekenb <aa...@lmco.com>.
Thanks.  After buidling mina 1.1.7_2-SNAPSHOT myself and installing it in
FUSE ESB, it looks like camel-mina 1.6.2-SNAPSHOT installs and works.


cmoulliard wrote:
> 
> Hi Aaron,
> 
> If maven is installed on your pc and you have downloaded the bundle
> project,
> you can build the snapshot 1.1.7_2 using the command :
> 
> mvn clean install
> 
> Otherwise, I can send you the jar file in an email.
> 
> Regards,
> 
> Charles
> 
> 
> On Sat, Aug 15, 2009 at 4:50 PM, aaronriekenberg
> <aaron.riekenberg@gmail.com
>> wrote:
> 
>>
>> What repo did you find the mina 1.1.7_2-SNAPSHOT bundle in?  I can't find
>> it
>> in any of these:
>>
>> http://people.apache.org/repo/m2-snapshot-repository (has a
>> 1.1.7_2-SNAPSHOT
>> directory but it's empty)
>> https://repository.apache.org/content/repositories/snapshots
>> http://repo.fusesource.com/maven2-snapshot (has mina bundle
>> 1.1.6_1-fuse-SNAPSHOT, no 1.1.7 snapshots)
>> http://svn.apache.org/repos/asf/servicemix/m2-repo
>>
>>
>>
>> willem.jiang wrote:
>> >
>> > Hi,
>> >
>> > I can reproduce the error as you said.
>> > But when I use the latest snapshot of servicemix mina bundle[1]
>> > (1.1.7_2-SNAPSHOT), the error is gone.
>> >
>> > So I compared the two bundle's MANIFEST.MF, the main difference is the
>> > new workable snapshot bundle's has the Ignore-Package section, I think
>> > this will help Felix to ignore the MINA 2.0 bundle's exporting
>> packages.
>> >
>> > [1]
>> >
>> http://svn.apache.org/repos/asf/servicemix/smx4/bundles/trunk/mina-1.1.7
>> >
>> >
>> > Willem
>> >
>> > ariekenb wrote:
>> >> Willem Jiang committed a change to add a version number on the mina
>> >> imports
>> >> in camel-mina (https://issues.apache.org/activemq/browse/CAMEL-1907).
>> >>
>> >> I checked out the current camel-1.x branch and built it and tried
>> >> installing
>> >> in FUSE ESB 4.1.0.2.
>> >>
>> >> First I installed the mina 1.1.7 bundle:
>> >>
>> >> install -s
>> >>
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mina/1.1.7_1
>> >>
>> >> Next I tried installing the camel-mina-1.6.2-SNAPSHOT bundle I built
>> and
>> >> got
>> >> the error below:
>> >>
>> >> smx@root:osgi> install -s
>> >>
>> file:///home/ariekenb/.m2/repo/org/apache/camel/camel-mina/1.6.2-SNAPSHOT/camel-mina-1.6.2-SNAPSHOT.jar
>> >> ERROR CommandLineExecutionFailed:
>> >> org.apache.geronimo.gshell.command.CommandException:
>> >> org.osgi.framework.BundleException: Unresolved constraint in bundle
>> 93:
>> >> package;
>> >>
>> (&(package=org.apache.mina.transport.vmpipe)(version>=1.1.7)(!(version>=2.0.0)))
>> >>
>> >>
>> >> I do not understand why this error happens - the mina bundle is
>> exporting
>> >> org.apache.mina.transport.vmpipe version 1.1.7.  Any ideas?  Maybe
>> >> someone
>> >> else could try this in FUSE ESB 4.1.0.2?
>> >>
>> >>
>> >>
>> >>
>> >> Claus Ibsen-2 wrote:
>> >>> Hmm Mina 2.0 has not been released as final yet.
>> >>>
>> >>> I wonder what / why SMX suddenly uses 2.0x instead of 1.1.7 that is
>> >>> the last stable release.
>> >>> And I do not think camel-mina have OSGi version limitation to mina
>> >>> 1.1.x in the manifest file.
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> On Wed, Aug 12, 2009 at 3:45 PM,
>> ariekenb<aa...@lmco.com>
>> >>> wrote:
>> >>>> Running ESB 4.1.0.2, the camel-mina feature will not install:
>> >>>>
>> >>>> smx@root:features> install camel-mina
>> >>>> ERROR CommandLineExecutionFailed:
>> >>>> org.apache.geronimo.gshell.command.CommandException:
>> >>>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>> >>>> 157:
>> >>>> package; (package=org.apache.mina.common)
>> >>>>
>> >>>>
>> >>>> It appears ESB 4.1.0.2 comes with mina version 2.0.0.M6, but
>> camel-mina
>> >>>> still depends on mina 1.1.x.  In ESB 4.1.0.0 a mina 1.1.7 bundle is
>> >>>> included
>> >>>> in the system directory.  No mina 1.1.x bundle is included with ESB
>> >>>> 4.1.0.2,
>> >>>> and there does not seem to be any mina 1.1.x bundle available on
>> >>>> http://repo.open.iona.com.
>> >>>>
>> >>>> Is camel-mina currently broken in FUSE ESB 4.1.0.2?
>> >>>> --
>> >>>> View this message in context:
>> >>>>
>> http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p24936826.html
>> >>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>> >>>>
>> >>>>
>> >>>
>> >>>
>> >>> --
>> >>> Claus Ibsen
>> >>> Apache Camel Committer
>> >>>
>> >>> Open Source Integration: http://fusesource.com
>> >>> Blog: http://davsclaus.blogspot.com/
>> >>> Twitter: http://twitter.com/davsclaus
>> >>>
>> >>>
>> >>
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p24985240.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> Charles Moulliard
> SOA Architect
> 
> My Blog : http://cmoulliard.blogspot.com/  
> 

-- 
View this message in context: http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p25007496.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: FUSE ESB 4.1.0.2: camel-mina feature will not install

Posted by Charles Moulliard <cm...@gmail.com>.
Hi Aaron,

If maven is installed on your pc and you have downloaded the bundle project,
you can build the snapshot 1.1.7_2 using the command :

mvn clean install

Otherwise, I can send you the jar file in an email.

Regards,

Charles


On Sat, Aug 15, 2009 at 4:50 PM, aaronriekenberg <aaron.riekenberg@gmail.com
> wrote:

>
> What repo did you find the mina 1.1.7_2-SNAPSHOT bundle in?  I can't find
> it
> in any of these:
>
> http://people.apache.org/repo/m2-snapshot-repository (has a
> 1.1.7_2-SNAPSHOT
> directory but it's empty)
> https://repository.apache.org/content/repositories/snapshots
> http://repo.fusesource.com/maven2-snapshot (has mina bundle
> 1.1.6_1-fuse-SNAPSHOT, no 1.1.7 snapshots)
> http://svn.apache.org/repos/asf/servicemix/m2-repo
>
>
>
> willem.jiang wrote:
> >
> > Hi,
> >
> > I can reproduce the error as you said.
> > But when I use the latest snapshot of servicemix mina bundle[1]
> > (1.1.7_2-SNAPSHOT), the error is gone.
> >
> > So I compared the two bundle's MANIFEST.MF, the main difference is the
> > new workable snapshot bundle's has the Ignore-Package section, I think
> > this will help Felix to ignore the MINA 2.0 bundle's exporting packages.
> >
> > [1]
> > http://svn.apache.org/repos/asf/servicemix/smx4/bundles/trunk/mina-1.1.7
> >
> >
> > Willem
> >
> > ariekenb wrote:
> >> Willem Jiang committed a change to add a version number on the mina
> >> imports
> >> in camel-mina (https://issues.apache.org/activemq/browse/CAMEL-1907).
> >>
> >> I checked out the current camel-1.x branch and built it and tried
> >> installing
> >> in FUSE ESB 4.1.0.2.
> >>
> >> First I installed the mina 1.1.7 bundle:
> >>
> >> install -s
> >>
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mina/1.1.7_1
> >>
> >> Next I tried installing the camel-mina-1.6.2-SNAPSHOT bundle I built and
> >> got
> >> the error below:
> >>
> >> smx@root:osgi> install -s
> >>
> file:///home/ariekenb/.m2/repo/org/apache/camel/camel-mina/1.6.2-SNAPSHOT/camel-mina-1.6.2-SNAPSHOT.jar
> >> ERROR CommandLineExecutionFailed:
> >> org.apache.geronimo.gshell.command.CommandException:
> >> org.osgi.framework.BundleException: Unresolved constraint in bundle 93:
> >> package;
> >>
> (&(package=org.apache.mina.transport.vmpipe)(version>=1.1.7)(!(version>=2.0.0)))
> >>
> >>
> >> I do not understand why this error happens - the mina bundle is
> exporting
> >> org.apache.mina.transport.vmpipe version 1.1.7.  Any ideas?  Maybe
> >> someone
> >> else could try this in FUSE ESB 4.1.0.2?
> >>
> >>
> >>
> >>
> >> Claus Ibsen-2 wrote:
> >>> Hmm Mina 2.0 has not been released as final yet.
> >>>
> >>> I wonder what / why SMX suddenly uses 2.0x instead of 1.1.7 that is
> >>> the last stable release.
> >>> And I do not think camel-mina have OSGi version limitation to mina
> >>> 1.1.x in the manifest file.
> >>>
> >>>
> >>>
> >>>
> >>> On Wed, Aug 12, 2009 at 3:45 PM, ariekenb<aa...@lmco.com>
> >>> wrote:
> >>>> Running ESB 4.1.0.2, the camel-mina feature will not install:
> >>>>
> >>>> smx@root:features> install camel-mina
> >>>> ERROR CommandLineExecutionFailed:
> >>>> org.apache.geronimo.gshell.command.CommandException:
> >>>> org.osgi.framework.BundleException: Unresolved constraint in bundle
> >>>> 157:
> >>>> package; (package=org.apache.mina.common)
> >>>>
> >>>>
> >>>> It appears ESB 4.1.0.2 comes with mina version 2.0.0.M6, but
> camel-mina
> >>>> still depends on mina 1.1.x.  In ESB 4.1.0.0 a mina 1.1.7 bundle is
> >>>> included
> >>>> in the system directory.  No mina 1.1.x bundle is included with ESB
> >>>> 4.1.0.2,
> >>>> and there does not seem to be any mina 1.1.x bundle available on
> >>>> http://repo.open.iona.com.
> >>>>
> >>>> Is camel-mina currently broken in FUSE ESB 4.1.0.2?
> >>>> --
> >>>> View this message in context:
> >>>>
> http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p24936826.html
> >>>> Sent from the Camel - Users mailing list archive at Nabble.com.
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> Claus Ibsen
> >>> Apache Camel Committer
> >>>
> >>> Open Source Integration: http://fusesource.com
> >>> Blog: http://davsclaus.blogspot.com/
> >>> Twitter: http://twitter.com/davsclaus
> >>>
> >>>
> >>
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p24985240.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>

Re: FUSE ESB 4.1.0.2: camel-mina feature will not install

Posted by aaronriekenberg <aa...@gmail.com>.
What repo did you find the mina 1.1.7_2-SNAPSHOT bundle in?  I can't find it
in any of these:

http://people.apache.org/repo/m2-snapshot-repository (has a 1.1.7_2-SNAPSHOT
directory but it's empty)
https://repository.apache.org/content/repositories/snapshots
http://repo.fusesource.com/maven2-snapshot (has mina bundle
1.1.6_1-fuse-SNAPSHOT, no 1.1.7 snapshots)
http://svn.apache.org/repos/asf/servicemix/m2-repo



willem.jiang wrote:
> 
> Hi,
> 
> I can reproduce the error as you said.
> But when I use the latest snapshot of servicemix mina bundle[1] 
> (1.1.7_2-SNAPSHOT), the error is gone.
> 
> So I compared the two bundle's MANIFEST.MF, the main difference is the 
> new workable snapshot bundle's has the Ignore-Package section, I think 
> this will help Felix to ignore the MINA 2.0 bundle's exporting packages.
> 
> [1]
> http://svn.apache.org/repos/asf/servicemix/smx4/bundles/trunk/mina-1.1.7
> 
> 
> Willem
> 
> ariekenb wrote:
>> Willem Jiang committed a change to add a version number on the mina
>> imports
>> in camel-mina (https://issues.apache.org/activemq/browse/CAMEL-1907).
>> 
>> I checked out the current camel-1.x branch and built it and tried
>> installing
>> in FUSE ESB 4.1.0.2.
>> 
>> First I installed the mina 1.1.7 bundle:
>> 
>> install -s
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mina/1.1.7_1
>> 
>> Next I tried installing the camel-mina-1.6.2-SNAPSHOT bundle I built and
>> got
>> the error below:
>> 
>> smx@root:osgi> install -s
>> file:///home/ariekenb/.m2/repo/org/apache/camel/camel-mina/1.6.2-SNAPSHOT/camel-mina-1.6.2-SNAPSHOT.jar
>> ERROR CommandLineExecutionFailed:
>> org.apache.geronimo.gshell.command.CommandException:
>> org.osgi.framework.BundleException: Unresolved constraint in bundle 93:
>> package;
>> (&(package=org.apache.mina.transport.vmpipe)(version>=1.1.7)(!(version>=2.0.0)))
>> 
>> 
>> I do not understand why this error happens - the mina bundle is exporting
>> org.apache.mina.transport.vmpipe version 1.1.7.  Any ideas?  Maybe
>> someone
>> else could try this in FUSE ESB 4.1.0.2?
>> 
>> 
>> 
>> 
>> Claus Ibsen-2 wrote:
>>> Hmm Mina 2.0 has not been released as final yet.
>>>
>>> I wonder what / why SMX suddenly uses 2.0x instead of 1.1.7 that is
>>> the last stable release.
>>> And I do not think camel-mina have OSGi version limitation to mina
>>> 1.1.x in the manifest file.
>>>
>>>
>>>
>>>
>>> On Wed, Aug 12, 2009 at 3:45 PM, ariekenb<aa...@lmco.com>
>>> wrote:
>>>> Running ESB 4.1.0.2, the camel-mina feature will not install:
>>>>
>>>> smx@root:features> install camel-mina
>>>> ERROR CommandLineExecutionFailed:
>>>> org.apache.geronimo.gshell.command.CommandException:
>>>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>>>> 157:
>>>> package; (package=org.apache.mina.common)
>>>>
>>>>
>>>> It appears ESB 4.1.0.2 comes with mina version 2.0.0.M6, but camel-mina
>>>> still depends on mina 1.1.x.  In ESB 4.1.0.0 a mina 1.1.7 bundle is
>>>> included
>>>> in the system directory.  No mina 1.1.x bundle is included with ESB
>>>> 4.1.0.2,
>>>> and there does not seem to be any mina 1.1.x bundle available on
>>>> http://repo.open.iona.com.
>>>>
>>>> Is camel-mina currently broken in FUSE ESB 4.1.0.2?
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p24936826.html
>>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>> -- 
>>> Claus Ibsen
>>> Apache Camel Committer
>>>
>>> Open Source Integration: http://fusesource.com
>>> Blog: http://davsclaus.blogspot.com/
>>> Twitter: http://twitter.com/davsclaus
>>>
>>>
>> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p24985240.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: FUSE ESB 4.1.0.2: camel-mina feature will not install

Posted by Willem Jiang <wi...@gmail.com>.
Hi,

I can reproduce the error as you said.
But when I use the latest snapshot of servicemix mina bundle[1] 
(1.1.7_2-SNAPSHOT), the error is gone.

So I compared the two bundle's MANIFEST.MF, the main difference is the 
new workable snapshot bundle's has the Ignore-Package section, I think 
this will help Felix to ignore the MINA 2.0 bundle's exporting packages.

[1] http://svn.apache.org/repos/asf/servicemix/smx4/bundles/trunk/mina-1.1.7


Willem

ariekenb wrote:
> Willem Jiang committed a change to add a version number on the mina imports
> in camel-mina (https://issues.apache.org/activemq/browse/CAMEL-1907).
> 
> I checked out the current camel-1.x branch and built it and tried installing
> in FUSE ESB 4.1.0.2.
> 
> First I installed the mina 1.1.7 bundle:
> 
> install -s
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mina/1.1.7_1
> 
> Next I tried installing the camel-mina-1.6.2-SNAPSHOT bundle I built and got
> the error below:
> 
> smx@root:osgi> install -s
> file:///home/ariekenb/.m2/repo/org/apache/camel/camel-mina/1.6.2-SNAPSHOT/camel-mina-1.6.2-SNAPSHOT.jar
> ERROR CommandLineExecutionFailed:
> org.apache.geronimo.gshell.command.CommandException:
> org.osgi.framework.BundleException: Unresolved constraint in bundle 93:
> package;
> (&(package=org.apache.mina.transport.vmpipe)(version>=1.1.7)(!(version>=2.0.0)))
> 
> 
> I do not understand why this error happens - the mina bundle is exporting
> org.apache.mina.transport.vmpipe version 1.1.7.  Any ideas?  Maybe someone
> else could try this in FUSE ESB 4.1.0.2?
> 
> 
> 
> 
> Claus Ibsen-2 wrote:
>> Hmm Mina 2.0 has not been released as final yet.
>>
>> I wonder what / why SMX suddenly uses 2.0x instead of 1.1.7 that is
>> the last stable release.
>> And I do not think camel-mina have OSGi version limitation to mina
>> 1.1.x in the manifest file.
>>
>>
>>
>>
>> On Wed, Aug 12, 2009 at 3:45 PM, ariekenb<aa...@lmco.com>
>> wrote:
>>> Running ESB 4.1.0.2, the camel-mina feature will not install:
>>>
>>> smx@root:features> install camel-mina
>>> ERROR CommandLineExecutionFailed:
>>> org.apache.geronimo.gshell.command.CommandException:
>>> org.osgi.framework.BundleException: Unresolved constraint in bundle 157:
>>> package; (package=org.apache.mina.common)
>>>
>>>
>>> It appears ESB 4.1.0.2 comes with mina version 2.0.0.M6, but camel-mina
>>> still depends on mina 1.1.x.  In ESB 4.1.0.0 a mina 1.1.7 bundle is
>>> included
>>> in the system directory.  No mina 1.1.x bundle is included with ESB
>>> 4.1.0.2,
>>> and there does not seem to be any mina 1.1.x bundle available on
>>> http://repo.open.iona.com.
>>>
>>> Is camel-mina currently broken in FUSE ESB 4.1.0.2?
>>> --
>>> View this message in context:
>>> http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p24936826.html
>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> -- 
>> Claus Ibsen
>> Apache Camel Committer
>>
>> Open Source Integration: http://fusesource.com
>> Blog: http://davsclaus.blogspot.com/
>> Twitter: http://twitter.com/davsclaus
>>
>>
> 


Re: FUSE ESB 4.1.0.2: camel-mina feature will not install

Posted by ariekenb <aa...@lmco.com>.
Willem Jiang committed a change to add a version number on the mina imports
in camel-mina (https://issues.apache.org/activemq/browse/CAMEL-1907).

I checked out the current camel-1.x branch and built it and tried installing
in FUSE ESB 4.1.0.2.

First I installed the mina 1.1.7 bundle:

install -s
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mina/1.1.7_1

Next I tried installing the camel-mina-1.6.2-SNAPSHOT bundle I built and got
the error below:

smx@root:osgi> install -s
file:///home/ariekenb/.m2/repo/org/apache/camel/camel-mina/1.6.2-SNAPSHOT/camel-mina-1.6.2-SNAPSHOT.jar
ERROR CommandLineExecutionFailed:
org.apache.geronimo.gshell.command.CommandException:
org.osgi.framework.BundleException: Unresolved constraint in bundle 93:
package;
(&(package=org.apache.mina.transport.vmpipe)(version>=1.1.7)(!(version>=2.0.0)))


I do not understand why this error happens - the mina bundle is exporting
org.apache.mina.transport.vmpipe version 1.1.7.  Any ideas?  Maybe someone
else could try this in FUSE ESB 4.1.0.2?




Claus Ibsen-2 wrote:
> 
> Hmm Mina 2.0 has not been released as final yet.
> 
> I wonder what / why SMX suddenly uses 2.0x instead of 1.1.7 that is
> the last stable release.
> And I do not think camel-mina have OSGi version limitation to mina
> 1.1.x in the manifest file.
> 
> 
> 
> 
> On Wed, Aug 12, 2009 at 3:45 PM, ariekenb<aa...@lmco.com>
> wrote:
>>
>> Running ESB 4.1.0.2, the camel-mina feature will not install:
>>
>> smx@root:features> install camel-mina
>> ERROR CommandLineExecutionFailed:
>> org.apache.geronimo.gshell.command.CommandException:
>> org.osgi.framework.BundleException: Unresolved constraint in bundle 157:
>> package; (package=org.apache.mina.common)
>>
>>
>> It appears ESB 4.1.0.2 comes with mina version 2.0.0.M6, but camel-mina
>> still depends on mina 1.1.x.  In ESB 4.1.0.0 a mina 1.1.7 bundle is
>> included
>> in the system directory.  No mina 1.1.x bundle is included with ESB
>> 4.1.0.2,
>> and there does not seem to be any mina 1.1.x bundle available on
>> http://repo.open.iona.com.
>>
>> Is camel-mina currently broken in FUSE ESB 4.1.0.2?
>> --
>> View this message in context:
>> http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p24936826.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Claus Ibsen
> Apache Camel Committer
> 
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
> 
> 

-- 
View this message in context: http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p24955099.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: FUSE ESB 4.1.0.2: camel-mina feature will not install

Posted by Charles Moulliard <cm...@gmail.com>.
Aaron,

Have you checked if another mina bundle is installed (2.0.0, ...) ?
Can you execute the command : headers 93 to have info about packages
imported/exported ?
It should be interesting to check using command packages to see which
packages are exported by mina 1.1.7 and which one are imported by Apache
Camel Mina ?
If by example Mina 2.0.0 is installed by defaukt on Fuse ESB 4, this is the
version 2.0.0 which is imported and not 1.1.7 resulting in a conflict.

Regards,

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com


On Thu, Aug 13, 2009 at 4:51 PM, ariekenb <aa...@lmco.com>wrote:

>
> Willem Jiang committed a change to add a version number on the mina imports
> in camel-mina (https://issues.apache.org/activemq/browse/CAMEL-1907).
>
> I checked out the current camel-1.x branch and built it and tried
> installing
> in FUSE ESB 4.1.0.2.
>
> First I installed the mina 1.1.7 bundle:
>
> install -s
>
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mina/1.1.7_1
>
> Next I tried installing the camel-mina-1.6.2-SNAPSHOT bundle I built and
> got
> the error below:
>
> smx@root:osgi> install -s
>
> file:///home/ariekenb/.m2/repo/org/apache/camel/camel-mina/1.6.2-SNAPSHOT/camel-mina-1.6.2-SNAPSHOT.jar
> ERROR CommandLineExecutionFailed:
> org.apache.geronimo.gshell.command.CommandException:
> org.osgi.framework.BundleException: Unresolved constraint in bundle 93:
> package;
>
> (&(package=org.apache.mina.transport.vmpipe)(version>=1.1.7)(!(version>=2.0.0)))
>
>
> I do not understand why this error happens - the mina bundle is exporting
> org.apache.mina.transport.vmpipe version 1.1.7.  Any ideas?  Maybe someone
> else could try this in FUSE ESB 4.1.0.2?
>
> Thanks,
> Aaron
>
>
>
> Claus Ibsen-2 wrote:
> >
> > Hmm Mina 2.0 has not been released as final yet.
> >
> > I wonder what / why SMX suddenly uses 2.0x instead of 1.1.7 that is
> > the last stable release.
> > And I do not think camel-mina have OSGi version limitation to mina
> > 1.1.x in the manifest file.
> >
> >
> >
> >
> > On Wed, Aug 12, 2009 at 3:45 PM, ariekenb<aa...@lmco.com>
> > wrote:
> >>
> >> Running ESB 4.1.0.2, the camel-mina feature will not install:
> >>
> >> smx@root:features> install camel-mina
> >> ERROR CommandLineExecutionFailed:
> >> org.apache.geronimo.gshell.command.CommandException:
> >> org.osgi.framework.BundleException: Unresolved constraint in bundle 157:
> >> package; (package=org.apache.mina.common)
> >>
> >>
> >> It appears ESB 4.1.0.2 comes with mina version 2.0.0.M6, but camel-mina
> >> still depends on mina 1.1.x.  In ESB 4.1.0.0 a mina 1.1.7 bundle is
> >> included
> >> in the system directory.  No mina 1.1.x bundle is included with ESB
> >> 4.1.0.2,
> >> and there does not seem to be any mina 1.1.x bundle available on
> >> http://repo.open.iona.com.
> >>
> >> Is camel-mina currently broken in FUSE ESB 4.1.0.2?
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p24936826.html
> >> Sent from the Camel - Users mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> >
> > --
> > Claus Ibsen
> > Apache Camel Committer
> >
> > Open Source Integration: http://fusesource.com
> > Blog: http://davsclaus.blogspot.com/
> > Twitter: http://twitter.com/davsclaus
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p24954941.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>

Re: FUSE ESB 4.1.0.2: camel-mina feature will not install

Posted by ariekenb <aa...@lmco.com>.
Willem Jiang committed a change to add a version number on the mina imports
in camel-mina (https://issues.apache.org/activemq/browse/CAMEL-1907).

I checked out the current camel-1.x branch and built it and tried installing
in FUSE ESB 4.1.0.2.

First I installed the mina 1.1.7 bundle:

install -s
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.mina/1.1.7_1

Next I tried installing the camel-mina-1.6.2-SNAPSHOT bundle I built and got
the error below:

smx@root:osgi> install -s
file:///home/ariekenb/.m2/repo/org/apache/camel/camel-mina/1.6.2-SNAPSHOT/camel-mina-1.6.2-SNAPSHOT.jar
ERROR CommandLineExecutionFailed:
org.apache.geronimo.gshell.command.CommandException:
org.osgi.framework.BundleException: Unresolved constraint in bundle 93:
package;
(&(package=org.apache.mina.transport.vmpipe)(version>=1.1.7)(!(version>=2.0.0)))


I do not understand why this error happens - the mina bundle is exporting
org.apache.mina.transport.vmpipe version 1.1.7.  Any ideas?  Maybe someone
else could try this in FUSE ESB 4.1.0.2?

Thanks,
Aaron



Claus Ibsen-2 wrote:
> 
> Hmm Mina 2.0 has not been released as final yet.
> 
> I wonder what / why SMX suddenly uses 2.0x instead of 1.1.7 that is
> the last stable release.
> And I do not think camel-mina have OSGi version limitation to mina
> 1.1.x in the manifest file.
> 
> 
> 
> 
> On Wed, Aug 12, 2009 at 3:45 PM, ariekenb<aa...@lmco.com>
> wrote:
>>
>> Running ESB 4.1.0.2, the camel-mina feature will not install:
>>
>> smx@root:features> install camel-mina
>> ERROR CommandLineExecutionFailed:
>> org.apache.geronimo.gshell.command.CommandException:
>> org.osgi.framework.BundleException: Unresolved constraint in bundle 157:
>> package; (package=org.apache.mina.common)
>>
>>
>> It appears ESB 4.1.0.2 comes with mina version 2.0.0.M6, but camel-mina
>> still depends on mina 1.1.x.  In ESB 4.1.0.0 a mina 1.1.7 bundle is
>> included
>> in the system directory.  No mina 1.1.x bundle is included with ESB
>> 4.1.0.2,
>> and there does not seem to be any mina 1.1.x bundle available on
>> http://repo.open.iona.com.
>>
>> Is camel-mina currently broken in FUSE ESB 4.1.0.2?
>> --
>> View this message in context:
>> http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p24936826.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Claus Ibsen
> Apache Camel Committer
> 
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
> 
> 

-- 
View this message in context: http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p24954941.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: FUSE ESB 4.1.0.2: camel-mina feature will not install

Posted by Claus Ibsen <cl...@gmail.com>.
Hmm Mina 2.0 has not been released as final yet.

I wonder what / why SMX suddenly uses 2.0x instead of 1.1.7 that is
the last stable release.
And I do not think camel-mina have OSGi version limitation to mina
1.1.x in the manifest file.




On Wed, Aug 12, 2009 at 3:45 PM, ariekenb<aa...@lmco.com> wrote:
>
> Running ESB 4.1.0.2, the camel-mina feature will not install:
>
> smx@root:features> install camel-mina
> ERROR CommandLineExecutionFailed:
> org.apache.geronimo.gshell.command.CommandException:
> org.osgi.framework.BundleException: Unresolved constraint in bundle 157:
> package; (package=org.apache.mina.common)
>
>
> It appears ESB 4.1.0.2 comes with mina version 2.0.0.M6, but camel-mina
> still depends on mina 1.1.x.  In ESB 4.1.0.0 a mina 1.1.7 bundle is included
> in the system directory.  No mina 1.1.x bundle is included with ESB 4.1.0.2,
> and there does not seem to be any mina 1.1.x bundle available on
> http://repo.open.iona.com.
>
> Is camel-mina currently broken in FUSE ESB 4.1.0.2?
> --
> View this message in context: http://www.nabble.com/FUSE-ESB-4.1.0.2%3A-camel-mina-feature-will-not-install-tp24936826p24936826.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus