Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 48817 invoked from network); 20 Jun 2005 01:54:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jun 2005 01:54:37 -0000 Received: (qmail 73691 invoked by uid 500); 20 Jun 2005 01:54:35 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 73655 invoked by uid 500); 20 Jun 2005 01:54: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 73625 invoked by uid 99); 20 Jun 2005 01:54:33 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ylpvm29-ext.prodigy.net (HELO ylpvm29.prodigy.net) (207.115.57.60) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jun 2005 18:54:33 -0700 Received: from pimout3-ext.prodigy.net (pimout3-int.prodigy.net [207.115.4.218]) by ylpvm29.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id j5K1rtCe031772 for ; Sun, 19 Jun 2005 21:53:55 -0400 X-ORBL: [63.193.168.233] Received: from johnbedell.com (adsl-63-193-168-233.dsl.mtry01.pacbell.net [63.193.168.233]) by pimout3-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id j5K1s6vS401052 for ; Sun, 19 Jun 2005 21:54:09 -0400 Received: from spyglass.johnbedell.com (spyglass.johnbedell.com [127.0.0.1]) by johnbedell.com (Postfix) with ESMTP id BA63C207619 for ; Sun, 19 Jun 2005 19:00:56 -0700 (PDT) Received: from localhost (jpb@localhost) by spyglass.johnbedell.com (8.12.10/8.12.10/Submit) with ESMTP id j5K20u2K003331 for ; Sun, 19 Jun 2005 19:00:56 -0700 X-Authentication-Warning: spyglass.johnbedell.com: jpb owned process doing -bs Date: Sun, 19 Jun 2005 19:00:56 -0700 (PDT) From: "J. Patrick Bedell" X-X-Sender: jpb@spyglass.johnbedell.com To: user@geronimo.apache.org Subject: Request for help: message-driven bean deployment descriptors Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I'm sorry to be flooding your mailbox, but I'm still trying to get a message-driven bean deployed to Geronimo. I'm using the SimpleMessageBean class provided in the J2EE tutorial (here org.infoeng.geronimo.SimpleMessageBean) which implements MessageDrivenBean and MessageListener, and I'm using the openejb-jar.xml and ejb-jar.xml files below. When I try to deploy using the standard deployment tool, I get the null pointer exception shown below in var/log/geronimo.log. Any suggestions? Thanks in advance for your help! Patrick jpb@infoeng.org --- begin openejb-jar.xml --- SimpleMessageDriven geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/ActiveMQServer,J2EEServer=geronimo,j2eeType=JMSServer,name=ActiveMQ.tcp.localhost.61616 --- end openejb-jar.xml --- --- begin ejb-jar.xml --- SimpleMessageDriven org.infoeng.geronimo.SimpleMessageBean javax.jms.MessageListener Container Transaction attributes for 'SimpleMessageDriven' methods SimpleMessageDriven * Required --- end ejb-jar.xml --- --- null pointer exception recorded in var/log/geronimo.log --- 18:46:54,210 DEBUG [NameFactory] NameFactory.getModuleName: j2eeDomainName: null j2eeServerName: null j2eeApplicationName: null j2eeModuleType: null j2eeModuleName: null 18:46:54,215 DEBUG [NameFactory] NameFactory.getModuleName: j2eeDomainName: null j2eeServerName: null j2eeApplicationName: null j2eeModuleType: null j2eeModuleName: null 18:13:10,634 DEBUG [Deployer] Deployment failed: plan=/opt/code/test/TestMessageBean/META-INF/openejb-jar.xml, module=/opt/code/test/TestMessageBean/simple-message-bean.jar org.apache.geronimo.common.DeploymentException: java.lang.NullPointerException at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:191) at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:80) at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke() at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:754) at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:177) at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:124) at org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke() at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:754) at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:177) at org.apache.geronimo.kernel.jmx.MBeanServerDelegate.invoke(MBeanServerDelegate.java:117) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408) at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782) at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:396) at org.apache.geronimo.j2ee.j2eeobjectnames.NameFactory.getModuleName(NameFactory.java:142) at org.openejb.deployment.MdbBuilder.addActivationSpecWrapperGBean(MdbBuilder.java:230) at org.openejb.deployment.MdbBuilder.buildBeans(MdbBuilder.java:119) at org.openejb.deployment.OpenEJBModuleBuilder.addGBeans(OpenEJBModuleBuilder.java:515) at org.openejb.deployment.OpenEJBModuleBuilder$$FastClassByCGLIB$$11bd7b20.invoke() at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:719) at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36) at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:94) at org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$623b2783.addGBeans() at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:377) at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke() at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:719) at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36) at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:94) at org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$28f6b979.buildConfiguration() at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:156) ... 31 more