geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: class-loading
Date Mon, 15 Dec 2008 18:09:12 GMT
Could you show us the <environment> element of your geronimo plan?

Also, which geronimo version are you using, jetty or tomcat?

many thanks
david jencks

On Dec 15, 2008, at 8:55 AM, Jazon wrote:

> Hi,
> I am trying to deploy a web app to Geronimo 2.2-SNAPSHOT. In my  
> geronimo-web.xml, I have <dep:inverse-classloading/>
> But when the web app starts, I got the following Exception, Can  
> anybody tell me how to solve this problem?
>
> org.apache.geronimo.gbean.InvalidConfigurationException: Getter  
> return type in wrong classloader: type: interface  
> javax.management.j2ee.statistics.Stats wanted in classloader:  
> [org.apache.geronimo.kernel.classloader.JarFileClassLoader  
> id=com.test/testwar/1.0/war] actual:  
> [org.apache.geronimo.kernel.classloader.JarFileClassLoader  
> id=org.apache.geronimo.framework/jee-specs/2.2-SNAPSHOT/car]
>     at  
> org 
> .apache 
> .geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:230)
>     at  
> org 
> .apache 
> .geronimo 
> .gbean.runtime.GBeanInstance.buildAttributes(GBeanInstance.java:366)
>     at  
> org 
> .apache 
> .geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:240)
>     at  
> org 
> .apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java: 
> 352)
>     at  
> org 
> .apache 
> .geronimo 
> .kernel 
> .config 
> .ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java: 
> 441)
>     at  
> org 
> .apache 
> .geronimo 
> .kernel 
> .config 
> .KernelConfigurationManager.start(KernelConfigurationManager.java:190)
>     at  
> org 
> .apache 
> .geronimo 
> .kernel 
> .config 
> .SimpleConfigurationManager 
> .startConfiguration(SimpleConfigurationManager.java:562)
>     at  
> org 
> .apache 
> .geronimo 
> .kernel 
> .config 
> .SimpleConfigurationManager 
> .startConfiguration(SimpleConfigurationManager.java:543)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at  
> sun 
> .reflect 
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at  
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl 
> .invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at  
> org 
> .apache 
> .geronimo 
> .gbean 
> .runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java: 
> 34)
>     at  
> org 
> .apache 
> .geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
>     at  
> org 
> .apache 
> .geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:815)
>     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.gbean.GBeanLifecycle$$EnhancerByCGLIB$ 
> $c7c3a59d.startConfiguration(<generated>)
>     at  
> org 
> .apache 
> .geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java: 
> 67)
>     at java.lang.Thread.run(Thread.java:619)
>
>
>
> Thanks


Mime
View raw message