Community
Participate
Working Groups
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.
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.
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.