You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "rahul.soa" <ra...@googlemail.com> on 2009/03/06 01:24:31 UTC

ApacheDS 1.5 - Build failure

Hello Developers,

I am trying to build ApacheDS  1.5 on my Linux Machine. I am following the
steps from the below link:

http://directory.apache.org/apacheds/1.5/02-building-trunks.html

and I am getting "build failure" error

Please see the following logs:

--------------
[root@localhost apacheds-trunk]# mvn clean
Warning: JAVA_HOME environment variable is not set.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Apache Directory Project
[INFO]   Apache Directory Shared
[INFO]   Apache Directory ASN.1 Shared
[INFO]   Apache Directory Protocol Ldap Shared Constants
[INFO]   Apache Directory Protocol Ldap Shared
[INFO]   Apache Directory JNDI Shared
[INFO]   Apache Directory MINA ASN.1 Codec Shared
[INFO]   Apache Directory Protocol Ldap Converters
[INFO]   Apache Directory Daemon
[INFO]   Apache Directory Daemon Bootstrappers
[INFO]   Apache Directory Daemon Plugin (Maven 2)
[INFO]   ApacheDS
[INFO]   ApacheDS Core Constants
[INFO]   ApacheDS Core Shared
[INFO]   ApacheDS Schema Registries
[INFO]   ApacheDS Core Cursor
[INFO]   ApacheDS JDBM implementation
[INFO]   ApacheDS Core Plugin (Maven 2)
[INFO]   ApacheDS Bootstrap Schemas
[INFO]   ApacheDS Extra Schemas
[INFO]   ApacheDS Core Entry
[INFO]   ApacheDS XDBM Base
[INFO]   ApacheDS Core AVL
[INFO]   ApacheDS Generalized (X) DBM Tools
[INFO]   ApacheDS JDBM Store
[INFO]   ApacheDS Generalized (X) DBM Search Engine
[INFO]   ApacheDS Utils
[INFO]   ApacheDS Bootstrap Partition File Extractor
[INFO]   ApacheDS Bootstrap Plugin
[INFO]   ApacheDS Bootstrap Partition
[INFO]   ApacheDS Core
[INFO]   ApacheDS Core JNDI
[INFO]   ApacheDS Protocol Shared
[INFO]   ApacheDS Protocol Kerberos Shared
[INFO]   ApacheDS Protocol Ldap
[INFO]   ApacheDS Server JNDI
[INFO]   ApacheDS Interceptors for Kerberos
[INFO]   ApacheDS All
[INFO]   ApacheDS Core Unit
[INFO]   ApacheDS Core Integration
[INFO]   ApacheDS Core Splay
[INFO]   ApacheDS Server Unit
[INFO]   ApacheDS Protocol Ntp
[INFO]   ApacheDS Protocol Kerberos
[INFO]   ApacheDS Protocol Dhcp
[INFO]   ApacheDS Protocol Dns
[INFO]   ApacheDS Protocol Change Password
[INFO]   ApacheDS Server Integration
[INFO]   ApacheDS Xbean Spring
[INFO]   ApacheDS Server XML File
[INFO]   ApacheDS Server Tools
[INFO]   ApacheDS Server Replication Service
[INFO]   ApacheDS 1.5 Build With Dependencies
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Directory Project
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Directory Shared
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Directory ASN.1 Shared
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Directory Protocol Ldap Shared Constants
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Directory Protocol Ldap Shared
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Directory JNDI Shared
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Directory MINA ASN.1 Codec Shared
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Directory Protocol Ldap Converters
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Directory Daemon
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Directory Daemon Bootstrappers
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Directory Daemon Plugin (Maven 2)
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building ApacheDS
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building ApacheDS Core Constants
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building ApacheDS Core Shared
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building ApacheDS Schema Registries
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building ApacheDS Core Cursor
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building ApacheDS JDBM implementation
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building ApacheDS Core Plugin (Maven 2)
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO]
------------------------------------------------------------------------
[INFO] Building ApacheDS Bootstrap Schemas
[INFO]    task-segment: [clean]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
*[ERROR] BUILD FAILURE*
[INFO]
------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check
that the goal name is correct: Unable to download the artifact from any
repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.directory.server
-DartifactId=apacheds-core-plugin -Dversion=1.5.5-SNAPSHOT
-Dpackaging=maven-plugin -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file
there:
    mvn deploy:deploy-file -DgroupId=org.apache.directory.server
-DartifactId=apacheds-core-plugin -Dversion=1.5.5-SNAPSHOT
-Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]



org.apache.directory.server:apacheds-core-plugin:maven-plugin:1.5.5-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


org.apache.directory.server:apacheds-core-plugin:maven-plugin:1.5.5-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Fri Mar 06 01:57:46 CET 2009
[INFO] Final Memory: 13M/24M
[INFO]
------------------------------------------------------------------------
[root@localhost apacheds-trunk]#


Can you please help me in this?

Thanks in advance.

Regards,
Rahul

Re: ApacheDS 1.5 - Build failure

Posted by Emmanuel Lecharny <el...@apache.org>.
rahul.soa wrote:
> Hello Pierre-Arnaud/Felix,
>   
Hi Rahul,


> when I double click on the Apache Studio icon (under /root/studio/*
> target/distributions*/ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT/ApacheDirectoryStudio.)
> then it seems its gonna to start soon (opening a dialogue box like eclipse
> with apache studio logo, saying that workbench is loading) but abruptly it
> goes away and a small dialogue occurs with the title "ApacheDirectoryStudio"
> nothing inside. In essence, I am not able to launch it. Is there something
> wrong I am doing?
>   
Are you sure you are using the correct JVM ? It won't work with GCj. You 
_must_ use a Sun, IBM or Jrockit JVM. Check the logs in 
.ApacheDirectoryStudion/.metadata on your home directory.

PS: *don't*, I mean, really, DON'T work as root. Create a user, log as 
this user. Root should only be used for maintenance operations. This is 
a bad habbit to log as root. If you are using Ubuntu, this is prohibited 
by default, and you have to sudo in order to gain root access. Once you 
will have done something "rm -rf *" by mistake, you will undesrtand what 
I mean...

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: ApacheDS 1.5 - Build failure

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Yeah...
But I thought we all know that the only JVM we should trust is Sun's JVM and
not those crappy bundled JVMs.

I'll add on the pages explaining how to run and build Studio a big warning
about that.

Thanks,
Pierre-Arnaud

On Sun, Mar 8, 2009 at 11:18 AM, Emmanuel Lecharny <el...@apache.org>wrote:

> Pierre-Arnaud Marcelot wrote:
>
>> Hi Rahul,
>>
>> I think you should try with Sun's JDK.
>> This should fix the two issues.
>>
>>
> Now, I guess you should understand what I meant by adding the big flashing
> red 128 sized font warning about the JVM to use on the web site :)
>
>
> --
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
>
>
>

Re: ApacheDS 1.5 - Build failure

Posted by "rahul.soa" <ra...@googlemail.com>.
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 <se...@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
>

Re: ApacheDS 1.5 - Build failure

Posted by Stefan Seelmann <se...@apache.org>.
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


Re: ApacheDS 1.5 - Build failure

Posted by "rahul.soa" <ra...@googlemail.com>.
Hello Stefan,

Thanks for the explanation. It was informative :-)

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.


Results :

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

[INFO] [antrun:run {execution: integration-core}]
[INFO] Executing tasks
    [mkdir] Created dir:
/home/rahul/Apache/studio/test-integration-core/target/test-sandbox
    [mkdir] Created dir:
/home/rahul/Apache/studio/test-integration-core/target/test-sandbox/workspace
     [copy] Copying 1740 files to
/home/rahul/Apache/studio/test-integration-core/target/test-sandbox
     [copy] Copied 467 empty directories to 9 empty directories under
/home/rahul/Apache/studio/test-integration-core/target/test-sandbox
     [copy] Copying 20 files to
/home/rahul/Apache/studio/test-integration-core/target/test-sandbox
     [copy] Copying 30 files to
/home/rahul/Apache/studio/test-integration-core/target/test-sandbox/plugins
     [copy] Copying 1 file to
/home/rahul/Apache/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: 3 minutes 14 seconds
[INFO] Finished at: Mon Mar 16 22:40:51 CET 2009
[rahul@localhost studio]$

---------------------------------------------------------------------------------------------------------
Received error in test-result.xml under
/studio/test-integration-core/target/test-sandbox/workspace:


  <error
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)
    at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
    at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
    at
org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
    at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
    at
org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
    at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)
    at
org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:32)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
    at org.eclipse.core.launcher.Main.main(Main.java:30)
</error>



Thanks.

Best Regards,
Rahul

On Mon, Mar 16, 2009 at 6:37 PM, Stefan Seelmann <se...@apache.org>wrote:

