Oracle GlassFish Server 3.0.1 Troubleshooting Guide

Chapter 3 Frequently Asked Questions

This chapter lists a few of the Frequently Asked Questions (FAQs) related to Oracle GlassFishTM Server 3.0.1. For the latest FAQs, see the GlassFish wiki at http://wiki.glassfish.java.net/Wiki.jsp?page=GlassFishFAQIndex.

This chapter contains the following:

Administration FAQs

Which asadmin Commands are Supported?

Use asadmin list-commands to determine which commands are supported and available for use. For related information, see Appendix A, Subcommands for the asadmin Utility, in Oracle GlassFish Server 3.0.1 Administration Guide.

Application FAQs

How Do I Debug Applications?

See Chapter 4, Debugging Applications, in Oracle GlassFish Server 3.0.1 Application Development Guide.

How Do I Change Application Permissions?

See Changing Permissions for an Application in Oracle GlassFish Server 3.0.1 Application Development Guide.

What Are the Restrictions and Optimizations for Session Beans?

See Session Bean Restrictions and Optimizations in Oracle GlassFish Server 3.0.1 Application Development Guide.

Eclipse FAQs

Where Can I Find More Information About Eclipse and GlassFish Server Integration?

Eclipse is a development environment that provides a framework, tools, and runtime for deploying and managing software. The GlassFish plugin for Eclipse provides important changes to better support GlassFish Server and to provide optimal redeployment of web applications. For more information, see the GlassFish Plugins page: https://glassfishplugins.dev.java.net.

Extensibility FAQs

How Do I Develop Add-On Components?

See the Oracle GlassFish Server 3.0.1 Add-On Component Development Guide for complete details.

How Do I Add Containers?

GlassFish Server has a highly modular architecture that enables you to add new types of containers that handle many application types, not just Java EE. GlassFish Server defines a service provider interface (SPI), which container developers implement. The GlassFish Server framework then invokes the container's implementation of the SPI to detect, deploy, and manage applications of the new type.

For more information, see Chapter 5, Adding Container Capabilities, in Oracle GlassFish Server 3.0.1 Add-On Component Development Guide.

How Do I Extend the Administration Console?

See Chapter 3, Extending the Administration Console, in Oracle GlassFish Server 3.0.1 Add-On Component Development Guide.

Java Persistence FAQs

What Are the Restrictions and Optimizations for the Java Persistence API?

See Restrictions and Optimizations in Oracle GlassFish Server 3.0.1 Application Development Guide.

Update Tool FAQs

How Do I Use Update Tool to Extend My GlassFish Server Installation?

Enterprise Server provides an administrative tool called Update Tool that enables you to install updates and add-on components to your existing Enterprise Server installation.

Update Tool can be accessed as a standalone graphical tool from the command line (using the updatetool command from as-install-parent/bin), or as a browser-based graphical tool from the Administration Console (using the Update Tool node). For more information about Update Tool, see Update Tool in Oracle GlassFish Server 3.0.1 Administration Guide.


Note –

To update or remove installed components, you must use the standalone graphical Update Tool, not the Administration Console Update Tool.


A command-line interface is also available for Update Tool. This interface uses the pkg command and enables you to perform most of the tasks provided by the standalone graphical version. For more information about the pkg command, see Chapter 10, Extending GlassFish Server, in Oracle GlassFish Server 3.0.1 Administration Guide.


Note –

Update Tool differs from Upgrade Tool, which is used to migrate the configuration and deployed applications from an earlier version of GlassFish Server to the current version. For more information about Upgrade Tool and upgrading, see the Oracle GlassFish Server 3.0.1 Upgrade Guide.


How Do I Turn Off the Notifier?

Update Tool provides automatic notifications of available updates after installation. These notifications can be turned off if desired.

ProcedureTo Turn Off the Notifier

  1. Launch the standalone graphical tool using the updatetool command:


    as-install-parent/bin/updatetool
  2. Click Preferences.

  3. Click the Updates tab.

  4. Deselect Automatically Check for Updates and click OK.