You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Jiang Liu <S3...@student.rmit.edu.au> on 2007/02/07 05:16:10 UTC

Failed to build Axis2-1.1.1 with Geronimo v2-M2

Hi,
I am trying to build axis2 v1.1.1 with Geronimo v2 m2, but it failed with GBean exceptions:

.......
Geronimo Application Server started
15:12:38,626 WARN  [TomcatModuleBuilder] Web application . does not contain a WE
B-INF/geronimo-web.xml deployment plan.  This may or may not be a problem, depen
ding on whether you have things like resource references that need to be resolve
d.  You can also give the deployer a separate deployment plan file on the comman
d line.
Deployer operation failed: Unable to initialize GBean for web app default/axis2-
1.1.1/1170821556813/war
org.apache.geronimo.common.DeploymentException: Unable to initialize GBean for w
eb app default/axis2-1.1.1/1170821556813/war
        at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(T
omcatModuleBuilder.java:463)
        at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder$$FastClassB
yCGLIB$$6f85ec2c.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:127)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:820)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
        at org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$8
5e5118d.addGBeans(<generated>)
        at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(
SwitchingModuleBuilder.java:165)
        at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder$$FastClass
ByCGLIB$$d0c31844.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:127)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:820)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
        at org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$8
5e5118d.addGBeans(<generated>)
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfigurati
on(EARConfigBuilder.java:594)
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLI
B$$38e56ec6.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:127)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:820)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
        at org.apache.geronimo.j2ee.deployment.CorbaGBeanNameSource$$EnhancerByC
GLIB$$bd128ba2.buildConfiguration(<generated>)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:302)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:124)
        at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.i
nvoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:127)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:855)
        at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
239)
        at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doD
eploy(AbstractDeployCommand.java:114)
        at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(Dis
tributeCommand.java:60)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
        at org.apache.xbean.finder.ClassFinder.readClassDef(ClassFinder.java:681
)
        at org.apache.xbean.finder.ClassFinder.<init>(ClassFinder.java:141)
        at org.apache.geronimo.openejb.deployment.EjbRefBuilder.processWebEjbAnn
otations(EjbRefBuilder.java:255)
        at org.apache.geronimo.openejb.deployment.EjbRefBuilder.buildNaming(EjbR
efBuilder.java:105)
        at org.apache.geronimo.openejb.deployment.EjbRefBuilder$$FastClassByCGLI
B$$dbba8597.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:127)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:820)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
        at org.apache.geronimo.j2ee.deployment.NamingBuilder$$EnhancerByCGLIB$$1
15d6a11.buildNaming(<generated>)
        at org.apache.geronimo.j2ee.deployment.NamingBuilderCollection.buildNami
ng(NamingBuilderCollection.java:58)
        at org.apache.geronimo.j2ee.deployment.NamingBuilderCollection$$FastClas
sByCGLIB$$5fe23b0e.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:127)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:820)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
        at org.apache.geronimo.j2ee.deployment.NamingBuilder$$EnhancerByCGLIB$$1
15d6a11.buildNaming(<generated>)
        at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(T
omcatModuleBuilder.java:312)
        ... 40 more

Axis2-1.1.1 works fine with Geronimo V2-M1, and i kept the same environment settings but failed with V2-M2. 

Cheers!!
------------------------------
Jiang Liu
Student Number: 3075163
CS/Yallara Name: ljiang
RMIT, Melbourne

Re: Failed to build Axis2-1.1.1 with Geronimo v2-M2

Posted by Lasantha Ranaweera <la...@opensource.lk>.
Interesting .... Looks like a bug. From where did you download Geronimo? 

Lasantha Ranaweera
Jiang Liu wrote:
> Hi,
> I am trying to build axis2 v1.1.1 with Geronimo v2 m2, but it failed with GBean exceptions:
>
> .......
> Geronimo Application Server started
> 15:12:38,626 WARN  [TomcatModuleBuilder] Web application . does not contain a WE
> B-INF/geronimo-web.xml deployment plan.  This may or may not be a problem, depen
> ding on whether you have things like resource references that need to be resolve
> d.  You can also give the deployer a separate deployment plan file on the comman
> d line.
> Deployer operation failed: Unable to initialize GBean for web app default/axis2-
> 1.1.1/1170821556813/war
> org.apache.geronimo.common.DeploymentException: Unable to initialize GBean for w
> eb app default/axis2-1.1.1/1170821556813/war
>         at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(T
> omcatModuleBuilder.java:463)
>         at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder$$FastClassB
> yCGLIB$$6f85ec2c.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:127)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:820)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
>         at org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$8
> 5e5118d.addGBeans(<generated>)
>         at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(
> SwitchingModuleBuilder.java:165)
>         at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder$$FastClass
> ByCGLIB$$d0c31844.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:127)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:820)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
>         at org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$8
> 5e5118d.addGBeans(<generated>)
>         at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfigurati
> on(EARConfigBuilder.java:594)
>         at org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLI
> B$$38e56ec6.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:127)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:820)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
>         at org.apache.geronimo.j2ee.deployment.CorbaGBeanNameSource$$EnhancerByC
> GLIB$$bd128ba2.buildConfiguration(<generated>)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:302)
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:124)
>         at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.i
> nvoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:127)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:855)
>         at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 239)
>         at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doD
> eploy(AbstractDeployCommand.java:114)
>         at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(Dis
> tributeCommand.java:60)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NullPointerException
>         at org.apache.xbean.finder.ClassFinder.readClassDef(ClassFinder.java:681
> )
>         at org.apache.xbean.finder.ClassFinder.<init>(ClassFinder.java:141)
>         at org.apache.geronimo.openejb.deployment.EjbRefBuilder.processWebEjbAnn
> otations(EjbRefBuilder.java:255)
>         at org.apache.geronimo.openejb.deployment.EjbRefBuilder.buildNaming(EjbR
> efBuilder.java:105)
>         at org.apache.geronimo.openejb.deployment.EjbRefBuilder$$FastClassByCGLI
> B$$dbba8597.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:127)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:820)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
>         at org.apache.geronimo.j2ee.deployment.NamingBuilder$$EnhancerByCGLIB$$1
> 15d6a11.buildNaming(<generated>)
>         at org.apache.geronimo.j2ee.deployment.NamingBuilderCollection.buildNami
> ng(NamingBuilderCollection.java:58)
>         at org.apache.geronimo.j2ee.deployment.NamingBuilderCollection$$FastClas
> sByCGLIB$$5fe23b0e.invoke(<generated>)
>         at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
>         at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:127)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:820)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
>         at org.apache.geronimo.j2ee.deployment.NamingBuilder$$EnhancerByCGLIB$$1
> 15d6a11.buildNaming(<generated>)
>         at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(T
> omcatModuleBuilder.java:312)
>         ... 40 more
>
> Axis2-1.1.1 works fine with Geronimo V2-M1, and i kept the same environment settings but failed with V2-M2. 
>
> Cheers!!
> ------------------------------
> Jiang Liu
> Student Number: 3075163
> CS/Yallara Name: ljiang
> RMIT, Melbourne
>
>