cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem stopping PowerTools

stephen_spalding
Contributor
0 Kudos
470

I'm able to successfully get the powertools site installed and running in the c:\powertools folder on my windows workstation. I used the b2b_acc_plus recipe for the installation, and I use the following command to start the server:

C:\powertools\installer> install.bat -r b2b_acc_plus start

The problem that I'm having has to do with stopping the server. When I click 'ctrl-c' on the command window, it brings up the 'Terminate batch job (Y/N)?' prompt, but when I type 'Y' and hit enter, it appears to not do anything. If I hit enter again, I'm given the 'Terminate batch job (Y/N)?' prompt again. Each time I hit enter or type 'Y', I keep getting this prompt. Here's a snippet from my command window:

INFO: Server startup in 158898 ms

<-------------> 0% EXECUTING [2m 48s]

> :recipes:b2b_acc_plus:start

Terminate batch job (Y/N)? Terminate batch job (Y/N)? Y

Terminate batch job (Y/N)?

C:\powertools\installer>

Terminate batch job (Y/N)? C:\powertools\installer>

Terminate batch job (Y/N)? C:\powertools\installer> Y

Terminate batch job (Y/N)? 'Y' is not recognized as an internal or external command, operable program or batch file.

C:\powertools\installer>

To get the PowerTools server to stop, I go to Task Manager and kill the "Java Service Wrapper Professional Edition 3.5.29" and "SAPMachine binary" processes. This leaves behind id and pid files in the c:\powertools\hybris\data folder that have to be cleaned up, otherwise the 'ant all' command doesn't work.

Is there a different way that I should be using to start and/or stop the PowerTools server?

Thanks! -Stephen Spalding

Accepted Solutions (1)

Accepted Solutions (1)

stephen_spalding
Contributor
0 Kudos

I've discovered the solution to my problem, and that is to not use the 'install.bat -r b2b_acc_plus start' command to start my server. Instead, use the 'hybrisserver.bat' command to start the site from the c:\powertools\hybris\bin\platform folder. If I start the site like that, I can use 'Ctrl-c' from the command window to break out of the server running.

Answers (0)