JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Sun GlassFish Enterprise Server v2.1.1 Release Notes

Document Information

1.  Overview

2.  About Sun GlassFish Enterprise Server

3.  Known Issues and Limitations

Administration

Enterprise Server does not detect conflicts with the heartbeat port of a cluster (Issue number 1967)

Description

Solution

Domain creation stops on NFS server running 64-bit Linux (Issue Number 1961)

Description

Solution

Performance degradation seen when a huge log file is rotated (6718611)

Description

Solution

Failed to Deploy Generic RA Resource Adapter against IBM MQ (Issue 6605)

Description

Solution

Standalone instances sometimes obtain files from other instances (6698604)

Description

Solution

Startup Message from the start-cluster command are too verbose (6728317)

Description

Solution

Failed to Deploy Generic RA Resource Adapter against IBM MQ (Issue 6605)

Description

Solution

The package-appclient script does not work if domain1 is not present (6171458)

Description

Solution

Starting the Server with additional JMX Agent is not supported (6200011)

Description

Solution

Load balancer configuration file does not get created with the endpoint URL of any web service (6236544, 6275436)

Description

Solution

.asadmintruststore file not described in the Enterprise Server documentation (6315957)

Description

Solution

Clustered instances fail to start due to a timeout in reaching the JMS broker (6523663)

Description

Solution

Cannot display jmaki chart in Netscape 8.1.3, Mozilla 1.7 and Safari 2.0.4 browsers (6543014)

Description

Solution

Default ports changing in each AS major release (6566481)

Description

Solution

The create-domain command fails with custom master password in AIX (6628170)

Description

Solution: (AIX) To Create a Domain With a Custom Master Password

AIX: 0403-027 The parameter list is too long (6625591)

Description

Solution

(AIX) To Increase the Maximum Length of the Command Line

Apache and Load Balancer Plugin

SGES 2.1.1 Patch 2 LB plugin on WS7u8 crashes the web server on SUSE Linux 10 SP2 (6928066)

Description

Solution

Deployment of Java EE application with EJB as a Web Service is not captured by load balancing plug-in (Issue 685)

Description

Solution

The High-Availability Administration Guide does not contain instructions for using a certificate for Apache 2.0 (6307976)

Must start Apache Web Server as root (6308021)

Application Client

Library JAR packaged in Application Client Archive overwrites MANIFEST file (6193556)

Description

Solution

ACC always tries to connect to localhost:3700 (6527987)

Description

Solution

Unable to start domain , missing sunpkcs11.jar (6571044)

Description

Solution

ASQuickStartup breaks SocketChannel.keyFor(), returning null instead of the SelectionKey (Issue Tracker 3027)

Description

Solution

Bundled Sun JDBC Drivers

PreparedStatement errors (6170432)

Description 1

Solution 1

Description 2

Solution 2

Description 3

Solution 3

Java DB is not started after machine reboot or server start (6515124)

Description

Solution

Deployment

Autodeployment fails on a cluster sometimes (6610527)

Description

Solution

Bundled ANT throws java.lang.NoClassDefFoundError (6265624)

Description

Solution

Application specific classloader not used by JSP compilation (6693246)

Description

Solution

Documentation

Javadoc Inconsistencies (various IDs)

GlassFish 2.x documentation referring to invalid create-session-store command (6935976)

Description

Solution

GlassFish 2.1.1: behavior with applications containing identical context roots is undocumented (7002836)

Description

Solution

HTTP Service Statistics attributes discrepancies (7018903)

Description

Solution

Glassfish GFv2 Mod_JK AJP listens to all interfaces (7008190)

Description

Solution

[UB]The *Global Transaction support box* is nowhere to be found (7536)

Description

Solution

Misleading Documentation for Configuring JMS Physical Destinations

Description

Solution

Upgrade Procedure is Confusing

Description

Solution

EJB

Resouce Injection does not work in HandlerChain (6750245)

Description

Solution

High Availability

Load balancer plugin healthcheck generates a large number of connection/disconnection at the background (load) (6453946)

Description

Solution

HADB Configuration with Double Networks (no ID)

HADB Database Creation Fails (no ID)

