From dev-return-7489-apmail-geronimo-dev-archive=geronimo.apache.org@geronimo.apache.org Wed Jun 16 16:51:35 2004 Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 24408 invoked from network); 16 Jun 2004 16:51:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Jun 2004 16:51:34 -0000 Received: (qmail 52282 invoked by uid 500); 16 Jun 2004 16:51:40 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 52214 invoked by uid 500); 16 Jun 2004 16:51:39 -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 Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 52179 invoked by uid 99); 16 Jun 2004 16:51:37 -0000 Received: from [209.233.18.245] (HELO public.coredevelopers.net) (209.233.18.245) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 16 Jun 2004 09:51:37 -0700 Received: from [192.168.17.101] (unknown [69.111.157.225]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by public.coredevelopers.net (Postfix on SuSE Linux 8.0 (i386)) with ESMTP id 2D7C647158 for ; Wed, 16 Jun 2004 09:49:35 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: <20040616113948.98707.qmail@web50101.mail.yahoo.com> References: <20040616113948.98707.qmail@web50101.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <5F84DF82-BFB5-11D8-BC1F-000393DB559A@coredevelopers.net> Content-Transfer-Encoding: quoted-printable From: Dain Sundstrom Subject: Re: Problem testing ConverterApp from J2EETutorial Date: Wed, 16 Jun 2004 09:51:11 -0700 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.618) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Can you update your code to the latest cvs head and check again? -dain On Jun 16, 2004, at 4:39 AM, Philip Mark Donaghy wrote: > Seems to be that this bug is due to the fact that the > builder is looking for the assembly-descriptor > element. This element is optional according to the xml > schema descriptor file > http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd > > I'll submit a bug, the workaround is to include an > empty element to the ejb > deployment descriptor. > > Phil > > --- Philip Mark Donaghy a =E9crit > : > Hello Geronimo users and developers, >> >> Sun's J2EE Tutorial comes with provided ears which >> need to be modified to work with Geronimo. >> >> /examples/ejb/provided-ears >> >> I am attempted to deploy the ConverterApp. Keeping >> it >> simple for now :) >> >> I extracted the provided jar. >> I have added an openejb-jar.xml to META-INF. >> >> Problem occurs during deployment. See stack trace : >> >> java -jar bin/deployer.jar --install --module >> > /home/phil/soft/doc/j2eetutorial14/examples/ejb/provided-ears/=20 > ConverterApp/ejb-jar-ic-geronimo.jar >> java.lang.NullPointerException >> at >> > = org.openejb.deployment.OpenEJBModuleBuilder.addGBeans(OpenEJBModuleBuil=20= > der.java:409) >> at >> > = org.openejb.deployment.OpenEJBModuleBuilder$$FastClassByCGLIB$$11bd7b20=20= > .invoke() >> at >> > net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87) >> at >> > = org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoke=20= > r.java:38) >> at >> > = org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOper=20= > ation.java:141) >> at >> > org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:740) >> at >> > org.apache.geronimo.gbean.jmx.RawInvoker.invoke(RawInvoker.java:89) >> at >> > = org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(RawOperationIn=20= > voker.java:34) >> at >> > = org.apache.geronimo.gbean.jmx.CGLibMethodInterceptor.intercept(CGLibMet=20= > hodInterceptor.java:110) >> at >> > = org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$9e4=20= > 5a280.addGBeans() >> at >> > = org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration=20= > (EARConfigBuilder.java:209) >> at >> > = org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration=20= > (EARConfigBuilder.java:142) >> at >> > = org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$=20= > $38e56ec6.invoke() >> at >> > net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87) >> at >> > = org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoke=20= > r.java:38) >> at >> > = org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOper=20= > ation.java:141) >> at >> > org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:740) >> at >> > org.apache.geronimo.gbean.jmx.RawInvoker.invoke(RawInvoker.java:89) >> at >> > = org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(RawOperationIn=20= > voker.java:34) >> at >> > = org.apache.geronimo.gbean.jmx.CGLibMethodInterceptor.intercept(CGLibMet=20= > hodInterceptor.java:110) >> at >> > = org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$7=20= > a1ca0ae.buildConfiguration() >> at >> > org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:132) >> at >> > = org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.inv=20= > oke() >> at >> > net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87) >> at >> > = org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoke=20= > r.java:38) >> at >> > = org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOper=20= > ation.java:141) >> at >> > org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:761) >> at >> > = mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBe=20= > anServerInterceptor.java:218) >> at >> > = mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBe=20= > anServerInterceptor.java:121) >> at >> > = mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityM=20= > BeanServerInterceptor.java:86) >> at >> > = mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBe=20= > anServerInterceptor.java:121) >> at >> > = mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBe=20= > anServerInterceptor.java:121) >> at >> > = mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke=20= > (ContextClassLoaderMBeanServerInterceptor.java:205) >> at >> > mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1079) >> at >> > org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:231) >> at >> > org.apache.geronimo.system.main.CommandLine.main(CommandLine.java:82) >> >> Any ideas, openejb-jar.xml and ejb-jar.xml are >> attached. >> >> Thanks, >> >> Phil >> >> >> =09 >> >> =09 >> =09 >> Yahoo! Mail : votre e-mail personnel et gratuit qui >> vous suit partout ! >> Cr=E9ez votre Yahoo! Mail sur >> http://fr.benefits.yahoo.com/ >> >> Dialoguez en direct avec vos amis gr=E2ce =E0 Yahoo! >> Messenger !T=E9l=E9chargez Yahoo! Messenger sur > http://fr.messenger.yahoo.com> >> >> > >> xmlns=3D"http://www.openejb.org/xml/ns/openejb-jar" >> >> > configId=3D"your/domain/name/j2eetutorial14/ejb/ConverterApp" >> parentId=3D"org/apache/geronimo/Server"> >> >> >> >> ConverterBean >> ConverterBean >> >> >> >> >>> >> > version=3D"2.1" >> > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation=3D"http://java.sun.com/xml/ns/j2ee >> http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"> >> ConverterJAR >> >> >> ConverterBean >> converter.ConverterHome >> converter.Converter >> converter.ConverterBean >> Stateless >> Bean >> >> >> >> >> >> >> > > > =09 > > =09 > =09 > Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout = ! > Cr=E9ez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/ > > Dialoguez en direct avec vos amis gr=E2ce =E0 Yahoo! Messenger =20 > !T=E9l=E9chargez Yahoo! Messenger sur http://fr.messenger.yahoo.com