Return-Path: X-Original-To: apmail-sis-user-archive@www.apache.org Delivered-To: apmail-sis-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 5C02611ACE for ; Thu, 10 Apr 2014 19:06:54 +0000 (UTC) Received: (qmail 48741 invoked by uid 500); 10 Apr 2014 19:06:54 -0000 Delivered-To: apmail-sis-user-archive@sis.apache.org Received: (qmail 48681 invoked by uid 500); 10 Apr 2014 19:06:47 -0000 Mailing-List: contact user-help@sis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@sis.apache.org Delivered-To: mailing list user@sis.apache.org Received: (qmail 48650 invoked by uid 99); 10 Apr 2014 19:06:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2014 19:06:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gredbug@gmail.com designates 209.85.192.42 as permitted sender) Received: from [209.85.192.42] (HELO mail-qg0-f42.google.com) (209.85.192.42) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2014 19:06:39 +0000 Received: by mail-qg0-f42.google.com with SMTP id q107so4406954qgd.15 for ; Thu, 10 Apr 2014 12:06:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=w+9BqNB2Lx9sYqOsfYZ+DQXdlezNtZkM2kcszgjAGMI=; b=VWY1nlQmYHLHjxmmVbsvkQ/zmCD84+4rYcJLR+QgaLKtJzUa5zRv6ppEw6761Poutt tqelEmQflJTOOyNrRtpJrWukNc0EE9R6GzFEKpzNPC5/+dsTIlyj0Xv4Skwz28xFPfQG 9sUf1QAklIq+8BwWYyhRTom2MUYjR6qDcZLxKkgO1NLbp5HAwpoMjdgxQQIt8ouOEUxE 3ynhz+pErj1Z6dZrQYro5YblJG5MQsxEYZFp794oSGsUyo85J0re64kGz10SBRJNeSO6 ugK4jHvFEKfBytwQ7Bogd5qq8IkyqoZe2sDAT9fLcrvHFOLA2mnOChULdxyoFlSkvv/4 NofQ== MIME-Version: 1.0 X-Received: by 10.224.125.194 with SMTP id z2mr261057qar.99.1397156776782; Thu, 10 Apr 2014 12:06:16 -0700 (PDT) Received: by 10.229.112.83 with HTTP; Thu, 10 Apr 2014 12:06:16 -0700 (PDT) Date: Thu, 10 Apr 2014 14:06:16 -0500 Message-ID: Subject: Problems with Demo App From: Greg Reddin To: user@sis.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org I discovered an odd occurrence using the sis-webapp demo. I'm running Tomcat 7.0.53 on Mac OSX Mavericks. I took the approach of modifying the web.xml file in the source tree (attaching the contents here) and running mvm clean package to create the war file. Then I copied the .war file to Tomcat's web apps directory. When I tried to do a request to the web page I get an error like the following in the log: [INFO] Existing qtree index at: [/path/to/qtree/index/dir/] not found. Creating new index. ava.io.FileNotFoundException: /path/to/sis-location-config.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:120) at java.io.FileInputStream.(FileInputStream.java:79) at org.apache.sis.services.LocationServlet.init(LocationServlet.java:139) As you can see below I've changed the parameters in web.xml. I don't know where it's getting these values from. The default qtree location wasn't even in the original xml. I added my own. I've never had an issue like this where Tomcat didn't seem to read context-params. Has anyone else experienced this? Thanks, Greg web.xml below: Apache SIS org.apache.sis.services.config.qIndexPath /Users/greddin/sis-data/qtree org.apache.sis.services.config.geodataPath /Users/greddin/sis-data/geodata org.apache.sis.services.config.filePath /Users/greddin/sis-data/sis-location-config.xml LocationServlet org.apache.sis.services.LocationServlet LocationServlet /location