Running Laszlo applications using Laszlo Presentation Server

Note: These instructions are for the Standard 5.0.x release.
Click here if you installed the Core distribution. If you are upgrading from a previous version of the LPS, please see the upgrade instructions.

To run your first Laszlo application after installing:

  1. Verify the install:
  2. Create and run your own applications.

Running Laszlo applications on Windows

To run a Laszlo application once you have successfully installed the Laszlo Presentation Server:

  1. Start Tomcat:
    When you installed Laszlo for Windows, it created a program group in your Start menu called Laszlo Presentation Server. From the Start menu, under Programs, under Laszlo Presentation Server, click on Start Tomcat for LPS.

    The Tomcat log window should remain on your display. If it closes, then Tomcat is no longer running. If this happens, make sure there are no other services (including other copies of Tomcat) running on port 8080. You can diagnose Tomcat startup failures by getting to a DOS prompt and running the startup script by hand as
                yourInstallationDir\Server\tomcat-5.0.24\bin\catalina.bat run
        
  2. Run Laszlo's hello.lzx application to verify that LPS is installed correctly and that Tomcat has started correctly. (The first application may take 30 seconds or so to start.)
  3. Your browser should display something like:

  4. If your browser does not display the Hello, Laszlo! greeting, please see the installation instructions.
  5. Click here for information about running your own Laszlo applications.

Running Laszlo applications on Linux

To run a Laszlo application once you have successfully installed the Laszlo Presentation Server

  1. Start Tomcat:
    Assuming you have set JAVA_HOME to point to the directory in which Java is installed, enter:
    lps-5.0.x/Server/tomcat-5.0.24/bin/startup.sh
    If there is a problem, the error is reported in the console.
    If this happens, make sure there are no other processes (including other copies of Tomcat) running on port 8080.
  2. Run Laszlo's hello.lzx application to verify that LPS is installed correctly and that Tomcat has started correctly. (The first application may take 30 seconds or so to start.)
  3. Your browser should display something like:
  4. If your browser does not display the Hello, Laszlo! greeting, please see the installation instructions.
  5. Click here for information about running your own Laszlo applications.

Running Laszlo applications on Mac OS X

To run a Laszlo application once you have successfully installed the Laszlo Presentation Server:

  1. Start Tomcat:
    When you installed Laszlo, it placed an icon on your desktop:

    To start Tomcat, double-click the LPS Start Tomcat.term icon.
    Note: If you move the Tomcat directory, this icon will no longer start Tomcat.

  2. Run Laszlo's hello.lzx application to verify that LPS is installed correctly and that Tomcat has started correctly. (The first application may take 30 seconds or so to start.)
  3. Your browser should display something like:

  4. If your browser does not display the Hello, Laszlo! greeting, please see the installation instructions.
  5. Click here for information about running your own Laszlo applications.

Running your own Laszlo applications

To run a Laszlo application that you have created or modified, you must either:

Congratulations! You have successfully installed Laszlo Presentation Server and run your first Laszlo application.

Now, check out the Laszlo Explorer for links to documentation, tutorials, examples, samples and more.