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

Bug 369471

Summary: Intermittent publishing issues
Product: [WebTools] WTP Webservices Reporter: Keith Chong <keith.chong.ca>
Component: jst.wsAssignee: Keith Chong <keith.chong.ca>
Status: NEW --- QA Contact: Keith Chong <keith.chong.ca>
Severity: normal    
Priority: P3 CC: ccc
Version: 3.2.5   
Target Milestone: 3.2.5 P   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 369472, 369473    
Attachments:
Description Flags
Apply to org.eclipse.jst.ws.consumption and org.eclipse.jst.ws.consumption.ui none

Description Keith Chong CLA 2012-01-24 00:20:25 EST
The web services commands StartServerCommand and AbstractStartServer should be using IServer's method:

publish(int kind, List<IModule[]> modules, IAdaptable info, IOperationListener listener) 

instead of:

publish(int kind, IProgressMonitor monitor);

Publishing issues can occur because of the latter methods' non-thread safe nature.
Comment 1 Keith Chong CLA 2012-01-24 00:21:35 EST
See IServer's javadocs.
Comment 2 Keith Chong CLA 2012-01-24 00:29:05 EST
Created attachment 209952 [details]
Apply to org.eclipse.jst.ws.consumption and org.eclipse.jst.ws.consumption.ui