Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 78D76200BFF for ; Tue, 17 Jan 2017 09:04:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 77F18160B46; Tue, 17 Jan 2017 08:04:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 912D2160B43 for ; Tue, 17 Jan 2017 09:04:02 +0100 (CET) Received: (qmail 40066 invoked by uid 500); 17 Jan 2017 08:04:01 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 40054 invoked by uid 99); 17 Jan 2017 08:04:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2017 08:04:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A997EC1649 for ; Tue, 17 Jan 2017 08:04:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.48 X-Spam-Level: X-Spam-Status: No, score=0.48 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=inform-ch.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 1sw7lamEcx-R for ; Tue, 17 Jan 2017 08:03:58 +0000 (UTC) Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com [209.85.215.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 195FA5F576 for ; Tue, 17 Jan 2017 08:03:58 +0000 (UTC) Received: by mail-lf0-f43.google.com with SMTP id n124so31246656lfd.2 for ; Tue, 17 Jan 2017 00:03:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inform-ch.20150623.gappssmtp.com; s=20150623; h=to:from:organization:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=AVVt7av9/Z9xWDnbxGYBTxO8EIfw1ziI0Cfh0ESJRyE=; b=LiXtM3LCOQ0pB5tPCLsC+/aL4me81nGZH4FtmJ68n7hhsOP4dmkzLSH3T4eb22pKzg BNd1HKVCA+H54Co8rSk7biG13BL95AQss5zyDZ5IG+VrWd+5UHkqEM2DuAWyEWXSNkun LsttQT+B7mWhDw9rZTvkN6cv94LVpzEpDUit7ZmIJ/XPJj4nu244c3R249dPBaCPq9Yo p5I3Ul5t52LO9hGN4B+0kOWu8H+8qu2DVYm4KW5lZXHYOgs6usKKzZIBrYPt4gI8HXO3 7S63Yr9KYzH/7ia6Gwe+yznhLrIvfgUJ2Vc/FKOSSA6YJljeikni+dsZflVUN07j44qy s+JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:organization:subject:message-id:date :user-agent:mime-version:content-transfer-encoding; bh=AVVt7av9/Z9xWDnbxGYBTxO8EIfw1ziI0Cfh0ESJRyE=; b=UDz0vogLaWGVjTAWnicczt14x/KWtKG8z/AYSiTJonSKRplprlsz0noFKoFx/ISbmT gh3Gk5lqx04ZGTOMjzpKCtXh9b2Cb/fSOt8F86TfNyDrIUnLx5gV4GQf0+7tKE9RGVI8 M1MnwDK96QPILUQudktQqDcLKSTNL5Rihi3Tz6b5r69PbGu+qQfbYZqS88djuxK2zCZR ZQs1zoCOdZHnyMlvyTiPfNE1/OKjtxLagM7elSMl3THUb3oxewulqfFCG8pmE1LkJ8PZ K1JMwoFQQyFHcyU0NHAG4HMTU/1/0BrsDMsY4EhDwe1nNGamhd+nBcNWfa+jTcDhUyG/ qykA== X-Gm-Message-State: AIkVDXIwHtJGEs3IxhRKXmcTX3XdBPS08HgvsxfBFHxa569dK+tzUkbt7cD/yWC09tlOqA== X-Received: by 10.25.89.148 with SMTP id n142mr1388437lfb.64.1484640236574; Tue, 17 Jan 2017 00:03:56 -0800 (PST) Received: from [192.168.0.13] (p57A4D6CD.dip0.t-ipconnect.de. [87.164.214.205]) by smtp.googlemail.com with ESMTPSA id s7sm3745984lja.27.2017.01.17.00.03.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jan 2017 00:03:56 -0800 (PST) To: user@ant.apache.org From: =?UTF-8?Q?Sebastian_G=c3=b6tz?= Organization: iNFORM systems ag Subject: exec task fails for service account Message-ID: <24c62150-08ad-18d8-11b0-e58260fdbab2@inform.ch> Date: Tue, 17 Jan 2017 09:03:48 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit archived-at: Tue, 17 Jan 2017 08:04:03 -0000 Hi guys, I have some troule with my ANT build. We just migrated our CI-Server (Jenkins) to a new machine. The former was a Windows Server 2008 R2 and now we have a Windows 10 machine. After installing Jenkins and ANT and Java and all the other stuff and restoring the configuration backup I can run my builds again. But until now I face the problem that an exec tasks in a very early stage of the build script fails with the following message: Execute failed: java.io.IOException: Cannot run program "javac" (in directory "C:\Program Files\Java\jdk1.8.0_111\bin"): CreateProcess error=2 This means that he target file simple does not exists, which is not the truth since I can navigate to the installation folder of the JDK and see that there is a javac.exe. Moreover if I run the same build script from the same location (the Jenkins workspace folder of the job) manually as user, the exec tasks succeeds. The section in the build script looks like this: The environment variable JDK_HOME points to C:\Program Files\Java\jdk1.8.0_111. The application server Jenkins is running in (Tomcat 8.5.9) is running under the "Local System Account" as services do by default. Any ideas what this is all about? -- Best regards, Sebastian --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org