karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Pieber <anpie...@gmail.com>
Subject Re: Unable to build latest wicket webconsole
Date Wed, 29 Aug 2012 09:32:28 GMT
good question. I've encountered the same yesterday but today it's
working for me. Can you try to drop the entire
org/apache/karaf/webconsole folder from your .m2 and run them again?

Kind regards,
Andreas

On Wed, Aug 29, 2012 at 11:14 AM, Dan Tran <dantran@gmail.com> wrote:
> Thanks for the quick fixed,   my final IT test fail, how about yours?
>
> Running org.apache.karaf.webconsole.itest.FeaturesIntegrationTest
> 0    [main] INFO  org.ops4j.pax.exam.spi.DefaultExamSystem  - Pax Exam
> System (Version: 2.3.0) created.
> 4884 [main] INFO
> org.openengsb.labs.paxexam.karaf.container.internal.KarafTestContainer
>  - Wait for test container to finish its initialization [
> RelativeTimeout value = 180000 ]
> 4885 [main] INFO
> org.ops4j.pax.exam.rbc.client.RemoteBundleContextClient  - Waiting for
> remote bundle context.. on 21413 name:
> 046677ed-8ad0-4629-b542-dec3d7cc58e2 timout: [ RelativeTimeout value =
> 180000 ]
> 2012-08-29 02:12:29,482 | WARN  | JMX OSGi Agent   | core
>                | 40 - org.apache.aries.jmx.core - 0.3.1 | There are no
> MBean servers registred, can't register MBeans
> 2012-08-29 02:12:29,716 | WARN  | rint Extender: 2 |
> KarArtifactInstaller             | 33 - org.apache.karaf.deployer.kar
> - 2.2.8 | Unable to create directory for Karaf Archive timestamps.
> Results may vary...
>         __ __                  ____
>        / //_/____ __________ _/ __/
>       / ,<  / __ `/ ___/ __ `/ /_
>      / /| |/ /_/ / /  / /_/ / __/
>     /_/ |_|\__,_/_/   \__,_/_/
>
>   Apache Karaf (2.2.8)
>
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>
> karaf@root> 11603 [main] ERROR
> org.ops4j.pax.exam.junit.JUnit4TestRunner  - Exception
> org.ops4j.pax.exam.TestContainerException:
> [shouldInstallAllFeatures(org.apache.karaf.webconsole.itest.FeaturesIntegrationTest):
> URL [mvn:org.apache.karaf.webconsole/apache-karaf-webconsole/0.3.0-SNAPSHOT/xml/features]
> could not be resolved.]
>         at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:112)
>         at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.findAndInvoke(JUnitProbeInvoker.java:89)
>         at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.call(JUnitProbeInvoker.java:72)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:86)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
>         at sun.rmi.transport.Transport$1.run(Transport.java:177)
>         at sun.rmi.transport.Transport$1.run(Transport.java:174)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
>         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
>         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
>         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:722)
> Caused by: java.lang.RuntimeException: URL
> [mvn:org.apache.karaf.webconsole/apache-karaf-webconsole/0.3.0-SNAPSHOT/xml/features]
> could not be resolved.
>         at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:195)
>         at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:47)
>         at org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl.java:199)
>         at org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:210)
>         at org.apache.karaf.features.internal.FeaturesServiceImpl.addRepository(FeaturesServiceImpl.java:204)
>         at org.apache.karaf.webconsole.itest.FeaturesIntegrationTest.shouldInstallAllFeatures(FeaturesIntegrationTest.java:78)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
>         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
>         at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
>         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
>         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
>         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
>         at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:58)
>         at org.ops4j.pax.exam.invoker.junit.internal.ContainerTestRunner.runChild(ContainerTestRunner.java:32)
>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
>         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
>         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
>         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
>         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
>         at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
>         at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
>         at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
>         at org.ops4j.pax.exam.invoker.junit.internal.JUnitProbeInvoker.invokeViaJUnit(JUnitProbeInvoker.java:108)
>         ... 22 more
> 11627 [main] WARN  org.ops4j.pax.exam.spi.DefaultExamSystem  - Option
> org.ops4j.pax.exam.options.FrameworkStartLevelOption has not been
> recognized.
> 11627 [main] WARN  org.ops4j.pax.exam.spi.DefaultExamSystem  - Option
> org.openengsb.labs.paxexam.karaf.options.KarafDistributionConfigurationOption
> has not been recognized.
> 11724 [main] WARN  org.ops4j.pax.exam.spi.DefaultExamSystem  - Option
> org.ops4j.pax.exam.options.FrameworkStartLevelOption has not been
> recognized.
> 11724 [main] WARN  org.ops4j.pax.exam.spi.DefaultExamSystem  - Option
> org.openengsb.labs.paxexam.karaf.options.KarafDistributionConfigurationOption
> has not been recognized.
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 11.852
> sec <<< FAILURE!
> Results :
>
> Failed tests:
> shouldInstallAllFeatures:FeaturesIntegrationTest.shouldInstallAllFeatures:KarafTestContainer{mvn:org.apache.karaf\/apache-karaf\/2.2.8\/zip}(org.apache.karaf.webconsole.itest.FeaturesIntegrationTest):
> URL [mvn:org.apache.karaf.webconsole/apache-karaf-webconsole/0.3.0-SNAPSHOT/xml/features]
> could not be resolved.
>
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
>
>
>
> On Wed, Aug 29, 2012 at 2:11 AM, Andreas Pieber <anpieber@gmail.com> wrote:
>> done
>>
>> Kind regards,
>> Andreas
>>
>> On Wed, Aug 29, 2012 at 10:57 AM, Andreas Pieber <anpieber@gmail.com> wrote:
>>> the final version just had reached m2 central. I'll update the
>>> dependency. Give me a sec
>>>
>>> Kind regards,
>>> Andreas
>>>
>>> On Wed, Aug 29, 2012 at 10:53 AM, Dan Tran <dantran@gmail.com> wrote:
>>>> org.ops4j.pax.wicket:org.ops4j.pax.wicket.service:jar:1.1.0-SNAPSHOT
>>>> is missing at sonatype-snapshot, Can we have this fixed quick?
>>>>
>>>> here is detail build error
>>>>
>>>> [ERROR] Failed to execute goal on project
>>>> org.apache.karaf.webconsole.core: Could not resolve dependencies for
>>>> project org.apache.karaf.webconsole:org.apache.karaf.webconsole.core:bundle:0.3.0-SNAPSHO
>>>> T: The following artifacts could not be resolved:
>>>> org.ops4j.pax.wicket:org.ops4j.pax.wicket.service:jar:1.1.0-SNAPSHOT,
>>>> org.ops4j.pax.wicket:org.ops4j.pax.wicket.test:jar:1.1.0-SNAPSHOT:
>>>> Could not fin
>>>> d artifact org.ops4j.pax.wicket:org.ops4j.pax.wicket.service:jar:1.1.0-SNAPSHOT
>>>> in nexus (http://maven.eng.loglogic.com:8081/nexus/content/groups/public/)
>>>> -> [Help 1]
>>>>
>>>> A deploy of missing snapshot dependency would be sufficient
>>>>
>>>> Big thanks
>>>>
>>>> -D

Mime
View raw message