Can you try using the application on the second node and determine if the original application is still deployed?
Also check the file timestamp of the application on the second node to make sure it is correct. If for some reason its older than the previous deployed copy of the application, you might see the behavior that you describe.
Also try touching the application file on the second node to see if that forces a redeploy. This won't determine the cause but might give more information.
I tried a couple of more times the test cases this time i had a mixed os
Linux + Windows
i deploy and undeploy on windows then everything is ok.
However when i undeployed the ear under linux the ear didnt get undeployed on windows...
What do you say? (using a mixed os for development convinience).