Description

Solution

hadbm set does not check resource availability (disk and memory space) (5091280)

Description

Solution

Heterogeneous paths for packagepath not supported (5091349)

Description

Solution

hadbm createdomain may fail (6173886, 6253132)

Description

Solution

Starting, stopping, and reconfiguring HADB may fail or hang (6230792, 6230415)

Description

Solution

The management agent terminates with the exception "IPV6_MULTICAST_IF failed" (6232140)

Description

Solution

clu_trans_srv cannot be interrupted (6249685)

Description

Solution

hadbm does not support passwords containing capital letters (6262824)

Description

Solution

Downgrading from HADB Version 4.4.2.5 to HADB Version 4.4.1.7 causes ma to fail with different error codes (6265419)

Description

Solution

Install/removal and symlink preservation (6271063)

Description

Solution

Management agents in global and local zones may interfere (6273681)

Description

Solution

hadbm/ma should give a better error message when a session object has timed out and deleted at MA (6275103)

Description

Solution

Non-root users cannot manage HADB (6275319)

Description

Solution

The Management Agent should not use special-use interfaces (6293912)

Description

Solution

Reassembly failures on Windows (6291562)

Description

Solution

Session state not maintained if the browser has another cookie with / path (6553415)

Description

Solution

LB does not work with IIS 6; SASL32.DLL and ZLIB.DLL missing under as-install/lib (6572184)

Description

Solution

DAS creation/startup and HA package propagation issues in Global Zone (6573511)

Description

Solution

Highly available webapps deployed at "/" unable to resume in-memory replicated HTTP sessions (Issue Tracker 2972)

Description

Solution

AS LB installer did not put /usr/lib/mps path in apachectl LD_LIBRARY_PATH, can not start Apache SSL (6591878)

Description

Solution

Enable/disable LB for an instance/cluster should show correct status (6595113)

Description

Solution

AS9.1 EE IFR b58f/JES5 UR1. Cannot install Registry Server, because "incomplete" HA was detected. (6602508)

Description

Solution

Internet Explorer 6.0/7.0 browser specific: Exporting load balancer configuration file throws error (6516068)

Description

Solution

Installation

Installer decoration image shows old product version (6862674)

Description

Solution

The start-domain Command Times Out on OpenSolaris 2008.11 (6820169 and 6741572)

Description

Solution

Enterprise profile installation is not supported with a 64-bit JVM on a 64-bit platform (6977626)

Description

Solution

Installation with 64-bit JDK Fails (6796171)

Description

Solution

Enterprise Server installer crashes on Linux (6739013)

Description

Solution

Installation shutdown hanging on some Linux systems after clicking the "Finish" button (5009728)

Description

Solution

On Windows, the imq directory needs to be created during installation (6199697)

Description

Solution

Uninstall does not update productregistry file properly; unable to use silent mode to install (6571598)

Description

Solution

IFR. Was not able to install AS in the sparse local zone, MQ packages issue. (6555578)

Description

Solution

IFR Installation -console prompt has to be removed: "Do you want to upgrade from previous Application?" (6592454)

Description

Solution

After upgrade, the following exceptions are seen in the log when a domain is started. (6774663)

Description

Solution

Java EE Tutorial

Java Persistence

TopLink expects my Collection field/property to be cloneable (Issue Tracker 556)

Description

Solution

GenerationType.IDENTITY and DataDirect Driver with SyBase (Issue Tracker 2431)

Description

Solution

Lifecycle Management

Setting ejb-timer-service property causes set command to fail (6193449)

Description

Solution

Error thrown when list JMS physical destinations within non-DAS config (6532532)

Description

Solution

Win2003 only: Non-paged pool leak memory, breaking tcp stack and richaccess test (6575349)

Description

Workaround

Logging

Setting debug statement for access,failure causes hang in server startup (6180095)

Description

Solution

Log level Setting for Persistence Cannot Be Made Persistent (13253247)

Description

Solution

Message Queue

Enterprise Server Does Not Start If MQ Broker is Not Started (6740797)

Description

Solution

JMS reconnection does not successfully complete in certain cases that are timing dependent (6173308, 6189645, 6198481, 6199510, 6208728)

