Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 498532 - Changing cloud password externally will lead to Publish action hanging after server is Stopped
Summary: Changing cloud password externally will lead to Publish action hanging after ...
Status: CLOSED INVALID
Alias: None
Product: CFT
Classification: ECD
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: Future   Edit
Assignee: Tim Etchells CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-26 17:19 EDT by Tim Etchells CLA
Modified: 2016-08-30 16:59 EDT (History)
3 users (show)

See Also:


Attachments
Publish hangs with this progress message. (111.84 KB, image/png)
2016-07-26 17:19 EDT, Tim Etchells CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Etchells CLA 2016-07-26 17:19:14 EDT
Created attachment 263324 [details]
Publish hangs with this progress message.

If the user's credentials for a CF server (I am using IBM Bluemix) are changed outside of Eclipse, then the server goes into a Stopped state (either from workbench restart or from user Disconnecting from the server), the publish will hang with the message "Preparing launch delegate...". 
If this action is cancelled, the cursor will start behaving strangely (quickly alternating between loading mode and regular mode, and blocking use of menus or context menus by constantly clicking) while the server tries to start, seemingly until Eclipse is closed or the server is deleted.

Steps to reproduce:
1. Create a new cloud server and log in with your username and password.
2. Wait for the server to go into [Started, Synchronized] state.
3. Change your cloud password OUTSIDE OF Eclipse.
4. Disconnect from the server OR restart the workbench, so that the server goes into [Stopped] state.
5. Try and publish the stopped server.
6. You will receive the dialog shown in the attachment, which will hang indefinitely.
7. Cancelling the dialog will cause the cursor to malfunction until Eclipse is restarted or the server is deleted.
Comment 1 Nieraj Singh CLA 2016-08-18 20:10:52 EDT
Based on what Jonathan mentioned, this issue may be in WTP rather than CFT. Therefore removing it from 1.0.1 schedule until further updates regarding this bug, if anything needs to be fixed on the CFT side.
Comment 2 Jonathan West CLA 2016-08-30 16:59:31 EDT
Ultimately, we have discovered this error can only be reproduced in Eclipse Tools for Bluemix. This is because our IBM Bluemix server type (eg servertype elment of extension point 'org.eclipse.wst.server.core.serverTypes') has specified the startBeforePublish="true" attribute (thus causing the behaviour described above), which is incorrect as there is no local server executable to start. 

The standard Cloud Foundry server definition in Eclipse CFT wisely avoids this attribute, and thus is not susceptible to this issue.