code: public static final void main( String[] args ) {
      if (args.length != 1) {
        System.err.println("A single argument -- a port -- is required");
        System.exit(1);
      }
      int port = Integer.valueOf( args[0] ).intValue();
      System.out.println(Version.VERSION);
      try {
        new Server( port );
      } catch (Exception e) {
        System.err.println("Failed to start server");
        e.printStackTrace( System.err );
      }
    }
docs: Gozirra is probably not the best choice for a stand-alone server.  If
  you are tempted to use it as such, you might want to look at ActiveMQ,
  which is a feature-rich MOM solution.  Gozirra is intended primarily
  to be an ultra-light embedded messaging library.
  
  If you still want to run Gozirra as a stand-alone server, then you'll
  need to know about how to call it.  The main() method takes a single
  argument: a port to run on.  It will run until you ^C it.