You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

2.8 Select Java Application Server (Apache Tomcat, Oracle WebLogic Server, etc.) as a Java application server and configure its settings.

These are additional required steps when installing WebSpellChecker on Java application server (Apache Tomcat, Oracle WebLogic Server, etc.):

  • Set the WSC_DIR environment variable. This environment variable must be pointed to the WebSpellChecker installation directory (e.g. WSC_DIR=/opt/WSC).
  • Deploy WebSpellChecker on your Apache Tomcat Application Server. 

  • Copy spellcheck.war from J2EEServersComponents to the Apache Tomcat /webapps directory.
  • Start Apache Tomcat, or stop and start if it is already running.

spellcheck.war should be automatically unpacked, otherwise unpack it manually.

If Apache Tomcat is installed directly with AppServer, add the following two strings to the server.xml file under <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">: 

<Context docBase="C:/Program Files/WebSpellChecker/WebComponents/WebInterface" path="/wscservice" />
<Context docBase="C:/Program Files/WebSpellChecker/WebComponents/Samples" path="/wscservice/samples" />

  • No labels