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 59A0E7121 for ; Wed, 3 Aug 2011 06:12:20 +0000 (UTC) Received: (qmail 52559 invoked by uid 500); 3 Aug 2011 06:12:14 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 52504 invoked by uid 500); 3 Aug 2011 06:12:01 -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 52493 invoked by uid 99); 3 Aug 2011 06:11:56 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 06:11:56 +0000 Received: from localhost (HELO fc14x86v0.jboss.hr) (127.0.0.1) (smtp-auth username mturk, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 06:11:54 +0000 Message-ID: <4E38E6A6.8070901@apache.org> Date: Wed, 03 Aug 2011 08:11:50 +0200 From: Mladen Turk User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: users@tomcat.apache.org Subject: Re: Different behavior between Tomcat service installation & Tomcat console mode References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 08/03/2011 07:03 AM, Alexandre Terrasson wrote: > Hi, thanks guys, > 2/ The Jar of my driver is located in the Tomcat lib folders. The driver is > not only a jar, I had to installed it as an odbc source, with some dll and > some entries in windows registry. So you must ensure that LOCAL_SERVICE account has access both to the registry and to the files in the folder where odbc .dlls are installed Might even require modifying System Environment PATH You can try running the service with Administrator account or the one you are using wen running in console mode (given that it has permission to 'Run As a Service') and then search for the permission problems or missing variables for the local service account. Regards -- ^TM --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org