Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 305636

Summary: Unable to download additional server adapters
Product: [WebTools] WTP ServerTools Reporter: Raghunathan Srinivasan <raghunathan.srinivasan>
Component: jst.serverAssignee: Angel Vera <arvera>
Status: CLOSED FIXED QA Contact: Angel Vera <arvera>
Severity: major    
Priority: P1 CC: david_williams, robert_gallagher
Version: 3.2   
Target Milestone: 3.2 M7   
Hardware: PC   
OS: Windows XP   
See Also: https://git.eclipse.org/r/108897
Whiteboard:
Bug Depends on: 305731    
Bug Blocks:    

Description Raghunathan Srinivasan CLA 2010-03-12 01:57:35 EST
Open Windiws->Preferences->Server->Runtime Environments
Select Add. 
In the New Server Runtime dialog, click on the link, 'Download additional server adapters'

Result: This open an empty dialog.

This bug restricts users to the built in server adapters and hence I consider this a major outage for M6.
Comment 1 Angel Vera CLA 2010-03-12 17:29:25 EST
Although this is a a big problem, it does have an easy workaround that can be used until we fixed all the bugs comming from the late P2 changes.

To workaround the problem you can use the Help -> Install New Software..., then add a repository by using the URL for your server adapter. 

Although this is not ideal for 3.2 there is still changes that will be comming from P2 that may even break us further. 

I also wanted to note that this is not something that just started to occur, we have playing catchup with the P2 changes that have been comming in through the last two weeks. Some were more noticiable than other as it required code updates that would had broken the build, but this latest changes seem to now be affecting functionality in a few different places. 

We shouldn't hold from declaring M6 because the 'Download additional server adapters' function is not working.
Comment 2 Angel Vera CLA 2010-03-31 10:30:51 EDT
*** Bug 307431 has been marked as a duplicate of this bug. ***
Comment 3 Angel Vera CLA 2010-04-01 15:37:11 EDT
Please note that this item depends on 305731 being fixed.
Comment 4 Angel Vera CLA 2010-04-06 12:09:17 EDT
With 305731 fixed, I had to committ a few changes to get things working. 

I am now able to get through the wizard as I used in the past. But new downloaded server adapters don't seem to be getting integrated into the install. 

Need to look deeper to determine if it is a problem with the particular server adapter or it is still our code.
Comment 5 Angel Vera CLA 2010-04-06 18:17:58 EDT
Changes released to HEAD
Comment 6 Angel Vera CLA 2010-04-06 18:20:05 EDT
I tested the latest changes the plugin does seem to download, but because I am running in selfhosting the plugin doesn't get installed correctly. There seems to be a bug with the  option for allowing installation features in selfhosting mode. 

For some reason I wasn't able to patch my build either. So I am releasing the changes counting in the fact that I debug the code carefully and I saw things getting downloaded. Will retry once there is a build available. For now I am marking this as a resolved, but will reopen if the problem is not fixed
Comment 7 Angel Vera CLA 2010-04-07 10:23:06 EDT
Tested on I-3.2.0-20100407054835 and I was able to download glassfish server adapter. 

Moving to close
Comment 8 Eclipse Genie CLA 2017-10-11 16:32:03 EDT
New Gerrit change created: https://git.eclipse.org/r/108897