Documentation Center

Running WorldServer in the foreground - Windows

About this task

There are situations where you might want to run WorldServer in the foreground, rather than as a service. For example, if SDL Technical Support requests a stack trace or if your security setup prevents any WorldServer operation from running as a service, you can run WorldServer in the foreground.

To run WorldServer in the foreground, your machine must run in debug mode.

Procedure

  1. Open a command window and cd to the Idiom\WorldServer\svc directory.
  2. Run the following command:
    > IdiomRun.exe -debug
    WorldServer opens a Java console Tomcat window.
  3. Wait until the Java console window indicates that WorldServer has started.
    You will see a log like the following:
    Oct 26, 2009 9:34:30 AM org.apache.coyote.http11.Http11BaseProtocol
    init
    INFO: Initializing Coyote HTTP/1.1 on port 8080
    ...
    INFO: Starting service Catalina
    ...
    INFO: Starting Servlet Engine: Apache Tomcat/8.0.36
    ...
    INFO: Deploying web application archive ws.war
    ...
    INFO: Deploying web application archive ws-legacy.war
    ...
    INFO: Deploying web application archive ws-api.war
    ...
    Oct 26, 2009 9:34:37 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 21310 ms
  4. Open WorldServer in a supported browser.

Results

For debugging purposes, if you press Ctrl-Break in this window, the Java stack trace will be dumped on the standard output. You may need to adjust the output size of your console screen buffer (Properties > Layout > Screen Buffer Size) to capture all of the thread dump.