Skip to content

Scan for any changed webapp.xml (monitor) not efficient #23

Description

@ArjanLoeffen

XSLweb scans all web applications for a webapp.xml file that has changed after launch. Such a change triggers XSlweb to restart the webapp in accordance with the new settings.

This scan seems to include all files and folders within all web applications, while this could confined to the root of all web application folders (where a webapp.xml is expected to occur).

/home/webapps/app1/webapp.xml
/home/webapps/app2/webapp.xml
...and so on

The scan turns out to be inefficient (taking up an overhead of CPU every 3 seconds) especially when a lot of (static) files are part of the web application. Many static files should be avoided, but may under circumstances be required. For example, a PNG flag for all countries of the world may be integral part of the application, rather than "data".

Request to change the operation to be confined to the root of any web application folder.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions