Sun GlassFish Enterprise Server 2.1 Troubleshooting Guide

Solution 2

If you cannot remember the dbsystem password, you need to clear the database using hadbm clear and provide a new dbsystem system password.