From tomcat-user-return-109000-apmail-jakarta-tomcat-user-archive=jakarta.apache.org@jakarta.apache.org Wed Sep 01 15:10:18 2004 Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 25064 invoked from network); 1 Sep 2004 15:10:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Sep 2004 15:10:18 -0000 Received: (qmail 54226 invoked by uid 500); 1 Sep 2004 15:09:37 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 54148 invoked by uid 500); 1 Sep 2004 15:09:35 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 54111 invoked by uid 99); 1 Sep 2004 15:09:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [217.79.104.123] (HELO mercury.wardbrook.com) (217.79.104.123) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Sep 2004 08:09:33 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by mercury.wardbrook.com (Postfix) with ESMTP id ECBDC532EB; Wed, 1 Sep 2004 15:56:44 +0100 (BST) Received: by mercury.wardbrook.com (Postfix, from userid 505) id C5FB3532ED; Wed, 1 Sep 2004 14:56:43 +0000 (GMT) Received: from [192.168.0.64] (jswdellws.wardbrook.com [192.168.0.64]) by mercury.wardbrook.com (Postfix) with ESMTP id D2A13532EB; Wed, 1 Sep 2004 14:56:42 +0000 (GMT) Message-ID: <4135E65C.8010008@wardbrook.com> Date: Wed, 01 Sep 2004 16:10:20 +0100 From: John Sidney-Woollett User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: suguri.kazuhito@lab.ntt.co.jp Cc: tomcat-user@jakarta.apache.org Subject: Re: java environment + cron issue Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-105.4 required=5.0 tests=BAYES_01,USER_AGENT,USER_IN_WHITELIST version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Virus-Scanned: by AMaViS 0.3.12 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > You might try compare results of /usr/bin/env executed from cron > and command-line. > You may need to set some environment variables, LANG for example, > to make JVM works as you expected. You're right - when the script is run by cron the LANG environment variable is undefined. I will modify the script to set the variable and see what happens tomorrow. Thanks for the answer! John Sidney-Woollett --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org