For GlassFish, both the metajava.jar and the PATH to the Meta Data Services installation /bin directory must be identified. Use the GlassFish Administrator console to create these settings.
- Open the GlassFish Administrator Console.
- Select Application Server.
- Click the JVM Settings tab, then the Path Settings tab.
- Enter the location of the Meta Data Services metajava.jar in the system Classpath and the location of the Meta Data Services /bin directory in the Native Library Path Prefix.
- Click Save.
- Close the Administrator Console.
- Restart the GlassFish web server.