Fix error message in multi-host configuratiion#67
Open
r4nd0m wants to merge 1 commit intolucee:masterfrom
Open
Fix error message in multi-host configuratiion#67r4nd0m wants to merge 1 commit intolucee:masterfrom
r4nd0m wants to merge 1 commit intolucee:masterfrom
Conversation
When the tomcat is configured for multiple hosts, the following message is being displayed on startup: "static path [/opt/lucee/web/] for servlet init param [lucee-web-directory] is not allowed. Path must use a web context specific placeholder" Tha cause is a hardcoded lucee-web-directory.
Member
|
I think this would affect all existing web context paths (e.g.
/opt/lucee/web/logs would become /opt/lucee/web/{web-context-label}/logs)
so some users volume mappings could fail. We might need to solve this a
slightly different way so that use cases for existing paths aren't impacted.
…On Sat, 28 Nov 2020, 8:46 am cinco, ***@***.***> wrote:
***@***.**** approved this pull request.
Thats ok, for me
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#67 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACVQDPHMB6RDOJG4DBWDNTSSAM4NANCNFSM4S23B7VQ>
.
|
Author
Good point @justincarter, how about adding: I tested it in my single-context container by renaming the label (without changing the path to the config file, it has been changed automatically) and it looks like that worked |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

When the tomcat is configured for multiple hosts, the following message is being displayed on startup:
"static path [/opt/lucee/web/] for servlet init param [lucee-web-directory] is not allowed. Path must use a web context specific placeholder"
Tha cause is a hardcoded lucee-web-directory.