> Hi Rahul,
>
> rahul.soa wrote:
> >     I added these constants yesterday to the shared-ldap-constants.
> >
> >     However the latest build of shared-ldap-constants in the snapshot
> >     repository [1] is from 2009-03-09. Is there a problem with the
> >     CI-build [2]?
> >
> >
> > How will I do CI-build? I am sorry, Its new for me.
> >
>
> We have some common code in the Shared sub-project [1], it is used by
> the Server and Studio. The current Studio trunk has dependencies to the
> Shared trunk, more precisely to shared version 0.9.14-SNAPSHOT.
>
> Fortunately we can use the Apache CI-Build [2],[4] that watches for
> changes in SVN trunk, builds the projects and deploys them to the
> snapshot repository [3].
>
> When you build the studio trunk with 'mvn clean install' maven checks
> the repositories for updates and downloads them. However there was a
> problem in that CI-Build. Now it's working fine again, please try again
> with svn up && mvn clean install.
>
> Kind Regards,
> Stefan
>
> PS: In my case I made a change in the shared code and built on my
> computer, so the new jar was deployed to my local maven repository and I
> was able use it immediately to build studio. So I didn't notice that the
> CI-Build wasn't working, sorry.
>
> [1] http://svn.apache.org/viewvc/directory/shared/
> [2]
>
> http://vmbuild.apache.org/continuum/projectGroupSummary.action?projectGroupId=139
> [3]
>
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/shared/shared-ldap-constants/0.9.14-SNAPSHOT/
> [4] http://en.wikipedia.org/wiki/Continuous_integration
>

Re: ApacheDS 1.5 - Build failure

Posted by Stefan Seelmann <se...@apache.org>.
Hi Rahul,

rahul.soa wrote:
>     I added these constants yesterday to the shared-ldap-constants.
> 
>     However the latest build of shared-ldap-constants in the snapshot
>     repository [1] is from 2009-03-09. Is there a problem with the
>     CI-build [2]?
> 
>  
> How will I do CI-build? I am sorry, Its new for me.
>  

We have some common code in the Shared sub-project [1], it is used by
the Server and Studio. The current Studio trunk has dependencies to the
Shared trunk, more precisely to shared version 0.9.14-SNAPSHOT.

Fortunately we can use the Apache CI-Build [2],[4] that watches for
changes in SVN trunk, builds the projects and deploys them to the
snapshot repository [3].

When you build the studio trunk with 'mvn clean install' maven checks
the repositories for updates and downloads them. However there was a
problem in that CI-Build. Now it's working fine again, please try again
with svn up && mvn clean install.

Kind Regards,
Stefan

PS: In my case I made a change in the shared code and built on my
computer, so the new jar was deployed to my local maven repository and I
was able use it immediately to build studio. So I didn't notice that the
CI-Build wasn't working, sorry.

[1] http://svn.apache.org/viewvc/directory/shared/
[2]
http://vmbuild.apache.org/continuum/projectGroupSummary.action?projectGroupId=139
[3]
https://repository.apache.org/content/repositories/snapshots/org/apache/directory/shared/shared-ldap-constants/0.9.14-SNAPSHOT/
[4] http://en.wikipedia.org/wiki/Continuous_integration

Re: ApacheDS 1.5 - Build failure

Posted by "rahul.soa" <ra...@googlemail.com>.
Hi Stefan,

On Sun, Mar 15, 2009 at 7:45 PM, Stefan Seelmann <se...@apache.org>wrote:

> Hi Rahul,
>
> > Thanks to you and Emmanuel for the suggestion about not to use root
> > for the safety reasons. I jumped on the new user now.
>
> Great :-)
>
> > Now, the problem is build  (MAVEN_OPTS="-Xmx256m" mvn clean install -e)
> >  is failing due to following reasons (variables not found) on newly
> > checked out code
> > from svn:
> >
> > symbol  : variable HAS_SUBORDINATES_AT
> > location: interface
> org.apache.directory.shared.ldap.constants.SchemaConstants
> > ...
>
> I added these constants yesterday to the shared-ldap-constants.
>
> However the latest build of shared-ldap-constants in the snapshot
> repository [1] is from 2009-03-09. Is there a problem with the CI-build
> [2]?
>

How will I do CI-build? I am sorry, Its new for me.

Regards,
Rahul

>
> Reagards,
> Stefan
>
>
> [1]
>
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/shared/shared-ldap-constants/0.9.14-SNAPSHOT/
>
> [2]
>
> http://vmbuild.apache.org/continuum/projectGroupSummary.action?projectGroupId=139
>

Re: ApacheDS 1.5 - Build failure

Posted by Stefan Seelmann <se...@apache.org>.
Hi Infra-Team,

The last build of the Directory project shared-ldap was on 2009-03-09 [1].

I committed something to the project on 2009-03-14 [2]. In the "working
copy" of the project I could also see the new file. Could you please
check why it wasn't build?

Kind Regards,
Stefan Seelmann

[1] http://vmbuild.apache.org/continuum/projectView.action?projectId=1498

[2] http://svn.apache.org/viewvc?rev=754512&view=rev

Felix Knecht wrote:
> 
>> I added these constants yesterday to the shared-ldap-constants.
>>
>> However the latest build of shared-ldap-constants in the snapshot
>> repository [1] is from 2009-03-09. Is there a problem with the
>> CI-build [2]?
> 
> The build is ok. The question is why it hasn't been built since
> 2009-03-09. But this is a question probably only one from the infra
> group can answer.
> 
> Regards
> Felix
> 
>>
>> Reagards,
>> Stefan
>>
>>
>> [1]
>> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/shared/shared-ldap-constants/0.9.14-SNAPSHOT/
>>
>> [2]
>> http://vmbuild.apache.org/continuum/projectGroupSummary.action?projectGroupId=139
>>
>>
> 


Re: ApacheDS 1.5 - Build failure

Posted by Felix Knecht <fe...@apache.org>.
> I added these constants yesterday to the shared-ldap-constants.
> 
> However the latest build of shared-ldap-constants in the snapshot
> repository [1] is from 2009-03-09. Is there a problem with the CI-build [2]?

The build is ok. The question is why it hasn't been built since 2009-03-09. But this is a question probably only one 
from the infra group can answer.

Regards
Felix

> 
> Reagards,
> Stefan
> 
> 
> [1]
> https://repository.apache.org/content/repositories/snapshots/org/apache/directory/shared/shared-ldap-constants/0.9.14-SNAPSHOT/
> 
> [2]
> http://vmbuild.apache.org/continuum/projectGroupSummary.action?projectGroupId=139
> 


Re: ApacheDS 1.5 - Build failure

Posted by Stefan Seelmann <se...@apache.org>.
Hi Rahul,

> Thanks to you and Emmanuel for the suggestion about not to use root
> for the safety reasons. I jumped on the new user now.

Great :-)

> Now, the problem is build  (MAVEN_OPTS="-Xmx256m" mvn clean install -e)
>  is failing due to following reasons (variables not found) on newly
> checked out code
> from svn:
> 
> symbol  : variable HAS_SUBORDINATES_AT
> location: interface org.apache.directory.shared.ldap.constants.SchemaConstants
> ...

I added these constants yesterday to the shared-ldap-constants.

However the latest build of shared-ldap-constants in the snapshot
repository [1] is from 2009-03-09. Is there a problem with the CI-build [2]?

Reagards,
Stefan


[1]
https://repository.apache.org/content/repositories/snapshots/org/apache/directory/shared/shared-ldap-constants/0.9.14-SNAPSHOT/

[2]
http://vmbuild.apache.org/continuum/projectGroupSummary.action?projectGroupId=139

Re: ApacheDS 1.5 - Build failure

Posted by "rahul.soa" <ra...@googlemail.com>.
Hello Stefan,

Thanks to you and Emmanuel for the suggestion about not to use root
for the safety reasons. I jumped on the new user now.

Now, the problem is build  (MAVEN_OPTS="-Xmx256m" mvn clean install -e)
 is failing due to following reasons (variables not found) on newly
checked out code
from svn:


[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Directory Studio LDAP Browser Core
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] Copying 1 resource
[INFO] Copying 6 resources
[INFO] Copying 3 resources
[INFO] [studio:prepare-jar-package {execution: default}]
[INFO] Copying /home/rahul/.m2/repository/org/apache/poi/poi/3.0.1-FINAL/poi-3.0.1-FINAL.jar
to
               /home/rahul/Apache/studio/ldapbrowser-core/target/classes/lib/poi-3.0.1-FINAL.jar
