Sun ONE logo      Previous      Contents      Index      Next     

Sun ONE Web Server 6.1 Administrator's Guide

The Java Tab


The Java tab allows you to configure Java features in Sun ONE Web Server. The Java tab contains the following pages:


The Enable/Disable Servlets/JSP Page

The Enable/Disable Servlets/JSP page allows you to enable and disable Java features such as web applications, servlets, and JavaServer Pages (JSP).

For information about how to configure web applications in Sun ONE Web Server 6.1, see Deploying Web Applications.

The following elements are displayed:

Enable Java Globally. Enables or disables support for Java features for the entire server instance.

Virtual Server Class. Lists the virtual server classes. Clicking on a virtual server name opens a new browser window displaying the Manage Virtual Servers page for the virtual server.

Enable/Disable Java. Enables or disables support for Java features for a particular virtual server class.

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The JVM General Page

The Configure JVM Attributes page allows you to set parameters for the Java virtual machine (JVM).

For more information, see Configuring JVM Settings.

The following elements are displayed:

Java Home. Specifies the path to the directory where the Java Developer's Kit (JDK) is installed. Sun ONE Web Server supports the Sun JDK 1.4.1.

Debug Enabled. If true, the server starts up in debug mode ready for attachment with a JPDA-based (Java Platform Debugger Architecture-based) debugger.

Debug Options. By default, this is set to: -Xdebug-Xrunjdwp:transport=dt_socket,server=y,suspend=n

A list of debug options is available at: http://java.sun.com/products/jpda/doc/conninv.html#Invocation

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The JVM Options Page

The JVM Options page allows you to set JVM command line options.

For more information, see Configuring JVM Options.

The following elements are displayed:

Operation. Allows you to add, edit or delete a JVM option.

JVM Option. Specifies the JVM command line option.

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The JVM Profiler Page

The JVM Profiler Page allows you to configures a profiler for use with the server.

For more information, see Configuring the JVM Profiler.

The following elements are displayed:

Profiler. Allows you to enable, disable or delete the profiler. By default, the profiler is enabled.

Classpath. Specifies the classpath for the profiler.

Native Lib Path. Specifies the native library path for the profiler.

Operation. Allows you to add, edit, or delete a JVM option.

JVM Option. Specifies the JVM command line option.

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The JVM Path Settings Page

The JVM Path Settings page allows you to configure the path to the Java Virtual Machine (JVM) in the Administration interface.

For more information, see Configuring Path Settings.

The following elements are displayed:

Classpath Suffix. Specifies a suffix for the system's classpath. You might want to do this to override system classes, such as the XML Parser classes.

Ignore Env Classpath. Specifies whether to ignore the environment classpath.

If you do not ignore the classpath, the CLASSPATH environment variable is read and appended to the Sun ONE Web Server classpath. The CLASSPATH environment variable is added after the classpathsuffix, at the very end. For a development environment, the classpath should be used.

For a production environment, this classpath should be ignored to prevent environment variable side effects.

Native Lib Path Prefix. Specifies the native library path prefix.

Native Lib Path Suffix. Specifies the native library path suffix.


Note

The native library path is the automatically constructed concatenation of the Web Server installation relative path for its native shared libraries, the standard JRE native library path, the shell environment setting (LD_LIBRARY_PATH on UNIX), and any path specified in the profiler element. Since this is synthesized, it does not appear explicitly in the server configuration.


OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The JDBC Connection Pools Page

The JDBC Connection Pools Page allows you to create or configure a JDBC connection pool. A JDBC connection pool is a named group of JDBC connections to a database. Each connection pool uses a JDBC driver to establish a connection to a physical database at server start-up.

For more information, see Configuring Naming and Resources.

The following elements are displayed:

New. Allows you to create a new connection pool. Click to proceed to the New JDBC Connection Pool page.

Delete. Specifies the classpath for the profiler.

Name. Specifies the native library path for the profiler.

Data Source Class Name. Allows you to add, edit or delete a JVM option.

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The Add New JDBC Connection Pool Page

The Add New JDBC Connection Pool Page allows you to add a new JDBC connection pool.

For more information, see Configuring Naming and Resources.

The following elements are displayed:

General

OK. Saves your entries. Click Apply after saving your changes for the changes to take effect.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The Edit JDBC Connection Pool Page

The Edit JDBC Connection Pool Page allows you to edit a JDBC connection pool.

For more information, see Configuring Naming and Resources.

The following elements are displayed:

General

OK. Saves your entries. Click Apply after saving your changes for the changes to take effect.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The JDBC Resources Page

The JDBC Resources Page allows you to use JNDI naming to create or configure a JDBC (javax.sql.DataSource) resource.

For more information, see Configuring Naming and Resources.

The following elements are displayed:

New. Allows you to create a new JDBC resource.

Delete. Allows you to delete existing JDBC resources.

JNDI Name. Displays the JNDI name of the JDBC resource.

Status. Displays the runtime status - enabled or disabled - of the resource.

Pool Name. Displays the name of the connection pool used by this JDBC resource.

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The JDBC New Resource Page

The JDBC New Resource Page allows you to create a new JDBC resource.

For more information, see Configuring Naming and Resources.

The following elements are displayed:

JNDI Name. Enter the JNDI name that application components must use to access the JDBC resource.

Status. Specifies whether the resource is enabled at runtime.

Pool Name. Select from the list the name (or ID) of the connection pool used by this JDBC resource.

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The Edit JDBC Resource Page

The Edit JDBC Resource Page allows you to edit a JDBC resource.

For more information, see Configuring Naming and Resources.

The following elements are displayed:

