Skip to content

FISH-12192 bugfix: initialize WebContainer before HK2 class scanning so Rest APIs… - #7902

Open
lprimak wants to merge 2 commits into
payara:mainfrom
flowlogix:fix-web-container
Open

FISH-12192 bugfix: initialize WebContainer before HK2 class scanning so Rest APIs…#7902
lprimak wants to merge 2 commits into
payara:mainfrom
flowlogix:fix-web-container

Conversation

@lprimak

@lprimak lprimak commented Jan 26, 2026

Copy link
Copy Markdown
Contributor

… get loaded properly

fixes #7655

Description

This is a bugfix.

This PR forces loading of WebContainer (if exists) prior to HK2 class scanning.
If this is not done, classes such as @RegisterRestClient that are not directly CDI beans (but are @stereotypes) will not correctly register as valid CDI beans, and deployments will fail in postboot or when starting the server with applications already deployed.

lprimak added a commit to flowlogix/Payara that referenced this pull request Jan 26, 2026
@kalinchan kalinchan added the PR: CLA CLA submitted on PR by the contributor label Jan 29, 2026
@Pandrex247 Pandrex247 changed the title bugfix: initialze WebContainer before HK2 class scanning so Rest APIs… FISH-12945 bugfix: initialze WebContainer before HK2 class scanning so Rest APIs… Feb 6, 2026
@Pandrex247 Pandrex247 changed the title FISH-12945 bugfix: initialze WebContainer before HK2 class scanning so Rest APIs… FISH-12192 bugfix: initialize WebContainer before HK2 class scanning so Rest APIs… Feb 6, 2026
@Pandrex247

Copy link
Copy Markdown
Member

FYI: Conflicts

@lprimak

lprimak commented Feb 6, 2026

Copy link
Copy Markdown
Contributor Author

Conflicts resolved, thanks!

@lprimak

lprimak commented Apr 27, 2026

Copy link
Copy Markdown
Contributor Author

@Pandrex247 Any updates on this? It's the "next on the priority list" of my PRs.

Thank you :)

@lprimak

lprimak commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

@Pandrex247 @stian-sigvartsen
This one is up next :) It's been out for a while and works very well :)

@lprimak

lprimak commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

ping...thank you!

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

Labels

PR: CLA CLA submitted on PR by the contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug Report: MP Rest Client is not deployed on Payara startup only/FISH-12192

3 participants