[INFO] [compiler:compile]
[INFO] Compiling 133 source files to
/home/rahul/Apache/studio/ldapbrowser-core/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[493,31]
cannot find symbol
symbol  : variable HAS_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[495,35]
cannot find symbol
symbol  : variable HAS_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[500,85]
cannot find symbol
symbol  : variable HAS_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[504,31]
cannot find symbol
symbol  : variable NUM_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[506,35]
cannot find symbol
symbol  : variable NUM_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[511,85]
cannot find symbol
symbol  : variable NUM_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[515,31]
cannot find symbol
symbol  : variable SUBORDINATE_COUNT_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[517,35]
cannot find symbol
symbol  : variable SUBORDINATE_COUNT_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[522,85]
cannot find symbol
symbol  : variable SUBORDINATE_COUNT_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[686,44]
cannot find symbol
symbol  : variable HAS_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[692,44]
cannot find symbol
symbol  : variable NUM_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchRunnable.java:[698,44]
cannot find symbol
symbol  : variable SUBORDINATE_COUNT_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[76,66]
cannot find symbol
symbol  : variable GOVERNING_STRUCTURE_RULE_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[77,66]
cannot find symbol
symbol  : variable GOVERNING_STRUCTURE_RULE_AT_OID
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[79,66]
cannot find symbol
symbol  : variable ENTRY_UUID_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[80,66]
cannot find symbol
symbol  : variable ENTRY_UUID_AT_OID
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[81,66]
cannot find symbol
symbol  : variable ENTRY_CSN_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[82,66]
cannot find symbol
symbol  : variable ENTRY_DN_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[83,66]
cannot find symbol
symbol  : variable ENTRY_DN_AT_OID
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[102,66]
cannot find symbol
symbol  : variable HAS_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[103,66]
cannot find symbol
symbol  : variable HAS_SUBORDINATES_AT_OID
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[104,66]
cannot find symbol
symbol  : variable NUM_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[105,66]
cannot find symbol
symbol  : variable SUBORDINATE_COUNT_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[130,66]
cannot find symbol
symbol  : variable GOVERNING_STRUCTURE_RULE_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[131,66]
cannot find symbol
symbol  : variable GOVERNING_STRUCTURE_RULE_AT_OID
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[133,66]
cannot find symbol
symbol  : variable ENTRY_UUID_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[134,66]
cannot find symbol
symbol  : variable ENTRY_UUID_AT_OID
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[135,66]
cannot find symbol
symbol  : variable ENTRY_CSN_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[136,66]
cannot find symbol
symbol  : variable ENTRY_DN_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[137,66]
cannot find symbol
symbol  : variable ENTRY_DN_AT_OID
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[139,66]
cannot find symbol
symbol  : variable HAS_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[140,66]
cannot find symbol
symbol  : variable HAS_SUBORDINATES_AT_OID
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[141,66]
cannot find symbol
symbol  : variable NUM_SUBORDINATES_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants

/home/rahul/Apache/studio/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java:[142,66]
cannot find symbol
symbol  : variable SUBORDINATE_COUNT_AT
location: interface org.apache.directory.shared.ldap.constants.SchemaConstants


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
	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.CompilationFailureException:
Compilation failure
	at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
	at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
	... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 44 seconds
[INFO] Finished at: Sun Mar 15 20:16:59 CET 2009
[INFO] Final Memory: 58M/104M
[INFO] ------------------------------------------------------------------------
[rahul@localhost studio]$



Thanks again.

Best Regards,
Rahul

On 3/15/09, Stefan Seelmann <se...@apache.org> wrote:
> Hi Rahul,
>
> I changed the way how integration test are started. I also updated [1],
> please svn up and follow the instructions there.
>
> HTH,
> Stefan
>
> PS: You should not work as root.
>
> [1] http://directory.apache.org/studio/building.html
>
> Stefan Seelmann schrieb:
>> Hi Rahul,
>>
>> I get the same error, looking...
>>
>> Kind Regards,
>> Stefan
>>
>>
>> rahul.soa schrieb:
>>> Hello Emmanuel,Dev,
>>>
>>> I have setup the workspace to work on Apache Directory Studio. I have
>>> also tested the studio plugin in the runtime environment and It works
>>> well.
>>>
>>> But still I have errors in the *integration test run* (i.e  mvn
>>> -Pintegration-core,integration-ui test), I dont really know why this
>>> error (Java returned: 13) is occuring.
>>> is it because of Maven or eclipse? I have no idea on this. Help needed.
>>>
>
>
>

Re: ApacheDS 1.5 - Build failure

Posted by Stefan Seelmann <se...@apache.org>.
Hi Rahul,

I changed the way how integration test are started. I also updated [1],
please svn up and follow the instructions there.

HTH,
Stefan

PS: You should not work as root.

[1] http://directory.apache.org/studio/building.html

Stefan Seelmann schrieb:
> Hi Rahul,
> 
> I get the same error, looking...
> 
> Kind Regards,
> Stefan
> 
> 
> rahul.soa schrieb:
>> Hello Emmanuel,Dev,
>>
>> I have setup the workspace to work on Apache Directory Studio. I have
>> also tested the studio plugin in the runtime environment and It works well.
>>
>> But still I have errors in the *integration test run* (i.e  mvn
>> -Pintegration-core,integration-ui test), I dont really know why this
>> error (Java returned: 13) is occuring.
>> is it because of Maven or eclipse? I have no idea on this. Help needed.
>>



Re: ApacheDS 1.5 - Build failure

Posted by Stefan Seelmann <se...@apache.org>.
Hi Rahul,

I get the same error, looking...

Kind Regards,
Stefan


rahul.soa schrieb:
> Hello Emmanuel,Dev,
> 
> I have setup the workspace to work on Apache Directory Studio. I have
> also tested the studio plugin in the runtime environment and It works well.
> 
> But still I have errors in the *integration test run* (i.e  mvn
> -Pintegration-core,integration-ui test), I dont really know why this
> error (Java returned: 13) is occuring.
> is it because of Maven or eclipse? I have no idea on this. Help needed.
> 
> below is the error:
> 
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> There are no tests to run.
> 
> Results :
> 
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO] [antrun:run {execution: integration-core}]
> [INFO] Executing tasks
>    [delete] Deleting directory
> /root/studio/test-integration-core/target/test-sandbox
>     [mkdir] Created dir:
> /root/studio/test-integration-core/target/test-sandbox
>     [mkdir] Created dir:
> /root/studio/test-integration-core/target/test-sandbox/workspace
>      [copy] Copying 732 files to
> /root/studio/test-integration-core/target/test-sandbox
>      [copy] Copying 30 files to
> /root/studio/test-integration-core/target/test-sandbox/plugins
>      [copy] Copying 1 file to
> /root/studio/test-integration-core/target/test-sandbox/plugins
>      [copy] Copying 379 files to
> /root/studio/test-integration-core/target/test-sandbox/plugins
>      [copy] Copied 51 empty directories to 2 empty directories under
> /root/studio/test-integration-core/target/test-sandbox/plugins
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: Java returned: 13
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: An Ant
> BuildException has occured: Java returned: 13
>     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: 13
>     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: 13
>     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: 2 minutes 48 seconds
> [INFO] Finished at: Sun Mar 15 01:17:05 CET 2009
> [INFO] Final Memory: 54M/63M
> [INFO]
> ------------------------------------------------------------------------
> 
> Regards,
> Rahul
> 
> On Frid, Mar 13, 2009 at 11:57 AM, rahul.soa <rahul.soa@googlemail.com
> <ma...@googlemail.com>> wrote:
> 
> 
> 
>     On Thu, Mar 12, 2009 at 1:37 AM, Emmanuel Lecharny
>     <elecharny@apache.org <ma...@apache.org>> wrote:
> 
>         rahul.soa wrote:
> 
>             Hello Stefan,
> 
>             Thanks for your email.
>              
> 
>         Q1 : Does ApacheDirectoryStudio launch well when you download a
>         compiled version ?
> 
>     the same problem was there, screen stuck.
> 
> 
>         Q2 : What about running ./ApacheDirectoryStudio -vm <a path to a
>         JVM/bin>
> 
>         same problem was there with other JVMs too.
> 
> 
>     But I updated my fedora with yum and I am able to launch the Apache
>     Studio with all the JVMs I have. :)
> 
>     Many Thanks to everyone for your help!
> 
>     However, I am not able to run the integration tests successfully...
>     and getting the following error with the *-e  *option.
> 
> 
>     [INFO]
>     ------------------------------------------------------------------------
>     [ERROR] BUILD ERROR
>     [INFO]
>     ------------------------------------------------------------------------
>     [INFO] An Ant BuildException has occured: Java returned: 13
> 
>     [INFO]
>     ------------------------------------------------------------------------
>     [INFO] Trace
>     org.apache.maven.lifecycle.LifecycleExecutionException: An Ant
>     BuildException has occured: Java returned: 13
>         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: 13
>         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: 13
>         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: 3 minutes 25 seconds
>     [INFO] Finished at: Fri Mar 13 12:33:25 CET 2009
>     [INFO] Final Memory: 54M/63M
>     [INFO]
>     ------------------------------------------------------------------------
> 
> 
> 
>     Can you please help me in this?
>     Best Regards,
>     Rahul
> 
> 
>         -- 
>         --
>         cordialement, regards,
>         Emmanuel Lécharny
>         www.iktek.com <http://www.iktek.com>
>         directory.apache.org <http://directory.apache.org>
> 
> 
> 
> 