JNDI Name. Displays the JNDI name of the JDBC resource.

Pool Name. Select from the list the name (or ID) of the connection pool used by this JDBC resource.

Data Resource Enabled. Specify whether the resource is enabled at runtime.

Properties. You can add properties to the resource or delete them:

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The JNDI Custom Resources Page

The JNDI Custom Resources Page allows you to create or configure a new JNDI custom resource. A custom resource accesses a local JNDI repository.

For more information, see Configuring Naming and Resources.

The following elements are displayed:

New. Allows you to create a new custom resource.

Delete. Allows you to delete existing custom resources.

JNDI Name. Displays the JNDI name of the custom resource.

Status. Displays the runtime status - enabled or disabled - of the resource.

Resource Type. Displays the fully qualified type of the custom resource.

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The New Custom Resource Page

The Custom Resources Page allows you to create a new JNDI custom resource. A custom resource accesses a local JNDI repository.

For more information, see Configuring Naming and Resources.

The following elements are displayed:

JNDI Name. Enter the JNDI name that application components must use to access the custom resource.

Resource Type. Enter the fully qualified type of the custom resource.

Factory Class. Enter the fully qualified name of the user-written factory class, which implements javax.naming.spi.ObjectFactory.

Custom Resource Enabled. Select On to enable the custom resource at runtime.

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The Edit Custom Resource Page

The Edit Custom Resource Page allows you to edit a JNDI custom resource. A custom resource accesses a local JNDI repository.

For more information, see Configuring Naming and Resources.

The following elements are displayed:

JNDI Name. Displays the JNDI name of the custom resource.

Resource Type. Enter the fully qualified type of the custom resource.

Factory Class. Enter the fully qualified name of the user-written factory class, which implements javax.naming.spi.ObjectFactory.

Custom Resource Enabled. Select On to enable the custom resource at runtime.

Properties. You can add properties to the resource or delete them:

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The JNDI External Resources Page

The External JNDI Resources Page allows you to create or configure an external JNDI resource. External JNDI resources access objects in an external JNDI repository, for example, a generic Java object stored in an LDAP server.

For more information, see Configuring Naming and Resources.

The following elements are displayed:

New. Allows you to create a new external JNDI resource.

Delete. Allows you to delete existing external JNDI resources.

JNDI Name. Displays the JNDI name of the resource.

Status. Displays the runtime status - enabled or disabled - of the resource.

Resource Type. Displays the fully qualified type of the custom resource.

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The New External JNDI Resource Page

The New External JNDI Resource Page allows you to create a new external JNDI resource. External JNDI resources access objects in an external JNDI repository, for example, a generic Java object stored in an LDAP server.

For more information, see Configuring Naming and Resources.

The following elements are displayed:

JNDI Name. Enter the JNDI name that application components must use to access the external resource.

Description. Enter a short description of the external JNDI resource.

Resource Type. Enter the fully qualified type of the external resource.

Factory Class. Enter the fully qualified name of the user-written factory class, which implements javax.naming.spi.ObjectFactory.

JNDI Lookup. Enter the JNDI value to look up in the external repository. For example, if you are creating an external resource to connect to an external repository, to test a mail class, your JNDI Lookup could read cn=testmail.

External Resource Enabled. Select On to enable the external resource at runtime.

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The Edit External JNDI Resource Page

The Edit External JNDI Resource Page allows you to edit an external JNDI resource. External JNDI resources access objects in an external JNDI repository, for example, a generic Java object stored in an LDAP server.

For more information, see Configuring Naming and Resources.

The following elements are displayed:

JNDI Name. Displays the JNDI name of the external resource.

Description. Enter a short description of the external JNDI resource.

Resource Type. Enter the fully qualified type of the external resource.

Factory Class. Enter the fully qualified name of the user-written factory class, which implements javax.naming.spi.ObjectFactory.

JNDI Lookup. Enter the JNDI value to look up in the external repository. For example, if you are creating an external resource to connect to an external repository, to test a mail class, your JNDI Lookup could read cn=testmail.

External Resource Enabled. Select On to enable the external resource at runtime.

Properties. You can add properties to the resource or delete them:

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The Java Security Page

Sun ONE Web Server 6.1 leverages the security model defined in the J2EE 1.3 Specification to provide several features that help you develop and deploy secure Java-based Web applications.

The Java Security Page allows you to specify Java security settings for the server.

For more information, see About Sun ONE Web Server Security.

The following elements are displayed:

Default Realm. Specifies the active authentication realm for this server instance.

Anonymous Role. Used as the name for default or anonymous role.

Audit Enabled. If true, additional access logging is performed to provide audit information. Audit information consists of:

Log Level. Controls the type of messages logged to the errors log.

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The Edit Realms Page

The J2EE-based security model provides for security realms that identify and authenticate users. The user information is obtained from an underlying security realm. The Security Page allows you to configure a security realm for your server instance.

For more information, see Realm-based Security.

The following elements are displayed:

New. Allows you to add a new security realm. By default, the following realms are provided:

Delete. Allows you to delete one or more selected realms.

Realm Name. Displays the names of existing realms. Click to edit the realm in the The Edit Security Realm Page.

Class Name. Specifies the Java class that implements this realm.

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.


The Edit Security Realm Page

Realm Name. Displays the names of existing realms.

Class Name. Specifies the Java class that implements this realm.

Property Name. Specifies the name of a property. Restricted to a maximum of six name- value pairs for a realm.

Property Value. Specifies the value of the property

OK. Saves your entries.

Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.

Help. Displays online help.



Previous      Contents      Index      Next     


Copyright 2004 Sun Microsystems, Inc. All rights reserved.