Docs‎ > ‎Install Live API Creator‎ > ‎

Install the Jetty package

The demonstration Jetty package is a self-contained, single-user version of Live API Creator. You do not need to install an app server (Jetty is included in the zip) or a DBMS (it uses Apache Derby).

The Jetty package includes sample applications. You can see a complete API with logic and security using the sample applications or you can use Northwind's sample from the New API wizard.

Prerequisites:
  • You have Java JDK installed. For more information:
java -version   (check that Java is installed and available)
javac -version     (check that the JDK is installed)
  • You have at least 100MB of free disk space.

Install Jetty

  1. Request and download the package from your CA Technologies Sales team.
  2. Un-package the file to a local directory folder. We recommend setting a folder (for example, lac) to contain your lac install and projects, as shown in the following image. You can perform Node npm installs here and they will be available for your API projects.
  3. From a command window (terminal or cmd), change directories to the location of your installation by issuing the following command:

    /user/home/CALiveAPICreator-Jetty-xxxx-NNNN

Start the Jetty Server

Start procedures depend on your operating system.  Follow one of the procedures below.

Windows

From Terminal/Command Line, change directories to your install folder, and start the server by issuing the following command:
(Windows)

start.bat

The following response is expected:

Screenshot of Windows command line


Unix/Mac

sh Start.sh

The following response is expected:
OSX Terminal showing startup output

Start 

Installation is now complete.  

Login and Get Started


For next steps, click 




Additional Information

Port Conflict Issues

If something on your machine is already using port 8080, an error message will appear, including:

Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:437)
at sun.nio.ch.Net.bind(Net.java:429)

In that case, edit the Start.sh or Start.bat script and add the following parameter at the end of the Java invocation:

java -DSTOP.PORT=8123 -DSTOP.KEY=stop_caliveapicreator -jar ../start.jar --module=http jetty.port=8181

Note: If you need to do this, you may need to adjust the port in the URL when logging in.


Directory Organization