Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » CXF/Jetty Rest API Not Working After Eclipse/Java/CXF/Jetty Upgrade
CXF/Jetty Rest API Not Working After Eclipse/Java/CXF/Jetty Upgrade [message #1861002] Thu, 14 September 2023 07:12
Repah V is currently offline Repah VFriend
Messages: 1
Registered: September 2023
Junior Member
We have inherited an Eclipse RCP application which was based on Eclipse 4.8 (photon) and Java 8. We have upgraded it to Eclipse 4.23 and Java 11. During the upgrade we had to update lot of 3rd party dependencies which include CXF from version 3.3.7 to 3.6.1 and Jetty from version 9.4.50 to 10.0.15.

After this update we saw that the REST API written using CXF and hosted using Jetty were no longer working but the SOAP services were still running fine. The REST services are not even starting. There are no logs in the server logs or eclipse logs that points to any error. On some debugging we found that the WebAppContext is not getting started. In previous version we could see few lines in the logs that were initializing Spring root WebApplicationContext and then starting WebAppContext but in the updated eclipse version we do not see any such logs.

The code is old and using web.xml and cfxwsbean.xml files for configuring rather than Java annotations. We are not sure if there is something wrong with the configurations in these files or not as they were working fine in previous versions.

We want to know if someone has faced a similar issue while upgrading Eclipse/Java/CXF/Jetty or if anyone has any idea what could be going wrong with the REST services. Any help would be appreciated.

Previous Topic:Line editing commands are greyed out in menu
Next Topic:Resolving Proxies in the manual mode
Goto Forum:
  


Current Time: Sat Dec 14 21:59:35 GMT 2024

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

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

Back to the top