[ http://issues.apache.org/jira/browse/GERONIMO-1916?page=all ]
David Jencks closed GERONIMO-1916:
----------------------------------
Resolution: Fixed
ported change from trunk. g rev 397017, openejb rev 2623
> Handle Delegate references can't be loaded without OpenEJB present
> ------------------------------------------------------------------
>
> Key: GERONIMO-1916
> URL: http://issues.apache.org/jira/browse/GERONIMO-1916
> Project: Geronimo
> Type: Bug
> Security: public(Regular issues)
> Components: dependencies
> Versions: 1.1
> Environment: all
> Reporter: Joe Bohn
> Assignee: David Jencks
> Fix For: 1.1
>
> After building Geronimo with the necessary dependency changes to remove axis,
> tranql, openejb, etc... from j2ee-server and j2ee-deployer we receive the
> following error attempting to start the server with serialized
> configurations.
> To recreate this problem apply the latest patch from GERONIMO-1875
> (1875_RemoveDeps2.patch), rebuild all, and then start the server.
> Booting Geronimo Kernel (in Java 1.4.2_08)...
> Starting Geronimo Application Server
> [*****************- ] 77% 28s Loading
> geronimo/welcome-jetty/1...16:27:02,484 ERROR [GBeanInstanceState] Error
> while starting; GBean is now in the FAILED s
> tate:
> abstractName="geronimo/welcome-jetty/1.1-SNAPSHOT/car?configurationName=geronimo/welcome-jetty/1.1-SNAPSHOT/car"
> org.apache.geronimo.kernel.config.InvalidConfigException: Unable to
> deserialize GBeanState
> at
> org.apache.geronimo.kernel.config.SerializedGBeanState.loadGBeans(SerializedGBeanState.java:120)
> at
> org.apache.geronimo.kernel.config.SerializedGBeanState.getGBeans(SerializedGBeanState.java:65)
> at
> org.apache.geronimo.kernel.config.ConfigurationData.getGBeans(ConfigurationData.java:166)
> at
> org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:277)
> 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.runtime.GBeanInstance.createInstance(GBeanInstance.java:932)
> 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:525)
> at
> org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:361)
> at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:143)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:277)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:245)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:220)
> at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:111)
> at
> org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastClassByCGLIB$$b117102f.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:122)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
> 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$$58db290f.loadConfiguration(<generated>)
> at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:284)
> at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
> at org.apache.geronimo.system.main.Daemon.main(Daemon.java:367)
> Caused by: java.lang.ClassNotFoundException: Unable to find class used in
> GBeanData
> geronimo/welcome-jetty/1.1-SNAPSHOT/car?J2EEApplication=null,j2eeType=WebMod
> ule,name=geronimo/welcome-jetty/1.1-SNAPSHOT/car
> at
> org.apache.geronimo.gbean.GBeanData.readExternal(GBeanData.java:254)
> at
> org.apache.geronimo.kernel.config.SerializedGBeanState.loadGBeans(SerializedGBeanState.java:111)
> ... 29 more
> Caused by: java.lang.ClassNotFoundException: Could not load class
> org.openejb.corba.CORBAHandleDelegate$HandleDelegateReference from
> classloader: geronimo/welco
> me-jetty/1.1-SNAPSHOT/car, destroyed state: false
> at
> org.apache.geronimo.kernel.ClassLoading.loadClass(ClassLoading.java:213)
> at
> org.apache.geronimo.kernel.ObjectInputStreamExt.resolveClass(ObjectInputStreamExt.java:38)
> at
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)
> at
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
> at java.util.HashMap.readObject(HashMap.java:1009)
> at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
> at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
> at
> org.apache.geronimo.gbean.GBeanData.readExternal(GBeanData.java:233)
> ... 30 more
> [*****************- ] 77% 28s Startup failed
> org.apache.geronimo.kernel.config.LifecycleException: load of
> geronimo/welcome-jetty/1.1-SNAPSHOT/car failed
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:292)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:245)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:220)
> at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:111)
> at
> org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastClassByCGLIB$$b117102f.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:122)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816)
> 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$$58db290f.loadConfiguration(<generated>)
> at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:284)
> at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
> at org.apache.geronimo.system.main.Daemon.main(Daemon.java:367)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Error
> starting configuration gbean geronimo/welcome-jetty/1.1-SNAPSHOT/car
> at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:162)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:277)
> ... 15 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
> Configuration gbean failed to start geronimo/welcome-jetty/1.1-SNAPSHOT/car
> at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:145)
> ... 16 more
> Server shutdown begun tartup failed
> Server shutdown completed
> [*****************- ] 77% 33s Startup failed
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira