"get-client-stubs" command is used for getting JAR file from an application client module or an application containing the application client module to the local directory. But the result shows "Command get-client-stubs executed successfully." even the appointed application has no client module and nothing was downloaded to local. The output "Command get-client-stubs executed successfully." may cause users' misunderstanding.
1.Deploy two ears:Jar.ear(has client files) and War.ear(has no client files)
asadmin deploy Jar.ear
asadmin deploy War.ear
2.create "temp" folder under c:\ ,make sure c:\temp is exsts.
asadmin get-client-stubs --appname Jar C:¥temp
>Command get-client-stubs executed successfully. -->this is common
>asadmin get-client-stubs --appname War C:¥temp
Command get-client-stubs executed successfully. -->this is uncommon
I think if user appointed an application without client file module, executing result should be:
"remote failure: Invalid application name:
Command get-client-stubs failed."
[Affected versions ]
2 gf's trunk until 2012/07/23