This is fixed in openejb, until someone pushes a snapshot you'll have
to build openejb yourself.
I'll try to push something this morning.
thanks
david jencks
On Mar 16, 2007, at 6:07 AM, Lasantha Ranaweera wrote:
Hi Folks,
Today I just checked out latest source code and tried to start the
server after building it. I got following error and looks like
OpenEjb module is the culprit here. Tried several hacks without any
success :-\ .
Thanks,
Lasantha
Starting Geronimo Application Server v2.0-SNAPSHOT
[******> ] 27% 20s Starting
org.apache.geronimo.c...15:56:15,328 ERROR [GBeanInstanceState]
Error while starting; GBean is now in the FAILED state:
abstractName="org.apache.geronimo.configs/openejb/2.0-SNAPSHOT/car?
ServiceModule=org.apache.geronimo.configs/openejb/2.0-SNAPSHOT/
car,j2eeType=GBean,name=OpenEjbSystem"
java.lang.ClassCastException: java.util.HashSet
at
org.apache.openejb.config.ConfigurationFactory.getSystemProperties
(ConfigurationFactory.java:547)
at
org.apache.openejb.config.ConfigurationFactory.configureService
(ConfigurationFactory.java:503)
at
org.apache.openejb.config.ConfigurationFactory.configureService
(ConfigurationFactory.java:461)
at
org.apache.openejb.config.ConfigurationFactory.configureService
(ConfigurationFactory.java:450)
at org.apache.geronimo.openejb.OpenEjbSystemGBean.<init>
(OpenEjbSystemGBean.java:115)
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:494)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance
(GBeanInstance.java:936)
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:434)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start
(KernelConfigurationManager.java:188)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf
iguration(SimpleConfigurationManager.java:530)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf
iguration(SimpleConfigurationManager.java:511)
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:127)
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$$783e8988.startConfiguration(<generated>)
at org.apache.geronimo.system.main.Daemon.doStartup
(Daemon.java:282)
at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:
74)
at org.apache.geronimo.system.main.Daemon.main(Daemon.java:342)
[******> ] 27% 31s Startup failed
org.apache.geronimo.kernel.config.LifecycleException: start of
org.apache.geronimo.configs/openejb/2.0-SNAPSHOT/car failed
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf
iguration(SimpleConfigurationManager.java:547)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf
iguration(SimpleConfigurationManager.java:511)
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:127)
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$$783e8988.startConfiguration(<generated>)
at org.apache.geronimo.system.main.Daemon.doStartup
(Daemon.java:282)
at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:
74)
at org.apache.geronimo.system.main.Daemon.main(Daemon.java:342)
Caused by:
org.apache.geronimo.kernel.config.InvalidConfigException: Unknown
start exception
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration
GBeans(ConfigurationUtil.java:500)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start
(KernelConfigurationManager.java:188)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf
iguration(SimpleConfigurationManager.java:530)
... 13 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuration org.apache.geronimo.configs/openejb/2.0-SNAPSHOT/car
failed to start due to the following reasons:
The service ServiceModule=org.apache.geronimo.configs/openejb/2.0-
SNAPSHOT/car,j2eeType=GBean,name=DefaultStatelessContainer did not
start because org.apache.geronimo.configs/openejb/2.0-SNAPSHOT/car?
ServiceModule=org.apache.geronimo.configs/openejb/2.0-SNAPSHOT/
car,j2eeType=GBean,name=OpenEjbSystem did not start.
The service ServiceModule=org.apache.geronimo.configs/openejb/2.0-
SNAPSHOT/car,j2eeType=GBean,name=DefaultBMPContainer did not start
because org.apache.geronimo.configs/openejb/2.0-SNAPSHOT/car?
ServiceModule=org.apache.geronimo.configs/openejb/2.0-SNAPSHOT/
car,j2eeType=GBean,name=OpenEjbSystem did not start.
The service ServiceModule=org.apache.geronimo.configs/openejb/2.0-
SNAPSHOT/car,j2eeType=GBean,name=EJBNetworkService did not start
because org.apache.geronimo.configs/openejb/2.0-SNAPSHOT/car?
ServiceModule=org.apache.geronimo.configs/openejb/2.0-SNAPSHOT/
car,j2eeType=GBean,name=OpenEjbSystem did not start.
The service ServiceModule=org.apache.geronimo.configs/openejb/2.0-
SNAPSHOT/car,j2eeType=GBean,name=DefaultCMPContainer did not start
because org.apache.geronimo.configs/openejb/2.0-SNAPSHOT/car?
ServiceModule=org.apache.geronimo.configs/openejb/2.0-SNAPSHOT/
car,j2eeType=GBean,name=OpenEjbSystem did not start.
The service ServiceModule=org.apache.geronimo.configs/openejb/2.0-
SNAPSHOT/car,j2eeType=GBean,name=OpenEjbSystem did not start
because Throwable during start of gbean:
java.lang.ClassCastException: java.util.HashSet
at
org.apache.openejb.config.ConfigurationFactory.getSystemProperties
(ConfigurationFactory.java:547)
at
org.apache.openejb.config.ConfigurationFactory.configureService
(ConfigurationFactory.java:503)
at
org.apache.openejb.config.ConfigurationFactory.configureService
(ConfigurationFactory.java:461)
at
org.apache.openejb.config.ConfigurationFactory.configureService
(ConfigurationFactory.java:450)
at org.apache.geronimo.openejb.OpenEjbSystemGBean.<init>
(OpenEjbSystemGBean.java:115)
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:494)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance
(GBeanInstance.java:936)
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:434)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start
(KernelConfigurationManager.java:188)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf
iguration(SimpleConfigurationManager.java:530)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf
iguration(SimpleConfigurationManager.java:511)
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:127)
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$$783e8988.startConfiguration(<generated>)
at org.apache.geronimo.system.main.Daemon.doStartup
(Daemon.java:282)
at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:
74)
at org.apache.geronimo.system.main.Daemon.main(Daemon.java:342)
The service ServiceModule=org.apache.geronimo.configs/openejb/2.0-
SNAPSHOT/car,j2eeType=GBean,name=DefaultStatefulContainer did not
start because org.apache.geronimo.configs/openejb/2.0-SNAPSHOT/car?
ServiceModule=org.apache.geronimo.configs/openejb/2.0-SNAPSHOT/
car,j2eeType=GBean,name=OpenEjbSystem did not start.
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration
GBeans(ConfigurationUtil.java:463)
... 15 more
Server shutdown begun