Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 22514 invoked from network); 6 Feb 2007 19:56:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2007 19:56:31 -0000 Received: (qmail 61546 invoked by uid 500); 6 Feb 2007 19:56:34 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 61526 invoked by uid 500); 6 Feb 2007 19:56:34 -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 61515 invoked by uid 99); 6 Feb 2007 19:56:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 11:56:34 -0800 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=INFO_TLD,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ammulder@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 11:56:25 -0800 Received: by nf-out-0910.google.com with SMTP id m19so259693nfc for ; Tue, 06 Feb 2007 11:56:04 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ODFz/DU3nXpDKjwwKftpXxqOkkAxaoy8ewKrEpvi/m5j6Qa6a27W9AzjFaFTev3ybC2+XJcYo35t0wMDg5MMI3yOqoPdek4007FnuVdjpascJCjAPAO+DeCeRFzGVNyBdqN1rPf3KuQ6/QTGNCpbYx2C32qvPWq3XS2U27C+Zv8= Received: by 10.82.162.14 with SMTP id k14mr5057257bue.1170791763734; Tue, 06 Feb 2007 11:56:03 -0800 (PST) Received: by 10.82.120.2 with HTTP; Tue, 6 Feb 2007 11:56:03 -0800 (PST) Message-ID: <74e15baa0702061156p5cd3d377o460aff6732105488@mail.gmail.com> Date: Tue, 6 Feb 2007 14:56:03 -0500 From: "Aaron Mulder" Sender: ammulder@gmail.com To: user@geronimo.apache.org Subject: Re: gbean deployment problem In-Reply-To: <45C8D172.60508@mutiger.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45C8A223.60805@mutiger.homeip.net> <74e15baa0702060801v536853c9s34734f7b03946e16@mail.gmail.com> <45C8D172.60508@mutiger.homeip.net> X-Google-Sender-Auth: def106edb79104d1 X-Virus-Checked: Checked by ClamAV on apache.org I don't think there's supposed to be a "j2ee" in the namespace of that plan... See: http://geronimo.apache.org/schemas.html Thanks, Aaron On 2/6/07, Clayton Hicklin wrote: > I tried it with -1.1, -1.2 and -2.0 and none of them worked. Also tried > passing the plan as an argument, still didn't work. I had this working > before using both -1.1 and -1.2 in the deployment plan. It seems like > there is something simple here that I'm missing. > > Aaron Mulder wrote: > > That message usually means that either it can't find your deployment > > plan (in which case you could try passing it as a separate argument to > > the deployer), or that it didn't recognize the format/namespace of the > > deployment plan. I'm not sure if Geronimo 2.x will accept a > > deployment plan with a deployment-1.1 namespace, so that's the first > > thing I'd check. > > > > Thanks, > > Aaron > > > > On 2/6/07, Clayton Hicklin wrote: > >> Okay, I'm still having a problem getting a simple gbean deployed. I've > >> had this working before, so I have no idea what the problem is. It's > >> still giving me the "...no deployer is able to handle it..." error. > >> Here are my geronimo-service.xml, jar layout and gbean class. I have > >> attempted to install this on a freshly installed copy of geronimo-2.0-M2 > >> by dumping it in the "deploy" directory and by using the web console > >> deployer. Neither works. This has to be something simple. > >> > >> geronimo-service.xml: > >> > >> > >> > >> > >> com.test > >> test > >> 1.0 > >> jar > >> > >> > >> > >> > >> > >> > >> jar layout: > >> com/ > >> com/test/ > >> com/test/TestGBean.class > >> META-INF/ > >> META-INF/geronimo-service.xml > >> META-INF/MANIFEST.MF > >> > >> gbean class: > >> package com.test; > >> > >> import org.apache.commons.logging.Log; > >> import org.apache.commons.logging.LogFactory; > >> import org.apache.geronimo.gbean.GBeanInfo; > >> import org.apache.geronimo.gbean.GBeanInfoBuilder; > >> import org.apache.geronimo.gbean.GBeanLifecycle; > >> > >> public class TestGBean implements GBeanLifecycle { > >> > >> private static final Log log = LogFactory.getLog(TestGBean.class); > >> > >> public void doFail() { > >> log.info("Service Failed"); > >> } > >> > >> public void doStart() throws Exception { > >> log.info("Service Started"); > >> } > >> > >> public void doStop() throws Exception { > >> log.info("Service Stopped"); > >> } > >> > >> public static final GBeanInfo GBEAN_INFO; > >> > >> static { > >> GBeanInfoBuilder infoBuilder = new GBeanInfoBuilder("TestGBean", > >> TestGBean.class); > >> > >> GBEAN_INFO = infoBuilder.getBeanInfo(); > >> } > >> > >> public static GBeanInfo getGBeanInfo() { > >> return GBEAN_INFO; > >> } > >> } > >> > >> > >> > > >