Re: ApacheDS 1.5 - Build failure

Posted by "rahul.soa" <ra...@googlemail.com>.
Hello Emmanuel,Dev,

I have setup the workspace to work on Apache Directory Studio. I have also
tested the studio plugin in the runtime environment and It works well.

But still I have errors in the *integration test run* (i.e  mvn
-Pintegration-core,integration-ui test), I dont really know why this error
(Java returned: 13) is occuring.
is it because of Maven or eclipse? I have no idea on this. Help needed.

below is the error:


-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

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

[INFO] [antrun:run {execution: integration-core}]
[INFO] Executing tasks
   [delete] Deleting directory
/root/studio/test-integration-core/target/test-sandbox
    [mkdir] Created dir:
/root/studio/test-integration-core/target/test-sandbox
    [mkdir] Created dir:
/root/studio/test-integration-core/target/test-sandbox/workspace
     [copy] Copying 732 files to
/root/studio/test-integration-core/target/test-sandbox
     [copy] Copying 30 files to
/root/studio/test-integration-core/target/test-sandbox/plugins
     [copy] Copying 1 file to
/root/studio/test-integration-core/target/test-sandbox/plugins
     [copy] Copying 379 files to
/root/studio/test-integration-core/target/test-sandbox/plugins
     [copy] Copied 51 empty directories to 2 empty directories under
/root/studio/test-integration-core/target/test-sandbox/plugins
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: Java returned: 13

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An Ant
BuildException has occured: Java returned: 13
    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: 13
    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: 13
    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: 2 minutes 48 seconds
[INFO] Finished at: Sun Mar 15 01:17:05 CET 2009
[INFO] Final Memory: 54M/63M
[INFO]
------------------------------------------------------------------------

Regards,
Rahul

On Frid, Mar 13, 2009 at 11:57 AM, rahul.soa <ra...@googlemail.com>wrote:

>
>
> On Thu, Mar 12, 2009 at 1:37 AM, Emmanuel Lecharny <el...@apache.org>wrote:
>
>> rahul.soa wrote:
>>
>>> Hello Stefan,
>>>
>>> Thanks for your email.
>>>
>>>
>> Q1 : Does ApacheDirectoryStudio launch well when you download a compiled
>> version ?
>
> the same problem was there, screen stuck.
>
>>
>> Q2 : What about running ./ApacheDirectoryStudio -vm <a path to a JVM/bin>
>>
>> same problem was there with other JVMs too.
>>
>
> But I updated my fedora with yum and I am able to launch the Apache Studio
> with all the JVMs I have. :)
>
> Many Thanks to everyone for your help!
>
> However, I am not able to run the integration tests successfully... and
> getting the following error with the *-e  *option.
>
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: Java returned: 13
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: An Ant
> BuildException has occured: Java returned: 13
>     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: 13
>     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: 13
>     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: 3 minutes 25 seconds
> [INFO] Finished at: Fri Mar 13 12:33:25 CET 2009
> [INFO] Final Memory: 54M/63M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Can you please help me in this?
> Best Regards,
> Rahul
>
>>
>> --
>> --
>> cordialement, regards,
>> Emmanuel Lécharny
>> www.iktek.com
>> directory.apache.org
>>
>>
>>
>

Re: ApacheDS 1.5 - Build failure

Posted by "rahul.soa" <ra...@googlemail.com>.
On Thu, Mar 12, 2009 at 1:37 AM, Emmanuel Lecharny <el...@apache.org>wrote:

> rahul.soa wrote:
>
>> Hello Stefan,
>>
>> Thanks for your email.
>>
>>
> Q1 : Does ApacheDirectoryStudio launch well when you download a compiled
> version ?

the same problem was there, screen stuck.

>
> Q2 : What about running ./ApacheDirectoryStudio -vm <a path to a JVM/bin>
>
> same problem was there with other JVMs too.
>

But I updated my fedora with yum and I am able to launch the Apache Studio
with all the JVMs I have. :)

Many Thanks to everyone for your help!

However, I am not able to run the integration tests successfully... and
getting the following error with the *-e *option.

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: Java returned: 13

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An Ant
BuildException has occured: Java returned: 13
    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: 13
    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: 13
    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: 3 minutes 25 seconds
[INFO] Finished at: Fri Mar 13 12:33:25 CET 2009
[INFO] Final Memory: 54M/63M
[INFO]
------------------------------------------------------------------------


Can you please help me in this?
Best Regards,
Rahul

>
> --
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
>
>
>

Re: ApacheDS 1.5 - Build failure

Posted by Emmanuel Lecharny <el...@apache.org>.
rahul.soa wrote:
> Hello Stefan,
>
> Thanks for your email.
>   
Q1 : Does ApacheDirectoryStudio launch well when you download a compiled 
version ?
Q2 : What about running ./ApacheDirectoryStudio -vm <a path to a JVM/bin>

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: ApacheDS 1.5 - Build failure

Posted by "rahul.soa" <ra...@googlemail.com>.
Hello Stefan,

Thanks for your email.

On Tue, Mar 10, 2009 at 11:21 PM, Stefan Seelmann <se...@apache.org>wrote:

> Hi Rahul,
>
> rahul.soa wrote:
> > Hello everyone,
> >
> > I have tried to launch apache directory studio with many jvms (sun,
> > oracle, harmony, openJDK, IBM) but I am not able to launch it. I have
> > the similar error in the .log file (under
> > /.ApacheDirectoryStudio/.metadata).
> >
> > *Action: *I am checking the truck out from
> >
> > svn co http://svn.apache.org/repos/asf/directory/studio/trunk studio
> >
> > and building it with *MAVEN_OPTS="-Xmx256m" mvn clean install*
> > but when I try to launch the studio it does not launch it screen gets
> stuck.
> >
> > Can you please guide, I am missing something or doing something wrong?
>
> I really don't know what's wrong. I installed a new VMware image with
> Fedora 10, installed OpenJDK/IcedTea 6, checked out the trunk, built it
> with mvn clean install and studio started up without any problem. Then I
> installed Sun JDK 1.6.0_12, also no problem.
>
> Some more things to check:
>
> Do you have a 32bit or 64bit system?
>
32bit

>
> Please start from command line and check which processes are started. It
> must be two: the 'ApacheDirectoryStudio' executable and a java process.
>

ApacheDirectoryStudio is still there in the process list but Java process
interrupts abruptly and then studio dialogue box flushes out.

>
> Are you able to create a thread dump from the java process?
>


> No, I am not able to create thread dumps from java process. I use the
> command.. kill -3 java_process_id
>


>
> Please try to delete your ~/.ApacheDirectoryStudio folder and start with
> a fresh workspace.