Description

Solution

MQ broker fails to start with cluster profile on Linux (6524871)

Description

Solution

Mismatch of old and new classes is created when imqjmsra.jar is loaded before upgrade (6740794)

Description

Solution

Monitoring

Some of the HTTP Service monitoring statistics do not present useful information and should be ignored (6174518)

Description

Solution

Open JNDI Browsing from Admin UI dumps a huge amount of exceptions in the server.log (6591734)

Description

Solution

Packaging

AIX: monitor command doesn't work on AIX (6655731)

Description

Solution: To Install the Missing libcliutil.so Library File

Samples

Installation Log Shows Failures for Samples Installation (6802286)

Description

Solution

After upgrade Enterprise Server samples and JES5 portal samples compete on derby port 1527 (6574563)

Description

Solution

Security

Expired Root CA for CN=GTE CyberTrust Root 5, OU=GTE CyberTrust Solutions, Inc. (17405362)

Description

Solution

To Delete the GTE CyberTrust Root 5 Certificate From the Truststore

Modify Policy Files for Existing Domains (17419736 and 17574160)

Description

Solution

CA Certificate bundled with Enterprise Server v2.1.1 has expired (12287499)

Description

Solution

OutofMemory Error in SSL Scenarios During Heavy Stress (JDK 6 Issue 23)

Description

Solution

AIX: WSS dynamic encrypt key test failed due to server side certification validation error (6627379)

Description

Solution

AIX: @RunAs at EJB module authorization test failed AccessLocalException: Client not authorized (6627385)

Description

Solution

SSL termination is not working (6269102)

Description

Solution

Socket connection leak with SSL (6492477)

Description

Solution

General Vulnerability Assessment (Issue 17287)

Description

Solution

Upgrade

On some Linux systems, the installer running "Upgrade in place" fails to start upgrade tool after clicking on the "Start Upgrade Wizard" button (6207337)

Description

Solution

Self-signed certificate is not trusted during and after upgrade from 8.0 Platform Edition (PE) to 8.1 Enterprise Edition (EE) UR2 (6296105)

Solution

(sbs-manual, sbs-installer) throws Server Instance server does not have a system connector named null (6545145)

Description

Solution

Different domains are lost during upgrade when different build combinations are used (6546130)

Description

Solution

Solaris: pre-filled Master password in upgrade Tool is from Enterprise Server v2.1.1 and not from AS8.2 (6565825)

Description

Solution

Localized Online Help for asupgrade GUI Does Not Exist (6610170)

Description

Solution

Upgrade Tool deleted nodeagents directory when upgrade (reverse order) with multiple domains (6636871)

Description

Solution: To Preserve All Node Agents in a Side-by-Side Upgrade of Multiple Domains

In-place upgrade does not update the index.html file of existing domain (6831429)

Description

Web Container

On Windows, deploying an application using --precompilejsp=true can lock JAR files in the application, causing later undeployment or redeployment to fail (5004315)

Description

Diagnostics

Solution

Unable to deploy WAR with Servlet 2.4-based web.xml that contains an empty <load-on-startup> element (6172006)

Description

Solution

Unable to compile JSP page on resource constrained servers (6184122)

Description

Solution

Enterprise Server does not support auth-passthrough Web Server 6.1 Add-On (6188932)

Description

Solution

Web Server

Jroute cookie missing when you set "rewrite-cookies" value to false in the loadbalancer.xml (6978685, 6980807)

Description

Solution

AS 9.1 b50e.Linux. Can not start WS after AS LB installation: libjvm.so:cannot open shared (6572654)

Description

Solution

Web Services

Ant task wsimport fails with Java EE SDK b33d (using JDK 1.6) with NoClassDefFoundError (6527842)

Description

Solution

publish-to-registry commands fail in IFR EE builds (6602046)

Description

Solution

wscompile fails with "package javax.xml.rpc does not exist" on JDK6 u4 b3 (6638567)

Description

Solution

Security

This section describes known issues and associated solutions related to Enterprise Server and web application security and certificates.

Expired Root CA for CN=GTE CyberTrust Root 5, OU=GTE CyberTrust Solutions, Inc. (17405362)

