-
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.
The login screen of the Admin Console appears.
-
Enter your username and password.
The default
user name is admin and the password is adminadmin.
-
To access the GlassFish JVM classpath settings, do the
following:
-
From the Admin Console's Common Tasks window, click Application
Server.
The Application Server settings appear in the
console window to the right.
-
Click the JVM Settings tab and the Path Settings sub-tab.
-
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 then restart GlassFish.