I also tried it :(  not sure whats going wrong at my end :..(

>
>
> Thanks for your patience,
> Stefan
>
> Best Regards,
Rahul

Re: ApacheDS 1.5 - Build failure

Posted by Stefan Seelmann <se...@apache.org>.
Hi Rahul,

rahul.soa wrote:
> Hello everyone,
> 
> I have tried to launch apache directory studio with many jvms (sun,
> oracle, harmony, openJDK, IBM) but I am not able to launch it. I have
> the similar error in the .log file (under
> /.ApacheDirectoryStudio/.metadata).
> 
> *Action: *I am checking the truck out from
> 
> svn co http://svn.apache.org/repos/asf/directory/studio/trunk studio
> 
> and building it with *MAVEN_OPTS="-Xmx256m" mvn clean install*
> but when I try to launch the studio it does not launch it screen gets stuck.
> 
> Can you please guide, I am missing something or doing something wrong?

I really don't know what's wrong. I installed a new VMware image with
Fedora 10, installed OpenJDK/IcedTea 6, checked out the trunk, built it
with mvn clean install and studio started up without any problem. Then I
installed Sun JDK 1.6.0_12, also no problem.

Some more things to check:

Do you have a 32bit or 64bit system?

Please start from command line and check which processes are started. It
must be two: the 'ApacheDirectoryStudio' executable and a java process.

Are you able to create a thread dump from the java process?

Please try to delete your ~/.ApacheDirectoryStudio folder and start with
a fresh workspace.

Thanks for your patience,
Stefan


Re: ApacheDS 1.5 - Build failure

Posted by "rahul.soa" <ra...@googlemail.com>.
Hello everyone,

I have tried to launch apache directory studio with many jvms (sun, oracle,
harmony, openJDK, IBM) but I am not able to launch it. I have the similar
error in the .log file (under /.ApacheDirectoryStudio/.metadata).

*Action: *I am checking the truck out from

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

and building it with *MAVEN_OPTS="-Xmx256m" mvn clean install*
but when I try to launch the studio it does not launch it screen gets stuck.

Can you please guide, I am missing something or doing something wrong?

Thanks.

Best Regards,
Rahul

On Sun, Mar 8, 2009 at 2:53 PM, rahul.soa <ra...@googlemail.com> wrote:

> Hi Emmanuel,
>
> I also tried with SUN java 1.6 too and getting the same error.
>
> [root@localhost ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT]# java
> -version
> java version "1.6.0_12"
> Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
> Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode)
> [root@localhost ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT]#
> ./ApacheDirectoryStudio
> 0    [main] INFO  org.apache.directory.studio.Application  - Entering
> Apache Directory Studio.
> 13574 [main] INFO  org.apache.directory.studio.Application  - Exiting
> Apache Directory Studio.
> ^C[root@localhost ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT]#
>
> Regards,
> rahul
>
>
> On Sun, Mar 8, 2009 at 12:52 PM, Emmanuel Lecharny <el...@apache.org>wrote:
>
>> Stefan Seelmann wrote:
>>
>>> Emmanuel Lecharny wrote:
>>>
>>>
>>>> In my case, even a ^C does not allow me to quit.
>>>>
>>>>
>>>>
>>>
>>> Is there any message in ~/.ApacheDirectoryStudio/.metadata/.log ?
>>>
>>>
>> No.
>>
>>> Could you please create a thread dump using kill -3 ?
>>>
>>>
>> I can't : it does nothing.
>>
>>> Could you try with other JVMs?
>>> e.g. ./ApacheDirectoryStudio -vm /opt/apache-harmony-jdk-5.0-M6/bin/java
>>>
>>>
>> Tested with sun 1.5.0_15 : same blockage
>> Tested with sun 1.6.0_10 : same blockage
>> Tested with sun 1.7.0 : same blockage
>> Tested with jrockit-R27.4.0-jdk1.5.0_12 : works fine
>> Tested with jrockit-R27.4.0-jdk1.6.0_02 : works fine
>> Tested with ibm_java2_i386-50 : works fine
>> Tested with ibm_java_i386-60 : works fine
>> Tested with Gij-4.3 : slow like death...  Exit correctly. Got some errors
>> :
>> elecharny@elecharny-laptop:~/ApacheDirectoryStudio-linux-x86-1.3.0.v20081020$
>> ./ApacheDirectoryStudio -vm /usr/bin/gij-4.3
>> 0    [main] INFO  org.apache.directory.studio.Application  - Entering
>> Apache Directory Studio.
>> exception thrown: java.lang.ClassNotFoundException:
>> org.apache.directory.studio.ldapbrowser.core.model.schema.AttributeValueEditorRelation
>> not found in
>> gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/elecharny/ApacheDirectoryStudio-linux-x86-1.3.0.v20081020/plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar],
>> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} -
>> message:
>> org.apache.directory.studio.ldapbrowser.core.model.schema.AttributeValueEditorRelation
>> not found in
>> gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/elecharny/ApacheDirectoryStudio-linux-x86-1.3.0.v20081020/plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar],
>> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
>> exception thrown: java.lang.reflect.InvocationTargetException - message:
>> null
>> 746643 [main] INFO  org.apache.directory.studio.Application  - Exiting
>> Apache Directory Studio.
>>
>>
>> So it seems to be a SUN JVM related problem...
>>
>>
>>
>> --
>> --
>> cordialement, regards,
>> Emmanuel Lécharny
>> www.iktek.com
>> directory.apache.org
>>
>>
>>
>

Re: ApacheDS 1.5 - Build failure

Posted by "rahul.soa" <ra...@googlemail.com>.
Hi Emmanuel,

I also tried with SUN java 1.6 too and getting the same error.

[root@localhost ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT]# java
-version
java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode)
[root@localhost ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT]#
./ApacheDirectoryStudio
0    [main] INFO  org.apache.directory.studio.Application  - Entering Apache
Directory Studio.
13574 [main] INFO  org.apache.directory.studio.Application  - Exiting Apache
Directory Studio.
^C[root@localhost ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT]#

Regards,
rahul

On Sun, Mar 8, 2009 at 12:52 PM, Emmanuel Lecharny <el...@apache.org>wrote:

> Stefan Seelmann wrote:
>
>> Emmanuel Lecharny wrote:
>>
>>
>>> In my case, even a ^C does not allow me to quit.
>>>
>>>
>>>
>>
>> Is there any message in ~/.ApacheDirectoryStudio/.metadata/.log ?
>>
>>
> No.
>
>> Could you please create a thread dump using kill -3 ?
>>
>>
> I can't : it does nothing.
>
>> Could you try with other JVMs?
>> e.g. ./ApacheDirectoryStudio -vm /opt/apache-harmony-jdk-5.0-M6/bin/java
>>
>>
> Tested with sun 1.5.0_15 : same blockage
> Tested with sun 1.6.0_10 : same blockage
> Tested with sun 1.7.0 : same blockage
> Tested with jrockit-R27.4.0-jdk1.5.0_12 : works fine
> Tested with jrockit-R27.4.0-jdk1.6.0_02 : works fine
> Tested with ibm_java2_i386-50 : works fine
> Tested with ibm_java_i386-60 : works fine
> Tested with Gij-4.3 : slow like death...  Exit correctly. Got some errors :
> elecharny@elecharny-laptop:~/ApacheDirectoryStudio-linux-x86-1.3.0.v20081020$
> ./ApacheDirectoryStudio -vm /usr/bin/gij-4.3
> 0    [main] INFO  org.apache.directory.studio.Application  - Entering
> Apache Directory Studio.
> exception thrown: java.lang.ClassNotFoundException:
> org.apache.directory.studio.ldapbrowser.core.model.schema.AttributeValueEditorRelation
> not found in
> gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/elecharny/ApacheDirectoryStudio-linux-x86-1.3.0.v20081020/plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar],
> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} -
> message:
> org.apache.directory.studio.ldapbrowser.core.model.schema.AttributeValueEditorRelation
> not found in
> gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/elecharny/ApacheDirectoryStudio-linux-x86-1.3.0.v20081020/plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar],
> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
> exception thrown: java.lang.reflect.InvocationTargetException - message:
> null
> 746643 [main] INFO  org.apache.directory.studio.Application  - Exiting
> Apache Directory Studio.
>
>
> So it seems to be a SUN JVM related problem...
>
>
>
> --
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
>
>
>

Re: ApacheDS 1.5 - Build failure

Posted by Emmanuel Lecharny <el...@apache.org>.
Stefan Seelmann wrote:
> Emmanuel Lecharny wrote:
>   
>> In my case, even a ^C does not allow me to quit.
>>
>>     
>
> Is there any message in ~/.ApacheDirectoryStudio/.metadata/.log ?
>   
No.
> Could you please create a thread dump using kill -3 ?
>   
I can't : it does nothing.
> Could you try with other JVMs?
> e.g. ./ApacheDirectoryStudio -vm /opt/apache-harmony-jdk-5.0-M6/bin/java
>   
Tested with sun 1.5.0_15 : same blockage
Tested with sun 1.6.0_10 : same blockage
Tested with sun 1.7.0 : same blockage
Tested with jrockit-R27.4.0-jdk1.5.0_12 : works fine
Tested with jrockit-R27.4.0-jdk1.6.0_02 : works fine
Tested with ibm_java2_i386-50 : works fine
Tested with ibm_java_i386-60 : works fine
Tested with Gij-4.3 : slow like death...  Exit correctly. Got some errors :
elecharny@elecharny-laptop:~/ApacheDirectoryStudio-linux-x86-1.3.0.v20081020$ 
./ApacheDirectoryStudio -vm /usr/bin/gij-4.3
0    [main] INFO  org.apache.directory.studio.Application  - Entering 
Apache Directory Studio.
exception thrown: java.lang.ClassNotFoundException: 
org.apache.directory.studio.ldapbrowser.core.model.schema.AttributeValueEditorRelation 
not found in 
gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/elecharny/ApacheDirectoryStudio-linux-x86-1.3.0.v20081020/plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar], 
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} - 
message: 
org.apache.directory.studio.ldapbrowser.core.model.schema.AttributeValueEditorRelation 
not found in 
gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/elecharny/ApacheDirectoryStudio-linux-x86-1.3.0.v20081020/plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar], 
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
exception thrown: java.lang.reflect.InvocationTargetException - message: 
null
746643 [main] INFO  org.apache.directory.studio.Application  - Exiting 
Apache Directory Studio.


So it seems to be a SUN JVM related problem...


-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: ApacheDS 1.5 - Build failure

Posted by "rahul.soa" <ra...@googlemail.com>.
oops

here it is.


On Sun, Mar 8, 2009 at 12:46 PM, rahul.soa <ra...@googlemail.com> wrote:

