Manually Setting UTF-8 Options for AIX

This section describes changes you must make to your Application Server environment after selecting UTF-8 support during ENOVIA Live Collaboration Server installation with an AIX platform.

This task shows you how to:

Related Topics
Automated UTF-8 Settings
Manually Setting UTF-8 Options
Installing Multiple ENOVIA Live Collaboration Servers (RIP only)

Make manual changes for WebLogic

To make manual changes for WebLogic:

  1. Edit the web.xml file located in SERVERHOME/distrib/enovia/WEB-INF/ by adding the following lines below ContextParam_11:

    <context-param id="ContextParam_12">
       <param-name>weblogic.httpd.inputCharset./*</param-name>
       <param-value>UTF-8</param-value>
    </context-param>
    

  2. Add the following without quotes to the startWebLogic file located in the WebLogic installation directory for your platform (see table below):

    MEM_ARGS="-Xms512m -Xmx512m -Dfile.encoding=UTF-8 -Xss1024k 
    -XX:NewSize=80m -XX:MaxNewSize=80m -XX:MaxPermSize=128m:-Xnocl
    assgc -XX:+DisableExplicitGC"
    
    UNIX/Linux:

    Add this setting to the startWebLogic.sh/startWLS.sh file.

    Windows:

    Add this setting to the startWebLogic.cmd/startWLS.cmd file.

    Note: On Windows, you must add set in front of MEM_ARGS.

Make manual changes for WebSphere

To make manual changes for WebSphere:

  1. Open the WebSphere admin console (http://MACHINE_NAME:9060/ibm/console and log in.

  2. Click Servers > Application Servers in the left-side tree.

  3. Click the server name in the right-side frame to open the configuration page.

  4. Under Server Infrastructure, click Java and Process Management > Process Definition.

  5. Under Additional Properties, click Java Virtual Machine.

  6. Scroll down to the Generic JVM arguments field and add the following:

    -Dclient.encoding.override=UTF-8
    -Ddefault.client.encoding=UTF-8
    -Dfile.encoding=UTF-8
    

    For AIX you also need:

    -Xmso1152k -Xss1024k
    

  7. Click Apply > Save at the top of the page.

  8. Stop and restart the server.

Make manual changes for Sun Java System Application Server

To make manual changes for Sun Java System Application Server:

  • Using the Sun Java System Application Server Administrator's console, add the following JVM options on the JVM settings tab:

    -Dfile.encoding=UTF-8
    

Make manual changes for Tomcat

To make manual changes for Tomcat:

  1. In TOMCATINSTALLDIR/webapps/enovia/WEB-INF/web.xml, uncomment the Tomcat UTF-8 settings:

    <!--  TomCat UTF-8 settings
       <filter>
          <filter-name>Set Character Encoding</filter-name>
          <filter-class>com.matrixone.servlet.SetCharacterEncodingFilter</filter-class>
          <init-param>
             <param-name>encoding</param-name>
             <param-value>UTF-8</param-value>
          </init-param>
       </filter>
       <filter-mapping>
          <filter-name>Set Character Encoding</filter-name>
          <url-pattern>/*</url-pattern>
       </filter-mapping>
    -->
    

  2. Add the following without quotes to the catalina file for your platform (see table below):

    CATALINA_OPTS="-Xms512m -Xmx512m -Xss1024k -XX:NewSize=230m 
    -XX:MaxNewSize=230m -XX:SurvivorRatio=2 -XX:MaxPermSize=128m 
    -Dfile.encoding=UTF-8 -server"
    
    UNIX/Linux:

    Add this setting to the TOMCATINSTALLDIR/bin/catalina.sh file.

    Windows:

    Add this setting to the TOMCATINSTALLDIR\bin\catalina.bat file.

    On Windows, you must add set in front of CATALINA_OPTS.