Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Unresolved requirements issue since upgrade to RAP 3.5
Unresolved requirements issue since upgrade to RAP 3.5 [message #1791533] Mon, 02 July 2018 07:39 Go to next message
Andrea Antonello is currently offline Andrea AntonelloFriend
Messages: 6
Registered: June 2015
Junior Member
Hello,
I am having a strange issue sine my upgarde to RAP 3.5. I was upgrading from 3.4 and am just using plugins from the target platform (well, plus equinox security, which I do not think should be the problem and anyways has been downloaded from the same eclipse Photon version).

When I run my application inside eclipse, everything works fine, but when I export the application, it doesn't run, complaining about unresolved dependencies.

The stack trace is the following:

!SESSION 2018-07-02 09:18:46.307 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_60
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64 -consolelog -console

!ENTRY org.eclipse.equinox.http.jetty 4 0 2018-07-02 09:18:46.687
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.equinox.http.jetty [3]
  Unresolved requirement: Import-Package: javax.servlet; version="[2.6.0,4.0.0)"

	at org.eclipse.osgi.container.Module.start(Module.java:444)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
	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)


I have in the path the javax.servlet version 3.1.0, so it should be in the range [2.6.0,4.0.0).

I am unable to figure out what is going on, has anyone an idea about how I could debug this?

Thank you,
Andrea
Re: Unresolved requirements issue since upgrade to RAP 3.5 [message #1791538 is a reply to message #1791533] Mon, 02 July 2018 08:22 Go to previous messageGo to next message
Andrea Antonello is currently offline Andrea AntonelloFriend
Messages: 6
Registered: June 2015
Junior Member
Ok, I am going to answer myself, at least partially.

Once the logical stuff doesn't work, one tries the random.

So I removed the photon launcher plugins and put back the ones from oxygen. Magically it now works.

These are the two versions at play:

|-- plugins_oxygen
|   |-- org.apache.commons.logging_1.1.1.v201101211721.jar
|   |-- org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.550.v20170928-1359
|   |-- org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
|   `-- org.eclipse.update.configurator_3.3.400.v20160506-0750.jar
|-- plugins_photon
|   |-- org.apache.commons.logging_1.1.1.v201101211721.jar
|   |-- org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.700.v20180518-1200
|   |-- org.eclipse.equinox.launcher_1.5.0.v20180512-1130.jar
|   `-- org.eclipse.update.configurator_3.4.0.v20180512-1141.jar


I am still puzzeled, but at leats it works.
Does anyone have and idea abotu what is going on?

Best,
Andrea

[Updated on: Mon, 02 July 2018 08:25]

Report message to a moderator

Re: Unresolved requirements issue since upgrade to RAP 3.5 [message #1792626 is a reply to message #1791538] Fri, 20 July 2018 10:41 Go to previous messageGo to next message
Georg Breitschopf is currently offline Georg BreitschopfFriend
Messages: 3
Registered: July 2018
Junior Member
The problem is caused by the change in [1]. The reconciling code has been removed.

[1] https://git.eclipse.org/c/platform/eclipse.platform.git/commit/?id=9f7c3d67025c6ae4ea91e8f80d661664fa2cd57c
Re: Unresolved requirements issue since upgrade to RAP 3.5 [message #1792810 is a reply to message #1791533] Tue, 24 July 2018 10:05 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
are you using Jetty for deployment outside IDE? If not "org.eclipse.equinox.http.jetty" is not needed in the exported war I suppose.
Regards,
Ivan
Previous Topic:RAP sticky session and High-availability clusters
Next Topic:ExpandableComposite Twistie style not rendering
Goto Forum:
  


Current Time: Thu Apr 25 12:00:04 GMT 2024

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

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

Back to the top