I don't understand this. You mean, for the case of starting up GlassFish, I have to change the name of the script asadmin to asadmin.sh?
Further, I've checked other start scripts in other jails (under /usr/local/etc/rc.d) and they all do not contain any ".sh" suffix - for example, cherokee...