Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » OSGI error on CentOS
OSGI error on CentOS [message #1241211] Fri, 07 February 2014 16:35 Go to next message
Joseph Gagnon is currently offline Joseph GagnonFriend
Messages: 68
Registered: June 2013
Member
I have an eclipse 4 application that has been developed on a CentOS linux platform using eclipse 4.3 and Java 7. Every time I run the app, I get the following error in the run console. It does not appear to have a negative impact on the running of the app, but I want to resolve this to forestall future problems.

Quote:

!SESSION 2014-02-07 10:56:22.186 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product edu.mit.ll.s4m.displays.ssnmsg.product -clearPersistedState
Command-line arguments: -product edu.mit.ll.s4m.displays.ssnmsg.product -data /s4dev/workspace/cband_fx_copy/../runtime-edu.mit.ll.s4m.displays.ssnmsg.product -dev file:/s4dev/workspace/cband_fx_copy/.metadata/.plugins/org.eclipse.pde.core/edu.mit.ll.s4m.displays.ssnmsg.product/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog -clearPersistedState

!ENTRY org.eclipse.ecf.provider.filetransfer.httpclient4 4 0 2014-02-07 10:56:23.359
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.ecf.provider.filetransfer.httpclient4 [54]
Unresolved requirement: osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.http)(version>=4.1.0))"

at org.eclipse.osgi.container.Module.start(Module.java:424)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1551)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1530)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1502)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1445)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: org.osgi.service.resolver.ResolutionException: Unable to resolve osgi.identity; osgi.identity="org.eclipse.ecf.provider.filetransfer.httpclient4"; type="osgi.bundle"; version:Version="1.0.300.v20131209-1801"; singleton:="true": missing requirement osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.http)(version>=4.1.0))"
at org.apache.felix.resolver.Candidates.populateResource(Candidates.java:291)
at org.apache.felix.resolver.Candidates.populate(Candidates.java:154)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:146)
at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolveSingleRevision(ModuleResolver.java:948)
at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolve(ModuleResolver.java:874)
at org.eclipse.osgi.container.ModuleResolver.resolveDelta(ModuleResolver.java:111)
at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:471)
at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:429)
at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:419)
at org.eclipse.osgi.container.Module.start(Module.java:406)
... 7 more
Root exception:
org.osgi.service.resolver.ResolutionException: Unable to resolve osgi.identity; osgi.identity="org.eclipse.ecf.provider.filetransfer.httpclient4"; type="osgi.bundle"; version:Version="1.0.300.v20131209-1801"; singleton:="true": missing requirement osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.http)(version>=4.1.0))"
at org.apache.felix.resolver.Candidates.populateResource(Candidates.java:291)
at org.apache.felix.resolver.Candidates.populate(Candidates.java:154)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:146)
at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolveSingleRevision(ModuleResolver.java:948)
at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolve(ModuleResolver.java:874)
at org.eclipse.osgi.container.ModuleResolver.resolveDelta(ModuleResolver.java:111)
at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:471)
at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:429)
at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:419)
at org.eclipse.osgi.container.Module.start(Module.java:406)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1551)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1530)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1502)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1445)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

