Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-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 EDC4710AC7 for ; Mon, 16 Sep 2013 12:47:49 +0000 (UTC) Received: (qmail 22867 invoked by uid 500); 16 Sep 2013 12:47:48 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 22825 invoked by uid 500); 16 Sep 2013 12:47:47 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 22806 invoked by uid 99); 16 Sep 2013 12:47:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Sep 2013 12:47:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.n.gale@gmail.com designates 209.85.214.177 as permitted sender) Received: from [209.85.214.177] (HELO mail-ob0-f177.google.com) (209.85.214.177) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Sep 2013 12:47:41 +0000 Received: by mail-ob0-f177.google.com with SMTP id wp18so3703869obc.22 for ; Mon, 16 Sep 2013 05:47:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=nUpRTZVcVfEDnlzLl2WnnKL0OSITIvsx3pok43rWbVs=; b=QqGQboq7kHYeZi9tN0Gj6mS+zfo3keESkB6mJTnoaAbKuZEDN1ZEqmKE6eqjqP3Eze 5TyiYAsqpYXMyez4yfNh4w9o/iEeLDbXh1S5SkrxTYiYCQXdh7feUP3BIUnQsp3fId0R r0KoRqeac7ocR/o2/oFuAyBu4R/ozmxG+Vam1THZ/NrHgbEe6UrWU856f01Nx/3LhKfD h5uaJ/w6egkjuv9Q5MQ6gztUeNexV3ippMh/6+tiYxctR+5BmbBAhkWMMJvJyC5su/cF KDKahYVRVdV1xuhr1xI5aj0llGzAanR25Zc4eAGz8bsWbTUBFNwkkLamcZF01Q7RPl8O OgLg== X-Received: by 10.182.166.40 with SMTP id zd8mr149745obb.25.1379335640575; Mon, 16 Sep 2013 05:47:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.38.10 with HTTP; Mon, 16 Sep 2013 05:46:50 -0700 (PDT) From: Paul Gale Date: Mon, 16 Sep 2013 08:46:50 -0400 Message-ID: Subject: Configuring the JVM's tmp dir in the wrapper script? To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=e89a8ff1ce02e1f41c04e67f9afb X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1ce02e1f41c04e67f9afb Content-Type: text/plain; charset=UTF-8 Hi, ActiveMQ 5.8.0 on RHEL 6.1 I have a suggestion for the default configuration of the Tanuki Service wrapper script that ships with ActiveMQ: can it include an entry that defines a default path for the JVM's temporary directory? Example: wrapper.java.additional.n=-Djava.io.tmpdir=%ACTIVEMQ_BASE%/tmp Why? Jetty outputs its compiled JSP output to sub-folders of /tmp by default. Periodically Jetty crashes as we have a cron job that deletes the contents of the /tmp folder. It's not safe for ActiveMQ to use a temp folder that it does not own exclusively. Guarantees about the stability of /tmp cannot be made. Should I create a JIRA ticket for this? Thanks, Paul --e89a8ff1ce02e1f41c04e67f9afb--