Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E9DB41015B for ; Tue, 25 Feb 2014 16:34:31 +0000 (UTC) Received: (qmail 25916 invoked by uid 500); 25 Feb 2014 16:34:30 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 25472 invoked by uid 500); 25 Feb 2014 16:34:24 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Delivered-To: moderator for dev@geronimo.apache.org Received: (qmail 20286 invoked by uid 99); 25 Feb 2014 16:31:12 -0000 X-ASF-Spam-Status: No, hits=1.4 required=5.0 tests=ASF_LIST_SERVER_DEV_A,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Date: Tue, 25 Feb 2014 08:30:46 -0800 (PST) From: rwengr To: dev@geronimo.apache.org Message-ID: <1393345845746-3987662.post@n3.nabble.com> Subject: Request Geronimo 3 Bean example using annotation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I didn't see anything recent on this topic and the topic straddles the user/developer boundary so I put it here. I am trying to convert a 2.1 Geronimo bean to 3.0.1. It compiles OK, but generates exceptions during packaging. Don't want to study Gernonimo 2 for Geronimo 3 specific problem. My question is: *Where can I find an example of a non-trivial Geronimo bean top level class using ANNOTATIONS where the bean has attributes AND the attributes get values ( AND the bean also uses ?* It looks like source code for 2.1 bean is missing something and I would like to use annotations from org.apache.geronimo.gbean.annotation. The error during packaging I am trying to fix is: [main] ERROR org.apache.geronimo.deployment.Deployer - Deployment failed due to org.apache.geronimo.gbean.GBeanInfoFactoryException: Cannot create a GBeanInfo for [org.apache.geronimo.directory.DirectoryGBean], errors: [org.apache.geronimo.gbean.GBeanInfoFactoryException: Could not get GBeanInfo from class: org.apache.geronimo.directory.DirectoryGBean, org.apache.geronimo.gbean.GBeanInfoFactoryException: org.apache.geronimo.gbean.annotation.GBeanAnnotationException: Missing default constructor] It sounds like I a missing a setup component. Thanks -- View this message in context: http://apache-geronimo.328035.n3.nabble.com/Request-Geronimo-3-Bean-example-using-annotation-tp3987662.html Sent from the Development mailing list archive at Nabble.com.