The bundled Java DB database is not automatically restarted after a host system or Solaris zone reboot, or an Enterprise Server start. This is not a bug, but expected behavior for any bundled or third-party application. The problem is that the Java DB must be started before the Enterprise Server instance.
After rebooting the host machine or Solaris zone, be sure to start the Java DB before starting Enterprise Server; for example:
Refer to Administration Tools in Sun GlassFish Enterprise Server 2.1 Quick Start Guide in the Sun GlassFish Enterprise Server 2.1 Quick Start Guide for more information about asadmin command options.