asadmin deploy guesses the application name by simply taking the provided file name (excluding extension). This might work nice on Linux, but is a problem on Windows as that operating system is not case sensitive. This is leading to problems:
Physical name of EAR to deploy is "Sample.ear".
Administrator type "asadmin deploy sample.ear" which IS WORKING, but will guess the application name to be lower case.
When trying to undeploy, another administrator (not knowing of the typo) want to undeploy. He finds the local file "Sample.ear" so he thinks he must type UPPER case "asadmin undeploy Sample", which is NOT WORKING as GF is case sensitive.
A solution for this is simple: GF must not guess the application name by using the PROVIDED file name, but instead it must check the File system for the ACTUAL file name instead. So the guessed deploy name will be in the exact same spelling.