Description

During startup of an Enterprise Server instance, an expired certificate is reported in the instance's server.log log file as follows:

The "GTE CyberTrust Root 5" certificate expired on August 15th 2013 

The log file shows the validity of the certificate as follows:

Subject: CN=GTE CyberTrust Root 5, OU="GTE CyberTrust Solutions, Inc.", O=GTE Corporation, C=US
...
 Validity: [From: Fri Aug 14 15:50:00 BST 1998,
  To: Thu Aug 15 00:59:00 BST 2013]

Solution

The solution depends on whether the instance is configured to use a server SSL certificate that uses this certificate as part of its trust path.

To Delete the GTE CyberTrust Root 5 Certificate From the Truststore


Note - How to perform some steps in this task depends on whether the domain uses a JKS keystore or an NSS keystore. The keystore that a domain uses depends on the profile with which the domain was created:


  1. Back up the existing certificate database files in the domain's configuration directory.
    1. Change to the domain's config directory.
      prompt% cd as-install/domains/domain-name/config/
    2. Copy the certificate database files.

      The files to copy depend on the type of the keystore.

      • For a JKS keystore, copy the cacerts.jks file.
      • For an NSS keystore, copy these files:
        • cert8.db

        • key3.db

  2. Delete the gtecybertrust5ca certificate from the certificate database.
    • For a JKS keystore, use the keytool command for this purpose.
      prompt% keytool -delete -alias gtecybertrust5ca -keystore cacerts.jks

      When prompted, provide the master password of the domain.

    • For an NSS keystore, use the certutil command for this purpose.
      prompt% certutil -D -d . -n gtecybertrust5ca

      When prompted, provide the master password of the domain.

  3. If additional domains are to be created from the existing Enterprise Server installation, delete the expired certificate from the template keystores.

    Deleting the expired certificate prevents the certificate from being propagated to new domains.

    1. Back up the existing template keystores.
      1. Change to the templates directory of your Enterprise Server installation.
        prompt% cd as-install/lib/install/templates
      2. Copy the files for the template keystores.

        The files to copy depend on the type of the keystore.

        • For a JKS keystore, copy the cacerts.jks file in the current working directory and in the ee subdirectory of the current working directory.
        • For an NSS keystore, copy these files in the current working directory and in the ee subdirectory of the current working directory:
          • cert8.db

          • key3.db

    2. Delete the gtecybertrust5ca certificate from the template keystores in the current working directory and in the ee subdirectory of the current working directory.
      • For a JKS keystore, use the keytool command for this purpose.
        prompt% keytool -delete -alias gtecybertrust5ca -keystore cacerts.jks
        prompt% keytool -delete -alias gtecybertrust5ca -keystore ee/cacerts.jks

        When prompted, provide the master password of the domain.

      • For an NSS keystore, use the certutil command for this purpose.
        prompt% certutil -D -d . -n gtecybertrust5ca
        prompt% certutil -D -d ee -n gtecybertrust5ca

        When prompted, provide the master password of the domain.

  4. Propagate the changes to the DAS and all Enterprise Server instances in the domain.
    1. Stop the domain and all Enterprise Server instances in the domain.
    2. Start only the domain, not the instances in the domain.
    3. After the domain is started, start all Enterprise Server instances in the domain.

      Note - To ensure that the instances are synchronized with the DAS, you must start the instances individually, even if the instances are members of a cluster. Starting a cluster does not synchronize the instances in the cluster.

      If you start an instance by starting the node agent for the host where the instance resides, you must specify the --syncinstances option of the start-node-agent command. Otherwise, the instance is not synchronized.


Modify Policy Files for Existing Domains (17419736 and 17574160)

Description

As a result of changes to the security implementation in JDK 1.6.0_51, additional permissions are required to prevent some operations from failing. For example, an attempt by an application to perform a transaction might fail with the java.io.SerializablePermission enableSubclassImplementation exception.

Solution

For each existing domain, add the following permissions to the grant block for the basic set of permissions in the domain-dir/config/server.policy file:

