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

FISH-6352 File locks prevent undeployment on Windows #5832

Merged
merged 2 commits into from
Jul 5, 2022

Conversation

jGauravGupta
Copy link
Contributor

Description

Undeployment of an application takes a long time on Payara6 on Windows.

Fix

This issue is caused by the NPE exception thrown in the stop operation of WebappClassloader which results in an uncleaned classloader and locking in Windows.

NPE exception is caused during cleaning the cache of BeanELResolver.properties field via Reflection API which is now changed from static to non-static, and that already fixes the cache issue as per the following ticket details.

BeanELResolver needs cleanup method · Issue #171 · jakartaee/expression-language
Fix #171. Make cache per instance rather than per class · jakartaee/expression-language@3ec9258

Testing

Testing Performed

Java EE 7 Samples

@jGauravGupta jGauravGupta changed the title Fish 6352 FISH-6352 File locks prevent undeployment on Windows Jun 30, 2022
@jGauravGupta
Copy link
Contributor Author

jenkins test please

@jGauravGupta
Copy link
Contributor Author

jenkins test please

1 similar comment
@jGauravGupta
Copy link
Contributor Author

jenkins test please

@jGauravGupta jGauravGupta merged commit 18f4a1f into payara:Payara6 Jul 5, 2022
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.

2 participants