You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Krishnakumar B <ww...@gmail.com> on 2006/11/24 07:23:41 UTC

Unable to start server 1.2-SNAPSHOT

I did a build of 1.2-SNAPSHOT successfully. Starting tomcat assembly
fails with the following error. I am using Sun JDK 1.5

Booting Geronimo Kernel (in Java 1.5.0_09)...
11:47:58,106 ERROR [GBeanInstanceState] Error while starting; GBean is now in th
e FAILED state: abstractName="org.apache.geronimo.configs/j2ee-system/1.2-SNAPSH
OT/car?configurationName=org.apache.geronimo.configs/j2ee-system/1.2-SNAPSHOT/ca
r"
org.apache.geronimo.kernel.config.InvalidConfigException: Unable to deserialize
GBeanState
        at org.apache.geronimo.kernel.config.SerializedGBeanState.loadGBeans(Ser
ializedGBeanState.java:120)
        at org.apache.geronimo.kernel.config.SerializedGBeanState.getGBeans(Seri
alizedGBeanState.java:65)
        at org.apache.geronimo.kernel.config.ConfigurationData.getGBeans(Configu
rationData.java:171)
        at org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.
java:277)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
nstance.java:936)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
(GBeanInstanceState.java:267)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
nceState.java:102)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
ava:529)
        at org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.j
ava:361)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
iguration(ConfigurationUtil.java:150)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
iguration(ConfigurationUtil.java:126)
        at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:242)
        at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
        at org.apache.geronimo.system.main.Daemon.main(Daemon.java:366)
Caused by: java.lang.ClassCastException: java.lang.Integer
        at org.apache.geronimo.gbean.GBeanData.readExternal(GBeanData.java:224)
        at org.apache.geronimo.kernel.config.SerializedGBeanState.loadGBeans(Ser
ializedGBeanState.java:111)
        ... 17 more
[  ]  0%   1s Startup failed
java.lang.IllegalStateException: GBean is not running: org.apache.geronimo.confi
gs/j2ee-system/1.2-SNAPSHOT/car?configurationName=org.apache.geronimo.configs/j2
ee-system/1.2-SNAPSHOT/car
        at org.apache.geronimo.kernel.basic.BasicKernel.getGBean(BasicKernel.jav
a:304)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
iguration(ConfigurationUtil.java:152)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
iguration(ConfigurationUtil.java:126)
        at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:242)
        at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
        at org.apache.geronimo.system.main.Daemon.main(Daemon.java:366)
java.lang.IllegalStateException: GBean is not running: org.apache.geronimo.confi
gs/j2ee-system/1.2-SNAPSHOT/car?configurationName=org.apache.geronimo.configs/j2
ee-system/1.2-SNAPSHOT/car
        at org.apache.geronimo.kernel.basic.BasicKernel.getGBean(BasicKernel.jav
a:304)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
iguration(ConfigurationUtil.java:152)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
iguration(ConfigurationUtil.java:126)
        at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:242)
        at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
        at org.apache.geronimo.system.main.Daemon.main(Daemon.java:366)
Server shutdown begun
Server shutdown completed

Regards
Krishnakumar

Re: Unable to start server 1.2-SNAPSHOT

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 11/24/06, Krishnakumar B <ww...@gmail.com> wrote:
> I did a build of 1.2-SNAPSHOT successfully. Starting tomcat assembly
> fails with the following error. I am using Sun JDK 1.5
>
> Booting Geronimo Kernel (in Java 1.5.0_09)...
> 11:47:58,106 ERROR [GBeanInstanceState] Error while starting; GBean is now in th
> e FAILED state: abstractName="org.apache.geronimo.configs/j2ee-system/1.2-SNAPSH
> OT/car?configurationName=org.apache.geronimo.configs/j2ee-system/1.2-SNAPSHOT/ca
> r"
> org.apache.geronimo.kernel.config.InvalidConfigException: Unable to deserialize
> GBeanState

It's a wild guess, but did you happen to build Geronimo with Java SE
1.4 and attempt to run it with Java SE 5? Or you built it with Java
1.4, shut it down and run it with Java 5? I have a gut feeling that
switching JVMs between runs might be the reason. But then, it's just a
guess.

Jacek

-- 
Jacek Laskowski
http://www.jaceklaskowski.pl