-
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
Review deployment of Jetty Context XML files #10411
Comments
Updated the documentation; a better fix is coming with #10411. Signed-off-by: Simone Bordet <[email protected]>
Note that currently it does "work out of the box" for many (most?) deployments that will only have single environment enabled, as that will be the environment used for xml deployments. If we have multiple deployments than currently we use the "heuristic" of:
To do something smarter we'd need to do:
To get the hint we might need:
I'm not sure either of these is robust enough to be worthwhile. |
Oh I just tested my assumption above that a context.xml would be deployed if we only had a single environment enabled. Apparently not! So I think if we fix that, then this will be a lot better. Looking.... |
Implemented a simpler default environment algorithm where an application that does not specify an environment is always attempted in the default.
Implemented a simpler default environment algorithm where an application that does not specify an environment is always attempted in the default. Updated documentation. Signed-off-by: Simone Bordet <[email protected]> Co-authored-by: Simone Bordet <[email protected]>
Fixed by #10415. |
Implemented a simpler default environment algorithm where an application that does not specify an environment is always attempted in the default. Updated documentation. Signed-off-by: Simone Bordet <[email protected]> Co-authored-by: Simone Bordet <[email protected]>
Jetty version(s)
12
Description
Follow-up issue to #10158, where the deployment of Jetty Context XML files should be able to pick a default environment.
See the comments in #10158, as this should not be resolved by documentation only -- it should work out of the box.
The text was updated successfully, but these errors were encountered: