Sun GlassFish Enterprise Server v3 Troubleshooting Guide

Chapter 3 Frequently Asked Questions

This chapter lists a few of the Frequently Asked Questions (FAQs) related to Sun GlassFish Enterprise Server v3. 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 Sun GlassFish Enterprise Server v3 Administration Guide.

Application FAQs

How Do I Debug Applications?

See Chapter 4, Debugging Applications, in Sun GlassFish Enterprise Server v3 Application Development Guide.

How Do I Change Application Permissions?

See Changing Permissions for an Application in Sun GlassFish Enterprise Server v3 Application Development Guide.

What Are the Restrictions and Optimizations for Session Beans?

See Session Bean Restrictions and Optimizations in Sun GlassFish Enterprise Server v3 Application Development Guide.

Eclipse FAQs

Where Can I Find More Information About Eclipse and Enterprise 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 Enterprise 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 Sun GlassFish Enterprise Server v3 Add-On Component Development Guide for complete details.

How Do I Add Containers?

Enterprise Server has a highly modular architecture that enables you to add new types of containers that handle many application types, not just Java EE. Enterprise Server defines a service provider interface (SPI), which container developers implement. The Enterprise 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 Sun GlassFish Enterprise Server v3 Add-On Component Development Guide.

How Do I Extend the Administration Console?

See Chapter 3, Extending the Administration Console, in Sun GlassFish Enterprise Server v3 Add-On Component Development Guide.

Java Persistence FAQs

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

See Restrictions and Optimizations in Sun GlassFish Enterprise Server v3 Application Development Guide.

Update Tool FAQs

How Do I Use Update Tool to Extend My Enterprise 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 Sun GlassFish Enterprise Server v3 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 Enterprise Server, in Sun GlassFish Enterprise Server v3 Administration Guide.


Note –

Update Tool differs from Upgrade Tool, which is used to migrate the configuration and deployed applications from an earlier version of Enterprise Server to the current version. For more information about Upgrade Tool and upgrading, see the Sun GlassFish Enterprise Server v3 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.