Skip to content
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

Enhancement: Use <domain_dir>/lib/warlibs to enable fast devopment deployments #7097

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

lprimak
Copy link
Contributor

@lprimak lprimak commented Nov 28, 2024

Description

Developer can copy all their dependencies to <domain_dir>/lib/warlibs/ and use no-dependency skinny-war
for developer deployments, significantly improving deployment times.

Fixes #6405

Important info

This PR is based on #7032 until that gets merged.

Documentation updates

Applications need to be deployed with the following snippet to asadmin: --properties warlibs=true to take advantage of shared WAR libraries. This is to prevent unnecessary loading of shared libraries with non-development applications, such as admin console or other applications that will fail if shared WAR libraries are loaded.

Testing

Tested skinny WAR deployment

…I-enabled library JARs

- correctly copy BDA sets for each war in EAR
- Make WAR's CDI beans available in EAR-libs
- read web-fragment.xml from EAR-libs
- processing ear-lib manifest
- de-duplicate BDAs in CDI processing by using LinkedHashSet intead of ArrayList
- made some structures final (cleanup)
- fixed ear and concurrent classloader leaks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CDI not scanning bean libraries in domain applib or lib directories/FISH-7871
1 participant