You haven't given us enough detail on how you have your server setup, or
even if you are using embedded or jetty-home or the older
jetty-distribution.

If you have setup the DeploymentManager and WebAppProvider, then it's just
a matter of copying the war into place in your ${jetty.base}/webapps/ to
deploy.
And deleting the war to undeploy.

Joakim Erdfelt / [email protected]


On Tue, Oct 22, 2019 at 8:32 AM James Sanderson <[email protected]>
wrote:

> My first post – please be gentle!
>
>
>
> We’ve been using jetty for some time (currently 9.4.19), not embedded we
> start up the server and use xml deployment files to deploy and undeploy our
> web applications.
>
>
>
> One puzzling question I have is how can I find out when the deployment or
> un-deployment has completed and whether it was successful or not; clearly
> we could ping a status url in the app to see if its alive or not – but this
> seems a bit on the clunky side.
>
>
>
> Ideally I would love a command line to deploy / undeploy a war from a
> running jetty but I cant seem to find how to do that.
>
>
>
> Any pointers would be appreciated.
>
>
>
> thanks
>
> James
>
>
> ------------------------------
>
> *Zellis is the trading name for Zellis Holdings Ltd and its associated
> companies “Zellis”.*
>
> The contents of this email are confidential to Zellis and are solely for
> the use of the intended recipient. If you received this email in error,
> please inform the sender immediately and delete the email from your system.
> Unless Zellis have given you express permission to do so, please do not
> disclose, distribute or copy the contents of this email.
>
> Unless this email expressly states that it is a contractual offer or
> acceptance, it is not sent with the intention of creating a legal
> relationship and does not constitute an offer or acceptance which could
> give rise to a contract.
>
> Any views expressed in this email are those of the individual sender
> unless the email specifically states them to be the views of Zellis.
>
> Zellis Holdings Ltd - registered in England and Wales - Company No:
> 10975623 - Registered Office: Peoplebuilding 2, Peoplebuilding Estate,
> Maylands Avenue, Hemel Hempstead, Hertfordshire, HP2 4NW, UK.
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/jetty-users
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to