DRAFT
Eclipse GlassFish Server
GlassFish Server Documentation Set
Related Documentation
Typographic Conventions
Symbol Conventions
Default Paths and File Names
Default Settings and Locations
Configuration Tasks
Initial Configuration Tasks
How Dotted Names Work for Configuration
Configuration Files
Impact of Configuration Changes
Administration Tools
Administration Console
asadmin Utility
asadmin
REST Interfaces
OSGi Module Management Subsystem
keytool Utility
keytool
Java Monitoring and Management Console (JConsole)
Instructions for Administering GlassFish Server
Runtime Administration
Using the asadmin Utility
Path to the asadmin Utility
asadmin Utility Syntax
To Run an asadmin Utility Subcommand in Single Mode
To Display Help Information for the asadmin Utility or a Subcommand
To Start a Multimode Session
To End a Multimode Session
To Run a Set of asadmin Subcommands From a File
To Run asadmin Subcommands in --detach Mode
--detach
Administering System Properties
To Create System Properties
To List System Properties
To Delete a System Property
Using Configuration Modularity
To Add the Default Configuration of a Module to domain.xml
domain.xml
To Remove the Configuration of a Module From domain.xml
To Display the Current Active Configuration of a Module
Administering Resources
To Add Resources From an XML File
Listing Various System Elements
To Display the GlassFish Server Version
To List Applications
To List Containers
To List Modules
To List Subcommands
To List Timers
To Show Component Status
Using REST Interfaces to Administer GlassFish Server
Using REST URLs to Administer GlassFish Server
Using REST Resource Methods to Administer GlassFish Server
Resources for asadmin Subcommands That Perform Non-CRUD Operations
Securing GlassFish Server REST Interfaces
Formats for Resource Representation of Configuration Objects
Formats for Resource Representation of Monitoring Objects
Formats for Resource Representation of Log File Details
Supported Content Types in Requests to REST Resources
About Administering Domains
GlassFish Server Instances
Domains for Administering GlassFish Server
Domain Administration Server (DAS)
Creating, Logging In To, and Deleting a Domain
To Create a Domain
To Create a Domain From a Custom Template
To List Domains
To Log In to a Domain
To Delete a Domain
Starting and Stopping a Domain
To Start a Domain
To Stop a Domain
To Restart a Domain
Configuring a DAS or a GlassFish Server Instance for Automatic Restart
To Configure a DAS or an Instance for Automatic Restart on Windows
To Configure a DAS or an Instance for Automatic Restart on Linux
To Prevent Service Shutdown When a User Logs Out on Windows
Backing Up and Restoring a Domain
To Back Up a Domain
To Restore a Domain
To List Domain Backups
Re-Creating the Domain Administration Server (DAS)
To Migrate the DAS
Additional Domain Tasks
To Display Domain Uptime
To Switch a Domain to Another Supported Java Version
To Change the Administration Port of a Domain
Administering JVM Options
To Create JVM Options
To List JVM Options
To Delete JVM Options
To Generate a JVM Report
Administering the Profiler
To Create a Profiler
To Delete a Profiler
About Thread Pools
Configuring Thread Pools
To Create a Thread Pool
To List Thread Pools
To Update a Thread Pool
To Delete a Thread Pool
Invoking a Servlet by Alternate Means
Changing Log Output for a Servlet
Defining Global Features for Web Applications
To Use the default-web.xml File
default-web.xml
Redirecting a URL
Administering mod_jk
mod_jk
To Enable mod_jk
To Load Balance Using mod_jk and GlassFish Server
To Enable SSL Between the mod_jk Load Balancer and the Browser
To Enable SSL Between the mod_jk Load Balancer and GlassFish Server
Administering mod_proxy_ajp
mod_proxy_ajp
To Enable mod_proxy_ajp
To Load Balance Using mod_proxy_ajp and GlassFish Server
About Logging
Log Files
Logger Namespaces
Logging Targets
Logging Properties
Configuring the Logging Service
Changing the Name and Location of Logging Service Files
Setting Log Levels
Setting the Log File Format
Setting Log File Rotation
Adding a Custom Logging Handler
Viewing Log Records
To Collect Log Files into a ZIP Archive
Listing Loggers
To List Loggers
About Monitoring
How the Monitoring Tree Structure Works
About Monitoring for Add-on Components
Tools for Monitoring GlassFish Server
Configuring Monitoring
To Enable Monitoring
To Disable Monitoring
Viewing Common Monitoring Data
To View Common Monitoring Data
Common Monitoring Statistics
Viewing Comprehensive Monitoring Data
Guidelines for Using the list and get Subcommands for Monitoring
list
get
To View Comprehensive Monitoring Data
Comprehensive Monitoring Statistics
Configuring JConsole to View GlassFish Server Monitoring Data
To Connect JConsole to GlassFish Server
About Life Cycle Modules
Configuring Life Cycle Modules
To Create a Life Cycle Module
To List Life Cycle Modules
To Update a Life Cycle Module
To Delete a Life Cycle Module
About Batch Jobs
Viewing Batch Jobs
To List Batch Jobs
To List Batch Job Executions
To List Batch Job Steps
Configuring the Batch Runtime
To List the Batch Runtime Configuration
To Configure the Batch Runtime
Resources and Services Administration
About Database Connectivity
Setting Up the Database
To Install the Database and Database Driver
To Start the Database
To Stop the Database
Apache Derby Database Utility Scripts
Configuring Access to the Database
Administering JDBC Connection Pools
Administering JDBC Resources
Enabling the jdbc/__default Resource in a Clustered Environment
jdbc/__default
Integrating the JDBC Driver
Configuration Specifics for JDBC Drivers
IBM DB2 Database Type 2 Driver
IBM DB2 Database Type 4 Driver
Apache Derby DB/Derby Type 4 Driver
MySQL Server Database Type 4 Driver
Oracle 10 Database Driver
Oracle 11 Database Driver
PostgreSQL Type 4 Driver
DataDirect Type 4 Driver for IBM DB2 Database
DataDirect Type 4 Driver for IBM Informix
DataDirect Type 4 Driver for Microsoft SQL Server Database
DataDirect Type 4 Driver for MySQL Server Database
DataDirect Type 4 Driver for Oracle 11 Database
DataDirect Type 4 Driver for Sybase Database
Inet Oraxo Driver for Oracle Database
Inet Merlia Driver for Microsoft SQL Server Database
Inet Sybelux Driver for Sybase Database
JConnect Type 4 Driver for Sybase ASE 12.5 Database
About EIS Connectivity
Administering Connector Connection Pools
To Create a Connector Connection Pool
To List Connector Connection Pools
To Connect to (Ping) or Reset (Flush) a Connector Connection Pool
To Update a Connector Connection Pool
To Delete a Connector Connection Pool
Administering Connector Resources
To Create a Connector Resource
To List Connector Resources
To Update a Connector Resource
To Delete a Connector Resource
Administering the Resource Adapter Configuration
To Create Configuration Information for a Resource Adapter
To List Resource Adapter Configurations
To Update a Resource Adapter Configuration
To Delete a Resource Adapter Configuration
Administering Connector Security Maps
To Create a Connector Security Map
To List Connector Security Maps
To Update a Connector Security Map
To Delete a Connector Security Map
Administering Connector Work Security Maps
To Create a Connector Work Security Map
To List Connector Work Security Maps
To Update a Connector Work Security Map
To Delete a Connector Work Security Map
Administering Administered Objects
To Create an Administered Object
To List Administered Objects
To Update an Administered Object
To Delete an Administered Object
About Internet Connectivity
About HTTP Network Listeners
About Virtual Servers
Administering HTTP Network Listeners
To Create an Internet Connection
Administering HTTP Protocols
Administering HTTP Configurations
Administering HTTP Transports
Administering Virtual Servers
To Create a Virtual Server
To List Virtual Servers
To Update a Virtual Server
To Delete a Virtual Server
To Assign a Default Web Module to a Virtual Server
To Assign a Virtual Server to an Application or Module
To Set JSESSIONIDSSO Cookie Attributes
JSESSIONIDSSO
About Concurrent Resources
Default Concurrent Resources
Configuring Context Services
To Create a Context Service
To List Context Services
To Update a Context Service
To Delete a Context Service
Configuring Managed Thread Factories
To Create a Managed Thread Factory
To List Managed Thread Factories
To Update a Managed Thread Factory
To Delete a Managed Thread Factory
Configuring Managed Executor Services
To Create a Managed Executor Service
To List Managed Executor Services
To Update a Managed Executor Service
To Delete a Managed Executor Service
Configuring Managed Scheduled Executor Services
To Create a Managed Scheduled Executor Service
To List Managed Scheduled Executor Services
To Update a Managed Scheduled Executor Service
To Delete a Managed Scheduled Executor Service
About the ORB
Configuring the ORB
Administering IIOP Listeners
To Create an IIOP Listener
To List IIOP Listeners
To Update an IIOP Listener
To Delete an IIOP Listener
About JavaMail
Administering JavaMail Resources
To Create a JavaMail Resource
To List JavaMail Resources
To Update a JavaMail Resource
To Delete a JavaMail Resource
About the JMS Service
JMS Service High Availability
Updating the JMS Service Configuration
Setting Message Queue Broker Properties in the JMS Service Configuration
Administering JMS Hosts
About JMS Host Types
Configuring Embedded and Local JMS Hosts
To Create a JMS Host
To List JMS Hosts
To Update a JMS Host
To Delete a JMS Host
Administering JMS Connection Factories and Destinations
To Create a Connection Factory or Destination Resource
To List JMS Resources
To Delete a Connection Factory or Destination Resource
Administering JMS Physical Destinations
To Create a JMS Physical Destination
To List JMS Physical Destinations
To Purge Messages From a Physical Destination
To Delete a JMS Physical Destination
Special Situations When Using the JMS Service
Troubleshooting the JMS Service
Using the Generic Resource Adapter for JMS to Integrate Supported External JMS Providers
Configuring GenericJMSRA for Supported External JMS Providers
Using GenericJMSRA with WebLogic JMS
Using GenericJMSRA with IBM WebSphere MQ
About JNDI
Java EE Naming Environment
How the Naming Environment and the Container Work Together
Naming References and Binding Information
Administering JNDI Resources
Administering Custom JNDI Resources
Administering External JNDI Resources
About Transactions
Transaction Resource Managers
Transaction Scope
Configuring the Transaction Service
Managing the Transaction Service for Rollbacks
To Stop the Transaction Service
To Roll Back a Transaction
To Restart the Transaction Service
Determining Local Transaction Completion at Shutdown
Recovering Transactions
Automatic Transaction Recovery
To Manually Recover Transactions
Distributed Transaction Recovery
Recovery Workarounds and Limitations
Transaction Logging
To Store Transaction Logs in a Database
Appendixes
A Subcommands for the asadmin Utility
General Administration Subcommands
Batch Jobs Subcommands
Concurrent Resources Subcommands
Connectivity Subcommands
Domain Subcommands
Internet Connectivity Subcommands
JavaMail Subcommands
JMS Subcommands
JNDI Subcommands
JVM Subcommands
Life Cycle Module Subcommands
Logging and Monitoring Subcommands
ORB Subcommands
Thread Pool Subcommands
Transaction Service Subcommands