Step 5. Troubleshoot the Web Application

If your web application does not run, you can run the following checks.

1.  The following URL displays the default index page for the web server. Adjust the Port Number for your deployed application:
http://localhost:8089/

     If you do not receive this page, there is a problem with your Web Server configuration.

2.  The following URL display information for LANSA Web, for the deployed system:
http://localhost:8089/cgi_bin/about

     Adjust the URL for your deployed system. If the following information is displayed, you are contacting your application web site. This means IIS is setup correctly for your deployed application, but has not tested whether LANSA web jobs can be executed.

3.  The following URL displays information for LANSA web:
http://localhost:8089/cgi-bin/lansaweb?about

     Adjust the values for your deployed application. If the following information is displayed, you are executing a LANSA web job. In which case, your installed system is running your web jobs, but your application is not running. Your deployed system supports web applications, but there is a problem with your deployed application.

4.  If your web page runs but displays a blank list of employees:

     Your web page component has executed, but data has not been retrieved from the database files, via the server module. In this case you could use Microsoft SQL Server Management Studio to check that your database contains the required application files and that the files contain data.

5.  With your web application running locally, you can retrieve job logs for the LANSA Web jobs, from within Visual LANSA.

6.  You can find more information in the following documentation sections: Web Administration and Install LANSA on Windows.

7.  You could include the shipped test web page, XVLWEBTST in your deployment package. This uses a test server module XVLSMTST.

a.  When run an initial web page displays a blue panel with the message "The Web Server is running" and has a push button "Send Request to Application Server".

b.  Clicking the push button contacts the test server module and displays a blue panel, containing the message |"The Application Server responded".

     Running the test web page successfully confirms your deployed application and database system is correctly deployed and set up.

     You may decide to always include the test web page and server module in your web application deployment, in order to perform a quick test if problems are experienced with the deployed web application system.