Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 73303 invoked from network); 2 Jul 2009 09:29:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jul 2009 09:29:57 -0000 Received: (qmail 76511 invoked by uid 500); 2 Jul 2009 09:30:04 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 76466 invoked by uid 500); 2 Jul 2009 09:30:04 -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 76360 invoked by uid 99); 2 Jul 2009 09:30:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 09:30:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of knst.kolinko@gmail.com designates 209.85.220.212 as permitted sender) Received: from [209.85.220.212] (HELO mail-fx0-f212.google.com) (209.85.220.212) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 09:29:54 +0000 Received: by fxm8 with SMTP id 8so968423fxm.0 for ; Thu, 02 Jul 2009 02:29:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=if2xYQgS67LvcDusOAGkEXk6vBbirZyapAncVAnmulU=; b=ltJlpS4hf13tfuJ4K2M7Qc/Xz1wWni7ovHDv78bcpwnt14WCvS1GRB68pJfxZCC5Ec 3Tb9GYoys3jB5KlJMUkC7BO9ihpX+WV2A2XESUo8dExNTHiLZapHAlSVN/YJUM4G/Mca qOJta7Fe+ViNSXxfhn49pXlWpTBls12Jhpbn4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=FpVCC1VMDjw/OTjuccrCgKGT3dOpBaV/b/PyvnI1xzFRV2U/ulra5NN4FhuE1J/Xyv 8RMYUuyI4w7Qt9LoKHADL1DYbcuGx33n4uKraGQWtYBwwfv8g0Uxa27Kr+zuF0xzALgK Ohn93A42wwDlDY0qua8vqcQgUSmrv9vSToShM= MIME-Version: 1.0 Received: by 10.103.49.12 with SMTP id b12mr6182025muk.51.1246526974314; Thu, 02 Jul 2009 02:29:34 -0700 (PDT) In-Reply-To: <4A4C2898.9060102@ieee.org> References: <4A4C2898.9060102@ieee.org> Date: Thu, 2 Jul 2009 13:29:34 +0400 Message-ID: <427155180907020229x2586f77eyd93fbe8980c7faef@mail.gmail.com> Subject: Re: Cannot find any information on property 'x' in a bean of type 'bfs.beans.BFSInfo' From: Konstantin Kolinko To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 2009/7/2 Jim Anderson : > Hi, > > I'm running tomcat 6.0.18 on Linux and I'm having a problem running > a javabean. I created a bean and was able to call setProperty and > getProperty > for the property 'startPage' in the bean. When I added a 2nd property > to the bean, I got the following message: > > org.apache.jasper.JasperException: Cannot find any information on property > 'midContent' in a bean of type 'bfs.beans.BFSInfo' > > The setter and getter methods were copied and pasted from 'startPage' so > they > should have worked. I checked the spelling of the new property 'midContent' > VERY > carefully and I'm sure there was not a spelling error. > > I experimented and found that no matter what name I gave the new property, > it > would not work with the getter and setter methods. In the jsp code, my > getter > and setter methods for 'startPage' continued to work. I decided to rename > the property to 'sPage'. I did this, recompiled the source, rebuilt the jar > file > and placed it the web library. I ran the jsp page again and found that > getProperty > on 'sPage' failed, but if I changed 'sPage' back to 'startPage', the jsp > page > worked. > > It looks like tomcat is still is finding an old jar file or has cached a > reference > to the old library. > It looks like you have not restarted (reloaded) your web application. One of the ways to do so in development mode is to touch your WEB-INF/web.xml (or any other WatchedResource if those are configured). Another way is to use the Tomcat Manager web application. http://tomcat.apache.org/tomcat-6.0-doc/html-manager-howto.html http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org