ace-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Offermans <marcel.offerm...@luminis.nl>
Subject Re: Maven migration, almost there.
Date Tue, 18 May 2010 20:27:17 GMT
Hello Dennis,

Now that Pax Runner is working again, I see the same problems in the gateway target. I probably
introduced them by accident when adding unit tests to the different bundles. Working on cleaning
up the mistakes, give me some time to complete them! :)

Greetings, Marcel


On May 18, 2010, at 17:25 , Crissman, Dennis wrote:

> Looks like my attachments did not make it.
> 
> Server Error:
> =====
>         ___
>        /  /
>       /  / Oops, there has been a problem!
>      /  /  
>     /__/   org.ops4j.pax.runner.platform.PlatformException:
> [file:/path/ace-devserver/ace-bundles/surefire-testng-2.5.jar] is not a
> valid bundle
>    ___
>   /__/     Use --log=debug to see details.
> 
> =====
> 
> Gateway Errors:
> 
> =====
> -> ERROR: Error starting
> file:bundles/org.apache.ace.deployment_0.8.0.SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.ace.deployment [3]: package; (package=junit.framework))
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.ace.deployment [3]: package; (package=junit.framework)
>    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
>    at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
>    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
>    at 
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>    at java.lang.Thread.run(Thread.java:613)
> ERROR: Error starting
> file:bundles/org.apache.ace.deployment.task_0.8.0.SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.ace.discovery.property [5]: package; (package=junit.framework))
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.ace.discovery.property [5]: package; (package=junit.framework)
>    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
>    at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
>    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
>    at 
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>    at java.lang.Thread.run(Thread.java:613)
> ERROR: Error starting
> file:bundles/org.apache.ace.discovery.property_0.8.0.SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.ace.discovery.property [5]: package; (package=junit.framework))
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.ace.discovery.property [5]: package; (package=junit.framework)
>    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
>    at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
>    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
>    at 
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>    at java.lang.Thread.run(Thread.java:613)
> ERROR: Error starting
> file:bundles/org.apache.ace.gateway.log_0.8.0.SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.ace.discovery.property [5]: package; (package=junit.framework))
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.ace.discovery.property [5]: package; (package=junit.framework)
>    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
>    at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
>    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
>    at 
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>    at java.lang.Thread.run(Thread.java:613)
> ERROR: Error starting
> file:bundles/org.apache.ace.gateway.log.store_0.8.0.SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.ace.identification.property [8]: package;
> (package=junit.framework))
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.ace.identification.property [8]: package;
> (package=junit.framework)
>    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
>    at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
>    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
>    at 
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>    at java.lang.Thread.run(Thread.java:613)
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.ace.identification.property [8]: package;
> (package=junit.framework)ERROR: Error starting
> file:bundles/org.apache.ace.identification.property_0.8.0.SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.ace.identification.property [8]: package;
> (package=junit.framework))
> 
>    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
>    at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
>    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
>    at 
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>    at java.lang.Thread.run(Thread.java:613)
> ERROR: Error starting file:bundles/org.apache.ace.log_0.8.0.SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.ace.log [9]: package; (package=junit.framework))
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.ace.log [9]: package; (package=junit.framework)
>    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
>    at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
>    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
>    at 
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>    at java.lang.Thread.run(Thread.java:613)
> ERROR: Error starting
> file:bundles/org.apache.ace.log.listener_0.8.0.SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.ace.log [9]: package; (package=junit.framework))
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.ace.log [9]: package; (package=junit.framework)
>    at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
>    at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
>    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
>    at 
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>    at java.lang.Thread.run(Thread.java:613)
> =====
> 
> On 5/18/10 9:34 AM, "Dennis Crissman" <dcrissman@perimeterusa.com> wrote:
> 
>> I pulled down the POM change and re-packaged. It looks like I am getting the
>> same, or at least similar, error messages as before. See attached for
>> details.
>> 
>> On 5/17/10 4:42 PM, "Marcel Offermans" <marcel.offermans@luminis.nl> wrote:
>> 
>>> Hello Dennis,
>>> 
>>> On May 17, 2010, at 22:00 , Crissman, Dennis wrote:
>>> 
>>>> I have been following the community for sometime, but this is my first
>>>> posting back.
>>> 
>>> Good to hear from you!
>>> 
>>>> I am attempting to stand up the server and gateway. Aside from the two felix
>>>> bundles mentioned below, I have run into some additional problems.
>>> 
>>>> Before I get to that, when I first attempted to run both I got the following
>>>> error message:
>>>> =====
>>>> -> Felix 2.0.1 : connecting...
>>>> Oops, there has been a problem!
>>>> URL [mvn:org.apache.felix/org.apache.felix.main/2.0.1] could not be
>>>> resolved.
>>>> =====
>>>> To resolve I simply added the missing package to the maven repository. Not
>>>> sure if this is a dependency that was missed in the POM, but thought I might
>>>> mention it.
>>> 
>>> Over the last few days I've seen similar messages being posted on the Felix
>>> mailing lists, see http://markmail.org/message/nyfsumyqgvsktjax for the
>>> thread. I'm still not sure what exactly is causing this. There have been some
>>> issues with the Felix download site, and with the OPS4J site hosting the Pax
>>> Runner project. Let's see what comes out of this. It's definitely not a
>>> problem on your end, I can reproduce the problem here.
>>> 
>>>> After that hurdle, I am now getting different error messages for each.
>>>> 
>>>> Server:
>>>> org.ops4j.pax.runner.platform.PlatformException:
>>>> [file:/path/apache-ace/ace-devserver/ace-bundles/surefire-testng-2.5.jar]
is
>>>> not a valid bundle
>>> 
>>> Just committed a fix for that (rev 945358). I accidentally forgot to mark
>>> this
>>> bundle as <scope>test</scope> so it ended up in the distribution.
>>> 
>>>> Gateway:
>>>> Felix actually stands up, but a series of exceptions are thrown. I will
>>>> attach them to keep this email short, but they all seem to revolve around
>>>> junit.framework being unresolved.
>>> 
>>> Could be related to the problem above.
>>> 
>>>> Any assistance on these would be appreciated.
>>> 
>>> Hope this helps!
>>> 
>>> Greetings, Marcel
>>> 
>>> 
>>> 
>> 
>> 
>> 
>> 
>> 
>> --
>> The sender of this email subscribes to Perimeter E-Security's email
>> anti-virus service. This email has been scanned for malicious code and is
>> believed to be virus free. For more information on email security please
>> visit: http://www.perimeterusa.com/services/messaging
>> This communication is confidential, intended only for the named recipient(s)
>> above and may contain trade secrets or other information that is exempt from
>> disclosure under applicable law. Any use, dissemination, distribution or
>> copying of this communication by anyone other than the named recipient(s) is
>> strictly prohibited. If you have received this communication in error, please
>> delete the email and immediately notify our Command Center at 203-541-3444.
>> 
>> Thanks 
> 
> 
> 
> 
> 
> --
> The sender of this email subscribes to Perimeter E-Security's email
> anti-virus service. This email has been scanned for malicious code and is
> believed to be virus free. For more information on email security please
> visit: http://www.perimeterusa.com/services/messaging
> This communication is confidential, intended only for the named recipient(s)
> above and may contain trade secrets or other information that is exempt from
> disclosure under applicable law. Any use, dissemination, distribution or
> copying of this communication by anyone other than the named recipient(s) is
> strictly prohibited. If you have received this communication in error, please
> delete the email and immediately notify our Command Center at 203-541-3444.
> 
> Thanks 
> 


Mime
View raw message