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 7C36A10CD8 for ; Sun, 1 Dec 2013 21:56:05 +0000 (UTC) Received: (qmail 37189 invoked by uid 500); 1 Dec 2013 21:56:02 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 37129 invoked by uid 500); 1 Dec 2013 21:56:02 -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 37120 invoked by uid 99); 1 Dec 2013 21:56:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Dec 2013 21:56:02 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of philipp.kraus@tu-clausthal.de designates 139.174.2.42 as permitted sender) Received: from [139.174.2.42] (HELO mailrelay1.rz.tu-clausthal.de) (139.174.2.42) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Dec 2013 21:55:56 +0000 Received: from hades.rz.tu-clausthal.de (hades.rz.tu-clausthal.de [139.174.2.20]) by mailrelay1.rz.tu-clausthal.de (Postfix) with ESMTPS id 0DFA738335F for ; Sun, 1 Dec 2013 22:55:33 +0100 (CET) Received: from hades.rz.tu-clausthal.de (localhost [127.0.0.1]) by hades.rz.tu-clausthal.de (Postfix) with ESMTP id E520A382773 for ; Sun, 1 Dec 2013 22:55:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=rz.tu-clausthal.de; h=from :content-type:message-id:mime-version:subject:date:references:to :in-reply-to; s=dkim1; bh=4QTlyQM2at9wH9xD5VmcyVJKNqU=; b=nXcV8w iUq1QYmFRBJmIibkfaa0sOdd3Ix3oP1ZaPGKf5ONh0oI9AWE+8T659DNWV12zP31 YSQ638QAJ4qgihqd+XsNTHqtHWX77Y+8qMMV9Sdo3pReWokMm5zNjC9sdbwuvSld MGZv2OOSab2YGTgCEygzm7spbb5oGYDbxNPq8= Received: from hades.rz.tu-clausthal.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id D0B3A38335F for ; Sun, 1 Dec 2013 22:55:32 +0100 (CET) Received: from tu-clausthal.de (hathor.rz.tu-clausthal.de [139.174.2.1]) by hades.rz.tu-clausthal.de (Postfix) with ESMTPS id A2D3D382773 for ; Sun, 1 Dec 2013 22:55:32 +0100 (CET) Received: from vpn11.vpn.tu-clausthal.de (account pkr@tu-clausthal.de [139.174.5.11] verified) by tu-clausthal.de (CommuniGate Pro SMTP 5.4.11) with ESMTPSA id 55810882 for users@tomcat.apache.org; Sun, 01 Dec 2013 22:55:32 +0100 From: Philipp Kraus Content-Type: multipart/alternative; boundary="Apple-Mail=_10F758D3-2359-409A-B18A-51DE5650157A" Message-Id: <3DE8AE9B-AED4-49A2-BBD9-5BE00F79EBD6@tu-clausthal.de> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: install war with xml and define environment values Date: Sun, 1 Dec 2013 22:55:32 +0100 References: To: Tomcat List Users In-Reply-To: X-Mailer: Apple Mail (2.1510) X-Virus-Scanned: by Sophos PureMessage 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.12.1.214214 at tu-clausthal.de X-Spam-Level: (11%, ' __FRAUD_WEBMAIL! 0, HTML_50_70 0.1, HTML_NO_HTTP 0.1, MIME_LOWER_CASE 0.05, BODYTEXTH_SIZE_10000_LESS 0, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0, __FRAUD_BODY_WEBMAIL 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __IN_REP_TO 0, __MIME_HTML 0, __MIME_VERSION 0, __MSGID_APPLEMAIL 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __TAG_EXISTS_HTML 0, __TO_MALFORMED_2 0, __URI_NO_PATH 0, __URI_NO_WWW 0, __URI_NS , __USER_AGENT_APPLEMAIL 0, __X_MAILER_APPLEMAIL 0, __ix.dnsbl.manitu.net_ERROR ') X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_10F758D3-2359-409A-B18A-51DE5650157A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hello, Am 01.12.2013 um 15:31 schrieb Martin Gainty : > MG> I was going to suggest using ln but since your docBase is based on = the value of base folder ${user.home} > MG>any change to user.home will automatically rebase your war after = context redeploy I have got a precomiled war file and in the web.xml exists some values = e.g.: database.location ${user.home}/sysdata The Tomcat runs under root, so it creates under /root/sysdata the data = files, but I would like to change the directory, the data should be = stored in /home/mywar/sysdata Phil --Apple-Mail=_10F758D3-2359-409A-B18A-51DE5650157A--