permission java.io.SerializablePermission "enableSubclassImplementation";
permission java.lang.RuntimePermission "accessClassInPackage.com.sun.org.apache.xml.internal.utils";
permission java.lang.RuntimePermission "accessClassInPackage.com.sun.org.apache.xerces.internal.dom";
permission java.lang.RuntimePermission "accessClassInPackage.com.sun.org.apache.xerces.internal.jaxp";

CA Certificate bundled with Enterprise Server v2.1.1 has expired (12287499)

Description

The CA certificate bundled with Enterprise Server v2.1.1 has expired since Jan 08, 2010. Hence some SEVERE log messages may be observed while starting the domain.

Solution

These messages are harmless but can be eliminated. Remove the expired certificate from the keystore. To remove the certificate from the JKS keystore, use the following command:

keytool delete -alias verisignserverca -keystore domain-dir/config/cacerts.jks

To remove the certificate from the NSS keystore, use the following command:

certutil -D -n verisignserverca -d domain-dir/config

OutofMemory Error in SSL Scenarios During Heavy Stress (JDK 6 Issue 23)

Description

A JDK bug (See: https://jdk6.dev.java.net/issues/show_bug.cgi?id=23) in JDK6 Sun PKCS11 Provider could cause an OutOfMemoryError when running certain SSL scenarios under heavy stress.

Solution

If you run into this issue, remove sun.security.pkcs11.SunPKCS11 provider from the java.security file in your JRE installation.

AIX: WSS dynamic encrypt key test failed due to server side certification validation error (6627379)

Description

On the AIX platform, dynamic encryption for the determination of an encryption key for a response is failing. The failure occurs during the validation of the certificate on the server side.

In response to the failure, the following error messages are written to the server's log file server.log:

Unable to validate certificate
Error occurred while resolving key information
com.sun.xml.wss.impl.WssSoapFaultException: Certificate validation failed

Solution

Install Metro 1.1 on Enterprise Server v2.1.1

AIX: @RunAs at EJB module authorization test failed AccessLocalException: Client not authorized (6627385)

Description

A method in an enterprise bean whose run-as, or propagated, security identity is defined by using the @RunAs annotation attempts to invoke a method in another enterprise bean. If no run-as principal is defined in the sun-ejb-jar.xml deployment descriptor file, the attempt might fail with a javax.ejb.AccessLocalException exception.

javax.ejb.AccessLocalException: Client not authorized for this invocation.

Solution

In the sun-ejb-jar.xml deployment descriptor file, define in the principal-name element the principal name for which the run-as role specified.

SSL termination is not working (6269102)

Description

SSL termination is not working; when Load Balancer (Hardware) is configured for SSL termination, the Enterprise Server changes the protocol from https to http during redirection.

Solution

Add a software load balancer between the hardware load balancer and the Enterprise Server.

Socket connection leak with SSL (6492477)

Description

Because of a JVM bug, there is a leak issue with some JDK versions when security-enabled is set to true on an HTTP listener. Specifically, the steps to reproduce this bug are as follows:

  1. Set security-enabled to true on the HTTP listener:

    <http-listener acceptor-threads="1" address="0.0.0.0" 
    blocking-enabled="false" default-virtual-server="server" enabled="true" 
    family="inet" id=" http-listener-1" port="8080" security-enabled="true" 
    server-name="" xpowered-by="true">
  2. Comment out stopping domain at the end of quicklook tests.

  3. Run quicklook tests.

  4. Check socket usage:

    netstat -an | grep 8080

    The following are shown to be in use:

    *.8080               *.*                0      0 49152      0 LISTEN
    *.8080               *.*                0      0 49152      0 BOUND

This issue is tracked on the GlassFish site at http://java.net/jira/browse/GLASSFISH-849.

Solution

Upgrade to the latest JDK version.

General Vulnerability Assessment (Issue 17287)

Description

An unspecified vulnerability in Oracle Sun GlassFish Enterprise Server 2.1, 2.1.1, and 3.0.1, and Sun Java System Application Server 9.1, allows remote attackers to affect confidentiality, integrity, and availability via unknown vectors related to Administration. See http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-0807.

Solution

Upgrade to Oracle GlassFish Server 3.1 or later.