The problem is that the command framework is looking for the help file for the main command in the com/sun/enterprise/admin/cli directory of the JAR file, no matter what package the main for the command is actually in.
This is the package of the "HelpCommand" class. If asadmin.1m is moved to that directory in the appserver-cli.jar file, then the manual page lookup works.
We have two ways of fixing this:
1. Just move the asadmin.1m file to the com/sun/enterprise/admin/cli directory.
2. Modify the command skinning code (CLICommand) so that it has access to the class that actually implements the command. It could then get the right package name to use to look up the manual page.
Assigning to Mike because he needs to make the fix if we choose #1. If we are going to do #2, assign it back to me.