+

Search Tips   |   Advanced Search

Configure access to a remote spell checker

Configure access to run spell checker on a remote server.

  1. Open a command prompt and change to WP_PROFILE/ConfigEngine/properties.

  2. Open wkplc.properties with any text editor.

  3. Enter values for the following parameters:

      SpellCheckHost
      Host name for the remote spell check server. Enter //myserver.myurl.com.

      SpellCheckPort
      Specify the port number for the remote spell check server.

      To determine the port number:

      1. Log in to the WAS console; for example, http://remote_server_name:port/ibm/console.

      2. Select Servers > Server Types > WebSphere application servers > server1.

      3. In the Communications section, expand Ports.

      4. Locate the port for WC_defaulthost. This parameter is the remote server port.

      5. Log out of the WAS console.

  4. Complete the following steps if we are using a custom context root on either the local portal server or on the remote SpellCheck server.

    1. cd WP_PROFILE/PortalServer/config/com/ibm/wps/odc/spellcheck/util directory.

    2. Open the SpellCheckConfig.properties file.

    3. Edit the following parameters:

      • SpellCheck_Remote_Context=/remote_context_root/spellcheck

      • SpellCheck_Context=/local_context_root/spellcheck

      The remote_context_root value is the context root of the spell checker service that is hosted on the remote server. The local_context_root is the context root of the portal server that accesses the remote server.

      cd WP_PROFILE/ConfigEngine:
      ./ConfigEngine.sh delegate-spell-checking -DWasPassword=foo

    • Save the changes.

    • Restart the server.


Results

If the portal server is securely protected with SSL, then the remote spell checker must also be configured to use SSL. The RemotePort property in the SpellCheckConfig.properties file must be set to the secure SSL port on the remote application server hosting the spell checker service. The remote server must import the client certificate into the following locations:

  • SSL configuration repertoire's truststore

  • The cacerts file in the /AppServer/java/jre/lib/security directory on the remote server


Parent Remote spellcheckers