Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
stylenone

Anchor
startAppServerWindowsLinux
startAppServerWindowsLinux
1. Start AppServer

1.1. Start AppServer on Windows

There are three possible options how you can start AppServer on Windows-based environments.

...

  1. Go to Windows Start –> Control Panel –> Administrative Tools –> Services.
  2. Find WebSpellChecker Application Server Service on the list of all services.
  3. Click Start.

1.2. Start AppServer on Linux

To start AppServer on Linux, run the start.sh script using the following command below:

...

Code Block
languagepowershell
themeEmacs
/<WebSpellChecker_Installation_Dir>/WSC/AppServer/# sh start.sh

Anchor
stopAppServerWindowsLinux
stopAppServerWindowsLinux
2. Stop AppServer

1.1. Stop AppServer on Windows

There are three possible options how you can stop AppServer on Windows-based environments.

...

  1. Go to Windows Start –> Control Panel –> Administrative Tools –> Services.
  2. Find WebSpellChecker Application Server Service on the list of all services.
  3. Click Stop.

1.2. Stop AppServer on Linux

To stop AppServer on a Linux-based environment, run the stop.sh script from the AppServer directory:

...

Code Block
languagepowershell
themeEmacs
/<WebSpellChecker_Installation_Dir>/WSC/AppServer/# sh stop.sh

3. Check

...

AppServer version

To check the current version of WebSpellChecker Server package, start AppServer Service and check its version as shown below.

Option A. Connection to the AppServer service via web server acting as a reverse proxy

Note

Web servers must be configured to act as a reverse proxy. For more details, visit Reverse proxy setup to avoid exposing 2880 port.

To verify the version, use ?cmd=ver сommand: http(s)://your_host_name/virtual_directory/api?cmd=ver

Option B. Direct connection to AppServer

...

service

To verify the version, use ?cmd=ver сommand:  

...

http(s)://your_host_name:2880/?cmd=ver

Note

The port 2880 Port 2880 is the default port used by AppServer by AppServer Service.

If you specified specify a custom port number, use the next following link:  

...

http(s)://your_host_name:port/?cmd=ver

Here is an example of a the correct version response for WebSpellChecker Server:

Code Block
{
    "Copyright": "(c) 2000-20192021 WebSpellChecker LLC",
    "ProductWebsite": "webspellchecker.com",
    "ProgramVersion": "5.5.4x.2x x64 master:4fb43001xxxxxxxx (1893xxxx) #41#xx",
    "PackageVersion": "5.5.4x.2x master:58e1bc7xxxxxxx (639xxx) #47#xx"
}

Option

...

C. Connection to the

...

service via FastCGI, SSRV.cgi component, and

...

web or Java

...

application server for versions 5.5.x - 5.17.x

To verify the version, use ?cmd=ver сommand: 

...

Info

http(s)://your_host_name:port/wscservice/script/ssrv.cgi?cmd=ver

Here is a the correct version response:

(c) 2000-

2019

2021 WebSpellChecker LLC

All rights reserved.

www.webspellchecker.net

Program name:ssrv
Program version:x.x.x.x x64 master:xxxxxxx (xxx) #xx for Windows or Linux

4. Check

...

 AppServer status 

To verify if WebSpellChecker Server works properly, you need to start AppServer Service and check its status.

Use ?cmd=status сommand, verify status of AppServer engines (SpellCheck, Grammar Check, and Thesaurus).

Option A. Connection to the AppServer service via web server acting as a reverse proxy

Note

Web servers must be configured to act as a reverse proxy. For more details, visit Reverse proxy setup to avoid exposing 2880 port.

Info

http(s)://your_host_name/virtual_directory/api?cmd=status

Option A. Direct connection to the AppServer

...

service

To verify status of AppServer engines (SpellCheck, Grammar Check, and Thesaurus), use ?cmd=status сommand:

...

Code Block
languagetext
titlehttp(s)://your_host_name:2880/?cmd=status
{
    "SpellCheckEngine": {
        "active": true
    },
    "GrammarCheckEngine": {
        "active": true
    },
    "ThesaurusEngine": {
        "active": true
    }
}

Option B. Connection to the Service via FastCGI, SSRV.cgi component and Web or Java Application Server

To verify the status of the AppServer engines (SpellCheck, Grammar Check, and Thesaurus) via FastCGI, SSRV.cgi component, and web server, use the following command:

...