Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369471 - Intermittent publishing issues
Summary: Intermittent publishing issues
Status: NEW
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: 3.2.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2.5 P   Edit
Assignee: Keith Chong CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 369472 369473
  Show dependency tree
 
Reported: 2012-01-24 00:20 EST by Keith Chong CLA
Modified: 2012-01-24 00:29 EST (History)
1 user (show)

See Also:


Attachments
Apply to org.eclipse.jst.ws.consumption and org.eclipse.jst.ws.consumption.ui (4.80 KB, patch)
2012-01-24 00:29 EST, Keith Chong CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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