You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jeff Fletcher <jf...@voicelog.net> on 2004/04/07 17:02:58 UTC
Error when starting Geronimo
I just checked out and built from scratch with no problems, and I ran:
java -jar bin/server.jar org/apache/geronimo/DebugConsole
resulting in:
...
08:24:33,429 INFO [Configuration] Started configuration
org/apache/geronimo/Server
08:24:33,435 INFO [HttpServer] Starting Jetty/5.0.beta0
08:24:33,497 INFO [HttpServer] Started org.mortbay.jetty.Server@179dce4
08:24:33,567 INFO [SocketListener] Started SocketListener on 0.0.0.0:8080
08:24:33,943 INFO [NotificationBroadcasterSupport] RuntimeException
caught from handleNotification
java.lang.NullPointerException
at
org.apache.geronimo.gbean.jmx.GBeanMBeanReference.handleNotification(GBeanMBeanReference.java:283)
at
mx4j.server.interceptor.NotificationListenerMBeanServerInterceptor$ListenerWrapper.handleNotification(NotificationListenerMBeanServerInterceptor.java:57)
...
at
org.apache.geronimo.kernel.Kernel.startRecursiveGBean(Kernel.java:257)
at org.apache.geronimo.system.main.Daemon.main(Daemon.java:128)
08:24:33,947 INFO [Kernel] Starting kernel shutdown
08:24:34,028 INFO [Kernel] Kernel shutdown complete
org.apache.geronimo.kernel.config.InvalidConfigException: Invalid GBean
configuration for geronimo.config:name="org/apache/geronimo/Server"
at
org.apache.geronimo.kernel.Kernel.startRecursiveGBean(Kernel.java:259)
at org.apache.geronimo.system.main.Daemon.main(Daemon.java:128)
Caused by: java.lang.NullPointerException
at
org.apache.geronimo.jetty.JettyWebApplicationContext.<init>(JettyWebApplicationContext.java:94)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method) at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at
org.apache.geronimo.gbean.jmx.GBeanMBean.preRegister(GBeanMBean.java:252)
...
at
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:205)
at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1077)
at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:216)
at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:211)
at
org.apache.geronimo.kernel.Kernel.startRecursiveGBean(Kernel.java:257)
Any ideas on how I can get it running?
Let me know if I should post the entier stack trace.
Thanks,
Jeff
Re: Error when starting Geronimo
Posted by Jukka Uusisalo <ju...@dnainternet.net>.
----- Original Message -----
From: "Dain Sundstrom" <da...@coredevelopers.net>
To: <ge...@incubator.apache.org>
Sent: Wednesday, April 07, 2004 10:26 PM
Subject: Re: Error when starting Geronimo
>
> This is all fixed now. This little message helped me find a bunch of
> bugs.
>
I just took update from cvs and at least I got my geronimo to start again.
- Jukka -
Re: Error when starting Geronimo
Posted by Dain Sundstrom <da...@coredevelopers.net>.
This is all fixed now. This little message helped me find a bunch of
bugs.
There were two main problems. The first was caused by me not handling
exceptions tightly enough in the GBean life cycle events. The second
was cause by not initializing the user transaction in the
WARConfigBuilder.
Thanks for the message,
-dain
/*************************
* Dain Sundstrom
* Partner
* Core Developers Network
*************************/
On Apr 7, 2004, at 10:02 AM, Jeff Fletcher wrote:
> I just checked out and built from scratch with no problems, and I ran:
> java -jar bin/server.jar org/apache/geronimo/DebugConsole
>
> resulting in:
> ...
> 08:24:33,429 INFO [Configuration] Started configuration
> org/apache/geronimo/Server
> 08:24:33,435 INFO [HttpServer] Starting Jetty/5.0.beta0
> 08:24:33,497 INFO [HttpServer] Started
> org.mortbay.jetty.Server@179dce4
> 08:24:33,567 INFO [SocketListener] Started SocketListener on
> 0.0.0.0:8080
> 08:24:33,943 INFO [NotificationBroadcasterSupport] RuntimeException
> caught from handleNotification
> java.lang.NullPointerException
> at
> org.apache.geronimo.gbean.jmx.GBeanMBeanReference.handleNotification(GB
> eanMBeanReference.java:283)
> at
> mx4j.server.interceptor.NotificationListenerMBeanServerInterceptor$List
> enerWrapper.handleNotification(NotificationListenerMBeanServerIntercept
> or.java:57)
> ...
> at
> org.apache.geronimo.kernel.Kernel.startRecursiveGBean(Kernel.java:257)
> at org.apache.geronimo.system.main.Daemon.main(Daemon.java:128)
> 08:24:33,947 INFO [Kernel] Starting kernel shutdown
> 08:24:34,028 INFO [Kernel] Kernel shutdown complete
> org.apache.geronimo.kernel.config.InvalidConfigException: Invalid
> GBean configuration for
> geronimo.config:name="org/apache/geronimo/Server"
> at
> org.apache.geronimo.kernel.Kernel.startRecursiveGBean(Kernel.java:259)
> at org.apache.geronimo.system.main.Daemon.main(Daemon.java:128)
> Caused by: java.lang.NullPointerException
> at
> org.apache.geronimo.jetty.JettyWebApplicationContext.<init>(JettyWebApp
> licationContext.java:94)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor
> AccessorImpl.java:39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon
> structorAccessorImpl.java:27)
> at
> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> at
> org.apache.geronimo.gbean.jmx.GBeanMBean.preRegister(GBeanMBean.java:
> 252)
> ...
> at
> mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke
> (ContextClassLoaderMBeanServerInterceptor.java:205)
> at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1077)
> at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:216)
> at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:211)
> at
> org.apache.geronimo.kernel.Kernel.startRecursiveGBean(Kernel.java:257)
>
> Any ideas on how I can get it running?
> Let me know if I should post the entier stack trace.
>
> Thanks,
> Jeff
>