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 BB0FB97E6 for ; Wed, 18 Apr 2012 17:09:09 +0000 (UTC) Received: (qmail 5919 invoked by uid 500); 18 Apr 2012 17:09:06 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 5707 invoked by uid 500); 18 Apr 2012 17:09:06 -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 5693 invoked by uid 99); 18 Apr 2012 17:09:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2012 17:09:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of knst.kolinko@gmail.com designates 209.85.213.173 as permitted sender) Received: from [209.85.213.173] (HELO mail-yx0-f173.google.com) (209.85.213.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2012 17:08:58 +0000 Received: by yenr5 with SMTP id r5so4777812yen.18 for ; Wed, 18 Apr 2012 10:08:38 -0700 (PDT) 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=RkXLCZVNLELr7N16D3l2B3QO9LqzUH3Q+QWSWE3Hkxo=; b=Q/PCofuIRMOvAKDyEBza8M5EAnwWX17JV3dZxMXgYjCBvuDq53cGEZaye1TVSUrRNk ND2zeNj24X8JqA3NhkUkMeDLioRpAkcL+KutbfOVXAaBOHUMd2GIMAIq34h/flycIHsH jo6KVWWqFagZjYWNRNQ+cieVp5sw3FFQJT+kHPNkur5pMLPA/v8iYnJiYW7Kt1c6MWll u9ExKHA6oX9O0SITr8fjNj7q5r5y36oj/Kr2LYrO+cixJt/Q4HUwlvzZfzub3kfnw1hS V+D9q6GUH9tTiLKWO5fR0M1Mf2P0LYRDJe7NNVBuAmfh47614p/HvndsAdg64PulWMn7 lEkQ== MIME-Version: 1.0 Received: by 10.236.75.195 with SMTP id z43mr3176332yhd.4.1334768917945; Wed, 18 Apr 2012 10:08:37 -0700 (PDT) Received: by 10.146.204.18 with HTTP; Wed, 18 Apr 2012 10:08:37 -0700 (PDT) In-Reply-To: <4F8EF3C1.4010801@vittox.com> References: <4F8D9A5B.3020302@vittox.com> <4F8EF3C1.4010801@vittox.com> Date: Wed, 18 Apr 2012 21:08:37 +0400 Message-ID: Subject: Re: JasperException: The value for the useBean class ___ attribute is invalid From: Konstantin Kolinko To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 2012/4/18 Chris Patterson : > More on this, now I think it is some configuration issue for the tomcat > server: > > I am using eclipse to check both JSP files, and they work without any > problems > in my PC. When deploying to Tomcat 5.5.35 to a sub-directory like de project > name > they also work fine. For example at www.domain.com/Test1/prg1.jsp and > www.domain.com/Test1/subdir/prg2.jsp. > > If I copy them to the main directory with a shell command: > cp -pr * .. from the Test1 directory and undeploy the Test1 application > then only www.domain.com/prg1.jsp works and but the second one, > www.domain.com/subdir/prg2.jsp gives me the same (500) error: > > /prg2.jsp(26,0) The value for the useBean class attribute > jdbcbean.Stringbean is invalid. > > > Is this like a BUG ? Or perhaps something about the Java version ? > I have the following version running on a CentOS release 5.8: > java version "1.6.0_29" > Java(TM) SE Runtime Environment (build 1.6.0_29-b11) > Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode) > > Hope this info help a little more to find a solution. > > What is your experience level? Do you know what a "web application" is? Have you read The Servlet specification, Documentation, etc.? Do you know where your classes must be put in a Web application? Your "main directory" terminology does not make sense. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org