Closed alexbudarov closed 4 years ago
Question:
when using uberJar, can I easily set -contextName "" in order to have the app under the root directory? empty string seems to be not the right solution: CMD ["java", "-Dapp.home=/usr/src/cuba/home", "-jar", "/usr/src/cuba/app.jar", "-contextName", ""]
when using uberJar, can I easily set -contextName "" in order to have the app under the root directory? empty string seems to be not the right solution:
CMD ["java", "-Dapp.home=/usr/src/cuba/home", "-jar", "/usr/src/cuba/app.jar", "-contextName", ""]
Solution:
Try to set -contextName /
It's not mentioned in UberJar launching instructions.
Environment
Description of the bug or enhancement
Question:
Solution:
It's not mentioned in UberJar launching instructions.