Sun GlassFish Enterprise Server v3 Prelude Troubleshooting Guide

Solution

Make sure as-install/bin is in the PATH ahead of /usr/sbin, or that . is in the PATH ahead of /usr/sbin if you access asadmin by changing directories to as-install/bin. Alternatively, if you do change to as-install/bin to run asadmin, be sure to include./ in the command name; for example:


cd as-install/bin
./asadmin