NOTE: this thread was migrated from projectzero.org. Some content and formatting may have been lost in the move.
Originally posted by projectzero userid: ygnhzeus - f=4&t=2314#p9387
Hi,when I try to stop an application in app builder.It returns App stop error: 405 , how to solve this problem,thanks!
Pinned topic Can not stop application.App stop error: 405
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2011-05-28T07:43:10Z at 2011-05-28T07:43:10Z by SystemAdmin
Re: Can not stop application.App stop error: 4052011-05-27T06:07:03ZThis is the accepted answer. This is the accepted answer.
Originally posted by projectzero userid: EricWang - f=4&t=2314#p9388
would you please try "zero stop" on the command line?
Re: Can not stop application.App stop error: 4052011-05-27T06:13:39ZThis is the accepted answer. This is the accepted answer.
Originally posted by projectzero userid: ygnhzeus - f=4&t=2314#p9389
Ok, but I got "CWPZC0019E: Cannot find handler for task stop".
Usage: zero main-opts <task> task-args
-d enable minimal logging
-v enable all logging
-l=<file> use the given file to output log to
compile Compiles all Java source files under the module's /java
create Creates a new module in the current directory.
help Prints the documentation for the given command.
modulegroup Manage modulegroups.
package Packages the module as a zip file.
publish Publish the module to your local repository.
repository Manage repositories.
resolve Determine the module's dependencies.
rollback Reverts the effects of the last resolve or update.
search Finds and prints all matching modules in the repository.
switch Switch the module group.
update Resolves a module to its latest dependencies.
version Displays version information
It seems that "stop" is not supported here...
Re: Can not stop application.App stop error: 4052011-05-27T14:39:39ZThis is the accepted answer. This is the accepted answer.
Originally posted by projectzero userid: jeffo - f=4&t=2314#p9392
for 'zero stop' from command line, you will have to navigate into the application directory tree before issuing the command.
> cd /zero/<my_app> (wherever your app was created)
> zero stop
Still trying to think of a reason for the AppBuilder stop to have failed.
Re: Can not stop application.App stop error: 4052011-05-27T15:07:49ZThis is the accepted answer. This is the accepted answer.
Originally posted by projectzero userid: jeffo - f=4&t=2314#p9393
Just a guess: In following the directions for remote operations, you might have created some security issues with issuing the administrative commands from the appbuilder. I would suggest editing those additions to zero.config and only enable the one for remote appbuilder operation to start with:
# Disable localhost restriction
/config/http/ipAddress = "*"
comment/disable the 4 security related protections to start with, just to see AppBuilder operate. They require setting up a secret key and userid combination to be correct and could be interfering. I suspect this is why you are getting the 405 error.
Another thing to try is opening your running app in AppBuilder, go to the Console tab, select Command Line, and issue the zero stop and zero start commands there.