Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Tutorial Testing The Server

macourtney edited this page · 8 revisions
Clone this wiki locally

Testing the server

The first thing we’ll do is make sure the conjure server is working. In a terminal, do the following:

  1. Change directory to your hello_world project directory.
  2. type “lein conjure server”

You should see something like:

DEBUG [conjure.core.db.flavors.h2]: Executing query: ["SELECT * FROM sessions LI
MIT 1"]
DEBUG [conjure.core.db.flavors.h2]: Create table: :sessions with specs: (("id" "
sion_id" "VARCHAR(255)") ["data" "TEXT"])
INFO  [conjure.core.server.server]: Server Initialized.
INFO  [conjure.core.server.server]: Initializing plugins...
INFO  [conjure.core.server.server]: Plugins initialized.
INFO  [conjure.core.server.server]: Initializing app controller...
INFO  [conjure.core.server.server]: App controller initialized.
2010-06-30 09:59:26.854::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2010-06-30 09:59:26.856::INFO:  jetty-6.1.14
2010-06-30 09:59:26.940::INFO:  Started SocketConnector@

This means, the server script has started a new jetty webserver on port 8080. Point your browser at “http://localhost:8080/” to see a welcome message. If you don’t see a welcome message, something was not installed correctly. Review the “Creating a new Project” section of Getting Started.

Tutorial IndexNext

Something went wrong with that request. Please try again.