-
Notifications
You must be signed in to change notification settings - Fork 29
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
Check whether delete succeeded when undeploying from dropins #25
Comments
@Azquelt I'm having described with file locking on windows. Is there a fix somewhere?
The test archive is deployed in dropins and the archive is locked until websphere is stopped. I'm not having any issues when adding the same test archive by dropping it manually into dropins. The tests are not executed then, it's only "deployed". |
Hi @codingchili I'm guessing you're using the remote container (Based on If so could you open a separate issue and also check the messages log of the server for any relevant messages? The issue I reported here is a result of the managed container not waiting for the server to unlock the file so it could be deleted. If you're using the remote container, then the container makes a call to the remote liberty server which is then responsible for deleting the file. So it could be a problem with the remote container, or a problem with Liberty itself. Raise a new issue and include the messages log from around the time the failure occurred and we can investigate. |
The managed container issue where the file is not deleted because it is locked should be fixed by #46 but I should also check whether that fixes the exception message that's returned if the deletion still fails. |
Issue Overview
If deleting a file from dropins fails, the exception returned does not identify the cause
Expected Behaviour
If deleting a file from dropins fails, the exception returned to the user should say that it couldn't delete the file
Current Behaviour
If deleting a file from dropins fails, the exception returned to the user is
Caused by: org.jboss.arquillian.container.spi.client.container.DeploymentException: Timeout while waiting for "CDIPropertyNameMatchingTest" ApplicationMBean to reach NOT_INSTALLED. Actual state: STARTED.
Steps To Reproduce
Additional Information
We saw this problem when the liberty process had the file locked due to a server bug. Although liberty shouldn't have the application locked, it might make sense to include a wait and retry loop if we can't delete the file.
The text was updated successfully, but these errors were encountered: