directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rahul.soa" <rahul....@googlemail.com>
Subject Re: ApacheDS 1.5 - Build failure
Date Tue, 17 Mar 2009 23:50:29 GMT
Hi Stefan,

I did everything from the beginning:

1. deleted repository from  ~/.m2/repository

2. svn co http://svn.apache.org/repos/asf/directory/studio/trunk studio

3. cd studio

4. svn up MAVEN_OPTS="-Xmx256m" mvn clean install

5. update the <home>/.m2/settings.xml with the eclipse home

6.  MAVEN_OPTS="-Xmx256m" mvn -Pintegration-core,integration-ui test -e

The *step 6 failed*. and I still have the same errors  while running the
tests.

Thanks

Regards,
Rahul

-----

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] [antrun:run {execution: integration-core}]
[INFO] Executing tasks
    [mkdir] Created dir:
/home/rahul/studio/test-integration-core/target/test-sandbox
    [mkdir] Created dir:
/home/rahul/studio/test-integration-core/target/test-sandbox/workspace
     [copy] Copying 1478 files to
/home/rahul/studio/test-integration-core/target/test-sandbox
     [copy] Copied 410 empty directories to 1 empty directory under
/home/rahul/studio/test-integration-core/target/test-sandbox
     [copy] Copying 20 files to
/home/rahul/studio/test-integration-core/target/test-sandbox
     [copy] Copying 30 files to
/home/rahul/studio/test-integration-core/target/test-sandbox/plugins
     [copy] Copying 1 file to
/home/rahul/studio/test-integration-core/target/test-sandbox/plugins
     [java] log4j:WARN No appenders could be found for logger
(org.apache.directory.server.schema.registries.DefaultNormalizerRegistry).
     [java] log4j:WARN Please initialize the log4j system properly.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: Java returned: 2

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An Ant
BuildException has occured: Java returned: 2
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
    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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant
BuildException has occured: Java returned: 2
    at
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:131)
    at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:98)
    at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
    ... 16 more
Caused by: Java returned: 2
    at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    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.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:118)
    ... 19 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 minutes 25 seconds
[INFO] Finished at: Wed Mar 18 01:33:52 CET 2009
[INFO] Final Memory: 57M/120M
[INFO]
------------------------------------------------------------------------




On Tue, Mar 17, 2009 at 8:45 AM, Stefan Seelmann <seelmann@apache.org>
wrote:
>
> Hi Rahul,
>
> rahul.soa wrote:
> > Hello Stefan,
> >
> > This time build was successful but the old problem still persists :(
> > (i.e. failure in integration tests).  * The build was successful before
> > as well but the main problem was with running tests.
> >
> >
message="org.apache.directory.shared.ldap.schema.Syntax.getSyntaxChecker()Lorg/apache/directory/shared/ldap/schema/SyntaxChecker;"
> > type="java.lang.NoSuchMethodError">java.lang.NoSuchMethodError:
> >
org.apache.directory.shared.ldap.schema.Syntax.getSyntaxChecker()Lorg/apache/directory/shared/ldap/schema/SyntaxChecker;
> >     at
> >
org.apache.directory.server.schema.registries.DefaultRegistries.resolve(DefaultRegistries.java:229)
> >     at
> >
org.apache.directory.server.schema.registries.DefaultRegistries.resolve(DefaultRegistries.java:283)
> >     at
> >
org.apache.directory.server.schema.registries.DefaultRegistries.resolve(DefaultRegistries.java:326)
> >     at
> >
org.apache.directory.server.schema.registries.DefaultRegistries.resolve(DefaultRegistries.java:470)
> >     at
> >
org.apache.directory.server.schema.registries.DefaultRegistries.resolve(DefaultRegistries.java:434)
> >     at
> >
org.apache.directory.server.schema.registries.DefaultRegistries.resolve(DefaultRegistries.java:434)
> >     at
> >
org.apache.directory.server.schema.registries.DefaultRegistries.checkRefInteg(DefaultRegistries.java:185)
> >     at
> >
org.apache.directory.server.core.DefaultDirectoryService.&lt;init&gt;(DefaultDirectoryService.java:230)
> >     at
> >
org.apache.directory.server.unit.AbstractServerTest.setUp(AbstractServerTest.java:254)
> >     at
> >
org.apache.directory.studio.test.integration.core.JNDIConnectionWrapperTest.setUp(JNDIConnectionWrapperTest.java:63)
> >
>
> I'm not sure why you get this error. The test start up an embedded
> ApacheDS, 1.5.5-SNAPSHOT is used.
>
> Could you please delete you local maven repository in ~/.m2/repository
> and build again?
>
> Thanks for you patience,
> Stefan
>

Mime
View raw message