Java webapp (.war) external web.xml?
Is it possible to bring the file descriptor of the application web.xml from .war out? For example, the file context.xml you can put in the [tomcat]/conf/Catalina/localhost/[appname].xml. You can do the same trick web.xml?
July 9th 19 at 12:53
Highload web server with a large number of blocking threads operations?
Is it possible from the data of the coordinates of width and longitude to receive the name of the city?
How to deal with Calibri?
How bash parses a command terminal and what options should I tell her?
Will the change history of the file in Sublime text?
How to make a proxy for a lost domain of the site behind Cloudflare?
How to export in one file all the project page in Confluence?
Ioslider. Why can not operate the buttons prev and next?
More answers about
"Java webapp (.war) external web.xml?"
July 9th 19 at 12:55
There like you can set a global DD global settings (
) to fumble in their applications and inherit their configs.
I understand that it is global, but you can limit some of the settings only to a specific application?
Because other applications might need the same settings that they may want to apply in the same file. For example, you can put two of the same war file, but rename one of them. Then they will pull the same settings. And this is what I want to avoid.
commented on July 9th 19 at 12:58
: Take out there only what you want to fumble, and the rest by native web.xml - in case of conflict, they override the global.
commented on July 9th 19 at 13:01
: Yes, I understand that the application itself may overwrite option. But if both applications use a single parameter and inside they have the same default, then how to set these parameters different values via the global web.xml? After all, global web.xml you can specify only one value for one parameter. This is the main subtlety.
commented on July 9th 19 at 13:04
: Why you need to make in the global configuration-specific settings?
commented on July 9th 19 at 13:07
See the global configuration you have proposed. I tried to adapt your suggestion into account I have mentioned the thinness. In principle, for the same application a very good option. Ah! HERE IT IS! : it is possible for the application to configure another tomcat and deploy the same application, with their settings in the global conf/web.xml. Everything is fine. Fit. With memory problems there, so theoretically all happy! Thanks for the advice.
But if by chance there is a decision to make on a single server - I will be glad to hear.
You see. I give this application to the service and administrators were asked to give the opportunity to specify your application security settings to access the servlets. They have their own groups, different from my test. But the parameters they set in the external context.xml. So the application is fully parameterized and the parameters and security.
commented on July 9th 19 at 13:10
to write your answer or comment.
Find more questions by tags