Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 70256 invoked from network); 14 Jan 2008 09:32:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jan 2008 09:32:01 -0000 Received: (qmail 71498 invoked by uid 500); 14 Jan 2008 09:31:44 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 71479 invoked by uid 500); 14 Jan 2008 09:31:44 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 71468 invoked by uid 99); 14 Jan 2008 09:31:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2008 01:31:44 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eljotpl@gmail.com designates 72.14.202.183 as permitted sender) Received: from [72.14.202.183] (HELO ro-out-1112.google.com) (72.14.202.183) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2008 09:31:17 +0000 Received: by ro-out-1112.google.com with SMTP id m6so2367786roe.13 for ; Mon, 14 Jan 2008 01:31:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=a5fTYC9f/ilmuE71IhTwkQTsE5NAgF9mHqqNP5kalGk=; b=h8bj/tbj+cDKHShq8IMsSvzwHZbPFrioyOQrnscKOZbYTXHFUhTZiTjPCWgJIPlqJpRgBNIbLjVEPQ6y3Bm8Rd7fwI+43p9/dmdI6Up5oaQwMTAiobdrsBdKYM1PHG0nZ5RRU5G8HkLTQRDSxY2eCpbraePHBF1c4GGCkpQRnEA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=KuNOuGfR93iZnFRJyNNHbdLlasCZaOrjfIDPreP+teOgeh8pPUtYIoqjt1fVHhNu4KXJ8nZxNP9AktbmQqozFLv6Rha+H7seDoEVunWE6Dz5dVk5V1GVimFyppdizp1k1aTxEQecWWJIkfHkAwULVE0cODhjEpj3EI7iNMcofNs= Received: by 10.115.58.1 with SMTP id l1mr470782wak.110.1200303081703; Mon, 14 Jan 2008 01:31:21 -0800 (PST) Received: by 10.114.196.7 with HTTP; Mon, 14 Jan 2008 01:31:21 -0800 (PST) Message-ID: <1b5bfeb50801140131u7fb9bb2dt1da76373066dfaad@mail.gmail.com> Date: Mon, 14 Jan 2008 10:31:21 +0100 From: "Jacek Laskowski" Reply-To: jacek@laskowski.net.pl Sender: eljotpl@gmail.com To: user@geronimo.apache.org Subject: Re: getting ClassCastException while deploying a simple web application in geronimo 2.0 In-Reply-To: <14797232.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <14762834.post@talk.nabble.com> <5eb405c70801111108j32fa804cm69371bb6cd4a70ec@mail.gmail.com> <14797232.post@talk.nabble.com> X-Google-Sender-Auth: 2eb65a1336e2aede X-Virus-Checked: Checked by ClamAV on apache.org On Jan 14, 2008 9:45 AM, abpb2006 wrote: > 998 Error [Deployer] Deployment failed due to > java.lang.ClassCastException: java.io.File > org.apache.geronimo.common.DeploymentException: > java.lang.ClassCastException: java.io.File > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:385) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:126) When I first saw it I knew I had seen it before and here it is - Need to fully convert to generics to avoid CCE -- a dumb example [1]. It's fixed in Geronimo 2.1. Can you confirm it is really the issue you've reported? Jacek [1] http://issues.apache.org/jira/browse/GERONIMO-3710 -- Jacek Laskowski http://www.JacekLaskowski.pl