Bug 574285 - Eclipse deletes IBM Server Node
Summary: Eclipse deletes IBM Server Node
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.20 (2020-12)   Edit
Hardware: PC Windows 10
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: jst.j2ee CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2021-06-17 16:51 EDT by Dino b CLA
Modified: 2021-11-21 12:49 EST (History)
1 user (show)

See Also:


Attachments
screenshot of what gets removed (32.23 KB, image/png)
2021-06-17 16:51 EDT, Dino b CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dino b CLA 2021-06-17 16:51:20 EDT
Created attachment 286616 [details]
screenshot of what gets removed

STEPS:
Install Eclipse IDE fresh on your machine regardless of OS and version of Eclipse (I tried Oxygen, 2019, 2020, 2021 versions and have same outcome),
G to Servers tab and click on link or right-click > new Server to create new server
Window "Define New Server" will show in which you can see node for various supported servers such as Apache, IBM etc
Expand IBM node and you will see "WebSphere Application Server Liberty Extended Tools"
Click on it, Eclipse will try to download and install something and will eventually ask to be restarted
Restart it
Go back to Servers tab and click on link or right-click > new Server to create new server
In window "Define New Server" that will show the IBM node with its servers is gone
As a result, you no longer can create a WAS Liberty or Open Liberty server any more
The same happens if trying to update eclipse

PROBLEM: Eclipse ends up attempting to install IBM server support it needs by removing preinstall components first.  Then it fails installing what it needs but it does not report any issue.
After restart, you find out that you no longer can work with IBM servers.

EXPECTATION would be that Eclipse finish properly installing what it needs (which is IBM Liberty Developer Tools), restart and once restarted, user should be able to define new IBM server by 
following steps above.

This is a very old issue present in most versions of eclipse I have tried.  It is no where documented nor there is explanation how to go around anywhere.
Comment 1 Dino b CLA 2021-06-17 16:52:31 EDT
I selected version 4.19 but as explained, this has been observed consistently happeing on Oxygen, 2019, 2020, 2021 versions.
Also, the OS does not matter.
Comment 2 Rolf Theunissen CLA 2021-06-18 06:52:52 EDT
Seems that the Server view is provided by the Java EE Tools project.

Moving bug to that project.
Comment 3 Nitin Dahyabhai CLA 2021-06-18 07:22:24 EDT
Does your workspace's error log contain anything? It's in the workspace directory in the \.metadata\.log file, or the Error Log View.
Comment 4 Nitin Dahyabhai CLA 2021-11-21 12:49:28 EST
No further information given, but I'm going to suggest asking the Liberty tools support about it if it turns up again. This doesn't seem to happen with other server adapters.