Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5F8D9171E5 for ; Sat, 1 Nov 2014 00:11:07 +0000 (UTC) Received: (qmail 24811 invoked by uid 500); 1 Nov 2014 00:11:06 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 24762 invoked by uid 500); 1 Nov 2014 00:11:06 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 24717 invoked by uid 99); 1 Nov 2014 00:11:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Nov 2014 00:11:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of wsmoak@gmail.com designates 209.85.216.179 as permitted sender) Received: from [209.85.216.179] (HELO mail-qc0-f179.google.com) (209.85.216.179) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Nov 2014 00:10:40 +0000 Received: by mail-qc0-f179.google.com with SMTP id o8so6527094qcw.38 for ; Fri, 31 Oct 2014 17:09:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=5RSL6J7TXmuwbqLfuDf0DNT7fmRpdOHM7fHvQFKY9oQ=; b=xgLjkIvpRQhEODvybyLJNvKdbqL39jNbH5+/nU2vdilCDGZqEl11pgCs8KjegRqEX7 isTYhmav5mACNYPyFEMjnyigLyy60MjH0CzqdxiHOpg7vvt1YeSRxhAQucWyHMpuIivn l7A8W4ZJRwD2ytj6qi5v2301IcQCym8FziXhFAYus2R91vvTGRYuVE8WvQzfBkb06mD2 JwY9CCUrfAOK3O9BDYS5OdUsrNAAqPI03IELkCq/uzS/w0D9tId4OgSfZDGc4Y7G5M92 3O0f3+lG8hcAsF1u+2j1VtJe9h9tris8q8t9CiAZ9Ip9QAEYx6vMH9RDsrpSz2zlorYc PW7g== X-Received: by 10.224.129.9 with SMTP id m9mr42680954qas.50.1414800594547; Fri, 31 Oct 2014 17:09:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.96.127.98 with HTTP; Fri, 31 Oct 2014 17:09:34 -0700 (PDT) In-Reply-To: References: From: Wendy Smoak Date: Fri, 31 Oct 2014 20:09:34 -0400 Message-ID: Subject: Re: Command Line arguments for ZooKeeper Java example To: user@zookeeper.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org If you look at https://github.com/wsmoak/zookeeper/blob/master/simple-watch/run.sh you can see the minimal set of things I had to add to the CLASSPATH. zookeeper-3.5.0-alpha.jar slf4j-api-1.7.5.jar slf4j-log4j12-1.7.5.jar log4j-1.2.16.jar The logging jars were not needed to compile the project, but they are needed to run it. The next thing you might run into is a complaint about configuring Log4j. There is a sample config file in the conf/ directory of the ZooKeeper .tar.gz distribution. -Wendy