Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 12A7410EE0 for ; Fri, 12 Dec 2014 23:46:22 +0000 (UTC) Received: (qmail 16254 invoked by uid 500); 12 Dec 2014 23:46:18 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 16188 invoked by uid 500); 12 Dec 2014 23:46:18 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 16177 invoked by uid 99); 12 Dec 2014 23:46:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2014 23:46:18 +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 knst.kolinko@gmail.com designates 209.85.216.47 as permitted sender) Received: from [209.85.216.47] (HELO mail-qa0-f47.google.com) (209.85.216.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2014 23:45:53 +0000 Received: by mail-qa0-f47.google.com with SMTP id s7so5744631qap.20 for ; Fri, 12 Dec 2014 15:43:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=YJ5SkUuRiOKOoRWqbv0sqzakBFWy7lF8B0BDo4jV0n0=; b=T3BuWSpIJlU0H3J9+q1fJDiIIWk67TQJwd+LpF34/kGyAoQlpocMi+NKsW80JaMTZC w7wHM99LQ+Llfqvzd5MD2Kl7eoinyGI+c9t/lfAeSrCHTp4sOFCxCvcM4xPRqmowKu8a dP5U33GFTCgGXoHMy8b/+6G6+F2M+HtpAAWdIeVEFYBFt85rDOilB8ZBrviW+Os2rNt8 9p0t/07l81UxxUm6D8bI7E8Jmoq7ftVAI+QCe9fUSG/lt9HIPFU92Q13hYW16n7PN0Sg 420udmwliSNel8jMCJcMVgTZwrivhcWrqSoXE8x0gdMYf8gSZePZl+fRQWkv0tt86BHU quCA== MIME-Version: 1.0 X-Received: by 10.140.86.99 with SMTP id o90mr33628985qgd.21.1418427816747; Fri, 12 Dec 2014 15:43:36 -0800 (PST) Received: by 10.140.91.229 with HTTP; Fri, 12 Dec 2014 15:43:36 -0800 (PST) In-Reply-To: <548B4551.6050207@christopherschultz.net> References: <548B2AD5.9060701@touchtonecorp.com> <548B3393.7000607@touchtonecorp.com> <548B4551.6050207@christopherschultz.net> Date: Sat, 13 Dec 2014 02:43:36 +0300 Message-ID: Subject: Re: Help! Tomcat crashing on takeoff From: Konstantin Kolinko To: Tomcat Users List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org 2014-12-12 22:43 GMT+03:00 Christopher Schultz : > > EBCDIC can certainly be confusing things, here. > I wonder - can you verify that conf/catalina.properties file can be read with a simple Java program? Essentially Tomcat does the following: in org/apache/catalina/startup/CatalinaProperties.java File home = new File(getCatalinaBase()); File conf = new File(home, "conf"); File propsFile = new File(conf, "catalina.properties"); InputStream is = new FileInputStream(propsFile); Properties properties = new Properties(); properties.load(is); Then if you print out the value of properties.get("common.loader") it shall be non-empty. I think that Tomcat can read the file (otherwise you would have seen an exception of a "Failed to load catalina.properties" warning), but maybe it has trouble parsing it as a "properties" file. Maybe the whole contents is interpreted as one line and provides no value for "common.loader". The *.loader properties are allowed to be empty, so there will be no warning if one is missing. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org