> Hello Stefan,Emmanuel,Pierre-Arnaud ,
>
> I am attaching the log file with this email.
>
> Best Regards,
> Rahul
>
> On Sun, Mar 8, 2009 at 12:24 PM, Stefan Seelmann <se...@apache.org>wrote:
>
>> Emmanuel Lecharny wrote:
>> >
>> > In my case, even a ^C does not allow me to quit.
>> >
>>
>> Is there any message in ~/.ApacheDirectoryStudio/.metadata/.log ?
>>
>> Could you please create a thread dump using kill -3 ?
>>
>> Could you try with other JVMs?
>> e.g. ./ApacheDirectoryStudio -vm /opt/apache-harmony-jdk-5.0-M6/bin/java
>>
>>
>

Re: ApacheDS 1.5 - Build failure

Posted by "rahul.soa" <ra...@googlemail.com>.
Hello Stefan,Emmanuel,Pierre-Arnaud ,

I am attaching the log file with this email.

Best Regards,
Rahul
On Sun, Mar 8, 2009 at 12:24 PM, Stefan Seelmann <se...@apache.org>wrote:

> Emmanuel Lecharny wrote:
> >
> > In my case, even a ^C does not allow me to quit.
> >
>
> Is there any message in ~/.ApacheDirectoryStudio/.metadata/.log ?
>
> Could you please create a thread dump using kill -3 ?
>
> Could you try with other JVMs?
> e.g. ./ApacheDirectoryStudio -vm /opt/apache-harmony-jdk-5.0-M6/bin/java
>
>

Re: ApacheDS 1.5 - Build failure

Posted by Stefan Seelmann <se...@apache.org>.
Emmanuel Lecharny wrote:
> 
> In my case, even a ^C does not allow me to quit.
> 

Is there any message in ~/.ApacheDirectoryStudio/.metadata/.log ?

Could you please create a thread dump using kill -3 ?

Could you try with other JVMs?
e.g. ./ApacheDirectoryStudio -vm /opt/apache-harmony-jdk-5.0-M6/bin/java


Re: ApacheDS 1.5 - Build failure

Posted by Emmanuel Lecharny <el...@apache.org>.
rahul.soa wrote:
> Hello Emmanuel/Stefan,
>
> I run the studio from the command prompt and error is the same as you
> (Emmanuel) are getting. Screen stuck and need to kill the process.
>
> [root@localhost ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT]# pwd
> /root/studio/target/distributions/ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT
> [root@localhost ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT]#
> ./ApacheDirectoryStudio
> 1    [main] INFO  org.apache.directory.studio.Application  - Entering Apache
> Directory Studio.
> 6450 [main] INFO  org.apache.directory.studio.Application  - Exiting Apache
> Directory Studio.
> ^C[root@localhost ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT]#
>   

In my case, even a ^C does not allow me to quit.

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: ApacheDS 1.5 - Build failure

Posted by "rahul.soa" <ra...@googlemail.com>.
Hello Emmanuel/Stefan,

I run the studio from the command prompt and error is the same as you
(Emmanuel) are getting. Screen stuck and need to kill the process.

[root@localhost ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT]# pwd
/root/studio/target/distributions/ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT
[root@localhost ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT]#
./ApacheDirectoryStudio
1    [main] INFO  org.apache.directory.studio.Application  - Entering Apache
Directory Studio.
6450 [main] INFO  org.apache.directory.studio.Application  - Exiting Apache
Directory Studio.
^C[root@localhost ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT]#

Best Regars,
Rahul

On Sun, Mar 8, 2009 at 12:01 PM, Emmanuel Lecharny <el...@apache.org>wrote:

