websphere-liberty Getting started with websphere-liberty


This section provides an overview of what websphere-liberty is, and why a developer might want to use it.

It should also mention any large subjects within websphere-liberty, and link out to the related topics. Since the Documentation for websphere-liberty is new, you may need to create initial versions of those related topics.

Installation and Setup

To set up WebSphere Liberty, download the latest zip from WASdev.net.

Once you have the zip, extract it to any location on your file system. The basic layout of a Liberty install is the following:

wlp/                # WLP_INSTALL_DIR
  bin/              # location of scripts such as 'server'
  dev/              # developer resources (APIs, SPIs, and tools)
  etc/              # global customizations (server.env or jvm.options)
  lib/              # platform runtime environment
  usr/              # user directory
    servers/        # servers directory
      server_name   # directory containing all information for a given server
        server.xml  # (required) primary server configuration file
        apps/       # server applications folder
        dropins/    # server dropin applications folder
        logs/       # server log files

Detailed layout information: Directory locations and properties

Creating, starting, and stopping a server:

Create a serverserver create myServer
Start a serverserver start myServer
Stop a serverserver stop myServer

Note: The server script is located at: $WLP_INSTALL_DIR/bin/server