Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348800 - ModifyModules should have IServer scheduling rule
Summary: ModifyModules should have IServer scheduling rule
Status: NEW
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: wst.server (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Elson Yuen CLA
QA Contact: Angel Vera CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-08 16:07 EDT by Raymond Lai CLA
Modified: 2011-06-14 15:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Lai CLA 2011-06-08 16:07:01 EDT
Build Identifier: 

The Add/Remove dialog, and the remove action and the run on server action should have the IServer as their scheduling rule. 

Reproducible: Always

Steps to Reproduce:
1. Add 3 applications to the server
2. While the applications are still publishing, remove one of the three publishing applications from the server. The modifyModules is executed and changed the modules structure on the server. The Remove publish job is pending at this moment.
3. Now, the first Add publish jobs finishes, and tries to create ModulePublishInfo. Since there's only two modules on the server now, the pending removed module doesn't get its ModulePublishInfo created. This means in the WTP server framework that, this application is not published. But in reality, it's published. Then the pending Remove publish job gets executed, and since the WTP server framework thinks the application is not published, no remove delta is sent, and then this application is not removed.
Comment 1 Raymond Lai CLA 2011-06-08 16:08:06 EDT
Maybe the Start/Stop/Restart actions for the modules should have IServer as their scheduling rule as well? Just a thought.