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 D218BD262 for ; Fri, 14 Dec 2012 17:33:43 +0000 (UTC) Received: (qmail 27851 invoked by uid 500); 14 Dec 2012 17:33:40 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 27662 invoked by uid 500); 14 Dec 2012 17:33:40 -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 27593 invoked by uid 99); 14 Dec 2012 17:33:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2012 17:33:38 +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 ranomail@gmail.com designates 74.125.82.41 as permitted sender) Received: from [74.125.82.41] (HELO mail-wg0-f41.google.com) (74.125.82.41) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2012 17:33:33 +0000 Received: by mail-wg0-f41.google.com with SMTP id ds1so530118wgb.0 for ; Fri, 14 Dec 2012 09:33:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=8AWxtckYcvkTqU8I3idP9SVeDtlJ2/aJEIHoH/R1IR4=; b=CCQOMhoz/ITNJtUA1R+7Q6O3IFCyt9PXfPf2mvlhb3j/O2hzcLyiMdGQ4P/OigyZF8 veD66qI9ETylgRZ822BuaHccBvUr1Lb/zBcRpHTpnNUbyl2kGyYg6rRA8iDfjK0Tt2Dw AH4GCGBFML62KTSz2a6qi3Nc2Kd+mTPqgu2/q8/8h7RZyX9cUYtZL/fs1ZQOsKg8uuNO FzqOBF0+MJU89igiMe6Uwo6DEL8IgvP4twTOpvCvIfZ3boN4uITuOulzjOodRkCagZiR NsavCrZ1Oae7abaeKGEDd6Btfc9Xmh1KyQOwzPWIZ2NecbHu3Lz0APRi5GvPkt/5XaGr QCwg== MIME-Version: 1.0 Received: by 10.180.20.177 with SMTP id o17mr3960332wie.18.1355506392371; Fri, 14 Dec 2012 09:33:12 -0800 (PST) Received: by 10.180.146.137 with HTTP; Fri, 14 Dec 2012 09:33:12 -0800 (PST) In-Reply-To: <50CB5ACA.4020901@christopherschultz.net> References: <50CB5ACA.4020901@christopherschultz.net> Date: Fri, 14 Dec 2012 14:33:12 -0300 Message-ID: Subject: Re: Data sources definitions are lost in memory From: Robert Anderson To: Tomcat Users List Content-Type: multipart/alternative; boundary=bcaec53d5b4b02127104d0d36d31 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec53d5b4b02127104d0d36d31 Content-Type: text/plain; charset=ISO-8859-1 Hi Christopher, I'm suspecting that some webapp is causing this problem, because nothing has changed neither in JVM nor Tomcat (I'm a sysadmin in this company). We will investigate each application looking for suspects JARs (Developers have access to webapp directory and can deploy applications without the intervention of sysadmins :( ). It's a powerfull and bad jar! It makes two tomcats (load balanced) lose all data sources definitions and we need restart them. The strange thing is that most of the time everything works normal. Thanks, Robert On Fri, Dec 14, 2012 at 1:58 PM, Christopher Schultz < chris@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Robert, > > On 12/13/12 3:34 PM, Robert Anderson wrote: > > Caused by: java.lang.ClassNotFoundException: > > com.sun.jndi.fscontext.RefFSContextFactory > > In my Oracle 1.7.0 JRE's rt.jar, I can find a few JNDI ContextFactory > classes, but not this one. I looked in 1.6.0 but couldn't find that > class, either. I looked in other JARs but couldn't find anything > containing the "fscontext" package. > > Are you using an alternative JNDI provider? > > > http://www.jarfinder.com/index.php/java/info/com.sun.jndi.fscontext.RefFSContextFactory > > Looks like you may have some old stuff sitting around in your JRE > installation, or even in your webapp. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with undefined - http://www.enigmail.net/ > > iEYEAREIAAYFAlDLWsoACgkQ9CaO5/Lv0PAXDACfXjUbGlPbzJJy5qhJDBxUfqUN > ljgAn0RZCDKnYkt51GIUfvtYzeMbwxAo > =sylS > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --bcaec53d5b4b02127104d0d36d31--