-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No hot deployment when replacing war-file #12543
Comments
Hmm. |
No, i have no |
@gregw ISTR a conversation where we said that in jetty-12 if a |
@janbartel I don't recall such a conversation. But I'm not opposed to such a change. Note we probably should not change too much prior the redesign we want to do on the deployer. @lglowania Is this a big issue for you? |
It's not a big issue, i could touch the xml-file in the deploy-script. But instead of just copying the war-archive, the deploy-script would have to decide if a xml-file needs to be touched. In my opinion the default jetty-behaviour should be |
Jetty version(s)
12.0.15
Jetty Environment
ee10
Java version/vendor
(use: java -version)
openjdk version "21.0.5" 2024-10-15 LTS
OS type/version
Debian Bookworm
Description
In our setup we copy war-archives to our production-system to deploy new versions of our software.
With Jetty 11 the new war-archive was detected and the context was redeployed. Since the upgrade to Jetty 12.0.10, i always have to touch the context's virtual-host-xml-file to trigger redeployment.
How to reproduce?
Create a webapp with the following structure in the webapps folder and enable the
ee10-deploy
-module.The webapp is only redeployed when
my-webapp.xml
is touched but not whenmy-webapp.war
ist touched.The text was updated successfully, but these errors were encountered: