geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roman Kishchenko <chap...@comcast.net>
Subject Re: Building of Geronimo 1.0 failing
Date Tue, 07 Feb 2006 01:22:29 GMT
Hi Gary,

I also new to Maven and went through the series of build errors recently 
trying to build Geronimo for the first time.
Try (as was suggested earlier in the mail list):
maven m:update
maven -o m:clean m:clean-repo
maven new -Dmaven.test.skip=true -Dmaven.itest.skip=true

If build fails due to unsatisfied dependency just re-run "maven new...", 
each time it went further in my case.  

HTH,
Roman

Gary Karasiuk wrote:

> I'm using the SUN JDK 1.4.2_08-b03 and Maven 1.0.2.  I didn't see any 
> OutOfMemoryErrors.
>
> I'm very new to this Maven stuff, but if I had to guess, I'd say that 
> the dependencies are not set correctly somewhere. I do have the class 
> that it is complaining about in my .maven repository (it is in the 
> wsdl4j folder),
>
> */Aaron Mulder <ammulder@alumni.princeton.edu>/* wrote:
>
>     If you're using IntelliJ, you don't need to build from source in order
>     to debug -- just start the Geronimo JVM with the remote debug args
>     IntelliJ gives you and attach and there you go.
>
>     I haven't seen that problem building from source before -- are you
>     using JDK 1.4.2 and Maven 1.1-beta-2? Also, I think I've had to bump
>     up the RAM used by Maven to build all of Geronimo and OpenEJB from
>     scratch:
>
>     export MAVEN_OPTS="-Xm s256m -Xmx512m -XX:MaxPermSize=128m"
>
>     Aaron
>
>     On 2/6/06, Gary Karasiuk wrote:
>     > I'm new to Geronimo and I'm trying to build version 1.0 (so that
>     I can debug
>     > it).
>     >
>     > I checked out the source from:
>     >
>     > http://svn.apache.org/repos/asf/geronimo/tags/1.0.0
>     >
>     > and then I did:
>     > maven new -Dmaven.test.skip=true -Dmaven.itest.skip=true
>     >
>     > It runs for a couple of minutes and then fails with these
>     exceptions:
>     >
>     > +----------------------------------------
>     > | configurations Configuration for performing J2EE deployments
>     > | Memory: 47M/75M
>     > +----------------------------------------
>     > car:prepare-plan:
>     >
>     > car:package:
>     >
>     > car:install:
>     >
>     >
>     > build:end:
>     >
>     > build:start:
>     >
>     > multiproject:install-callback:
>     > [echo] Running car:install for Configuration for performing J2EE
>     &g t; deployments
>     > 6453 [main] ERROR org.apache.geronimo.deployment.Deployer -
>     > Deployment failed due to
>     > java.lang.NoClassDefFoundError: javax/wsdl/Service
>     > at java.lang.Class.getDeclaredMethods0(Native Metho
>     > d)
>     >
>     > at
>     > java.lang.Class.privateGetDeclaredMethods(Class.java:1655)
>     > at java.lang.Class.getDeclaredMethod(Class.java:1262)
>     > at
>     > org.apache.geronimo.gbean.GBeanInfo.getGBeanInfo(GBeanInfo.java:60)
>     > at
>     >
>     org.apache.geronimo.deployment.service.ServiceConfigBuilder.addGBeanData(ServiceConfigBuilder.java:316)
>     > at
>     >
>     org.apache.geronimo.deployment.service.ServiceConfigBuilder.addGBeans(ServiceConfigBuilder.java:311)
>     > at
>     >
>     org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:207)
>     > at
>     >
>     org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:167)*>
>     at
>     >
>     org.apache.geronimo.deployment.service.ServiceConfigBuilder$$FastClassByCGLIB$$9f173be6.invoke()
>     > 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:118)
>     > at
>     >
>     org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
>     > at
>     >
>     org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>     > at
>     >
>     org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
>     > at
>     >
>     org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>     > at
>     >
>     org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$bec4192f.buildConfiguration()
>     > at
>     > org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:269)
>     >
>     > SNIP
>     >
>     > BUILD FAILED
>     > File...... s:\geronimo-1.0.0\maven.xml
>     > Element... maven:reactor
>     > Line...... 58
>     > Column.... 112
>     > Unable to obtain goal [multiproject:install-callback] --
>     H:\Documents and
>     >
>     Settings\karasiuk\.maven\cache\geronimo-packaging-plugin-1.0.1\plugin.jelly:68:15
>     > : null
>     > Total time: 4 minutes 14 seconds
>     > Finished at: Mon Feb 06 13:12:28 EST 2006
>     >
>     >
>     >
>     > Gary
>     *
>
> *
> *
> *
>
> Gary *



Mime
View raw message