Reputation: 1433
I'm using Tomcat 7 and Manager coming from 7.0.32.
curl -X PUT http://user:password@server:port/manager/text/deploy?path=/app
OK - it works
curl -X PUT http://user:password@server:port/manager/text/list
FAIL - Unknown command /list
Same with stop :
FAIL - Unknown command /stop
but in the official doc : http://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html#Stop_an_Existing_Application It's clearly stated that this command exists.
What am I missing ?
Upvotes: 0
Views: 3034
Reputation: 1433
OK ... very simple answer : it's not a PUT it's a GET.
curl -X GET http://user:password@server:port/manager/text/list
I used wireshark to listen on my machine when using tomcat+ant. ( http://paulgrenyer.blogspot.in/2011/11/catalina-ant-for-tomcat-7.html )
Upvotes: 7