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

Bug 338093

Summary: Setting the server state to unknown still shown the launch config of the server as runnnig
Product: [WebTools] WTP ServerTools Reporter: Girish Balre <grkumar>
Component: wst.serverAssignee: wst.server <wst.server-inbox>
Status: NEW --- QA Contact: Angel Vera <arvera>
Severity: normal    
Priority: P3 CC: curtis.windatt.public
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Girish Balre CLA 2011-02-24 09:39:06 EST
Build Identifier: Eclipse 3.6

I defined a custom server using WTP framework. I am setting the server state to be unknown for some conditions. Even if I set the server state to unknown when I open the launch configuration for this server the state is shown as "Server already running". This should't be the case.

Reproducible: Always

Steps to Reproduce:
1. Use WTP framework to define custom server.
2. Also create launch config for the same.
3. Use the org.eclipse.wst.server.core.model.ServerBehaviourDelegate.setServerState(int state)
API to set the server state to Unknown i.e., IServer.STATE_UNKNOWN
4. Observer that after setting the state to unknown as well, when we open the server launch configuration the state is shown as "Server already running".
Comment 1 Curtis Windatt CLA 2011-02-24 10:51:54 EST
Moving to WTP