Sun GlassFish Enterprise Server 2.1 Release Notes

Procedure(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