Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Troubleshooting Guide

Solution

Make sure install_dir/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 install_dir/bin. Alternatively, if you do change to install_dir/bin to run asadmin, be sure to include./ in the command name; for example:


cd install_dir/bin
./asadmin