geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krishnakumar B" <www....@gmail.com>
Subject Re: Error when deploying day trader - 2.0-M1-SNAPSHOT
Date Mon, 18 Dec 2006 05:51:16 GMT
2.0-M1-SNAPSHOT

On 12/18/06, Matt Hogstrom <matt@hogstrom.org> wrote:
> What Geronimo Version are you deploying against?
>
> On Dec 15, 2006, at 6:20 AM, Krishnakumar B wrote:
>
> > I get a Nullpointer exception when deploying daytrader. I used the JPA
> > plan to deploy the application.
> >
> > Tomcat error
> >
> > 16:26:22,715 ERROR [GBeanInstanceState] Error while starting; GBean is
> > now in the FAILED state:
> > abstractName="org.apache.geronimo.daytrader/daytrader/2.0-SNAPSHOT/
> > car?J2EEApplication=org.apache.geronimo.daytrader/daytrader/2.0-
> > SNAPSHOT/car,j2eeType=WebModule,name=web.war"
> > java.lang.NullPointerException
> >       at java.util.Hashtable.put(Hashtable.java:396)
> >       at org.apache.naming.resources.DirContextURLStreamHandler.bind
> > (DirContextURLStreamHandler.java:234)
> >       at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart
> > (TomcatWebAppContext.java:477)
> >       at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance
> > (GBeanInstance.java:984)
> >       at
> > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(
> > GBeanInstanceState.java:267)
> >       at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start
> > (GBeanInstanceState.java:102)
> >       at org.apache.geronimo.gbean.runtime.GBeanInstance.start
> > (GBeanInstance.java:529)
> >       at
> > org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart
> > (GBeanDependency.java:111)
> >       at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget
> > (GBeanDependency.java:146)
> >       at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running
> > (GBeanDependency.java:120)
> >       at
> > org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEven
> > t(BasicLifecycleMonitor.java:173)
> >       at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access
> > $300(BasicLifecycleMonitor.java:41)
> >       at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor
> > $RawLifecycleBroadcaster.fireRunningEvent
> > (BasicLifecycleMonitor.java:251)
> >       at
> > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(
> > GBeanInstanceState.java:292)
> >       at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start
> > (GBeanInstanceState.java:102)
> >       at
> > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive
> > (GBeanInstanceState.java:124)
> >       at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive
> > (GBeanInstance.java:543)
> >       at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean
> > (BasicKernel.java:379)
> >       at
> > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration
> > GBeans(ConfigurationUtil.java:378)
> >       at
> > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration
> > GBeans(ConfigurationUtil.java:415)
> >       at
> > org.apache.geronimo.kernel.config.KernelConfigurationManager.start
> > (KernelConfigurationManager.java:187)
> >       at
> > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf
> > iguration(SimpleConfigurationManager.java:527)
> >       at
> > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf
> > iguration(SimpleConfigurationManager.java:508)
> >       at org.apache.geronimo.kernel.config.SimpleConfigurationManager$
> > $FastClassByCGLIB$$ce77a924.invoke(<generated>)
> >       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:124)
> >       at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke
> > (GBeanInstance.java:820)
> >       at org.apache.geronimo.gbean.runtime.RawInvoker.invoke
> > (RawInvoker.java:57)
> >       at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke
> > (RawOperationInvoker.java:35)
> >       at
> > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept
> > (ProxyMethodInterceptor.java:96)
> >       at org.apache.geronimo.kernel.config.EditableConfigurationManager$
> > $EnhancerByCGLIB$$b42bfad1.startConfiguration(<generated>)
> >       at org.apache.geronimo.deployment.plugin.local.StartCommand.run
> > (StartCommand.java:67)
> >       at java.lang.Thread.run(Thread.java:595)
> > 16:26:22,965 WARN  [TomcatWebAppContext] TomcatWebAppContext failed
> > 16:26:22,965 ERROR [GBeanInstanceState] Error while starting; GBean is
> > now in the FAILED state:
> > abstractName="org.apache.geronimo.daytrader/daytrader/2.0-SNAPSHOT/
> > car?J2EEApplication=org.apache.geronimo.daytrader/daytrader/2.0-
> > SNAPSHOT/car,j2eeType=WebModule,name=web.war"
> > java.lang.NullPointerException
> >       at java.util.Hashtable.put(Hashtable.java:396)
> >       at org.apache.naming.resources.DirContextURLStreamHandler.bind
> > (DirContextURLStreamHandler.java:234)
> >       at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart
> > (TomcatWebAppContext.java:477)
> >       at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance
> > (GBeanInstance.java:984)
> >       at
> > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(
> > GBeanInstanceState.java:267)
> >       at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start
> > (GBeanInstanceState.java:102)
> >       at
> > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive
> > (GBeanInstanceState.java:124)
> >       at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive
> > (GBeanInstance.java:543)
> >       at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean
> > (BasicKernel.java:379)
> >       at
> > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration
> > GBeans(ConfigurationUtil.java:378)
> >       at
> > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration
> > GBeans(ConfigurationUtil.java:415)
> >       at
> > org.apache.geronimo.kernel.config.KernelConfigurationManager.start
> > (KernelConfigurationManager.java:187)
> >       at
> > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf
> > iguration(SimpleConfigurationManager.java:527)
> >       at
> > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf
> > iguration(SimpleConfigurationManager.java:508)
> >       at org.apache.geronimo.kernel.config.SimpleConfigurationManager$
> > $FastClassByCGLIB$$ce77a924.invoke(<generated>)
> >       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:124)
> >       at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke
> > (GBeanInstance.java:820)
> >       at org.apache.geronimo.gbean.runtime.RawInvoker.invoke
> > (RawInvoker.java:57)
> >       at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke
> > (RawOperationInvoker.java:35)
> >       at
> > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept
> > (ProxyMethodInterceptor.java:96)
> >       at org.apache.geronimo.kernel.config.EditableConfigurationManager$
> > $EnhancerByCGLIB$$b42bfad1.startConfiguration(<generated>)
> >       at org.apache.geronimo.deployment.plugin.local.StartCommand.run
> > (StartCommand.java:67)
> >       at java.lang.Thread.run(Thread.java:595)
> >
> > Jetty Error
> >
> > 16:45:30,435 ERROR [GBeanInstanceState] Error while starting; GBean is
> > now in the FAILED state:
> > abstractName="org.apache.geronimo.daytrader/daytrader/2.0-SNAPSHOT/
> > car?J2EEApplication=org.apache.geronimo.daytrader/daytrader/2.0-
> > SNAPSHOT/car,j2eeType=WebModule,name=web.war"
> > java.lang.ExceptionInInitializerError
> >       at javax.rmi.PortableRemoteObject.<clinit>
> > (PortableRemoteObject.java:36)
> >       at org.apache.geronimo.samples.daytrader.direct.TradeDirect.init
> > (TradeDirect.java:2346)
> >       at
> > org.apache.geronimo.samples.daytrader.web.TradeWebContextListener.cont
> > extInitialized(TradeWebContextListener.java:32)
> >       at org.mortbay.jetty.handler.ContextHandler.startContext
> > (ContextHandler.java:504)
> >       at org.mortbay.jetty.servlet.Context.startContext(Context.java:129)
> >       at org.mortbay.jetty.webapp.WebAppContext.startContext
> > (WebAppContext.java:1180)
> >       at org.mortbay.jetty.handler.ContextHandler.doStart
> > (ContextHandler.java:474)
> >       at org.mortbay.jetty.webapp.WebAppContext.doStart
> > (WebAppContext.java:433)
> >       at org.mortbay.component.AbstractLifeCycle.start
> > (AbstractLifeCycle.java:40)
> >       at org.mortbay.jetty.handler.HandlerCollection.setHandlers
> > (HandlerCollection.java:78)
> >       at org.mortbay.jetty.handler.HandlerCollection.addHandler
> > (HandlerCollection.java:201)
> >       at org.mortbay.jetty.Server.addHandler(Server.java:559)
> >       at org.apache.geronimo.jetty6.JettyContainerImpl.addContext
> > (JettyContainerImpl.java:182)
> >       at org.apache.geronimo.jetty6.JettyContainerImpl$$FastClassByCGLIB$
> > $53403f19.invoke(<generated>)
> >       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:124)
> >       at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke
> > (GBeanInstance.java:820)
> >       at org.apache.geronimo.gbean.runtime.RawInvoker.invoke
> > (RawInvoker.java:57)
> >       at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke
> > (RawOperationInvoker.java:35)
> >       at
> > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept
> > (ProxyMethodInterceptor.java:96)
> >       at org.apache.geronimo.management.StatisticsProvider$
> > $EnhancerByCGLIB$$8833da06.addContext(<generated>)
> >       at org.apache.geronimo.jetty6.JettyWebAppContext
> > $StartCommand.lifecycleMethod(JettyWebAppContext.java:345)
> >       at
> > org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleC
> > ommand(AbstractImmutableHandler.java:52)
> >       at
> > org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.lifecycleC
> > ommand(ThreadClassloaderHandler.java:57)
> >       at
> > org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleC
> > ommand(AbstractImmutableHandler.java:50)
> >       at
> > org.apache.geronimo.jetty6.handler.ComponentContextHandler.lifecycleCo
> > mmand(ComponentContextHandler.java:57)
> >       at
> > org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleC
> > ommand(AbstractImmutableHandler.java:50)
> >       at
> > org.apache.geronimo.jetty6.handler.InstanceContextHandler.lifecycleCom
> > mand(InstanceContextHandler.java:81)
> >       at org.apache.geronimo.jetty6.JettyWebAppContext.doStart
> > (JettyWebAppContext.java:319)
> >       at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance
> > (GBeanInstance.java:984)
> >       at
> > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(
> > GBeanInstanceState.java:267)
> >       at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start
> > (GBeanInstanceState.java:102)
> >       at
> > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive
> > (GBeanInstanceState.java:124)
> >       at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive
> > (GBeanInstance.java:543)
> >       at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean
> > (BasicKernel.java:379)
> >       at
> > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration
> > GBeans(ConfigurationUtil.java:378)
> >       at
> > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration
> > GBeans(ConfigurationUtil.java:415)
> >       at
> > org.apache.geronimo.kernel.config.KernelConfigurationManager.start
> > (KernelConfigurationManager.java:187)
> >       at
> > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf
> > iguration(SimpleConfigurationManager.java:527)
> >       at
> > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf
> > iguration(SimpleConfigurationManager.java:508)
> >       at org.apache.geronimo.kernel.config.SimpleConfigurationManager$
> > $FastClassByCGLIB$$ce77a924.invoke(<generated>)
> >       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:124)
> >       at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke
> > (GBeanInstance.java:820)
> >       at org.apache.geronimo.gbean.runtime.RawInvoker.invoke
> > (RawInvoker.java:57)
> >       at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke
> > (RawOperationInvoker.java:35)
> >       at
> > org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept
> > (ProxyMethodInterceptor.java:96)
> >       at org.apache.geronimo.kernel.config.EditableConfigurationManager$
> > $EnhancerByCGLIB$$b42bfad1.startConfiguration(<generated>)
> >       at org.apache.geronimo.deployment.plugin.local.StartCommand.run
> > (StartCommand.java:67)
> >       at java.lang.Thread.run(Thread.java:595)
> > Caused by: org.omg.CORBA.INITIALIZE: Can not create Util delegate:
> > org.apache.yoko.rmi.impl.UtilImpl:  vmcid: 0x0 minor code: 0x0
> > completed: No
> >       at javax.rmi.CORBA.Util.<clinit>(Util.java:47)
> >       ... 52 more
> >
> >
> >
> > Regards
> > Krish
> >
>
> Matt Hogstrom
> matt@hogstrom.org
>
>
>

Mime
View raw message