> Stefan Seelmann wrote:
>
>> Sure, GCJ doesn't work.
>>
>> But I have no problem to start it with
>> - Sun 5 or 6
>> - OpenJDK 6 (bundled with Ubuntu 8.10)
>> - IBM J9 1.6.0
>> - Harmony 5 M6
>>
>> Regards,
>> Stefan
>>
>>
>
> I don't know if you have the same problem than I have, but when I try to
> quit Studio launched from a console, it gets stuck (the console is not
> available anymore, even if I don't see Studio anymore).
>
> elecharny@elecharny-laptop:~/ApacheDirectoryStudio-linux-x86-1.3.0.v20081020$
> ./ApacheDirectoryStudio
> 0    [main] INFO  org.apache.directory.studio.Application  - Entering
> Apache Directory Studio.
> 18222 [main] INFO  org.apache.directory.studio.Application  - Exiting
> Apache Directory Studio.
>
> I have to kill -9 the process to get rid of it...
>
> (Ubuntu 8.10, Sun 1.6.0_10)
>
>
>
>
>>
>>
>>
>
>
> --
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
>
>
>

Re: ApacheDS 1.5 - Build failure

Posted by Emmanuel Lecharny <el...@apache.org>.
Stefan Seelmann wrote:
> Sure, GCJ doesn't work.
>
> But I have no problem to start it with
> - Sun 5 or 6
> - OpenJDK 6 (bundled with Ubuntu 8.10)
> - IBM J9 1.6.0
> - Harmony 5 M6
>
> Regards,
> Stefan
>   

I don't know if you have the same problem than I have, but when I try to 
quit Studio launched from a console, it gets stuck (the console is not 
available anymore, even if I don't see Studio anymore).

elecharny@elecharny-laptop:~/ApacheDirectoryStudio-linux-x86-1.3.0.v20081020$ 
./ApacheDirectoryStudio
0    [main] INFO  org.apache.directory.studio.Application  - Entering 
Apache Directory Studio.
18222 [main] INFO  org.apache.directory.studio.Application  - Exiting 
Apache Directory Studio.

I have to kill -9 the process to get rid of it...

(Ubuntu 8.10, Sun 1.6.0_10)


>
>
>   


-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: ApacheDS 1.5 - Build failure

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Hi Stefan,
Thanks.

So, it should work for Rahul, as he's using OpenJDK 6.

That's odd...

Pierre-Arnaud

On Sun, Mar 8, 2009 at 11:33 AM, Stefan Seelmann <se...@apache.org>wrote:

> Sure, GCJ doesn't work.
>
> But I have no problem to start it with
> - Sun 5 or 6
> - OpenJDK 6 (bundled with Ubuntu 8.10)
> - IBM J9 1.6.0
> - Harmony 5 M6
>
> Regards,
> Stefan
>
>
>

Re: ApacheDS 1.5 - Build failure

Posted by Emmanuel Lecharny <el...@apache.org>.
Stefan Seelmann wrote:
> Sure, GCJ doesn't work.
>
> But I have no problem to start it with
> - Sun 5 or 6
> - OpenJDK 6 (bundled with Ubuntu 8.10)
> - IBM J9 1.6.0
> - Harmony 5 M6
>   
You can add oracle JRockit.
> Regards,
> Stefan
>
>
>
>   


-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: ApacheDS 1.5 - Build failure

Posted by Stefan Seelmann <se...@apache.org>.
Sure, GCJ doesn't work.

But I have no problem to start it with
- Sun 5 or 6
- OpenJDK 6 (bundled with Ubuntu 8.10)
- IBM J9 1.6.0
- Harmony 5 M6

Regards,
Stefan



Re: ApacheDS 1.5 - Build failure

Posted by Emmanuel Lecharny <el...@apache.org>.
Pierre-Arnaud Marcelot wrote:
> Hi Rahul,
>
> I think you should try with Sun's JDK.
> This should fix the two issues.
>   
Now, I guess you should understand what I meant by adding the big 
flashing red 128 sized font warning about the JVM to use on the web site :)

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: ApacheDS 1.5 - Build failure

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Hi Rahul,

I think you should try with Sun's JDK.
This should fix the two issues.

Hope this helps,
Pierre-Arnaud

On Sun, Mar 8, 2009 at 10:34 AM, rahul.soa <ra...@googlemail.com> wrote:

> Hello Emmanuel,
>
> On Sun, Mar 8, 2009 at 1:51 AM, Emmanuel Lecharny <el...@apache.org>wrote:
>
>>
>>       jvm: java version "1.6.0"
>>>
>>>
>> What does java -version return ?
>>
>> [root@localhost ~]# java -version
>> java version "1.6.0"
>> OpenJDK  Runtime Environment (build 1.6.0-b09)
>> OpenJDK Client VM (build 1.6.0-b09, mixed mode)
>> [root@localhost ~]#
>>
>
> Regards,
> Rahul
>
>>
>>
>> --
>> --
>> cordialement, regards,
>> Emmanuel Lécharny
>> www.iktek.com
>> directory.apache.org
>>
>>
>>
>

Re: ApacheDS 1.5 - Build failure

Posted by "rahul.soa" <ra...@googlemail.com>.
Hello Emmanuel,

On Sun, Mar 8, 2009 at 1:51 AM, Emmanuel Lecharny <el...@apache.org>wrote:

>
>       jvm: java version "1.6.0"
>>
>>
> What does java -version return ?
>
> [root@localhost ~]# java -version
> java version "1.6.0"
> OpenJDK  Runtime Environment (build 1.6.0-b09)
> OpenJDK Client VM (build 1.6.0-b09, mixed mode)
> [root@localhost ~]#
>

Regards,
Rahul

>
>
> --
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
>
>
>

Re: ApacheDS 1.5 - Build failure

Posted by Emmanuel Lecharny <el...@apache.org>.
>       jvm: java version "1.6.0"
>   
What does java -version return ?

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: ApacheDS 1.5 - Build failure

Posted by Stefan Seelmann <se...@apache.org>.
Hi Rahul,

don't spent time on the second problem before the first is fixed.

For the first issue, please try to start Studio from command line and
check if you get an error message.

Otherwise please check the logfile located in
~/.ApacheDirectoryStudio/.metadata/.log

Kind Regards,
Stefan


rahul.soa schrieb:
> Hello Pierre-Arnaud,
> 
> 
> 
> On Sat, Mar 7, 2009 at 2:26 PM, Pierre-Arnaud Marcelot <pa@marcelot.net
> <ma...@marcelot.net>> wrote:
> 
>     Hi Rahul,
> 
>     On Sat, Mar 7, 2009 at 2:01 PM, rahul.soa <rahul.soa@googlemail.com
>     <ma...@googlemail.com>> wrote:
> 
>         Hello Pierre-Arnaud/Felix,
> 
>         Thanks for the quick fix.I have 2 more issues with Studio.
> 
>         *1.
>         *
>         The web link [1] says /
> 
>         "Apache Directory Studio application generated in the directory
>         */target/distributions/*. To run the application, double-click
>         on it."
>         /
>         when I double click on the Apache Studio icon (under
>         /root/studio/*/target/distributions/*/ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT/ApacheDirectoryStudio.)
>         then it seems its gonna to start soon (opening a dialogue box
>         like eclipse with apache studio logo, saying that workbench is
>         loading) but abruptly it goes away and a small dialogue occurs
>         with the title "ApacheDirectoryStudio" nothing inside. In
>         essence, I am not able to launch it. Is there something wrong I
>         am doing?
> 
> 
>     That's odd...
>     What's your configuration (machine, os, jvm version)?
>      
> 
>       Machine: Intel Pentium M Processor 1.50 GHz
>       OS: Fedora Release 9(sulphur)
>       Arch: Kernel linux 2.6.25.3-18.fc9.*i686*
>       jvm: java version "1.6.0"
> 
> Infact I can see the Apache Directory Studio process in the running
> process list, but there is a small empty dialogue box appears on my
> screen which does not go after clicking on the close (X)  button on the
> right-top-corner of the dialogue box. So always need to end the process.
> 
>         *2.*
>         I am trying to run integration test from [1] and getting the
>         following error.
>         which plugins are not found?
> 
> 
>     I think you have not completely follow the instructions on the page.
>     Did you create the "eclipse-home" profile as described on the
>     website in the "Run Integration Tests" section ?
> 
>  
> 
>     Yes, I was putting settings.xml under/root/.m2/repository instead of
>     /root/.m2.
>     Now that problem is fixed but getting the following error. I
>     executed the tests with *-e *option in order to catch the logs.
> 
> 
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> There are no tests to run.
> 
> Results :
> 
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> 
> [INFO] [antrun:run {execution: integration-core}]
> [INFO] Executing tasks
>    [delete] Deleting directory
> /root/studio/test-integration-core/target/test-sandbox
>     [mkdir] Created dir:
> /root/studio/test-integration-core/target/test-sandbox
>     [mkdir] Created dir:
> /root/studio/test-integration-core/target/test-sandbox/workspace
>      [copy] Copying 722 files to
> /root/studio/test-integration-core/target/test-sandbox
>      [copy] Copying 30 files to
> /root/studio/test-integration-core/target/test-sandbox/plugins
>      [copy] Copying 1 file to
> /root/studio/test-integration-core/target/test-sandbox/plugins
>      [copy] Copying 379 files to
> /root/studio/test-integration-core/target/test-sandbox/plugins
>      [copy] Copied 51 empty directories to 2 empty directories under
> /root/studio/test-integration-core/target/test-sandbox/plugins
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: Java returned: 13
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: An Ant
> BuildException has occured: Java returned: 13
>     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: 13
>     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: 13
>     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: 2 minutes 38 seconds
> [INFO] Finished at: Sun Mar 08 01:18:35 CET 2009
> [INFO] Final Memory: 53M/63M
> [INFO]
> ------------------------------------------------------------------------
> [root@localhost studio]#
>  
> 
> Can you please suggest on both the issues? Thanks in advance.
> 
> Regards,
> Rahul
> 
> 
>     Regards,
>     Pierre-Arnaud
> 
> 


Re: ApacheDS 1.5 - Build failure

Posted by "rahul.soa" <ra...@googlemail.com>.
Hello Pierre-Arnaud,



On Sat, Mar 7, 2009 at 2:26 PM, Pierre-Arnaud Marcelot <pa...@marcelot.net>wrote:

> Hi Rahul,
>
> On Sat, Mar 7, 2009 at 2:01 PM, rahul.soa <ra...@googlemail.com>wrote:
>
>> Hello Pierre-Arnaud/Felix,
>>
>> Thanks for the quick fix.I have 2 more issues with Studio.
>>
>> *1.
>> *
>> The web link [1] says *
>>
>> "Apache Directory Studio application generated in the directory
>> target/distributions. To run the application, double-click on it."
>> *
>> when I double click on the Apache Studio icon (under /root/studio/*
>> target/distributions*/ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT/ApacheDirectoryStudio.)
>> then it seems its gonna to start soon (opening a dialogue box like eclipse
>> with apache studio logo, saying that workbench is loading) but abruptly it
>> goes away and a small dialogue occurs with the title "ApacheDirectoryStudio"
>> nothing inside. In essence, I am not able to launch it. Is there something
>> wrong I am doing?
>
>
> That's odd...
> What's your configuration (machine, os, jvm version)?
>
>
      Machine: Intel Pentium M Processor 1.50 GHz
      OS: Fedora Release 9(sulphur)
      Arch: Kernel linux 2.6.25.3-18.fc9.*i686*
      jvm: java version "1.6.0"

Infact I can see the Apache Directory Studio process in the running process
list, but there is a small empty dialogue box appears on my screen which
does not go after clicking on the close (X)  button on the right-top-corner
of the dialogue box. So always need to end the process.

*2.*
>> I am trying to run integration test from [1] and getting the following
>> error.
>> which plugins are not found?
>
>
> I think you have not completely follow the instructions on the page.
> Did you create the "eclipse-home" profile as described on the website in
> the "Run Integration Tests" section ?
>


> Yes, I was putting settings.xml under/root/.m2/repository instead of
> /root/.m2.
> Now that problem is fixed but getting the following error. I executed the
> tests with *-e *option in order to catch the logs.
>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

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

[INFO] [antrun:run {execution: integration-core}]
[INFO] Executing tasks
   [delete] Deleting directory
/root/studio/test-integration-core/target/test-sandbox
    [mkdir] Created dir:
/root/studio/test-integration-core/target/test-sandbox
    [mkdir] Created dir:
/root/studio/test-integration-core/target/test-sandbox/workspace
     [copy] Copying 722 files to
/root/studio/test-integration-core/target/test-sandbox
     [copy] Copying 30 files to
/root/studio/test-integration-core/target/test-sandbox/plugins
     [copy] Copying 1 file to
/root/studio/test-integration-core/target/test-sandbox/plugins
     [copy] Copying 379 files to
/root/studio/test-integration-core/target/test-sandbox/plugins
     [copy] Copied 51 empty directories to 2 empty directories under
/root/studio/test-integration-core/target/test-sandbox/plugins
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: Java returned: 13

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An Ant
BuildException has occured: Java returned: 13
    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: 13
    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: 13
    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: 2 minutes 38 seconds
[INFO] Finished at: Sun Mar 08 01:18:35 CET 2009
[INFO] Final Memory: 53M/63M
[INFO]
------------------------------------------------------------------------
[root@localhost studio]#


Can you please suggest on both the issues? Thanks in advance.

Regards,
Rahul

>
> Regards,
> Pierre-Arnaud
>

Re: ApacheDS 1.5 - Build failure

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Hi Rahul,

On Sat, Mar 7, 2009 at 2:01 PM, rahul.soa <ra...@googlemail.com> wrote:

> Hello Pierre-Arnaud/Felix,
>
> Thanks for the quick fix.I have 2 more issues with Studio.
>
> *1.
> *
> The web link [1] says *
>
> "Apache Directory Studio application generated in the directory
> target/distributions. To run the application, double-click on it."
> *
> when I double click on the Apache Studio icon (under /root/studio/*
> target/distributions*/ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT/ApacheDirectoryStudio.)
> then it seems its gonna to start soon (opening a dialogue box like eclipse
> with apache studio logo, saying that workbench is loading) but abruptly it
> goes away and a small dialogue occurs with the title "ApacheDirectoryStudio"
> nothing inside. In essence, I am not able to launch it. Is there something
> wrong I am doing?


