You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Milan Tomic <to...@yahoo.com> on 2014/11/18 15:11:54 UTC

BootFeaturesInstaller Error with PaxExam

Hello,

Does anyone have any idea what does this means and how to solve it?

2014-11-18 15:04:23,003 | ERROR | FelixStartLevel  | BootFeaturesInstaller            | 20 - org.apache.karaf.features.core - 3.0.2 | Error Boot feature test-dependencies not found
2014-11-18 15:04:23,003 | ERROR | FelixStartLevel  | BootFeaturesInstaller            | 20 - org.apache.karaf.features.core - 3.0.2 | Error Boot feature exam not found

It occur when I run JUnit integration tests using PaxExam and Karaf.

Thank you in advance,
Milan

Re: BootFeaturesInstaller Error with PaxExam

Posted by Milan Tomic <to...@yahoo.com>.
I will try to add complete Karaf logs as attachment, if it helps and if it doesn't bounce this email.
However, I do not set option:
KarafDistributionOption.debugConfiguration("5005", true),
and I got below exception (not sure why). But if I add debugConfiguration("5005", true) (the same with any other port) then my PaxExam ends before it even starts Karaf. Have no idea why...

java.rmi.NotBoundException: d2b0fd01-8270-4e39-b421-0f92e59d19dd
    at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:166)
    at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:410)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:268)
    at sun.rmi.transport.Transport$1.run(Transport.java:178)
    at sun.rmi.transport.Transport$1.run(Transport.java:175)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:174)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:379)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.getRemoteBundleContext(RemoteBundleContextClientImpl.java:242)
    at org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.waitForState(RemoteBundleContextClientImpl.java:211)
    at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.waitForState(KarafTestContainer.java:564)
    at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.startKaraf(KarafTestContainer.java:230)
    at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.start(KarafTestContainer.java:180)
    at org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactor.invoke(AllConfinedStagedReactor.java:79)
    at org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:264)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:98)
    at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)


     On Tuesday, November 18, 2014 4:11 PM, Milan Tomic <to...@yahoo.com> wrote:
   

 
PaxExam version is 4.3.0.
Kind regards,Milan
 

     On Tuesday, November 18, 2014 3:44 PM, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
   

 For Karaf 3.0.2. What's PaxExam version ? 4.0.3 ?

Regards
JB

On 11/18/2014 03:11 PM, Milan Tomic wrote:
> Hello,
>
> Does anyone have any idea what does this means and how to solve it?
>
> 2014-11-18 15:04:23,003 | ERROR | FelixStartLevel  | BootFeaturesInstaller
>    | 20 - org.apache.karaf.features.core - 3.0.2 | Error Boot feature
> test-dependencies not found
> 2014-11-18 15:04:23,003 | ERROR | FelixStartLevel  |
> BootFeaturesInstaller    | 20 - org.apache.karaf.features.core - 3.0.2 |
> Error Boot feature exam not found
>
> It occur when I run JUnit integration tests using PaxExam and Karaf.
>
> Thank you in advance,
> Milan
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

    

   

Re: BootFeaturesInstaller Error with PaxExam

Posted by Milan Tomic <to...@yahoo.com>.
PaxExam version is 4.3.0.
Kind regards,Milan
 

     On Tuesday, November 18, 2014 3:44 PM, Jean-Baptiste Onofré <jb...@nanthrax.net> wrote:
   

 For Karaf 3.0.2. What's PaxExam version ? 4.0.3 ?

Regards
JB

On 11/18/2014 03:11 PM, Milan Tomic wrote:
> Hello,
>
> Does anyone have any idea what does this means and how to solve it?
>
> 2014-11-18 15:04:23,003 | ERROR | FelixStartLevel  | BootFeaturesInstaller
>    | 20 - org.apache.karaf.features.core - 3.0.2 | Error Boot feature
> test-dependencies not found
> 2014-11-18 15:04:23,003 | ERROR | FelixStartLevel  |
> BootFeaturesInstaller    | 20 - org.apache.karaf.features.core - 3.0.2 |
> Error Boot feature exam not found
>
> It occur when I run JUnit integration tests using PaxExam and Karaf.
>
> Thank you in advance,
> Milan
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

   

Re: BootFeaturesInstaller Error with PaxExam

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
For Karaf 3.0.2. What's PaxExam version ? 4.0.3 ?

Regards
JB

On 11/18/2014 03:11 PM, Milan Tomic wrote:
> Hello,
>
> Does anyone have any idea what does this means and how to solve it?
>
> 2014-11-18 15:04:23,003 | ERROR | FelixStartLevel  | BootFeaturesInstaller
>     | 20 - org.apache.karaf.features.core - 3.0.2 | Error Boot feature
> test-dependencies not found
> 2014-11-18 15:04:23,003 | ERROR | FelixStartLevel  |
> BootFeaturesInstaller    | 20 - org.apache.karaf.features.core - 3.0.2 |
> Error Boot feature exam not found
>
> It occur when I run JUnit integration tests using PaxExam and Karaf.
>
> Thank you in advance,
> Milan
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com