Thanks Aaron. How can i configure CORBA? Is this absolutely required for a minimal configuration of Geronimo, that can deploy and run EJBs? I'm using the binary distribution for M3.
-- Venkat > -----Original Message----- > From: Aaron Mulder [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 24, 2005 8:21 PM > To: [EMAIL PROTECTED] > Subject: Re: Exception while deploying an EJB > > Are you using M3? If so, this is probably the known bug where > it > blows up if CORBA isn't configured. If not, what version of Geronimo > are > you using? > > Aaron > > On Thu, 24 Feb 2005, Venkat Reddy wrote: > > hi all, > > > > Can someone kindly hint me what could possibly be causing the > > deployment to fail with the following stacktrace? My ejb-jar.xml > > content follows the stack trace. > > > > Caused by: java.lang.NullPointerException > > at > org.openejb.deployment.OpenEJBModuleBuilder.initContext(OpenEJBModuleBui > lder.java:308) > > at > org.openejb.deployment.OpenEJBModuleBuilder$$FastClassByCGLIB$$11bd7b20. > invoke(<generated>) > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87) > > at > org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker > .java:38) > > at > org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOpera > tion.java:142) > > at > org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:823) > > at > org.apache.geronimo.gbean.jmx.RawInvoker.invoke(RawInvoker.java:89) > > at > org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(RawOperationInv > oker.java:34) > > at > org.apache.geronimo.gbean.jmx.CGLibMethodInterceptor.intercept(CGLibMeth > odInterceptor.java:112) > > at > org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$9e45 > a280.initContext(<generated>) > > at > org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration( > EARConfigBuilder.java:323) > > at > org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$ > 38e56ec6.invoke(<generated>) > > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87) > > at > org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker > .java:38) > > at > org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOpera > tion.java:142) > > at > org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:823) > > at > org.apache.geronimo.gbean.jmx.RawInvoker.invoke(RawInvoker.java:89) > > at > org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(RawOperationInv > oker.java:34) > > at > org.apache.geronimo.gbean.jmx.CGLibMethodInterceptor.intercept(CGLibMeth > odInterceptor.java:112) > > at > org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$7a > 1ca0ae.buildConfiguration(<generated> > > ) > > at > org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:174) > > ... 55 more > > ---------------------------------------------- > > ejb-jar.xml > > ---------------------------------------------- > > <?xml version="1.0" encoding="UTF-8"?> > > <ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee > > http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd" > > version="2.1"> > > <enterprise-beans> > > <session> > > <display-name>Google Search</display-name> > > <ejb-name>GoogleBean</ejb-name> > > <home>org.objectweb.wssample.gen.google.GoogleSearchHome</home> > > > <remote>org.objectweb.wssample.gen.google.GoogleSearchPortEJB</remote> > > > <ejb-class>org.objectweb.wssample.gen.google.GoogleSearchPortBean</ejb-c > lass> > > <session-type>Stateless</session-type> > > <transaction-type>Bean</transaction-type> > > <security-identity> > > <description></description> > > <use-caller-identity></use-caller-identity> > > </security-identity> > > </session> > > </enterprise-beans> > > <assembly-descriptor> > > <method-permission> > > <unchecked/> > > <method> > > <ejb-name>GoogleBean</ejb-name> > > <method-name>*</method-name> > > </method> > > </method-permission> > > </assembly-descriptor> > > </ejb-jar> > > ------------------------------------------------ > > the jar file contained the ejb-jar.xml, and the classes for Home, > > Remote Intf and Bean Impl, in addtion to other stuff. > > > > I tried removing the <security-identity> element since it has empty > > content, but that doesn't fix it. > > > > thanks a ton for your time! > > Venkat > > > >
