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

Administration

This section describes known administration issues and associated solutions.

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

Description

When a cluster is created, Enterprise Server randomly assigns a heartbeat port between 1026 to 45556. For default-cluster, which is the default cluster created by a Enterprise Server installation, a random number selected between 0 to 45556. The cluster creation process does not accurately detect if the heartbeat port is already being used by another service.

Solution

If automated cluster creation configuration selects a heartbeat port that is in conflict with another service that is already using that port, update the cluster heartbeat port to a port that is not being used by the system.

To change the heartbeat port of a cluster, use the following asadmin command:

asadmin set cluster-name.heartbeat-port=newportnumber

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

Description

The asadmin create-domain command may fail while attempting to create a domain on a Network File System (NFS) mounted file system with the NFS server running on 64-bit Linux.

Solution

No known solution.

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

Description

When a huge log file is rotated, a slight increase in the response time is observed.

Solution

Performance degradation can be minimized by modifying the values for File Rotation Limit and File Rotation Time Limit in the Logger settings. The values for these properties would depend on your application and environment.

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

Description

Deployment of a generic RA adapter against IBM Message Queue product fails. The permissions granted in the server.policy file is as follows.

grant {
      permission java.util.logging.LoggingPermission "control";
      permission java.util.PropertyPermission "*", "read,write";
      }

Solution

Change the permissions in the server.policy file as follows:

grant codeBase
"file:${com.sun.aas.installRoot}/lib/install/applications/adminapp/-" {
  permission java.util.logging.LoggingPermission "control";
 };

Standalone instances sometimes obtain files from other instances (6698604)

Description

In some circumstances, files installed on the DAS intending to be synchronized with a specific instance actually get sent to additional instances.

Solution

No known solution.

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

Description

The asadmin start-cluster command shows too many messages even when non-critical components fail during startup. See the following example command output when non-critical elements (related to the instances in the cluster) fail:

