mhm... spring works as expected. Http is the problem (although I'm not
sure y by the moment; researching....)

kind regards,
Andreas

On Wed, Mar 16, 2011 at 6:04 AM, Willem Jiang <[email protected]> wrote:
> Hi,
>
> I'm trying to fix the unit test errors of Camel itest-osgi-karaf (which
> is based on Pax-Exam) after Camel upgrade to Karaf 2.2.0.
>
> I found due to the a huge changes on Karaf feature the Pax-Exam doesn't
> support the karaf features any more. You can easily reproduce the
> error by applying the below patch into Karaf 2.2.x branch.
>
> diff --git
> a/itests/tests/src/test/java/org/apache/karaf/shell/itests/FeaturesTest.java
> b/itests/tes
> index 074a29e..cb57b25 100644
> ---
> a/itests/tests/src/test/java/org/apache/karaf/shell/itests/FeaturesTest.java
> +++
> b/itests/tests/src/test/java/org/apache/karaf/shell/itests/FeaturesTest.java
> @@ -61,6 +61,7 @@ public class FeaturesTest extends AbstractIntegrationTest
> {
>
>             // add two features
>             Helper.loadKarafStandardFeatures("obr", "wrapper"),
> +            Helper.loadKarafStandardFeatures("spring", "http"),
>
>             workingDirectory("target/paxrunner/features/"),
>
> According to the stack trace, it looks we need to update the Pax-Exam and
> Pax-Runner for this new feature.
>
> Is there any other thing that I'm missing?
>
> Thanks,
>
> Willem
> ----------------------------------
> FuseSource
> Web: http://www.fusesource.com
> Blog:    http://willemjiang.blogspot.com (English)
>         http://jnn.javaeye.com (Chinese)
> Twitter: willemjiang
>

Reply via email to