tracker issue : CFB-4118933

select a category, or use search below
(searches all categories and all time range)
Title:

[ANeff] Bug for: server start/stop not working properly

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 02/17/2016

Components: Server\RDS Support

Versions: 2016

Failure Type:

Found In Build/Fixed In Build: CFB2016_Final / 302518

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Platforms All

Vote Count: 1

server start/stop not working properly

Repro:

1) In "CF Servers" view, rt-click a running local CF2016 server and choose "Stop Server"
2) See the local CF2016 server restarts (bad - it should only stop)
3) In "CF Servers" view, rt-click the running local CF2016 server and choose "Restart Server"
4) See the local CF2016 server restarted (good) but see Windows Services applet shows the server is stopped (bad)
5) In Windows Services applet, try to start the local CF2016 server and see error "Windows could not start the ColdFusion 2016 Application Server on Local Computer."
6) In "CF Servers" view, rt-click the running local CF2016 server and choose "Stop Server"
7) See the local CF2016 server stopped (good)
8) In Windows Services applet, try to start the local CF2016 server and see it starts (good)
9) In "CF Servers" view, see the server shows as "Running" (good)

So.. there are a couple issues:
1) Choosing "Stop Server" sometimes restarts the server
2) Choosing "Restart Server" does restart server, but Windows Services applet shows the server as stopped

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4118933

External Customer Info:
External Company:  
External Customer Name: Aaron Neff
External Customer Email:

Attachments:

Comments:

Hi Aaron, We unable to repro the below issue : 1) Choosing "Stop Server" sometimes restarts the server 2) Choosing "Restart Server" does restart server, but Windows Services applet shows the server as stopped Are you able to reproduce it consistently ? On which OS are you trying ? Thanks, Mukesh
Comment by Mukesh K.
26644 | February 24, 2016 06:19:25 AM GMT
Hi Mukesh, I can reproduce all steps 100% on Windows 10. I confirmed again just now. 1) Choosing "Stop Server" sometimes restarts the server (update: "sometimes" should be "always" - it "always restarts the server") 2) Choosing "Restart Server" does restart server, but Windows Services applet shows the server as stopped (note: Before choosing "Restart Server", the Windows Task Manager shows the running process is "coldfusion.exe". After choosing "Restart Server", the Windows Task Manager shows the running process is "java.exe") Thanks!, -Aaron
Comment by External U.
26645 | March 11, 2016 01:15:33 PM GMT
Hi Aaron, 1. Unable to reproduce that "Stop Server" sometimes restart the server . 2. If you trying to restart the inbuilt server from coldfusion builder , then it running process will shows as java.exe in the Task Manager . Probably , coldfusion.exe process was related to other CF server you might have in your system . Thanks, Mukesh
Comment by Mukesh K.
26646 | April 18, 2016 12:35:35 AM GMT
Hi Mukesh, Thank you for the follow-up. Regarding "2. If you trying to restart the inbuilt server from coldfusion builder", no I am not using the CF server bundled w/ ColdFusion Builder. I am using standalone CF2016. I am trying to stop and restart CF2016 standalone from ColdFusion Builder. Thanks!, -Aaron
Comment by External U.
26647 | April 19, 2016 02:41:09 AM GMT
Hi Aaron, If you are starting or restarting from builder the standalone coldfusion server , then it will be shown as java.exe in task manager . Otherwise , if it is started from command prompt , then it will be shown as coldfusion.exe in task manager . Regarding you point 2 , since you have restarted the sever from IDE , then coldfusion.exe process will get killed and started as java.exe . Thanks, Mukesh
Comment by Mukesh K.
26648 | April 19, 2016 03:18:13 AM GMT
Hi Mukesh, 1) Restarting standalone server from IDE should restart coldfusion.exe. It shouldn't stop coldfusion.exe and start java.exe. 2) Question: Did you try stopping standalone server from IDE? It restarts coldfusion.exe. Just watch Task Manager and see coldfusion.exe starts again. So the logic is just backwards. The 'Restart' action should do what the 'Stop' action currently does. Thanks!, -Aaron
Comment by External U.
26649 | April 22, 2016 12:17:30 AM GMT
Hi Aaron, Thanks for pointing this out. Just checked in with a fix. Hope in next build, the issue gets fixed.
Comment by Nikhil D.
26650 | May 24, 2016 08:07:09 AM GMT
This is NOT FIXED. *sigh* It is WORSE! Now, in CFB 3.1.3 (build 300344), clicking "Stop" does nothing at all. CF2016 is still running. And clicking "Start" tries to start the still-running server. Debugging works fine, but basic Start/Stop is a fail here. Please re-open and communicate via email. This new tracker.adobe.com leaves much to be desired regarding communication :) (i.e. comment notifications are never emailed) Please note that this ticket has no comment, or vote comment, history. That is b/c migrated CFB tickets are missing that info. Please see TSBX-147. Thanks!, -Aaron
Comment by Aaron N.
26651 | February 08, 2017 07:34:37 AM GMT
Just noting that I'd tested w/ the following config: ColdFusion Builder 2016 version 3.1.3 (Full version) + ColdFusion 2016 Update 1 (Developer Edition, local, standalone). Server start/stop did nothing in that config. CFB's UI updated to show that the server was stopped, or started. BUT, CF itself was never stopped. Thanks!, -Aaron
Comment by Aaron N.
26652 | February 10, 2017 06:07:22 AM GMT