-
Notifications
You must be signed in to change notification settings - Fork 304
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
Bug Report: asadmin undeploy timeout #7215
Comments
@lprimak As the very same EAR worked well from Payara 4 (certainly an older EAR) up to Payara 6.2025.1 I assume that your recent CDI changes has to do with this, as since 6.2025.2 the same EAR produces a runtime failure where a CDI producer is not called anymore. Any loggers you want me to enable and retry? |
Maybe... I can't see the candidate off the top of my head, but it's definitely possible. Thank you! |
@mkarg Does it happen only in EAR files? Or in WAR files as well? |
We do not have any standalone WARs. Do you think it is worth trying with an empty one? |
Yes, please try with empty WAR and empty EAR, just to isolate the problem a bit more. |
I was able to see the issue on mac using |
Can you try the latest build please? Thank you |
I was able to confirm that the attached PR actually closes all open files now and should fix this problem |
Sorry for the delay. Unfortunately I did not find the time to run a test with empty EAR / WAR, but apparently it is not needed anymore: Payara Full CE 6.2025.2-6 perfectly undeploys our EAR without any problem! ❤ Lenny, you are my hero! 🦸♂ |
Brief Summary
asadmin undeploy MyApp
runs into timeout on Full-CE 6.2025.2, but worked fine on Full-CE 6.2025.1Expected Outcome
My-App
is undeployed without timeout / error.Current Outcome
payara6\glassfish\domains\domain1\applications\My-App
still contains all.war
files from our.ear
file, and allMETA.INF/lib/*.jar
files in the unpacked.war
folders. Tried to remove them using CLI commands, but OS says all of those is locked.asadmin list applications
saysMy-App
is undeployed. Shutdown of Payara service unlocks everything, could then use CLI commands to delete all of that. => This proofs that it is Payara is locking itself!Reproducer
We will provide our EAR directly to an engineer if needed.
Operating System
Win 10 Pro
JDK Version
OpenJDK 64-Bit Server VM Zulu21.38+21-CA (build 21.0.5+11-LTS, mixed mode, sharing)
Payara Distribution
Payara Server Full Profile
The text was updated successfully, but these errors were encountered: