Installing the Sun Java System Application Server

The Sun Java System Application Server (previously Sun ONE/iPlanet) is available for use with the ENOVIA Live Collaboration Server as outlined in the Program Directory for the given release.

To install the Sun Java System Application Server, see the appropriate Sun documentation at http://docs.sun.com/app/docs/doc/819-3657.

Related Topics
Installing Tomcat
Optional Static Content Server
Installing a Web or Application Server

Stack Size

After installing, increase the stack size. For Version 9, edit .../SUNWappserver/domains/domain1/config/domain.xml to include the stack size as shown below.

<jvm-options>-Xmx512m</jvm-options>
<jvm-options>-Xms512m</jvm-options>
<jvm-options>-XX:NewSize=256m</jvm-options>
<jvm-options>-XX:MaxNewSize=256m</jvm-options>
<jvm-options>-XX:SurvivorRatio=2</jvm-options>
<jvm-options>-XX:MaxPermSize=128m</jvm-options>
<jvm-options>-XX:PermSize=32m</jvm-options>
<jvm-options>-Xss1024k</jvm-options>
<jvm-options>-Dfile.encoding.override=UTF-8 -Dfile.encoding=UTF-8 
-Dclient.encoding.override=UTF-8</jvm-options>

RIP settings

If you are using RIP, the following permissions need to be provided in .../SUNWappserver/domains/domain1/config/server.policy:

// Basic set of required permissions granted to all remaining code 
grant { 
        permission java.lang.RuntimePermission  "loadLibrary.*"; 
        permission java.lang.RuntimePermission  "queuePrintJob"; 
        permission java.net.SocketPermission    "*", "connect"; 
        permission java.io.FilePermission       "<<ALL FILES>>", "read,write,delete,execute";
        permission java.util.PropertyPermission "*", "read,write"; 
        permission java.lang.RuntimePermission  "createClassLoader"; 
        permission java.lang.RuntimePermission  "getClassLoader"; 
        permission java.lang.RuntimePermission  "modifyThreadGroup"; 
        permission java.lang.RuntimePermission  "setIO"; 
}; 

LD_LIBRARY_PATH update

The following change is required in the asadmin startup script before you can start the Live Collaboration Server and deploy the .war file with Sun Java System 9.1:

Change:

LD_LIBRARY_PATH="$AS_NSS":"$AS_INSTALL/lib":"$AS_ICU_LIB":"$LD_LIBRARY_PATH";export
LD_LIBRARY_PATH
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LD_LIBRARY_ENOVIA_PATH

To:

LD_LIBRARY_PATH="$AS_NSS":"$AS_INSTALL/lib":"$AS_ICU_LIB":LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LD_LIBRARY_ENOVIA_PATH