Re: OSGI error on CentOS [message #1242860 is a reply to message #1241211] Mon, 10 February 2014 07:23 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
So why is org.eclipse.ecf.provider.filetransfer.httpclient4 in your
launch config? Do you really use ecf or p2?

BTW the stack to me looks like Eclipse 4.4! If you use the target
platform from the nightly update-site you got silently upgraded to 4.4!

Tom

On 07.02.14 17:35, Joseph Gagnon wrote:
> I have an eclipse 4 application that has been developed on a CentOS
> linux platform using eclipse 4.3 and Java 7. Every time I run the app, I
> get the following error in the run console. It does not appear to have a
> negative impact on the running of the app, but I want to resolve this to
> forestall future problems.
>
> Quote:
>> !SESSION 2014-02-07 10:56:22.186
>> -----------------------------------------------
>> eclipse.buildId=unknown
>> java.version=1.7.0_45
>> java.vendor=Oracle Corporation
>> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
>> Framework arguments: -product edu.mit.ll.s4m.displays.ssnmsg.product
>> -clearPersistedState
>> Command-line arguments: -product
>> edu.mit.ll.s4m.displays.ssnmsg.product -data
>> /s4dev/workspace/cband_fx_copy/../runtime-edu.mit.ll.s4m.displays.ssnmsg.product
>> -dev
>> file:/s4dev/workspace/cband_fx_copy/.metadata/.plugins/org.eclipse.pde.core/edu.mit.ll.s4m.displays.ssnmsg.product/dev.properties
>> -os linux -ws gtk -arch x86_64 -consoleLog -clearPersistedState
>>
>> !ENTRY org.eclipse.ecf.provider.filetransfer.httpclient4 4 0
>> 2014-02-07 10:56:23.359
>> !MESSAGE FrameworkEvent ERROR
>> !STACK 0
>> org.osgi.framework.BundleException: Could not resolve module:
>> org.eclipse.ecf.provider.filetransfer.httpclient4 [54]
>> Unresolved requirement: osgi.wiring.package;
>> filter:="(&(osgi.wiring.package=org.apache.http)(version>=4.1.0))"
>>
>> at org.eclipse.osgi.container.Module.start(Module.java:424)
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1551)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1530)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1502)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1445)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
>>
>> Caused by: org.osgi.service.resolver.ResolutionException: Unable to
>> resolve osgi.identity;
>> osgi.identity="org.eclipse.ecf.provider.filetransfer.httpclient4";
>> type="osgi.bundle"; version:Version="1.0.300.v20131209-1801";
>> singleton:="true": missing requirement osgi.wiring.package;
>> filter:="(&(osgi.wiring.package=org.apache.http)(version>=4.1.0))"
>> at
>> org.apache.felix.resolver.Candidates.populateResource(Candidates.java:291)
>>
>> at org.apache.felix.resolver.Candidates.populate(Candidates.java:154)
>> at
>> org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:146)
>> at
>> org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolveSingleRevision(ModuleResolver.java:948)
>>
>> at
>> org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolve(ModuleResolver.java:874)
>>
>> at
>> org.eclipse.osgi.container.ModuleResolver.resolveDelta(ModuleResolver.java:111)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:471)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:429)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:419)
>>
>> at org.eclipse.osgi.container.Module.start(Module.java:406)
>> ... 7 more
>> Root exception:
>> org.osgi.service.resolver.ResolutionException: Unable to resolve
>> osgi.identity;
>> osgi.identity="org.eclipse.ecf.provider.filetransfer.httpclient4";
>> type="osgi.bundle"; version:Version="1.0.300.v20131209-1801";
>> singleton:="true": missing requirement osgi.wiring.package;
>> filter:="(&(osgi.wiring.package=org.apache.http)(version>=4.1.0))"
>> at
>> org.apache.felix.resolver.Candidates.populateResource(Candidates.java:291)
>>
>> at org.apache.felix.resolver.Candidates.populate(Candidates.java:154)
>> at
>> org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:146)
>> at
>> org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolveSingleRevision(ModuleResolver.java:948)
>>
>> at
>> org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolve(ModuleResolver.java:874)
>>
>> at
>> org.eclipse.osgi.container.ModuleResolver.resolveDelta(ModuleResolver.java:111)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:471)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:429)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:419)
>>
>> at org.eclipse.osgi.container.Module.start(Module.java:406)
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1551)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1530)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1502)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1445)
>>
>> at
>> org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
>>
>
Re: OSGI error on CentOS [message #1243052 is a reply to message #1242860] Mon, 10 February 2014 13:00 Go to previous messageGo to next message
Joseph Gagnon is currently offline Joseph GagnonFriend
Messages: 68
Registered: June 2013
Member
I do have my FX target platform set to point to http://download.eclipse.org/efxclipse/runtime-nightly/site (it was set up as a software site rather than a local file). Every now and then I would go in there and update it, which probably accounts for what you've described. Where can I get a copy of the target platform I can download and point the target to so that it won't get updated until I choose to do so?
Re: OSGI error on CentOS [message #1243062 is a reply to message #1243052] Mon, 10 February 2014 13:16 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
You first have to define for yourself what release you are targeting:
* 0.9.0:
- p2 site:
http://download.eclipse.org/efxclipse/runtime-released/0.9.0/site
- p2 zip:
http://download.eclipse.org/efxclipse/runtime-released/0.9.0/site.zip

* 1.0.0:
- p2 site: http://download.eclipse.org/efxclipse/runtime-nightly/site
- p2 zip: http://download.eclipse.org/efxclipse/runtime-nightly/site.zip

The 0.9.0 version will never change (unless we one day move that to the
archive server), the 1.0.0 version will change at least each night (or
whenever we kick of a build)

Tom

On 10.02.14 14:00, Joseph Gagnon wrote:
> I do have my FX target platform set to point to
> http://download.eclipse.org/efxclipse/runtime-nightly/site (it was set
> up as a software site rather than a local file). Every now and then I
> would go in there and update it, which probably accounts for what you've
> described. Where can I get a copy of the target platform I can download
> and point the target to so that it won't get updated until I choose to
> do so?
Re: OSGI error on CentOS [message #1243111 is a reply to message #1243062] Mon, 10 February 2014 14:30 Go to previous message
Joseph Gagnon is currently offline Joseph GagnonFriend
Messages: 68
Registered: June 2013
Member
OK, how should I use this zip file? In other words, where should I place and unpack it, and then what method should I use to make it available to my project? Should I just unpack it in a folder in my project space, or somewhere else and then import it in some way?

BTW, the zip file only contains a small XML file. I was expecting a file containing the actual jar files, etc. for the target platform I could install somewhere and have my project then point to.

[Updated on: Mon, 10 February 2014 14:42]

Report message to a moderator

Previous Topic:Re: Proposed improvement to Eclipse
Next Topic:to migrate or not to migrate?
Goto Forum:
  


Current Time: Tue Mar 19 07:22:54 GMT 2024

Powered by FUDForum. Page generated in 0.02954 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top