Configure access to run spell checker on a remote server.
Procedure
- Open a command prompt and change to the wp_profile_root/ConfigEngine/properties directory.
- Open the wkplc.properties file.
- Add values for the following parameters:
- SpellCheckHost
- Specify the host name for the remote spell check server. Enter
myserver.myurl.com.
- SpellCheckPort
- Specify the port number for the remote spell check server. Complete
the following steps to determine the port number:
- Log in to the WebSphere® Integrated Solutions Console; for example, http://remote_server_name:port_number/ibm/console.
- Select .
- In the Communications section, expand Ports.
- Locate the port for WC_defaulthost.
This parameter is the remote server port.
- Log out of the WebSphere Integrated Solutions Console.
- Complete the following steps if you are using a custom
context root on either the local portal server or on the remote SpellCheck
server.
- Change to the wp_profile_root/PortalServer/config/com/ibm/wps/odc/spellcheck/util directory.
- Open the SpellCheckConfig.properties file.
- 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.
- Save the changes.
- Run the following command from the wp_profile_root/ConfigEngine directory:
- AIX® HP-UX Linux Solaris: ./ConfigEngine.sh
delegate-spell-checking -DWasPassword=password
- IBM® i: ConfigEngine.sh
delegate-spell-checking -DWasPassword=password
- Windows: ConfigEngine.bat
delegate-spell-checking -DWasPassword=password
- 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 that is 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