Open the GlassFish Admin Console. To access the Admin Console, do the following:
From the Services window of the NetBeans IDE, start the GlassFish server.
Right-click the GlassFish server and select View Admin Console from the popup menu.
The login screen of the Admin Console appears.
Open the Admin Console using the default username and password:
Username: admin
Password: adminadmin
To access the GlassFish JVM classpath settings:
In the Classpath Suffix field, type the full path for your database JDBC driver on your local directory. For example, C:\GlassFishESB\drivers\oracle11gDriver\ojdbc6.jar.
Click Save, and restart GlassFish.