That's odd...
What's your configuration (machine, os, jvm version)?


> *2.*
>
> I am trying to run integration test from [1] and getting the following
> error.
> which plugins are not found?


I think you have not completely follow the instructions on the page.
Did you create the "eclipse-home" profile as described on the website in the
"Run Integration Tests" section ?

Regards,
Pierre-Arnaud

Re: ApacheDS 1.5 - Build failure

Posted by "rahul.soa" <ra...@googlemail.com>.
Hello Pierre-Arnaud/Felix,

Thanks for the quick fix.I have 2 more issues with Studio.

*1.
*
The web link [1] says *

"Apache Directory Studio application generated in the directory
target/distributions. To run the application, double-click on it."
*
when I double click on the Apache Studio icon (under /root/studio/*
target/distributions*/ApacheDirectoryStudio-linux-x86-1.4.0-SNAPSHOT/ApacheDirectoryStudio.)
then it seems its gonna to start soon (opening a dialogue box like eclipse
with apache studio logo, saying that workbench is loading) but abruptly it
goes away and a small dialogue occurs with the title "ApacheDirectoryStudio"
nothing inside. In essence, I am not able to launch it. Is there something
wrong I am doing?

*2.*

I am trying to run integration test from [1] and getting the following
error.
which plugins are not found?

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

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

[INFO] [antrun:run {execution: integration-core}]
[INFO] Executing tasks
   [delete] Deleting directory
/root/studio/test-integration-core/target/test-sandbox
    [mkdir] Created dir:
/root/studio/test-integration-core/target/test-sandbox
    [mkdir] Created dir:
/root/studio/test-integration-core/target/test-sandbox/workspace
     [copy] Copying 722 files to
/root/studio/test-integration-core/target/test-sandbox
     [copy] Copying 30 files to
/root/studio/test-integration-core/target/test-sandbox/plugins
     [copy] Copying 1 file to
/root/studio/test-integration-core/target/test-sandbox/plugins
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An Ant BuildException has occured:
/root/studio/test-integration-core/${eclipse-home}/plugins not found.

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 16 seconds
[INFO] Finished at: Sat Mar 07 14:45:38 CET 2009
[INFO] Final Memory: 52M/63M
[INFO]
------------------------------------------------------------------------



Can you please tell me what is going wrong. Thanks for your suggestion.

Best Regards,
Rahul

[1] http://directory.apache.org/studio/building.html

On Sat, Mar 7, 2009 at 10:36 AM, Pierre-Arnaud Marcelot <pa...@marcelot.net>wrote:

> Hi Felix,
> On Sat, Mar 7, 2009 at 9:19 AM, Felix Knecht <fe...@apache.org> wrote:
>
>> I saw the thread yesterday and thought to fix the documentation but missed
>> to tell you about this, because I had in mind that you'll see the 'commit'
>> mails which obviously didn't appeared up to now.
>
>
> I think Confluence's configuration for the Studio space is not well set up.
>
> I'll try to fix that.
>
> Thanks,
> Pierre-Arnaud
>

Re: ApacheDS 1.5 - Build failure

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Hi Felix,
On Sat, Mar 7, 2009 at 9:19 AM, Felix Knecht <fe...@apache.org> wrote:

> I saw the thread yesterday and thought to fix the documentation but missed
> to tell you about this, because I had in mind that you'll see the 'commit'
> mails which obviously didn't appeared up to now.


I think Confluence's configuration for the Studio space is not well set up.

I'll try to fix that.

Thanks,
Pierre-Arnaud

Re: ApacheDS 1.5 - Build failure

Posted by Felix Knecht <fe...@apache.org>.
Pierre-Arnaud Marcelot schrieb:
> Hi again,
> 
> On Sat, Mar 7, 2009 at 8:48 AM, Pierre-Arnaud Marcelot <pa@marcelot.net 
> <ma...@marcelot.net>> wrote:
> 
>     Thanks for telling us, I'll update the documentation.
> 
> 
> Looks like Felix already edited the page yesterday. It's now up-to-date.

You're welcome :-)
I saw the thread yesterday and thought to fix the documentation but missed to tell you about this, because I had in mind 
that you'll see the 'commit' mails which obviously didn't appeared up to now.
Hope it works now again following documentation.

Regards
Felix


Re: ApacheDS 1.5 - Build failure

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Hi again,

On Sat, Mar 7, 2009 at 8:48 AM, Pierre-Arnaud Marcelot <pa...@marcelot.net>wrote:

> Thanks for telling us, I'll update the documentation.
>

Looks like Felix already edited the page yesterday. It's now up-to-date.

Thanks Felix!

Regards,
Pierre-Arnaud

Re: ApacheDS 1.5 - Build failure

Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Hi Rahul,
Forget this "cd studio-plugin" part on the documentation.

It's no longer needed, as we've deployed a version of the
studio-maven-plugin on the maven repositories.

Thanks for telling us, I'll update the documentation.

Hope this helps,
Pierre-Arnaud


On Fri, Mar 6, 2009 at 9:04 PM, rahul.soa <ra...@googlemail.com> wrote:

> Hello Emmanuel,
>
> Thanks for your reply. Build is Successful for ApacheDS.
>
> Just one more thing, for building Studio, website [1] says about building
> Maven Plugin ,
> *
> <--
> *
>
> *Change again to studio-plugin:*
>
> *cd studio-plugin
> *
>
> *-->
> *
> But  I dont see this* studio-plugin* directory under studio which i just
> checked out from [2] but I successfully built Apache Studio.
>
> [1] http://directory.apache.org/studio/building.html
>
> [2] svn co http://svn.apache.org/repos/asf/directory/studio/trunk studio
>
> Best Regards,
> Rahul
>
>
> On Fri, Mar 6, 2009 at 2:10 AM, Emmanuel Lecharny <el...@apache.org>wrote:
>
>> rahul.soa wrote:
>>
>>> Hello Developers,
>>>
>>> I am trying to build ApacheDS  1.5 on my Linux Machine. I am following
>>> the
>>> steps from the below link:
>>>
>>> http://directory.apache.org/apacheds/1.5/02-building-trunks.html
>>>
>>> and I am getting "build failure" error
>>>
>>> Please see the following logs:
>>>
>>>
>>
>> Could you try
>>
>> mvn clean install
>>
>> instead of
>>
>> mvn clean ?
>>
>>
>> I think there is a bug on the site : the server needs some plugin which is
>> built and installed during the installation itself, so if you don't install,
>> you can't build ...
>>
>> I will fix the site.
>>
>> --
>> --
>> cordialement, regards,
>> Emmanuel Lécharny
>> www.iktek.com
>> directory.apache.org
>>
>>
>>
>

Re: ApacheDS 1.5 - Build failure

Posted by "rahul.soa" <ra...@googlemail.com>.
Hello Emmanuel,

Thanks for your reply. Build is Successful for ApacheDS.

Just one more thing, for building Studio, website [1] says about building
Maven Plugin ,
*
<--
*

*Change again to studio-plugin:*

*cd studio-plugin
*

*-->
*
But  I dont see this* studio-plugin* directory under studio which i just
checked out from [2] but I successfully built Apache Studio.

[1] http://directory.apache.org/studio/building.html

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

Best Regards,
Rahul

On Fri, Mar 6, 2009 at 2:10 AM, Emmanuel Lecharny <el...@apache.org>wrote:

> rahul.soa wrote:
>
>> Hello Developers,
>>
>> I am trying to build ApacheDS  1.5 on my Linux Machine. I am following the
>> steps from the below link:
>>
>> http://directory.apache.org/apacheds/1.5/02-building-trunks.html
>>
>> and I am getting "build failure" error
>>
>> Please see the following logs:
>>
>>
>
> Could you try
>
> mvn clean install
>
> instead of
>
> mvn clean ?
>
>
> I think there is a bug on the site : the server needs some plugin which is
> built and installed during the installation itself, so if you don't install,
> you can't build ...
>
> I will fix the site.
>
> --
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
>
>
>

Re: ApacheDS 1.5 - Build failure

Posted by Emmanuel Lecharny <el...@apache.org>.
rahul.soa wrote:
> Hello Developers,
>
> I am trying to build ApacheDS  1.5 on my Linux Machine. I am following the
> steps from the below link:
>
> http://directory.apache.org/apacheds/1.5/02-building-trunks.html
>
> and I am getting "build failure" error
>
> Please see the following logs:
>   

Could you try

mvn clean install

instead of

mvn clean ?


I think there is a bug on the site : the server needs some plugin which 
is built and installed during the installation itself, so if you don't 
install, you can't build ...

I will fix the site.

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org