Re: ANT deploy remote
- From: Simon Brooke <simon@xxxxxxxxxxxxxx>
- Date: Mon, 06 Nov 2006 21:06:13 +0000
in message <1162799141.442416.117980@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
abchilla ('abchilla@xxxxxxxx') wrote:
Simon Brooke schrieb:
in message <1162457794.324213.274360@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
abchilla ('abchilla@xxxxxxxx') wrote:
i am issuing a big problem. I want to do following.
I am working on a server, where Tomcat is installed. On my local
server i am programming with eclipse. I am using a build.xml file to
compile the code as a WAR and stuff. What i want to do now is to
deploy this war on the remote server. I know there are commands for
this. I am able to stop the application on the server. I am using a
Log File and the thing is, when i undeploy the application on remote,
the app is deleted, but not the whole path, because it is being used
by tomcat somehow. So i cant deploy the application again. Therefore i
need to stop tomcat via remote, not the application (manager) i dont
know how to do this.
http://tomcat.apache.org/tomcat-5.0-doc/manager-howto.html
this was not a really a help, due i said, i need to stop the tomcat on
remote, not working with the manager ! as is said before, it is no
problem for me deploying, stopping, applications, but i need to stop
tomcat on the remote server. if i use the exec it starts, stops tomcat
on the computer, the command was given from by just using the tomcat
path as location.
OK, why do you need to stop Tomcat on the remote server? I confess this is
something I frequently do do, but I think it is lazy and bad practice.
Does deleting the application through the manager app, and then
reinstalling the application through the manager app, not work? If not,
what precisely is the error message?
When I need to restart any of my tomcats it's a matter of
ssh <servername> -l root
/etc/init.d/tomcat5 restart
but, like I say, I don't see this as good practice and don't recommend you
do it (and, in any case, the precise command will depend on the operating
system you are using server side).
Oh, and, no, you can't ssh to my servers from outside my firewall, so it's
reasonably safe to allow root ssh.
--
simon@xxxxxxxxxxxxxx (Simon Brooke) http://www.jasmine.org.uk/~simon/
/-\ You have discovered a security flaw in a Microsoft product. You
|-| can report this issue to our security team. Would you like to
| | * Be completely ignored (default)?
| | * Receive a form email full of platitudes about how much we care?
\_/ * Spend hours helping us fix this problem on your own phone bill?
.
- Follow-Ups:
- Re: ANT deploy remote
- From: abchilla
- Re: ANT deploy remote
- References:
- ANT deploy remote
- From: abchilla
- Re: ANT deploy remote
- From: Simon Brooke
- Re: ANT deploy remote
- From: abchilla
- ANT deploy remote
- Prev by Date: Re: Generics and type erasure
- Next by Date: Re: Fabonicseries Program required
- Previous by thread: Re: ANT deploy remote
- Next by thread: Re: ANT deploy remote
- Index(es):
Relevant Pages
|
|