Mine too.. Thanks for your help Mark.. It really helped me. -----Original Message----- From: sandro agboka [mailto:sandroagb...@gmail.com] Sent: Wednesday, June 11, 2014 1:28 PM To: Tomcat Users List Subject: Re: Deploy new application using tomcat manager - command line.
Thanks for the trick, I was looking looking for this a while now, I guess today is my lucky day 2014-06-11 7:41 GMT+00:00 Mark Eggers <its_toas...@yahoo.com.invalid>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 6/10/2014 11:45 PM, N, Ravikiran wrote: > > Hi all, > > > > I'm trying to deploy a new application using tomcat manager, since > > I do not have access to the Linux-box where tomcat is running, hence > > the use of manager. I'm trying to follow what is specified in tomcat > > manager docs provided at > > http://tomcat.apache.org/tomcat-"6.0-doc/manager-howto.html", > > where I'm using command as "wget > > http://localhost:8080/manager/deploy?path=/myapp&war=file:/tmp/myapp > > .war > " > > > > > > > > > > > > > , this is returning me the error as "FAIL - Failed to deploy > > application at context path /myapp". How can I debug this issue. > > What are the possible ways of knowing what the issue is. > > > > Regards, Ravikiran N > > > > > > I don't know if you can get wget to work. I have used curl for this: > > curl --upload-file foo.war > http://tomcat-user:tomcat-password@host > :port/manager/deploy?path=/foo\&update=true > > where: > > foo.war is the absolute path to your war file tomcat-user is the > tomcat user with a manager or manager-gui role tomcat-password is the > password for the user host is the target host port is the HTTP/1.1 > port the connector is listening on path should be the same as your war > file name without the .war > > In the above example, the command should be on one line. Don't forget > to escape the & if you're on UNIX. > > I did get wget to undeploy the application with: > > wget --user=tomcat-user --password=tomcat-password > http://host:port/manager/undeploy?path=/foo > > Again, the command is all on one line. > > . . . just my two cents. > /mde/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.13 (MingW32) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQEcBAEBAgAGBQJTmAg7AAoJEEFGbsYNeTwt6aIIAJT/79KyOaO3vgE/wRkFS6+K > 5RHUPladHHjp5bm9ndpWnGLqIn8/cIw/p5aQO47/svXO587K7x/g1HH3qlUeCXP/ > 8fuPOM+Gl5b83s5pif20AlzCgbNdxP6LiC55Yxw2kG9xpgJX0GXdzM35oBa9Mu4Q > uAMH2PtymmeS4hEPPy+AYg8tYrF8Z/SyOIvODDXa7178GGNU56W1ZonaChGQnlX2 > dNsk8lWnxQOxfDWlst3pYrKzJdckBHTC6Hivui39WE9XhDMJSGCOiPwSXS9x/vhk > jlqKp4PdApNlKcTIvT4b8pjbHlO9g7/1/hf9qxG7+CBHM9Z+pGMj3QPZVH6gzJE= > =i45r > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org