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

Bug 203582

Summary: Downloadable server adapters install disabled
Product: [WebTools] WTP ServerTools Reporter: Kaloyan Raev <kaloyan>
Component: jst.serverAssignee: Tim deBoer <deboer>
Status: CLOSED WORKSFORME QA Contact: Tim deBoer <deboer>
Severity: major    
Priority: P3 Keywords: helpwanted
Version: 2.0.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kaloyan Raev CLA 2007-09-17 07:54:54 EDT
If I install a downloadable server adapter, after the restart of the IDE, the installed feature remains disabled. I have to go to "Help --> Sofware Updates --> Manage Configuration" to enable the feature. Then the IDE is restarted again and after all these steps the new server adapter is available. 

I have tried this with 
  * GlassFish
  * BEA WebLogic
  * a server adapter that I am currently developing

Is it a bug or there is something missed in the feature configuration of the server adapters?

Note: I install a downloadable server adapter by executing: "Window --> Preferences --> Installed Runtimes --> Add... --> Download additional server adapters".
Comment 1 Tim deBoer CLA 2007-09-17 09:07:29 EDT
This was fine last time I tested it, will need to test again.
Comment 2 Tim deBoer CLA 2007-09-17 10:25:58 EDT
Tested and could not reproduce. Downloaded server adapters were available and running after first restart (prompted after download). Please provide more information about your configuration or steps to reproduce.

Any chance you're running this Eclipse from within another Eclipse (i.e. self hosting)? If so, you're probably just running 'selected plugins only' or hitting the known update manager bug with running self-hosted.
Comment 3 Kaloyan Raev CLA 2007-09-17 10:51:44 EDT
No, I run the IDE standalone - I execute the eclipse.exe. My setup is WTP 2.0.1 RC2. 

I have noticed something strange. The first time I install a downloadable server adapter (e.g. GlassFish), it is installed disabled. Then I have to enable it manually. 

If I then uninstall (from "Manager Configuration") the GlassFish adapter, restart IDE, install it again from the server adapters tool, then, after the restart, the GlassFish adapter is available. Nevertheless, if I now go to "Manage Configuration", the GlassFish adapter is shown as disabled. 

The IDE needs some hours to "cool down" to have the same problem with GlassFish - as if I install it for first time. 

I wonder if this strange situation is due to some strange behavior of Equinox. 

Have you checked on your system in "Manage Configuration" whether the feature of the installed server adapter is enabled?
Comment 4 Tim deBoer CLA 2007-09-17 23:05:32 EDT
Checked my configuration, and none of the server adapters I downloaded were disabled. Confirmed by:
  1) Plugins were available and running
  2) The features show in the Manage Configuration dialog even when the disabled features button on the toolbar was unselected
  3) The Disable link was available on the right for each feature

I did notice that the Geronimo feature had an error in it, but the plugin errors listed were invalid - either due to an Eclipse bug or the fact that I had manually removed the plugins (and then reinstalled) during one test.

Just to confirm - the features were disabled, and not just showing errors? Any other ideas on how to reproduce or how your setup might be different?
Comment 5 Tim deBoer CLA 2007-09-24 09:10:23 EDT
Any update, Kaloyan?
Comment 6 Kaloyan Raev CLA 2007-09-25 02:21:52 EDT
Hi Tim, 

> Just to confirm - the features were disabled, and not just showing errors? 

Yes, exactly. After I enable them manually, they work as expected. 

> Any other ideas on how to reproduce or how your setup might be different?

I can't find any special difference with your setup. It just happens on my system every time. 
Comment 7 Tim deBoer CLA 2007-10-04 14:50:40 EDT
This appears to be some sort of update manager problem, but since I can't reproduce I can't even get enough information to pass it on. Adding helpwanted keyword for now, and hopefully someone else can reproduce or figure out what the difference is in this situation.
Comment 8 Tim deBoer CLA 2008-03-04 14:06:54 EST
Are you still seeing this? I still cannot reproduce, and there have been no other reports of failure.
Comment 9 Tim deBoer CLA 2008-04-20 12:16:54 EDT
Still cannot reproduce, and there have been no other reports of this problem. Since Update Manager has also been replaced by p2, I am going to resolve this bug for now. Please feel free to reopen if you still see this problem with p2.
Comment 10 Kaloyan Raev CLA 2008-05-12 08:52:18 EDT
Cannot reproduce with latest driver any more.