./asadmin start-cluster --port 9898 cluster1
Please enter the admin user name>admin
Please enter the admin password>
The clustered instance, instance2, was successfully started.
error 0 [#|2008-07-17T14:58:16.496+0200|WARNING|sun-appserver9.1|javax.jms|
_ThreadID=10;_ThreadName=main;
_RequestID=90bbbe3a-d654-4480-b295-7e317d945a4a;|[C4003]: 
Error occurred on connection creation [localhost:37676]. - cause: 
java.net.ConnectException: Connection refused|#]


error 1 [#|2008-07-17T14:58:17.517+0200|WARNING|sun-appserver9.1|javax.jms|
_ThreadID=10;_ThreadName=main;
_RequestID=90bbbe3a-d654-4480-b295-7e317d945a4a;|[C4003]: 
Error occurred on connection creation [localhost:37676]. - cause: 
java.net.ConnectException: Connection refused|#]


error 2 [#|2008-07-17T14:58:30.596+0200|WARNING|sun-appserver9.1|
javax.enterprise.system.container.ejb|
_ThreadID=13;_ThreadName=pool-1-thread-4;TimerBean;
_RequestID=5954a044-df06-4a3e-902a-0c40b4b6cddb;
|EJB5108:Unable to initialize EJB Timer Service. 
The likely cause is the database has not been 
started or the timer database table has not been created.|#]


error 3 [#|2008-07-17T14:58:32.512+0200|WARNING|sun-appserver9.1|
javax.enterprise.resource.resourceadapter|_ThreadID=10;_ThreadName=main;
__CallFlowPool;_RequestID=90bbbe3a-d654-4480-b295-7e317d945a4a;|
RAR5005:Error in accessing XA resource with JNDI name [__CallFlowPool] for recovery|#]


The clustered instance, instance1, was successfully started.
error 0 [#|2008-07-17T14:58:21.117+0200|WARNING|sun-appserver9.1|
javax.enterprise.system.container.ejb|
_ThreadID=13;_ThreadName=pool-1-thread-4;TimerBean;
_RequestID=30827d9a-72ac-4854-b216-06494b6a9fb5;
|EJB5108:Unable to initialize EJB Timer Service. The likely cause is the database has 
not been started or the timer database table has not been created.|#]


error 1 [#|2008-07-17T14:58:23.106+0200|WARNING|sun-appserver9.1|
javax.enterprise.resource.resourceadapter|
_ThreadID=10;_ThreadName=main;__CallFlowPool;
_RequestID=b41d76fa-0203-49f7-a2ae-83bf242d3e7a;
|RAR5005:Error in accessing XA resource with JNDI name [__CallFlowPool] for recovery|#]


Command start-cluster executed successfully.

Solution

No known solution. These (exceptions) messages can be ignored.

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

Description

Deployment of a generic RA adapter against IBM Message Queue product fails. The permissions granted in the server.policy file is as follows.

grant {
      permission java.util.logging.LoggingPermission "control";
      permission java.util.PropertyPermission "*", "read,write";
      }

Solution

Change the permissions in the server.policy file as follows:

grant codeBase
"file:${com.sun.aas.installRoot}/lib/install/applications/adminapp/-" {
  permission java.util.logging.LoggingPermission "control";
 };

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

Description

By default, there is a hard-coded value in as-install/lib/package-appclient.xml for the AS_ACC_CONFIG variable for domain1 that is pointed to by asenv.conf. If domain1 is deleted and a new domain created, the AS_ACC_CONFIG variable is not updated with the new domain name, which causes the package-appclient script to fail.

Solution

Do one of the following:

  1. Leave domain1 intact, and create your other domains around it.

  2. Remove domain1 and replace the hard-coded value for domain1 in as-install/lib/package-appclient.xml with the new domain name.

This will have to be done every time a new domain is created if domain1 is not present.

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

Description

J2SE 1.4.x, 5.0, or later can be configured on the server. An integral feature of J2SE 5.0 platform is the ability to start a JMX agent. This is activated when you explicitly set system properties at the server startup.

Example values include:

name="com.sun.management.jmxremote" value="true"
name="com.sun.management.jmxremote.port" value="9999"
name="com.sun.management.jmxremote.authenticate" value="false"
name="com.sun.management.jmxremote.ssl" value="false"

After configuring JMX properties and starting the server, a new jmx-connector server is started within the Virtual Machine. An undesirable side-effect of this is that the administration functions are affected adversely, and the Administration Console and command—line interface may produce unexpected results. The problem is that there are some conflicts between the built in jmx-connector server and the new jmx-connector server.

Solution

If using jconsole (or any other JMX-compliant client), consider reusing the standard JMX Connector Server that is started with server startup.

When the server starts up, a line similar to the one shown below appears in the server.log. You can connect to the JMXService URL specified there and perform the same management/configuration operations after successfully providing the credentials; for example:

[#|2004-11-24T17:49:08.203-0800|INFO|sun-appserver-ee8.1|
javax.enterprise.system.tools.admin|_ThreadID=10;|ADM1501: 
Here is the JMXServiceURL for the JMXConnectorServer: 
[service:jmx:rmi:///jndi/rmi://hostname:8686/management/
rmi-jmx-connector]. This is where the remote administrative 
clients should connect using the JSR 160 JMX Connectors.|#]

For more information, refer to the Sun GlassFish Enterprise Server v2.1.1 Administration Guide.

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

Description

When setting up the load balancer configuration with an application that has an EJB module that exports a web service URL, the context root for the web service isn't in the resulting loadbalancer.xml file.

Solution

  1. Edit the loadbalancer.xml file to add the missing web module as follows:

    <web-module context-root="context-root-name"
    disable-timeout-in-minutes="30" enabled="true"/>
  2. Replace context-root-name value with the context root name of the web service that was exposed as an EJB.

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

Description

The .asadmintruststore file is not described in the Enterprise Server documentation. If this file does not exist in the server administrator's home directory, you may experience serious bugs when upgrading certain applications hosted on the server.

Solution

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

Description

The default MQ integration mode for a Enterprise Server cluster instance is LOCAL. When Enterprise Server is installed in a location (PATH) that is long (read “not short”), imqbrokerscv.exe crashes when the cluster instance starts. The problem is a memory allocation problem in imqbrokersvc.

Solution

The JMS service type for the cluster instance must be changed from the default LOCAL to REMOTE. In this configuration, all the instances point back to the DAS broker. Follow the instructions below to configure a cluster in REMOTE mode.


Note - When using REMOTE mode, all instances are using one broker (DAS) , and therefore no broker cluster is created when the Enterprise Server cluster starts up. See “Auto-clustering” in Section 4.1, Division iii of the one-pager at http://wikis.sun.com/display/GlassFish for more information. The above functionality will not be available!


Using the command-line

Before You Begin

Modify the port and password file according to your environment. Note that in the instructions below, the cluster name is racluster, the DAS admin port is 5858, and the DAS JMS port is 7676.

  1. Modify the cluster configuration, changing the JMS type to REMOTE.
    as-install/bin/asadmin.bat set --port 5858 --user admin --passwordfile \
    as-install/bin/password_file racluster.jms-service.type=REMOTE
  2. Create a JMS host corresponding to the DAS JMS host.
    as-install/bin/asadmin.bat create-jms-host --port 5858 --user admin --passwordfile \
    as-install/bin/password_file --target racluster --mqhost localhost --mqport 7676 \
    --mquser admin --mqpassword admin dashost
  3. Set the default JMS host to be the DAS JMS host created in the previous step.
    as-install/bin/asadmin.bat set --port 5858 --user admin --passwordfile \
    as-install/bin/password_file racluster.jms-service.default-jms-host=dashost

Using the Admin GUI

  1. Go to Configurations->cluster-name-config->Java Message Service->JMS Hosts.
  2. Click New to create a new JMS host; name it dashost.
  3. Enter configuration settings corresponding to the JMS service for the DAS; defaults are as follows:
    • Hostname: localhost

    • Port: 7676

    • Admin user: admin

    • Password: admin

    Modify these settings as appropriate for your DAS JMS service.

  4. Navigate back to the Java Message Service tab, and change the JMS service type to REMOTE (default is LOCAL).
  5. Choose dashost from the default-jms-host drop-down list.
  6. Save the changes, and then start your node-agent or cluster.

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

Description

When trying to display a chart from the Log Statistics Monitoring page using some unsupported browsers, the following error may be thrown:

Error loading jmaki.widgets.jmaki.charting.line.Widget : id=form1:jmaki_chart11
Script: http://easqelx5.red.iplanet.com:4848/resources/jmaki/charting/ \
line/component.js (line:5437).
Message: area.initialize is not a function

Solution

Use a supported browser. Refer to Browsers for a list of browsers supported by Enterprise Server v2.1.1.

Default ports changing in each AS major release (6566481)

Description

The default admin port has changed in each of the past three major Enterprise Server releases. Specifically, the default admin ports in 7.x, 8.x, and 9.x are as follows:

Solution

This is not a bug, but something to be aware of. The default admin port is just a recommendation. It is anticipated that future Enterprise Server releases going forward will retain the default 4848 port.

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

Description

On the AIX operating system, an attempt to create a domain with a custom master password fails with the following error:

keytool error (likely untranslated): java.lang.NullPointerException
 Enter keystore password:  New keystore password:

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


Note - In the procedure that follows, only the options that are required in each step are provided. If you require additional options for a command, specify these options in the command. For information about Enterprise Server commands, see Sun GlassFish Enterprise Server v2.1.1 Reference Manual.


  1. Create a shell script that contains the following lines of code:
    #!/bin/sh
    changeKeystorePass() {
      keytool -storepasswd -keystore ${KEYSTORE} -storepass ${OLD} -new ${NEW}
    }
    changeTruststorePass() {
      keytool -storepasswd -keystore ${TRUSTSTORE} -storepass ${OLD} -new ${NEW}
    }
    changeKeyPass() {
      keytool -keypasswd -alias s1as -keystore ${KEYSTORE} -storepass ${NEW} -keypass ${OLD} -new ${NEW}
    }
    changeDomainPasswordEntry() {
      keytool -storepasswd -storetype JCEKS -keystore ${DOMAINPASSWORDS} -storepass ${OLD} -new ${NEW}
    }
    deleteMasterPasswordFile() {
      if [ -f ${DOMAIN_PATH}/master-password ] ; then
        echo Deleting ${DOMAIN_PATH}/master-password
        rm -f ${DOMAIN_PATH}/master-password
      fi
    }
    DOMAIN_PATH=$1
    OLD=$2
    NEW=$3
    if [ $# != 3 ] ; then
      echo Usage: $0 domain-path old-master-pass new-master-pass
      exit 1
    fi
    echo Processing ...
    if [ ! -f ${DOMAIN_PATH}/config/domain.xml ] ; then
      echo "Domain with folder ${DOMAIN_PATH} does not exist, create it first"
      exit 2
    else
      KEYSTORE=${DOMAIN_PATH}/config/keystore.jks
      TRUSTSTORE=${DOMAIN_PATH}/config/cacerts.jks
      DOMAINPASSWORDS=${DOMAIN_PATH}/config/domain-passwords
      changeKeystorePass
      changeTruststorePass
      changeKeyPass
      changeDomainPasswordEntry
      deleteMasterPasswordFile
    fi
  2. Create a domain, specifying the default master password.
    aadmin create-domain {--adminport aminportno|--portbase portbase} domain-name
    Please enter the admin user name>admin-user
    Please enter the admin password>admin-user-password
    Please enter the admin password again>admin-user-password
    Please enter the master password [Enter to accept the default]:>
    Please enter the master password again [Enter to accept the default]:>

    The default master password is changeit.

  3. Change the master password of the domain that you have just created.

    To change the master password, run the script that you created in Step 1.

    script-name domain-path old-password new-password
  4. Start the domain that you created in Step 2.
    asadmin start-domain domain-name

    Because the domain has a custom master password, you are prompted for the master password.

  5. In response to the prompt, type the new master password.
  6. For domains that are configured to support clusters, create and start a node agent.
    1. Create a node agent for the domain that you created in Step 2.
      asadmin create-node-agent --port portno --user admin-user
    2. Start the node agent that you created in Step a.
      asadmin start-node-agent

      Because the domain has a custom master password, you are prompted for the master password.

    3. In response to the prompt, type the new master password.

See Also

The following Enterprise Server man pages:

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

Description

On the AIX operating system, some OS-related operations might fail with the following error:

0403-027 The parameter list is too long

Examples of OS-related operations are deploying applications or running the application client container.

This issue is commonly caused by long file paths in the CLASSPATH environment variable.

Solution

Use one of the following solutions:

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

The ncargs attribute determines maximum length of the command line, including environment variables. On the AIX operating system, the default value of the ncargs attribute is four, 4–Kbyte blocks. To ensure that Enterprise Server commands do not exceed the maximum length of the command line , increase this value to 16 4–Kbyte blocks.


Note - After the value of the ncargs attribute is changed, no reboot or refresh of daemons is required.


  1. Determine the value of the ncargs attribute.
    lsattr -EH -l sys0 | grep ncargs
  2. If the value of the ncargs attribute is less than 16 4–Kbyte blocks, increase the value to 16.
    chdev -l sys0 -a ncargs=16