geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjay Dwivedi" <sanjay.dwiv...@gmail.com>
Subject Re: Build Failed - Building from SVN Geronimo 1.0
Date Fri, 17 Feb 2006 01:51:33 GMT
The build failed for following reason (this time it got much farther, no
geronimo spec issues after checked out and built specs project), has anybody 
seen this error. Do I need to build config also
(like specs)?:

multiproject:install-callback:
    [echo] Running car:install for openejb Configuration for the J2EE Server
20:36:24,778 ERROR [Deployer] Deployment failed due to
java.lang.NoClassDefFoundError: org/apache/geronimo/interceptor/Invocation
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
        at java.lang.Class.getDeclaredMethod(Class.java:1254)
        at 
org.apache.geronimo.gbean.GBeanInfo.getGBeanInfo(GBeanInfo.java:60)
        at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.addGBeanD
ata(ServiceConfigBuilder.java:316)
        at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.addGBeans
(ServiceConfigBuilder.java:311)
        at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConf
iguration(ServiceConfigBuilder.java:207)
        at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConf
iguration(ServiceConfigBuilder.java:167)
        at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder$$FastClas
sByCGLIB$$9f173be6.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:118)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:800)
        at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:36)
        at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
        at 
org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$
$5e2a1c3b.buildConfiguration(<generated>)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:279)
        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:118)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:835)
        at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
178)
        at 
org.apache.geronimo.plugin.packaging.PackageBuilder.invokeDeployer(Pa
ckageBuilder.java:389)
        at 
org.apache.geronimo.plugin.packaging.PackageBuilder.execute(PackageBu
ilder.java:294)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.apache.geronimo.plugin.packaging.PackageBuilderShell.execute(Pack
ageBuilderShell.java:232)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.jav
a:230)
        at 
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.jav
a:145)
        at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at 
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai
nGoalTag.java:127)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at 
org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:36
8)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at 
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai
nGoalTag.java:127)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:488)
        at org.apache.maven.cli.App.main(App.java:1239)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
java.lang.reflect.InvocationTargetException: null
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.apache.geronimo.plugin.packaging.PackageBuilderShell.execute(Pack
ageBuilderShell.java:232)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.jav
a:230)
        at 
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.jav
a:145)
        at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
        at com.werken.werkz.Goal.attain(Goal.java:573)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at 
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai
nGoalTag.java:127)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at 
org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:36
8)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
        at 
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai
nGoalTag.java:127)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:488)
        at org.apache.maven.cli.App.main(App.java:1239)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.NoClassDefFoundError: 
org/apache/geronimo/interceptor/Invoc
ation
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
        at java.lang.Class.getDeclaredMethod(Class.java:1254)
        at 
org.apache.geronimo.gbean.GBeanInfo.getGBeanInfo(GBeanInfo.java:60)
        at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.addGBeanD
ata(ServiceConfigBuilder.java:316)
        at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.addGBeans
(ServiceConfigBuilder.java:311)
        at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConf
iguration(ServiceConfigBuilder.java:207)
        at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConf
iguration(ServiceConfigBuilder.java:167)
        at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder$$FastClas
sByCGLIB$$9f173be6.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:118)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:800)
        at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at 
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:36)
        at 
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
        at 
org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$
$5e2a1c3b.buildConfiguration(<generated>)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:279)
        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:118)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:835)
        at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
178)
        at 
org.apache.geronimo.plugin.packaging.PackageBuilder.invokeDeployer(Pa
ckageBuilder.java:389)
        at 
org.apache.geronimo.plugin.packaging.PackageBuilder.execute(PackageBu
ilder.java:294)
        ... 53 more

BUILD FAILED


----- Original Message ----- 
From: "Sanjay Dwivedi" <sanjay.dwivedi@gmail.com>
To: <user@geronimo.apache.org>
Sent: Sunday, February 12, 2006 11:03 PM
Subject: Re: Build Failed - Building from SVN Geronimo 1.0


> Bruce,
>
> Followed the steps you described below. The build failed at exactly the 
> same place, this time I started with clean maven cache/repository.
>
> The geronimo spec build was perfectly fine i.e. steps 1, 2, 3 were 
> successful. Don't know what else to do, guess am stuck. Tried advise from 
> Mark Kirkwood i.e.
>
>>ii) Fetch geronimo-spec-corba-2.3-rc4.jar and place in
>>.maven/repository/geronimo-spec/jars.
>
> Here kept the rc4 and also copied and renamed the jar with 1.1-SNAPSHOT 
> suffix instead of rc4, guess something must have changed in open EJB.
>
>>iii) Fetch geronimo-corba_2.3_spec-1.0.jar and place in
>>.maven/repository/org.apache.geronimo.specs/jars.
> copied and renamed this with 1.1 suffix instead of 1.0 (kept the original 
> as well).
>
> --
> Sanjay
>
> ----- Original Message ----- 
> From: "Bruce Snyder" <bruce.snyder@gmail.com>
> To: <user@geronimo.apache.org>
> Sent: Sunday, February 12, 2006 3:24 PM
> Subject: Re: Build Failed - Building from SVN Geronimo 1.0
>
>
> On 2/11/06, Sanjay Dwivedi <sanjay.dwivedi@gmail.com> wrote:
>
>> I get following error while building Geronimo 1.0 from SVN source (not 
>> the
>> zip file).
>> I have followed the email trails and JIRA to copy
>> geronimo-corba_2.3_spec-1.0.jar in
>> .maven/repository/org.apache.geronimo.specs, still get the
>> error. Also tried creating
>>  geronimo-corba_2.3_spec/1.1-SNAPSHOT/jar there and copying
>> the corba jar. Still get the error.
>
> It looks to me like you're compiling from SVN HEAD which is actually
> Geronimo 1.1. The error that you're getting is due to the fact that
> the 1.1-SNAPSHOT version of the geronimo-corba_2.3_spec jar is not
> available in any Maven repos. You can get around this by checking out
> the Geronimo specs project and building it on your machine. Then
> Geronimo HEAD should build correctly. Below are the steps:
>
> 1) Install Maven 2
> 2) Download the Geronimo specs trunk:
>
> svn co https://svn.apache.org/repos/asf/geronimo/specs/trunk
>
> 3) Compile the specs:
>
> mvn install
>
> 4) Build Geronimo HEAD:
>
> maven -Dmaven.itest.skip=true -Dmaven.test.skip=true new
>
> Please let us know if you have any additional problems.
>
> Bruce
> --
> perl -e 'print 
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache Geronimo (http://geronimo.apache.org/)
>
> Castor (http://castor.org/) 


Mime
View raw message