Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Addressed reviewer's comments.

...

Excerpt

Option A: Binding of Static Files and Serving Service Requests by AppServer

For direct connection with AppServerTo deploy wscervice.war on Apache Tomcat for binding static files and all service requests to engines such as spelling or grammar checking

1. Stop Apache Tomcat before modifying the configuration files. 

2. Add the following paths to the server.xml file inside the <Host name=“localhost”  appBase="webapps" unpackWARs="true" autoDeploy="true"> tag:

Code Block
languagepowershell
themeEmacs
<Context docBase="/opt/WSC/WebComponents/WebInterface" path="/wscservice" />
<Context docBase="/opt/WSC/WebComponents/Samples" path="/wscservice/samples" />

3. Start Apache Tomcat after modifying the configuration files.

Option B: Serving both Static Files and Service Requests by Java Application Server (deployment of wscservice.war)

Here are additional required steps when installing WebSpellChecker on Java Application Servers (Apache Tomcat)To bind only static files and the rest of the service requests such as spelling or grammar checking directly connecting with AppServer:

1. Set and check the WSC_DIR environment variable:

Code Block
languagepowershell
themeEmacs
export WSC_DIR=/opt/WSC
echo @WSC_DIR

2. Deploy wscservice.war on war on your Apache Tomcat Application Server. 

Excerpt Include
_include_wsc55x_server_deploy_apache_application_server
_include_wsc55x_server_deploy_apache_application_server
nopaneltrue

...