You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Merve Temizer <me...@gmail.com> on 2013/08/16 17:23:49 UTC

Changed config.ldif at apacheds-server-config but no effect

I have checked out from svn all apacheds related projects source, imported
them into eclipse, builded from source and started to manage them by
eclipse apache strudio plugin.

I was able to add entries with userPassword attributes a while ago,
but nowadays i am getting 'cannot verify quality of non-cleartext password'
error when i want to add an entry with attribute 'userPassword'.

I changed config.ldif at apacheds-server-config project by changing
ads-pwdCheckQuality from 2 to 0, cleaned and built all the workspace and
restart apacheds server but i am still getting error on adding userPassword
attribute with SHA or SSHA

Re: Changed config.ldif at apacheds-server-config but no effect

Posted by Stefan Seelmann <ma...@stefan-seelmann.de>.
I just fixed that some minutes ago, please "svn update".

On 08/18/2013 12:45 PM, Merve Temizer wrote:
> I gave up building old code and checked out everything from
> 
> https://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies
> 
> 
> now getting error:
> 
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building ApacheDS Core API 2.0.0-M16-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The POM for org.apache.directory.api:api-i18n:jar:1.0.0-M20 is
> missing, no dependency information available
> [WARNING] The POM for org.apache.directory.api:api-asn1-api:jar:1.0.0-M20
> is missing, no dependency information available
> [WARNING] The POM for
> org.apache.directory.api:api-ldap-client-api:jar:1.0.0-M20 is missing, no
> dependency information available
> [WARNING] The POM for
> org.apache.directory.api:api-ldap-codec-core:jar:1.0.0-M20 is missing, no
> dependency information available
> [WARNING] The POM for
> org.apache.directory.api:api-ldap-extras-aci:jar:1.0.0-M20 is missing, no
> dependency information available
> [WARNING] The POM for
> org.apache.directory.api:api-ldap-extras-util:jar:1.0.0-M20 is missing, no
> dependency information available
> [WARNING] The POM for org.apache.directory.api:api-ldap-model:jar:1.0.0-M20
> is missing, no dependency information available
> [WARNING] The POM for
> org.apache.directory.api:api-ldap-schema-data:jar:1.0.0-M20 is missing, no
> dependency information available
> [WARNING] The POM for org.apache.directory.api:api-util:jar:1.0.0-M20 is
> missing, no dependency information available
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Directory Project .......................... SUCCESS [3.693s]
> [INFO] Apache Directory Checkstyle Configuration ......... SUCCESS [2.731s]
> [INFO] Apache Directory JUnit Add-ons .................... SUCCESS [3.755s]
> [INFO] Apache Directory LDAP API ......................... SUCCESS [1.153s]
> [INFO] Apache Directory LDAP API I18n .................... SUCCESS [3.177s]
> [INFO] Apache Directory LDAP API Utilities ............... SUCCESS [3.913s]
> [INFO] Apache Directory API ASN.1 Parent ................. SUCCESS [0.138s]
> [INFO] Apache Directory API ASN.1 API .................... SUCCESS [1.219s]
> [INFO] Apache Directory API ASN.1 BER .................... SUCCESS [1.447s]
> [INFO] Apache Directory LDAP API Parent .................. SUCCESS [0.070s]
> [INFO] Apache Directory LDAP API Model ................... SUCCESS [27.797s]
> [INFO] Apache Directory LDAP API Codec Parent ............ SUCCESS [0.116s]
> [INFO] Apache Directory LDAP API Codec Core .............. SUCCESS [4.523s]
> [INFO] Apache Directory LDAP API Net Parent .............. SUCCESS [0.364s]
> [INFO] Apache Directory LDAP API Network MINA ............ SUCCESS [1.304s]
> [INFO] Apache Directory LDAP API Codec Standalone ........ SUCCESS [0.621s]
> [INFO] Apache Directory LDAP API DSML Parent ............. SUCCESS [0.075s]
> [INFO] Apache Directory LDAP API DSML Parser ............. SUCCESS [3.036s]
> [INFO] Apache Directory LDAP API Extras .................. SUCCESS [0.092s]
> [INFO] Apache Directory LDAP API Extras ACI .............. SUCCESS [3.287s]
> [INFO] Apache Directory LDAP API Schema Parent ........... SUCCESS [0.079s]
> [INFO] Apache Directory LDAP API Schema Data ............. SUCCESS [10.029s]
> [INFO] Apache Directory LDAP API Client Parent ........... SUCCESS [0.153s]
> [INFO] Apache Directory LDAP API Client API .............. SUCCESS [2.147s]
> [INFO] Apache Directory LDAP API DSML Engine ............. SUCCESS [1.184s]
> [INFO] Apache Directory LDAP API Extras Codec API ........ SUCCESS [0.999s]
> [INFO] Apache Directory LDAP API Extras Codec ............ SUCCESS [2.913s]
> [INFO] Apache Directory LDAP API Extras Util ............. SUCCESS [0.893s]
> [INFO] Apache Directory LDAP API Extras Stored Procedures SUCCESS [1.132s]
> [INFO] Apache Directory LDAP API Extras Trigger .......... SUCCESS [1.598s]
> [INFO] Apache Directory LDAP API Schema Converter ........ SUCCESS [1.789s]
> [INFO] Apache Directory API All .......................... SUCCESS [5.913s]
> [INFO] Apache Directory LDAP API Client All .............. SUCCESS [4.086s]
> [INFO] Apache Directory API Integration Tests ............ SUCCESS [2.557s]
> [INFO] Apache Directory LDAP API Distribution ............ SUCCESS [0.323s]
> [INFO] ApacheDS .......................................... SUCCESS [0.168s]
> [INFO] ApacheDS I18n ..................................... SUCCESS [0.687s]
> [INFO] ApacheDS Core Constants ........................... SUCCESS [0.267s]
> [INFO] ApacheDS Core API ................................. FAILURE [0.139s]
> [INFO] ApacheDS Core Shared .............................. SKIPPED
> [INFO] ApacheDS Interceptors ............................. SKIPPED
> [INFO] ApacheDS AdministrativePoint Interceptor .......... SKIPPED
> [INFO] ApacheDS Authentication Interceptor ............... SKIPPED
> [INFO] ApacheDS Authorization Interceptor ................ SKIPPED
> [INFO] ApacheDS ChangeLog Interceptor .................... SKIPPED
> [INFO] ApacheDS Collective Attribute Interceptor ......... SKIPPED
> [INFO] ApacheDS Event Interceptor ........................ SKIPPED
> [INFO] ApacheDS Exception Interceptor .................... SKIPPED
> [INFO] ApacheDS Journal Interceptor ...................... SKIPPED
> [INFO] ApacheDS Normalization Interceptor ................ SKIPPED
> [INFO] ApacheDS Operational Attribute Interceptor ........ SKIPPED
> [INFO] ApacheDS Referral Interceptor ..................... SKIPPED
> [INFO] ApacheDS Schema Interceptor ....................... SKIPPED
> [INFO] ApacheDS Subtree Interceptor ...................... SKIPPED
> [INFO] ApacheDS Triggers Interceptor ..................... SKIPPED
> [INFO] ApacheDS Core ..................................... SKIPPED
> [INFO] ApacheDS Core AVL ................................. SKIPPED
> [INFO] ApacheDS Generalized (X) DBM Partition ............ SKIPPED
> [INFO] ApacheDS LDIF Partition ........................... SKIPPED
> [INFO] ApacheDS JDBM Partition ........................... SKIPPED
> [INFO] ApacheDS Mavibot Partition ........................ SKIPPED
> [INFO] ApacheDS Core Annotations ......................... SKIPPED
> [INFO] ApacheDS Core JNDI ................................ SKIPPED
> [INFO] ApacheDS Protocol Kerberos Codec .................. SKIPPED
> [INFO] ApacheDS Interceptors for Kerberos ................ SKIPPED
> [INFO] ApacheDS Protocol Dhcp ............................ SKIPPED
> [INFO] ApacheDS Protocol Shared .......................... SKIPPED
> [INFO] ApacheDS Protocol Dns ............................. SKIPPED
> [INFO] ApacheDS Protocol Kerberos ........................ SKIPPED
> [INFO] ApacheDS Protocol Ldap ............................ SKIPPED
> [INFO] ApacheDS Protocol Ntp ............................. SKIPPED
> [INFO] Apacheds Server Annotations ....................... SKIPPED
> [INFO] ApacheDS Server Config ............................ SKIPPED
> [INFO] ApacheDS Server JNDI .............................. SKIPPED
> [INFO] ApacheDS Test Framework ........................... SKIPPED
> [INFO] ApacheDS All ...................................... SKIPPED
> [INFO] ApacheDS Logger Interceptor ....................... SKIPPED
> [INFO] ApacheDS Password Hashing Interceptor ............. SKIPPED
> [INFO] ApacheDS Core Integration ......................... SKIPPED
> [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
> [INFO] ApacheDS Server Integration ....................... SKIPPED
> [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
> [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
> [INFO] ApacheDS Service Builder .......................... SKIPPED
> [INFO] Apache Directory LDAP Client API test ............. SKIPPED
> [INFO] kerberos-client ................................... SKIPPED
> [INFO] ApacheDS Service .................................. SKIPPED
> [INFO] ApacheDS Wrapper .................................. SKIPPED
> [INFO] ApacheDS Installers Maven Plugin .................. SKIPPED
> [INFO] ApacheDS Installers ............................... SKIPPED
> [INFO] ApacheDS Manuals .................................. SKIPPED
> [INFO] ApacheDS Build With Dependencies .................. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1:45.640s
> [INFO] Finished at: Sun Aug 18 12:57:46 EEST 2013
> [INFO] Final Memory: 72M/307M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project apacheds-core-api: Could not
> resolve dependencies for project
> org.apache.directory.server:apacheds-core-api:bundle:2.0.0-M16-SNAPSHOT:
> The following artifacts could not be resolved:
> org.apache.directory.api:api-i18n:jar:1.0.0-M20,
> org.apache.directory.api:api-asn1-api:jar:1.0.0-M20,
> org.apache.directory.api:api-ldap-client-api:jar:1.0.0-M20,
> org.apache.directory.api:api-ldap-codec-core:jar:1.0.0-M20,
> org.apache.directory.api:api-ldap-extras-aci:jar:1.0.0-M20,
> org.apache.directory.api:api-ldap-extras-util:jar:1.0.0-M20,
> org.apache.directory.api:api-ldap-model:jar:1.0.0-M20,
> org.apache.directory.api:api-ldap-schema-data:jar:1.0.0-M20,
> org.apache.directory.api:api-util:jar:1.0.0-M20: Failure to find
> org.apache.directory.api:api-i18n:jar:1.0.0-M20 in
> http://repo.maven.apache.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central has
> elapsed or updates are forced -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :apacheds-core-api
> merve@merve-c500:~/workspaces/workspacesonunsonu/trunk-with-dependencies$
> svn co
> https://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies
> 
> 
> 2013/8/18 Stefan Seelmann <ma...@stefan-seelmann.de>
> 
>>
>>
>>
>> On 08/17/2013 03:19 PM, Merve Temizer wrote:
>>> Sorry, i did not write everything in one mail,
>>>
>>> i must say i imported an ldif file in eclipse to the apacheds server
>> which
>>> i build with the source code that generates the problem, may it be about
>>> this import?
>>
>> If you mean that you imported an LDIF into an running ApacheDS server
>> (e.g. using ApacheDirectortStudio), then this is not related to your
>> problem.
>>
>> But if you added an LDIF to some source folder, that it is possible. Can
>> you please make sure that checkout is clean, using "svn status" from the
>> apacheds checkout?
>>
>>>
>>>
>>> 2013/8/17 Merve Temizer <me...@gmail.com>
>>>
>>>> I found a link:
>>>>
>>>>
>>>>
>> http://stackoverflow.com/questions/5806792/how-to-avoid-utf-8-encoding-for-binary-with-maven-resources-plugin
>>>>
>>>> but i do not know where to write this exclusion to core share project?
>>>>
>>>> Thanks for time
>>>>
>>>>
>>>> 2013/8/17 Merve Temizer <me...@gmail.com>
>>>>
>>>>> i could not set my Java correctly thus i use second command with
>> editing
>>>>> JAVA_HOME at command line
>>>>>
>>>>> merve@merve-c500:~$ mvn -v
>>>>> Warning: JAVA_HOME environment variable is not set.
>>>>> Apache Maven 3.0.4
>>>>> Maven home: /usr/share/maven
>>>>> Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
>>>>> Java home: /usr/lib/jvm/java-6-openjdk-i386/jre
>>>>> Default locale: en_US, platform encoding: UTF-8
>>>>> OS name: "linux", version: "3.2.0-23-generic-pae", arch: "i386",
>> family:
>>>>> "unix"
>>>>> merve@merve-c500:~$ JAVA_HOME=/home/merve/jdk1.7.0_25 mvn -v
>>>>> Apache Maven 3.0.4
>>>>> Maven home: /usr/share/maven
>>>>> Java version: 1.7.0_25, vendor: Oracle Corporation
>>>>> Java home: /home/merve/jdk1.7.0_25/jre
>>>>> Default locale: en_US, platform encoding: UTF-8
>>>>> OS name: "linux", version: "3.2.0-23-generic-pae", arch: "i386",
>> family:
>>>>> "unix"
>>>>> merve@merve-c500:~
>>>>>
>>>>>
>>>>> 2013/8/16 Stefan Seelmann <ma...@stefan-seelmann.de>
>>>>>
>>>>>> I suspect there is a encoding issue. Can you please post the output of
>>>>>> "mvn -v"?
>>>>>>
>>>>>> Kind Regards,
>>>>>> Stefan
>>>>>>
>>>>>>
>>>>>> On 08/16/2013 08:47 PM, Merve Temizer wrote:
>>>>>>> Hello again,
>>>>>>>
>>>>>>> I am getting an error with mvn clean install
>>>>>>>
>>>>>>> [INFO]
>>>>>>> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
>>>>>>> apacheds-core-shared ---
>>>>>>> [INFO] Nothing to compile - all classes are up to date
>>>>>>> [INFO]
>>>>>>> [INFO] --- maven-resources-plugin:2.5:testResources
>>>>>> (default-testResources)
>>>>>>> @ apacheds-core-shared ---
>>>>>>> [debug] execute contextualize
>>>>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>>>>> [INFO] skip non existing resourceDirectory
>>>>>>>
>>>>>>
>> /home/merve/workspaces/workspacesonunsonu/apacheds/core-shared/src/test/resources
>>>>>>> [INFO] Copying 3 resources
>>>>>>> [INFO] Copying 3 resources
>>>>>>> [INFO]
>>>>>>> [INFO] --- maven-compiler-plugin:2.3.2:testCompile
>>>>>> (default-testCompile) @
>>>>>>> apacheds-core-shared ---
>>>>>>> [INFO] Nothing to compile - all classes are up to date
>>>>>>> [INFO]
>>>>>>> [INFO] --- maven-surefire-plugin:2.12:test (default-test) @
>>>>>>> apacheds-core-shared ---
>>>>>>> [INFO] Tests are skipped.
>>>>>>> [INFO]
>>>>>>> [INFO] --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @
>>>>>>> apacheds-core-shared ---
>>>>>>> [ERROR] An internal error occurred
>>>>>>> java.io.IOException: Opening resource
>>>>>>> at
>>>>>>
>> aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:35)
>>>>>>> at aQute.lib.osgi.AbstractResource.write(AbstractResource.java:46)
>>>>>>> at aQute.lib.osgi.Jar.writeResource(Jar.java:445)
>>>>>>> at aQute.lib.osgi.Jar.write(Jar.java:224)
>>>>>>> at aQute.lib.osgi.Jar.write(Jar.java:192)
>>>>>>> at
>>>>>>
>> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:362)
>>>>>>> at
>>>>>>
>> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:264)
>>>>>>> at
>>>>>>
>> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:255)
>>>>>>> at
>>>>>>>
>>>>>>
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>>>>>> at
>>>>>>>
>>>>>>
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>>>>>> at
>>>>>>>
>>>>>>
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>>>>>>> at
>>>>>>>
>>>>>>
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>>>>>>> at
>>>>>>>
>>>>>>
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>>>>>>> at
>>>>>>>
>>>>>>
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>>>>>>> at
>>>>>>>
>>>>>>
>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>>>>>>> at
>>>>>>>
>>>>>>
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>>>>>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>>>>>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>>>>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>>>>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>>>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>> at
>>>>>>>
>>>>>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>>>>> at
>>>>>>>
>>>>>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>>>> at java.lang.reflect.Method.invoke(Method.java:606)
>>>>>>> at
>>>>>>>
>>>>>>
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>>>>>>> at
>>>>>>>
>>>>>>
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>>>>>>> at
>>>>>>>
>>>>>>
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>>>>>>> at
>>>>>>
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>>>>>> Caused by: java.util.UnknownFormatConversionException: Conversion =
>> '�'
>>>>>>> at java.util.Formatter.checkText(Formatter.java:2547)
>>>>>>> at java.util.Formatter.parse(Formatter.java:2533)
>>>>>>> at java.util.Formatter.format(Formatter.java:2469)
>>>>>>> at java.util.Formatter.format(Formatter.java:2423)
>>>>>>> at java.lang.String.format(String.java:2797)
>>>>>>> at aQute.lib.osgi.Processor.formatArrays(Processor.java:1273)
>>>>>>> at aQute.lib.osgi.Processor.warning(Processor.java:116)
>>>>>>> at aQute.lib.osgi.Macro.replace(Macro.java:144)
>>>>>>> at aQute.lib.osgi.Macro.process(Macro.java:71)
>>>>>>> at aQute.lib.osgi.Macro.process(Macro.java:58)
>>>>>>> at aQute.lib.osgi.Macro.process(Macro.java:53)
>>>>>>> at aQute.lib.osgi.Macro.process(Macro.java:964)
>>>>>>> at
>>>>>> aQute.lib.osgi.PreprocessResource.getBytes(PreprocessResource.java:25)
>>>>>>> at
>>>>>>
>> aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:31)
>>>>>>> ... 28 more
>>>>>>> [INFO]
>>>>>>>
>>>>>>
>> ------------------------------------------------------------------------
>>>>>>> [INFO] Reactor Summary:
>>>>>>> [INFO]
>>>>>>> [INFO] ApacheDS .......................................... SUCCESS
>>>>>> [4.341s]
>>>>>>> [INFO] ApacheDS I18n ..................................... SUCCESS
>>>>>> [2.923s]
>>>>>>> [INFO] ApacheDS Core Constants ........................... SUCCESS
>>>>>> [1.128s]
>>>>>>> [INFO] ApacheDS Core API ................................. SUCCESS
>>>>>> [24.125s]
>>>>>>> [INFO] ApacheDS Core Shared .............................. FAILURE
>>>>>> [6.485s]
>>>>>>> [INFO] ApacheDS Interceptors ............................. SKIPPED
>>>>>>> [INFO] ApacheDS AdministrativePoint Interceptor .......... SKIPPED
>>>>>>> [INFO] ApacheDS Authentication Interceptor ............... SKIPPED
>>>>>>> [INFO] ApacheDS Authorization Interceptor ................ SKIPPED
>>>>>>> [INFO] ApacheDS ChangeLog Interceptor .................... SKIPPED
>>>>>>> [INFO] ApacheDS Collective Attribute Interceptor ......... SKIPPED
>>>>>>> [INFO] ApacheDS Event Interceptor ........................ SKIPPED
>>>>>>> [INFO] ApacheDS Exception Interceptor .................... SKIPPED
>>>>>>> [INFO] ApacheDS Journal Interceptor ...................... SKIPPED
>>>>>>> [INFO] ApacheDS Normalization Interceptor ................ SKIPPED
>>>>>>> [INFO] ApacheDS Operational Attribute Interceptor ........ SKIPPED
>>>>>>> [INFO] ApacheDS Referral Interceptor ..................... SKIPPED
>>>>>>> [INFO] ApacheDS Schema Interceptor ....................... SKIPPED
>>>>>>> [INFO] ApacheDS Subtree Interceptor ...................... SKIPPED
>>>>>>> [INFO] ApacheDS Triggers Interceptor ..................... SKIPPED
>>>>>>> [INFO] ApacheDS Core ..................................... SKIPPED
>>>>>>> [INFO] ApacheDS Core AVL ................................. SKIPPED
>>>>>>> [INFO] ApacheDS Generalized (X) DBM Partition ............ SKIPPED
>>>>>>> [INFO] ApacheDS LDIF Partition ........................... SKIPPED
>>>>>>> [INFO] ApacheDS JDBM Partition ........................... SKIPPED
>>>>>>> [INFO] ApacheDS Core Annotations ......................... SKIPPED
>>>>>>> [INFO] ApacheDS Core JNDI ................................ SKIPPED
>>>>>>> [INFO] ApacheDS Protocol Shared .......................... SKIPPED
>>>>>>> [INFO] ApacheDS Protocol Kerberos Codec .................. SKIPPED
>>>>>>> [INFO] ApacheDS Interceptors for Kerberos ................ SKIPPED
>>>>>>> [INFO] ApacheDS Protocol Dhcp ............................ SKIPPED
>>>>>>> [INFO] ApacheDS Protocol Dns ............................. SKIPPED
>>>>>>> [INFO] ApacheDS Protocol Kerberos ........................ SKIPPED
>>>>>>> [INFO] ApacheDS Protocol Ldap ............................ SKIPPED
>>>>>>> [INFO] ApacheDS Protocol Ntp ............................. SKIPPED
>>>>>>> [INFO] Apacheds Server Annotations ....................... SKIPPED
>>>>>>> [INFO] ApacheDS Server Config ............................ SKIPPED
>>>>>>> [INFO] ApacheDS Server JNDI .............................. SKIPPED
>>>>>>> [INFO] ApacheDS Server Replication Service ............... SKIPPED
>>>>>>> [INFO] ApacheDS Test Framework ........................... SKIPPED
>>>>>>> [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
>>>>>>> [INFO] ApacheDS All ...................................... SKIPPED
>>>>>>> [INFO] ApacheDS Logger Interceptor ....................... SKIPPED
>>>>>>> [INFO] ApacheDS Password Hashing Interceptor ............. SKIPPED
>>>>>>> [INFO] ApacheDS Core Integration ......................... SKIPPED
>>>>>>> [INFO] ApacheDS Server Integration ....................... SKIPPED
>>>>>>> [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
>>>>>>> [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
>>>>>>> [INFO] ApacheDS Service Builder .......................... SKIPPED
>>>>>>> [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
>>>>>>> [INFO] Apache Directory LDAP Client API test ............. SKIPPED
>>>>>>> [INFO] ApacheDS Service .................................. SKIPPED
>>>>>>> [INFO] ApacheDS Wrapper .................................. SKIPPED
>>>>>>> [INFO] ApacheDS Installers Maven Plugin .................. SKIPPED
>>>>>>> [INFO] ApacheDS Installers ............................... SKIPPED
>>>>>>> [INFO]
>>>>>>>
>>>>>>
>> ------------------------------------------------------------------------
>>>>>>> [INFO] BUILD FAILURE
>>>>>>> [INFO]
>>>>>>>
>>>>>>
>> ------------------------------------------------------------------------
>>>>>>> [INFO] Total time: 44.838s
>>>>>>> [INFO] Finished at: Fri Aug 16 21:36:47 EEST 2013
>>>>>>> [INFO] Final Memory: 54M/296M
>>>>>>> [INFO]
>>>>>>>
>>>>>>
>> ------------------------------------------------------------------------
>>>>>>> [ERROR] Failed to execute goal
>>>>>>> org.apache.felix:maven-bundle-plugin:2.3.7:bundle (default-bundle) on
>>>>>>> project apacheds-core-shared: Internal error in maven-bundle-plugin:
>>>>>>> Opening resource: Conversion = '�' -> [Help 1]
>>>>>>> [ERROR]
>>>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>>>> the -e
>>>>>>> switch.
>>>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug
>> logging.
>>>>>>> [ERROR]
>>>>>>> [ERROR] For more information about the errors and possible solutions,
>>>>>>> please read the following articles:
>>>>>>> [ERROR] [Help 1]
>>>>>>>
>>>>>>
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>>>>>>> [ERROR]
>>>>>>> [ERROR] After correcting the problems, you can resume the build with
>>>>>> the
>>>>>>> command
>>>>>>> [ERROR] mvn <goals> -rf :apacheds-core-shared
>>>>>>>
>>>>>>>
>>>>>>> 2013/8/16 Emmanuel Lécharny <el...@gmail.com>
>>>>>>>
>>>>>>>> Le 8/16/13 6:11 PM, Merve Temizer a écrit :
>>>>>>>>> Thanks for reply.
>>>>>>>>>
>>>>>>>>> I have projects like apacheds-all apacheds-core in my worksace, and
>>>>>> they
>>>>>>>>> are standing in my workspace as individual projects.
>>>>>>>>
>>>>>>>> Yes, but they are both referencing to jars which are in your maven
>>>>>>>> repository. Changing the server-config content locally will not be
>>>>>> seen
>>>>>>>> by the two projects you have unless you deploy it in your local
>>>>>> repository.
>>>>>>>>>
>>>>>>>>> Can i "mvn clean install -DskipTests" in apacheds-all?
>>>>>>>> You can, but it will just build apacheds-all.
>>>>>>>>
>>>>>>>>>
>>>>>>>>> I want to know if i should check out all the source every time i do
>>>>>>>> change
>>>>>>>>> in source.
>>>>>>>>
>>>>>>>> Well, if you change something in the sources, you probably want to
>>>>>> have
>>>>>>>> all the sources being on your disk. You usually don't have to check
>>>>>> out
>>>>>>>> the whole repository, doing a svn up from time to time will let you
>> be
>>>>>>>> in sync with the latest version?
>>>>>>>>
>>>>>>>>>
>>>>>>>>> If i remeber right when i import them into workspace last time,
>> they
>>>>>> came
>>>>>>>>> as individual projects. Thus now where can i run "mvn clean install
>>>>>>>>> -DskipTests" now?
>>>>>>>>
>>>>>>>> From trunk.
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Regards,
>>>>>>>> Cordialement,
>>>>>>>> Emmanuel Lécharny
>>>>>>>> www.iktek.com
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>>
> 


Re: Changed config.ldif at apacheds-server-config but no effect

Posted by Merve Temizer <me...@gmail.com>.
I gave up building old code and checked out everything from

https://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies


now getting error:


[INFO]
------------------------------------------------------------------------
[INFO] Building ApacheDS Core API 2.0.0-M16-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[WARNING] The POM for org.apache.directory.api:api-i18n:jar:1.0.0-M20 is
missing, no dependency information available
[WARNING] The POM for org.apache.directory.api:api-asn1-api:jar:1.0.0-M20
is missing, no dependency information available
[WARNING] The POM for
org.apache.directory.api:api-ldap-client-api:jar:1.0.0-M20 is missing, no
dependency information available
[WARNING] The POM for
org.apache.directory.api:api-ldap-codec-core:jar:1.0.0-M20 is missing, no
dependency information available
[WARNING] The POM for
org.apache.directory.api:api-ldap-extras-aci:jar:1.0.0-M20 is missing, no
dependency information available
[WARNING] The POM for
org.apache.directory.api:api-ldap-extras-util:jar:1.0.0-M20 is missing, no
dependency information available
[WARNING] The POM for org.apache.directory.api:api-ldap-model:jar:1.0.0-M20
is missing, no dependency information available
[WARNING] The POM for
org.apache.directory.api:api-ldap-schema-data:jar:1.0.0-M20 is missing, no
dependency information available
[WARNING] The POM for org.apache.directory.api:api-util:jar:1.0.0-M20 is
missing, no dependency information available
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Directory Project .......................... SUCCESS [3.693s]
[INFO] Apache Directory Checkstyle Configuration ......... SUCCESS [2.731s]
[INFO] Apache Directory JUnit Add-ons .................... SUCCESS [3.755s]
[INFO] Apache Directory LDAP API ......................... SUCCESS [1.153s]
[INFO] Apache Directory LDAP API I18n .................... SUCCESS [3.177s]
[INFO] Apache Directory LDAP API Utilities ............... SUCCESS [3.913s]
[INFO] Apache Directory API ASN.1 Parent ................. SUCCESS [0.138s]
[INFO] Apache Directory API ASN.1 API .................... SUCCESS [1.219s]
[INFO] Apache Directory API ASN.1 BER .................... SUCCESS [1.447s]
[INFO] Apache Directory LDAP API Parent .................. SUCCESS [0.070s]
[INFO] Apache Directory LDAP API Model ................... SUCCESS [27.797s]
[INFO] Apache Directory LDAP API Codec Parent ............ SUCCESS [0.116s]
[INFO] Apache Directory LDAP API Codec Core .............. SUCCESS [4.523s]
[INFO] Apache Directory LDAP API Net Parent .............. SUCCESS [0.364s]
[INFO] Apache Directory LDAP API Network MINA ............ SUCCESS [1.304s]
[INFO] Apache Directory LDAP API Codec Standalone ........ SUCCESS [0.621s]
[INFO] Apache Directory LDAP API DSML Parent ............. SUCCESS [0.075s]
[INFO] Apache Directory LDAP API DSML Parser ............. SUCCESS [3.036s]
[INFO] Apache Directory LDAP API Extras .................. SUCCESS [0.092s]
[INFO] Apache Directory LDAP API Extras ACI .............. SUCCESS [3.287s]
[INFO] Apache Directory LDAP API Schema Parent ........... SUCCESS [0.079s]
[INFO] Apache Directory LDAP API Schema Data ............. SUCCESS [10.029s]
[INFO] Apache Directory LDAP API Client Parent ........... SUCCESS [0.153s]
[INFO] Apache Directory LDAP API Client API .............. SUCCESS [2.147s]
[INFO] Apache Directory LDAP API DSML Engine ............. SUCCESS [1.184s]
[INFO] Apache Directory LDAP API Extras Codec API ........ SUCCESS [0.999s]
[INFO] Apache Directory LDAP API Extras Codec ............ SUCCESS [2.913s]
[INFO] Apache Directory LDAP API Extras Util ............. SUCCESS [0.893s]
[INFO] Apache Directory LDAP API Extras Stored Procedures SUCCESS [1.132s]
[INFO] Apache Directory LDAP API Extras Trigger .......... SUCCESS [1.598s]
[INFO] Apache Directory LDAP API Schema Converter ........ SUCCESS [1.789s]
[INFO] Apache Directory API All .......................... SUCCESS [5.913s]
[INFO] Apache Directory LDAP API Client All .............. SUCCESS [4.086s]
[INFO] Apache Directory API Integration Tests ............ SUCCESS [2.557s]
[INFO] Apache Directory LDAP API Distribution ............ SUCCESS [0.323s]
[INFO] ApacheDS .......................................... SUCCESS [0.168s]
[INFO] ApacheDS I18n ..................................... SUCCESS [0.687s]
[INFO] ApacheDS Core Constants ........................... SUCCESS [0.267s]
[INFO] ApacheDS Core API ................................. FAILURE [0.139s]
[INFO] ApacheDS Core Shared .............................. SKIPPED
[INFO] ApacheDS Interceptors ............................. SKIPPED
[INFO] ApacheDS AdministrativePoint Interceptor .......... SKIPPED
[INFO] ApacheDS Authentication Interceptor ............... SKIPPED
[INFO] ApacheDS Authorization Interceptor ................ SKIPPED
[INFO] ApacheDS ChangeLog Interceptor .................... SKIPPED
[INFO] ApacheDS Collective Attribute Interceptor ......... SKIPPED
[INFO] ApacheDS Event Interceptor ........................ SKIPPED
[INFO] ApacheDS Exception Interceptor .................... SKIPPED
[INFO] ApacheDS Journal Interceptor ...................... SKIPPED
[INFO] ApacheDS Normalization Interceptor ................ SKIPPED
[INFO] ApacheDS Operational Attribute Interceptor ........ SKIPPED
[INFO] ApacheDS Referral Interceptor ..................... SKIPPED
[INFO] ApacheDS Schema Interceptor ....................... SKIPPED
[INFO] ApacheDS Subtree Interceptor ...................... SKIPPED
[INFO] ApacheDS Triggers Interceptor ..................... SKIPPED
[INFO] ApacheDS Core ..................................... SKIPPED
[INFO] ApacheDS Core AVL ................................. SKIPPED
[INFO] ApacheDS Generalized (X) DBM Partition ............ SKIPPED
[INFO] ApacheDS LDIF Partition ........................... SKIPPED
[INFO] ApacheDS JDBM Partition ........................... SKIPPED
[INFO] ApacheDS Mavibot Partition ........................ SKIPPED
[INFO] ApacheDS Core Annotations ......................... SKIPPED
[INFO] ApacheDS Core JNDI ................................ SKIPPED
[INFO] ApacheDS Protocol Kerberos Codec .................. SKIPPED
[INFO] ApacheDS Interceptors for Kerberos ................ SKIPPED
[INFO] ApacheDS Protocol Dhcp ............................ SKIPPED
[INFO] ApacheDS Protocol Shared .......................... SKIPPED
[INFO] ApacheDS Protocol Dns ............................. SKIPPED
[INFO] ApacheDS Protocol Kerberos ........................ SKIPPED
[INFO] ApacheDS Protocol Ldap ............................ SKIPPED
[INFO] ApacheDS Protocol Ntp ............................. SKIPPED
[INFO] Apacheds Server Annotations ....................... SKIPPED
[INFO] ApacheDS Server Config ............................ SKIPPED
[INFO] ApacheDS Server JNDI .............................. SKIPPED
[INFO] ApacheDS Test Framework ........................... SKIPPED
[INFO] ApacheDS All ...................................... SKIPPED
[INFO] ApacheDS Logger Interceptor ....................... SKIPPED
[INFO] ApacheDS Password Hashing Interceptor ............. SKIPPED
[INFO] ApacheDS Core Integration ......................... SKIPPED
[INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
[INFO] ApacheDS Server Integration ....................... SKIPPED
[INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
[INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
[INFO] ApacheDS Service Builder .......................... SKIPPED
[INFO] Apache Directory LDAP Client API test ............. SKIPPED
[INFO] kerberos-client ................................... SKIPPED
[INFO] ApacheDS Service .................................. SKIPPED
[INFO] ApacheDS Wrapper .................................. SKIPPED
[INFO] ApacheDS Installers Maven Plugin .................. SKIPPED
[INFO] ApacheDS Installers ............................... SKIPPED
[INFO] ApacheDS Manuals .................................. SKIPPED
[INFO] ApacheDS Build With Dependencies .................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1:45.640s
[INFO] Finished at: Sun Aug 18 12:57:46 EEST 2013
[INFO] Final Memory: 72M/307M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project apacheds-core-api: Could not
resolve dependencies for project
org.apache.directory.server:apacheds-core-api:bundle:2.0.0-M16-SNAPSHOT:
The following artifacts could not be resolved:
org.apache.directory.api:api-i18n:jar:1.0.0-M20,
org.apache.directory.api:api-asn1-api:jar:1.0.0-M20,
org.apache.directory.api:api-ldap-client-api:jar:1.0.0-M20,
org.apache.directory.api:api-ldap-codec-core:jar:1.0.0-M20,
org.apache.directory.api:api-ldap-extras-aci:jar:1.0.0-M20,
org.apache.directory.api:api-ldap-extras-util:jar:1.0.0-M20,
org.apache.directory.api:api-ldap-model:jar:1.0.0-M20,
org.apache.directory.api:api-ldap-schema-data:jar:1.0.0-M20,
org.apache.directory.api:api-util:jar:1.0.0-M20: Failure to find
org.apache.directory.api:api-i18n:jar:1.0.0-M20 in
http://repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :apacheds-core-api
merve@merve-c500:~/workspaces/workspacesonunsonu/trunk-with-dependencies$
svn co
https://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies


2013/8/18 Stefan Seelmann <ma...@stefan-seelmann.de>

>
>
>
> On 08/17/2013 03:19 PM, Merve Temizer wrote:
> > Sorry, i did not write everything in one mail,
> >
> > i must say i imported an ldif file in eclipse to the apacheds server
> which
> > i build with the source code that generates the problem, may it be about
> > this import?
>
> If you mean that you imported an LDIF into an running ApacheDS server
> (e.g. using ApacheDirectortStudio), then this is not related to your
> problem.
>
> But if you added an LDIF to some source folder, that it is possible. Can
> you please make sure that checkout is clean, using "svn status" from the
> apacheds checkout?
>
> >
> >
> > 2013/8/17 Merve Temizer <me...@gmail.com>
> >
> >> I found a link:
> >>
> >>
> >>
> http://stackoverflow.com/questions/5806792/how-to-avoid-utf-8-encoding-for-binary-with-maven-resources-plugin
> >>
> >> but i do not know where to write this exclusion to core share project?
> >>
> >> Thanks for time
> >>
> >>
> >> 2013/8/17 Merve Temizer <me...@gmail.com>
> >>
> >>> i could not set my Java correctly thus i use second command with
> editing
> >>> JAVA_HOME at command line
> >>>
> >>> merve@merve-c500:~$ mvn -v
> >>> Warning: JAVA_HOME environment variable is not set.
> >>> Apache Maven 3.0.4
> >>> Maven home: /usr/share/maven
> >>> Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
> >>> Java home: /usr/lib/jvm/java-6-openjdk-i386/jre
> >>> Default locale: en_US, platform encoding: UTF-8
> >>> OS name: "linux", version: "3.2.0-23-generic-pae", arch: "i386",
> family:
> >>> "unix"
> >>> merve@merve-c500:~$ JAVA_HOME=/home/merve/jdk1.7.0_25 mvn -v
> >>> Apache Maven 3.0.4
> >>> Maven home: /usr/share/maven
> >>> Java version: 1.7.0_25, vendor: Oracle Corporation
> >>> Java home: /home/merve/jdk1.7.0_25/jre
> >>> Default locale: en_US, platform encoding: UTF-8
> >>> OS name: "linux", version: "3.2.0-23-generic-pae", arch: "i386",
> family:
> >>> "unix"
> >>> merve@merve-c500:~
> >>>
> >>>
> >>> 2013/8/16 Stefan Seelmann <ma...@stefan-seelmann.de>
> >>>
> >>>> I suspect there is a encoding issue. Can you please post the output of
> >>>> "mvn -v"?
> >>>>
> >>>> Kind Regards,
> >>>> Stefan
> >>>>
> >>>>
> >>>> On 08/16/2013 08:47 PM, Merve Temizer wrote:
> >>>>> Hello again,
> >>>>>
> >>>>> I am getting an error with mvn clean install
> >>>>>
> >>>>> [INFO]
> >>>>> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
> >>>>> apacheds-core-shared ---
> >>>>> [INFO] Nothing to compile - all classes are up to date
> >>>>> [INFO]
> >>>>> [INFO] --- maven-resources-plugin:2.5:testResources
> >>>> (default-testResources)
> >>>>> @ apacheds-core-shared ---
> >>>>> [debug] execute contextualize
> >>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> >>>>> [INFO] skip non existing resourceDirectory
> >>>>>
> >>>>
> /home/merve/workspaces/workspacesonunsonu/apacheds/core-shared/src/test/resources
> >>>>> [INFO] Copying 3 resources
> >>>>> [INFO] Copying 3 resources
> >>>>> [INFO]
> >>>>> [INFO] --- maven-compiler-plugin:2.3.2:testCompile
> >>>> (default-testCompile) @
> >>>>> apacheds-core-shared ---
> >>>>> [INFO] Nothing to compile - all classes are up to date
> >>>>> [INFO]
> >>>>> [INFO] --- maven-surefire-plugin:2.12:test (default-test) @
> >>>>> apacheds-core-shared ---
> >>>>> [INFO] Tests are skipped.
> >>>>> [INFO]
> >>>>> [INFO] --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @
> >>>>> apacheds-core-shared ---
> >>>>> [ERROR] An internal error occurred
> >>>>> java.io.IOException: Opening resource
> >>>>> at
> >>>>
> aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:35)
> >>>>> at aQute.lib.osgi.AbstractResource.write(AbstractResource.java:46)
> >>>>> at aQute.lib.osgi.Jar.writeResource(Jar.java:445)
> >>>>> at aQute.lib.osgi.Jar.write(Jar.java:224)
> >>>>> at aQute.lib.osgi.Jar.write(Jar.java:192)
> >>>>> at
> >>>>
> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:362)
> >>>>> at
> >>>>
> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:264)
> >>>>> at
> >>>>
> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:255)
> >>>>> at
> >>>>>
> >>>>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> >>>>> at
> >>>>>
> >>>>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> >>>>> at
> >>>>>
> >>>>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> >>>>> at
> >>>>>
> >>>>
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> >>>>> at
> >>>>>
> >>>>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> >>>>> at
> >>>>>
> >>>>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> >>>>> at
> >>>>>
> >>>>
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> >>>>> at
> >>>>>
> >>>>
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> >>>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> >>>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> >>>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> >>>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> >>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> >>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>>> at
> >>>>>
> >>>>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >>>>> at
> >>>>>
> >>>>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >>>>> at java.lang.reflect.Method.invoke(Method.java:606)
> >>>>> at
> >>>>>
> >>>>
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> >>>>> at
> >>>>>
> >>>>
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> >>>>> at
> >>>>>
> >>>>
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> >>>>> at
> >>>>
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> >>>>> Caused by: java.util.UnknownFormatConversionException: Conversion =
> '�'
> >>>>> at java.util.Formatter.checkText(Formatter.java:2547)
> >>>>> at java.util.Formatter.parse(Formatter.java:2533)
> >>>>> at java.util.Formatter.format(Formatter.java:2469)
> >>>>> at java.util.Formatter.format(Formatter.java:2423)
> >>>>> at java.lang.String.format(String.java:2797)
> >>>>> at aQute.lib.osgi.Processor.formatArrays(Processor.java:1273)
> >>>>> at aQute.lib.osgi.Processor.warning(Processor.java:116)
> >>>>> at aQute.lib.osgi.Macro.replace(Macro.java:144)
> >>>>> at aQute.lib.osgi.Macro.process(Macro.java:71)
> >>>>> at aQute.lib.osgi.Macro.process(Macro.java:58)
> >>>>> at aQute.lib.osgi.Macro.process(Macro.java:53)
> >>>>> at aQute.lib.osgi.Macro.process(Macro.java:964)
> >>>>> at
> >>>> aQute.lib.osgi.PreprocessResource.getBytes(PreprocessResource.java:25)
> >>>>> at
> >>>>
> aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:31)
> >>>>> ... 28 more
> >>>>> [INFO]
> >>>>>
> >>>>
> ------------------------------------------------------------------------
> >>>>> [INFO] Reactor Summary:
> >>>>> [INFO]
> >>>>> [INFO] ApacheDS .......................................... SUCCESS
> >>>> [4.341s]
> >>>>> [INFO] ApacheDS I18n ..................................... SUCCESS
> >>>> [2.923s]
> >>>>> [INFO] ApacheDS Core Constants ........................... SUCCESS
> >>>> [1.128s]
> >>>>> [INFO] ApacheDS Core API ................................. SUCCESS
> >>>> [24.125s]
> >>>>> [INFO] ApacheDS Core Shared .............................. FAILURE
> >>>> [6.485s]
> >>>>> [INFO] ApacheDS Interceptors ............................. SKIPPED
> >>>>> [INFO] ApacheDS AdministrativePoint Interceptor .......... SKIPPED
> >>>>> [INFO] ApacheDS Authentication Interceptor ............... SKIPPED
> >>>>> [INFO] ApacheDS Authorization Interceptor ................ SKIPPED
> >>>>> [INFO] ApacheDS ChangeLog Interceptor .................... SKIPPED
> >>>>> [INFO] ApacheDS Collective Attribute Interceptor ......... SKIPPED
> >>>>> [INFO] ApacheDS Event Interceptor ........................ SKIPPED
> >>>>> [INFO] ApacheDS Exception Interceptor .................... SKIPPED
> >>>>> [INFO] ApacheDS Journal Interceptor ...................... SKIPPED
> >>>>> [INFO] ApacheDS Normalization Interceptor ................ SKIPPED
> >>>>> [INFO] ApacheDS Operational Attribute Interceptor ........ SKIPPED
> >>>>> [INFO] ApacheDS Referral Interceptor ..................... SKIPPED
> >>>>> [INFO] ApacheDS Schema Interceptor ....................... SKIPPED
> >>>>> [INFO] ApacheDS Subtree Interceptor ...................... SKIPPED
> >>>>> [INFO] ApacheDS Triggers Interceptor ..................... SKIPPED
> >>>>> [INFO] ApacheDS Core ..................................... SKIPPED
> >>>>> [INFO] ApacheDS Core AVL ................................. SKIPPED
> >>>>> [INFO] ApacheDS Generalized (X) DBM Partition ............ SKIPPED
> >>>>> [INFO] ApacheDS LDIF Partition ........................... SKIPPED
> >>>>> [INFO] ApacheDS JDBM Partition ........................... SKIPPED
> >>>>> [INFO] ApacheDS Core Annotations ......................... SKIPPED
> >>>>> [INFO] ApacheDS Core JNDI ................................ SKIPPED
> >>>>> [INFO] ApacheDS Protocol Shared .......................... SKIPPED
> >>>>> [INFO] ApacheDS Protocol Kerberos Codec .................. SKIPPED
> >>>>> [INFO] ApacheDS Interceptors for Kerberos ................ SKIPPED
> >>>>> [INFO] ApacheDS Protocol Dhcp ............................ SKIPPED
> >>>>> [INFO] ApacheDS Protocol Dns ............................. SKIPPED
> >>>>> [INFO] ApacheDS Protocol Kerberos ........................ SKIPPED
> >>>>> [INFO] ApacheDS Protocol Ldap ............................ SKIPPED
> >>>>> [INFO] ApacheDS Protocol Ntp ............................. SKIPPED
> >>>>> [INFO] Apacheds Server Annotations ....................... SKIPPED
> >>>>> [INFO] ApacheDS Server Config ............................ SKIPPED
> >>>>> [INFO] ApacheDS Server JNDI .............................. SKIPPED
> >>>>> [INFO] ApacheDS Server Replication Service ............... SKIPPED
> >>>>> [INFO] ApacheDS Test Framework ........................... SKIPPED
> >>>>> [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
> >>>>> [INFO] ApacheDS All ...................................... SKIPPED
> >>>>> [INFO] ApacheDS Logger Interceptor ....................... SKIPPED
> >>>>> [INFO] ApacheDS Password Hashing Interceptor ............. SKIPPED
> >>>>> [INFO] ApacheDS Core Integration ......................... SKIPPED
> >>>>> [INFO] ApacheDS Server Integration ....................... SKIPPED
> >>>>> [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
> >>>>> [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
> >>>>> [INFO] ApacheDS Service Builder .......................... SKIPPED
> >>>>> [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
> >>>>> [INFO] Apache Directory LDAP Client API test ............. SKIPPED
> >>>>> [INFO] ApacheDS Service .................................. SKIPPED
> >>>>> [INFO] ApacheDS Wrapper .................................. SKIPPED
> >>>>> [INFO] ApacheDS Installers Maven Plugin .................. SKIPPED
> >>>>> [INFO] ApacheDS Installers ............................... SKIPPED
> >>>>> [INFO]
> >>>>>
> >>>>
> ------------------------------------------------------------------------
> >>>>> [INFO] BUILD FAILURE
> >>>>> [INFO]
> >>>>>
> >>>>
> ------------------------------------------------------------------------
> >>>>> [INFO] Total time: 44.838s
> >>>>> [INFO] Finished at: Fri Aug 16 21:36:47 EEST 2013
> >>>>> [INFO] Final Memory: 54M/296M
> >>>>> [INFO]
> >>>>>
> >>>>
> ------------------------------------------------------------------------
> >>>>> [ERROR] Failed to execute goal
> >>>>> org.apache.felix:maven-bundle-plugin:2.3.7:bundle (default-bundle) on
> >>>>> project apacheds-core-shared: Internal error in maven-bundle-plugin:
> >>>>> Opening resource: Conversion = '�' -> [Help 1]
> >>>>> [ERROR]
> >>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
> >>>> the -e
> >>>>> switch.
> >>>>> [ERROR] Re-run Maven using the -X switch to enable full debug
> logging.
> >>>>> [ERROR]
> >>>>> [ERROR] For more information about the errors and possible solutions,
> >>>>> please read the following articles:
> >>>>> [ERROR] [Help 1]
> >>>>>
> >>>>
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> >>>>> [ERROR]
> >>>>> [ERROR] After correcting the problems, you can resume the build with
> >>>> the
> >>>>> command
> >>>>> [ERROR] mvn <goals> -rf :apacheds-core-shared
> >>>>>
> >>>>>
> >>>>> 2013/8/16 Emmanuel Lécharny <el...@gmail.com>
> >>>>>
> >>>>>> Le 8/16/13 6:11 PM, Merve Temizer a écrit :
> >>>>>>> Thanks for reply.
> >>>>>>>
> >>>>>>> I have projects like apacheds-all apacheds-core in my worksace, and
> >>>> they
> >>>>>>> are standing in my workspace as individual projects.
> >>>>>>
> >>>>>> Yes, but they are both referencing to jars which are in your maven
> >>>>>> repository. Changing the server-config content locally will not be
> >>>> seen
> >>>>>> by the two projects you have unless you deploy it in your local
> >>>> repository.
> >>>>>>>
> >>>>>>> Can i "mvn clean install -DskipTests" in apacheds-all?
> >>>>>> You can, but it will just build apacheds-all.
> >>>>>>
> >>>>>>>
> >>>>>>> I want to know if i should check out all the source every time i do
> >>>>>> change
> >>>>>>> in source.
> >>>>>>
> >>>>>> Well, if you change something in the sources, you probably want to
> >>>> have
> >>>>>> all the sources being on your disk. You usually don't have to check
> >>>> out
> >>>>>> the whole repository, doing a svn up from time to time will let you
> be
> >>>>>> in sync with the latest version?
> >>>>>>
> >>>>>>>
> >>>>>>> If i remeber right when i import them into workspace last time,
> they
> >>>> came
> >>>>>>> as individual projects. Thus now where can i run "mvn clean install
> >>>>>>> -DskipTests" now?
> >>>>>>
> >>>>>> From trunk.
> >>>>>>
> >>>>>>
> >>>>>> --
> >>>>>> Regards,
> >>>>>> Cordialement,
> >>>>>> Emmanuel Lécharny
> >>>>>> www.iktek.com
> >>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>>
> >>>
> >>
> >
>
>

Re: Changed config.ldif at apacheds-server-config but no effect

Posted by Stefan Seelmann <ma...@stefan-seelmann.de>.


On 08/17/2013 03:19 PM, Merve Temizer wrote:
> Sorry, i did not write everything in one mail,
> 
> i must say i imported an ldif file in eclipse to the apacheds server which
> i build with the source code that generates the problem, may it be about
> this import?

If you mean that you imported an LDIF into an running ApacheDS server
(e.g. using ApacheDirectortStudio), then this is not related to your
problem.

But if you added an LDIF to some source folder, that it is possible. Can
you please make sure that checkout is clean, using "svn status" from the
apacheds checkout?

> 
> 
> 2013/8/17 Merve Temizer <me...@gmail.com>
> 
>> I found a link:
>>
>>
>> http://stackoverflow.com/questions/5806792/how-to-avoid-utf-8-encoding-for-binary-with-maven-resources-plugin
>>
>> but i do not know where to write this exclusion to core share project?
>>
>> Thanks for time
>>
>>
>> 2013/8/17 Merve Temizer <me...@gmail.com>
>>
>>> i could not set my Java correctly thus i use second command with editing
>>> JAVA_HOME at command line
>>>
>>> merve@merve-c500:~$ mvn -v
>>> Warning: JAVA_HOME environment variable is not set.
>>> Apache Maven 3.0.4
>>> Maven home: /usr/share/maven
>>> Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
>>> Java home: /usr/lib/jvm/java-6-openjdk-i386/jre
>>> Default locale: en_US, platform encoding: UTF-8
>>> OS name: "linux", version: "3.2.0-23-generic-pae", arch: "i386", family:
>>> "unix"
>>> merve@merve-c500:~$ JAVA_HOME=/home/merve/jdk1.7.0_25 mvn -v
>>> Apache Maven 3.0.4
>>> Maven home: /usr/share/maven
>>> Java version: 1.7.0_25, vendor: Oracle Corporation
>>> Java home: /home/merve/jdk1.7.0_25/jre
>>> Default locale: en_US, platform encoding: UTF-8
>>> OS name: "linux", version: "3.2.0-23-generic-pae", arch: "i386", family:
>>> "unix"
>>> merve@merve-c500:~
>>>
>>>
>>> 2013/8/16 Stefan Seelmann <ma...@stefan-seelmann.de>
>>>
>>>> I suspect there is a encoding issue. Can you please post the output of
>>>> "mvn -v"?
>>>>
>>>> Kind Regards,
>>>> Stefan
>>>>
>>>>
>>>> On 08/16/2013 08:47 PM, Merve Temizer wrote:
>>>>> Hello again,
>>>>>
>>>>> I am getting an error with mvn clean install
>>>>>
>>>>> [INFO]
>>>>> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
>>>>> apacheds-core-shared ---
>>>>> [INFO] Nothing to compile - all classes are up to date
>>>>> [INFO]
>>>>> [INFO] --- maven-resources-plugin:2.5:testResources
>>>> (default-testResources)
>>>>> @ apacheds-core-shared ---
>>>>> [debug] execute contextualize
>>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>>> [INFO] skip non existing resourceDirectory
>>>>>
>>>> /home/merve/workspaces/workspacesonunsonu/apacheds/core-shared/src/test/resources
>>>>> [INFO] Copying 3 resources
>>>>> [INFO] Copying 3 resources
>>>>> [INFO]
>>>>> [INFO] --- maven-compiler-plugin:2.3.2:testCompile
>>>> (default-testCompile) @
>>>>> apacheds-core-shared ---
>>>>> [INFO] Nothing to compile - all classes are up to date
>>>>> [INFO]
>>>>> [INFO] --- maven-surefire-plugin:2.12:test (default-test) @
>>>>> apacheds-core-shared ---
>>>>> [INFO] Tests are skipped.
>>>>> [INFO]
>>>>> [INFO] --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @
>>>>> apacheds-core-shared ---
>>>>> [ERROR] An internal error occurred
>>>>> java.io.IOException: Opening resource
>>>>> at
>>>> aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:35)
>>>>> at aQute.lib.osgi.AbstractResource.write(AbstractResource.java:46)
>>>>> at aQute.lib.osgi.Jar.writeResource(Jar.java:445)
>>>>> at aQute.lib.osgi.Jar.write(Jar.java:224)
>>>>> at aQute.lib.osgi.Jar.write(Jar.java:192)
>>>>> at
>>>> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:362)
>>>>> at
>>>> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:264)
>>>>> at
>>>> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:255)
>>>>> at
>>>>>
>>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>>>> at
>>>>>
>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>>>> at
>>>>>
>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>>>>> at
>>>>>
>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>>>>> at
>>>>>
>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>>>>> at
>>>>>
>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>>>>> at
>>>>>
>>>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>>>>> at
>>>>>
>>>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>>>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>>>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> at
>>>>>
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>>> at
>>>>>
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>> at java.lang.reflect.Method.invoke(Method.java:606)
>>>>> at
>>>>>
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>>>>> at
>>>>>
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>>>>> at
>>>>>
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>>>>> at
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>>>> Caused by: java.util.UnknownFormatConversionException: Conversion = '�'
>>>>> at java.util.Formatter.checkText(Formatter.java:2547)
>>>>> at java.util.Formatter.parse(Formatter.java:2533)
>>>>> at java.util.Formatter.format(Formatter.java:2469)
>>>>> at java.util.Formatter.format(Formatter.java:2423)
>>>>> at java.lang.String.format(String.java:2797)
>>>>> at aQute.lib.osgi.Processor.formatArrays(Processor.java:1273)
>>>>> at aQute.lib.osgi.Processor.warning(Processor.java:116)
>>>>> at aQute.lib.osgi.Macro.replace(Macro.java:144)
>>>>> at aQute.lib.osgi.Macro.process(Macro.java:71)
>>>>> at aQute.lib.osgi.Macro.process(Macro.java:58)
>>>>> at aQute.lib.osgi.Macro.process(Macro.java:53)
>>>>> at aQute.lib.osgi.Macro.process(Macro.java:964)
>>>>> at
>>>> aQute.lib.osgi.PreprocessResource.getBytes(PreprocessResource.java:25)
>>>>> at
>>>> aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:31)
>>>>> ... 28 more
>>>>> [INFO]
>>>>>
>>>> ------------------------------------------------------------------------
>>>>> [INFO] Reactor Summary:
>>>>> [INFO]
>>>>> [INFO] ApacheDS .......................................... SUCCESS
>>>> [4.341s]
>>>>> [INFO] ApacheDS I18n ..................................... SUCCESS
>>>> [2.923s]
>>>>> [INFO] ApacheDS Core Constants ........................... SUCCESS
>>>> [1.128s]
>>>>> [INFO] ApacheDS Core API ................................. SUCCESS
>>>> [24.125s]
>>>>> [INFO] ApacheDS Core Shared .............................. FAILURE
>>>> [6.485s]
>>>>> [INFO] ApacheDS Interceptors ............................. SKIPPED
>>>>> [INFO] ApacheDS AdministrativePoint Interceptor .......... SKIPPED
>>>>> [INFO] ApacheDS Authentication Interceptor ............... SKIPPED
>>>>> [INFO] ApacheDS Authorization Interceptor ................ SKIPPED
>>>>> [INFO] ApacheDS ChangeLog Interceptor .................... SKIPPED
>>>>> [INFO] ApacheDS Collective Attribute Interceptor ......... SKIPPED
>>>>> [INFO] ApacheDS Event Interceptor ........................ SKIPPED
>>>>> [INFO] ApacheDS Exception Interceptor .................... SKIPPED
>>>>> [INFO] ApacheDS Journal Interceptor ...................... SKIPPED
>>>>> [INFO] ApacheDS Normalization Interceptor ................ SKIPPED
>>>>> [INFO] ApacheDS Operational Attribute Interceptor ........ SKIPPED
>>>>> [INFO] ApacheDS Referral Interceptor ..................... SKIPPED
>>>>> [INFO] ApacheDS Schema Interceptor ....................... SKIPPED
>>>>> [INFO] ApacheDS Subtree Interceptor ...................... SKIPPED
>>>>> [INFO] ApacheDS Triggers Interceptor ..................... SKIPPED
>>>>> [INFO] ApacheDS Core ..................................... SKIPPED
>>>>> [INFO] ApacheDS Core AVL ................................. SKIPPED
>>>>> [INFO] ApacheDS Generalized (X) DBM Partition ............ SKIPPED
>>>>> [INFO] ApacheDS LDIF Partition ........................... SKIPPED
>>>>> [INFO] ApacheDS JDBM Partition ........................... SKIPPED
>>>>> [INFO] ApacheDS Core Annotations ......................... SKIPPED
>>>>> [INFO] ApacheDS Core JNDI ................................ SKIPPED
>>>>> [INFO] ApacheDS Protocol Shared .......................... SKIPPED
>>>>> [INFO] ApacheDS Protocol Kerberos Codec .................. SKIPPED
>>>>> [INFO] ApacheDS Interceptors for Kerberos ................ SKIPPED
>>>>> [INFO] ApacheDS Protocol Dhcp ............................ SKIPPED
>>>>> [INFO] ApacheDS Protocol Dns ............................. SKIPPED
>>>>> [INFO] ApacheDS Protocol Kerberos ........................ SKIPPED
>>>>> [INFO] ApacheDS Protocol Ldap ............................ SKIPPED
>>>>> [INFO] ApacheDS Protocol Ntp ............................. SKIPPED
>>>>> [INFO] Apacheds Server Annotations ....................... SKIPPED
>>>>> [INFO] ApacheDS Server Config ............................ SKIPPED
>>>>> [INFO] ApacheDS Server JNDI .............................. SKIPPED
>>>>> [INFO] ApacheDS Server Replication Service ............... SKIPPED
>>>>> [INFO] ApacheDS Test Framework ........................... SKIPPED
>>>>> [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
>>>>> [INFO] ApacheDS All ...................................... SKIPPED
>>>>> [INFO] ApacheDS Logger Interceptor ....................... SKIPPED
>>>>> [INFO] ApacheDS Password Hashing Interceptor ............. SKIPPED
>>>>> [INFO] ApacheDS Core Integration ......................... SKIPPED
>>>>> [INFO] ApacheDS Server Integration ....................... SKIPPED
>>>>> [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
>>>>> [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
>>>>> [INFO] ApacheDS Service Builder .......................... SKIPPED
>>>>> [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
>>>>> [INFO] Apache Directory LDAP Client API test ............. SKIPPED
>>>>> [INFO] ApacheDS Service .................................. SKIPPED
>>>>> [INFO] ApacheDS Wrapper .................................. SKIPPED
>>>>> [INFO] ApacheDS Installers Maven Plugin .................. SKIPPED
>>>>> [INFO] ApacheDS Installers ............................... SKIPPED
>>>>> [INFO]
>>>>>
>>>> ------------------------------------------------------------------------
>>>>> [INFO] BUILD FAILURE
>>>>> [INFO]
>>>>>
>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 44.838s
>>>>> [INFO] Finished at: Fri Aug 16 21:36:47 EEST 2013
>>>>> [INFO] Final Memory: 54M/296M
>>>>> [INFO]
>>>>>
>>>> ------------------------------------------------------------------------
>>>>> [ERROR] Failed to execute goal
>>>>> org.apache.felix:maven-bundle-plugin:2.3.7:bundle (default-bundle) on
>>>>> project apacheds-core-shared: Internal error in maven-bundle-plugin:
>>>>> Opening resource: Conversion = '�' -> [Help 1]
>>>>> [ERROR]
>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>> the -e
>>>>> switch.
>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>>> [ERROR]
>>>>> [ERROR] For more information about the errors and possible solutions,
>>>>> please read the following articles:
>>>>> [ERROR] [Help 1]
>>>>>
>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>>>>> [ERROR]
>>>>> [ERROR] After correcting the problems, you can resume the build with
>>>> the
>>>>> command
>>>>> [ERROR] mvn <goals> -rf :apacheds-core-shared
>>>>>
>>>>>
>>>>> 2013/8/16 Emmanuel Lécharny <el...@gmail.com>
>>>>>
>>>>>> Le 8/16/13 6:11 PM, Merve Temizer a écrit :
>>>>>>> Thanks for reply.
>>>>>>>
>>>>>>> I have projects like apacheds-all apacheds-core in my worksace, and
>>>> they
>>>>>>> are standing in my workspace as individual projects.
>>>>>>
>>>>>> Yes, but they are both referencing to jars which are in your maven
>>>>>> repository. Changing the server-config content locally will not be
>>>> seen
>>>>>> by the two projects you have unless you deploy it in your local
>>>> repository.
>>>>>>>
>>>>>>> Can i "mvn clean install -DskipTests" in apacheds-all?
>>>>>> You can, but it will just build apacheds-all.
>>>>>>
>>>>>>>
>>>>>>> I want to know if i should check out all the source every time i do
>>>>>> change
>>>>>>> in source.
>>>>>>
>>>>>> Well, if you change something in the sources, you probably want to
>>>> have
>>>>>> all the sources being on your disk. You usually don't have to check
>>>> out
>>>>>> the whole repository, doing a svn up from time to time will let you be
>>>>>> in sync with the latest version?
>>>>>>
>>>>>>>
>>>>>>> If i remeber right when i import them into workspace last time, they
>>>> came
>>>>>>> as individual projects. Thus now where can i run "mvn clean install
>>>>>>> -DskipTests" now?
>>>>>>
>>>>>> From trunk.
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>> Cordialement,
>>>>>> Emmanuel Lécharny
>>>>>> www.iktek.com
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
> 


Re: Changed config.ldif at apacheds-server-config but no effect

Posted by Merve Temizer <me...@gmail.com>.
Any idea?


2013/8/17 Merve Temizer <me...@gmail.com>

> Sorry, i did not write everything in one mail,
>
> i must say i imported an ldif file in eclipse to the apacheds server which
> i build with the source code that generates the problem, may it be about
> this import?
>
>
> 2013/8/17 Merve Temizer <me...@gmail.com>
>
>> I found a link:
>>
>>
>> http://stackoverflow.com/questions/5806792/how-to-avoid-utf-8-encoding-for-binary-with-maven-resources-plugin
>>
>> but i do not know where to write this exclusion to core share project?
>>
>> Thanks for time
>>
>>
>> 2013/8/17 Merve Temizer <me...@gmail.com>
>>
>>> i could not set my Java correctly thus i use second command with editing
>>> JAVA_HOME at command line
>>>
>>> merve@merve-c500:~$ mvn -v
>>> Warning: JAVA_HOME environment variable is not set.
>>> Apache Maven 3.0.4
>>> Maven home: /usr/share/maven
>>> Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
>>> Java home: /usr/lib/jvm/java-6-openjdk-i386/jre
>>> Default locale: en_US, platform encoding: UTF-8
>>> OS name: "linux", version: "3.2.0-23-generic-pae", arch: "i386", family:
>>> "unix"
>>> merve@merve-c500:~$ JAVA_HOME=/home/merve/jdk1.7.0_25 mvn -v
>>> Apache Maven 3.0.4
>>> Maven home: /usr/share/maven
>>> Java version: 1.7.0_25, vendor: Oracle Corporation
>>> Java home: /home/merve/jdk1.7.0_25/jre
>>> Default locale: en_US, platform encoding: UTF-8
>>> OS name: "linux", version: "3.2.0-23-generic-pae", arch: "i386", family:
>>> "unix"
>>> merve@merve-c500:~
>>>
>>>
>>> 2013/8/16 Stefan Seelmann <ma...@stefan-seelmann.de>
>>>
>>>> I suspect there is a encoding issue. Can you please post the output of
>>>> "mvn -v"?
>>>>
>>>> Kind Regards,
>>>> Stefan
>>>>
>>>>
>>>> On 08/16/2013 08:47 PM, Merve Temizer wrote:
>>>> > Hello again,
>>>> >
>>>> > I am getting an error with mvn clean install
>>>> >
>>>> > [INFO]
>>>> > [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
>>>> > apacheds-core-shared ---
>>>> > [INFO] Nothing to compile - all classes are up to date
>>>> > [INFO]
>>>> > [INFO] --- maven-resources-plugin:2.5:testResources
>>>> (default-testResources)
>>>> > @ apacheds-core-shared ---
>>>> > [debug] execute contextualize
>>>> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>> > [INFO] skip non existing resourceDirectory
>>>> >
>>>> /home/merve/workspaces/workspacesonunsonu/apacheds/core-shared/src/test/resources
>>>> > [INFO] Copying 3 resources
>>>> > [INFO] Copying 3 resources
>>>> > [INFO]
>>>> > [INFO] --- maven-compiler-plugin:2.3.2:testCompile
>>>> (default-testCompile) @
>>>> > apacheds-core-shared ---
>>>> > [INFO] Nothing to compile - all classes are up to date
>>>> > [INFO]
>>>> > [INFO] --- maven-surefire-plugin:2.12:test (default-test) @
>>>> > apacheds-core-shared ---
>>>> > [INFO] Tests are skipped.
>>>> > [INFO]
>>>> > [INFO] --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @
>>>> > apacheds-core-shared ---
>>>> > [ERROR] An internal error occurred
>>>> > java.io.IOException: Opening resource
>>>> > at
>>>> aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:35)
>>>> > at aQute.lib.osgi.AbstractResource.write(AbstractResource.java:46)
>>>> > at aQute.lib.osgi.Jar.writeResource(Jar.java:445)
>>>> > at aQute.lib.osgi.Jar.write(Jar.java:224)
>>>> > at aQute.lib.osgi.Jar.write(Jar.java:192)
>>>> > at
>>>> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:362)
>>>> > at
>>>> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:264)
>>>> > at
>>>> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:255)
>>>> > at
>>>> >
>>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>>> > at
>>>> >
>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>>> > at
>>>> >
>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>>>> > at
>>>> >
>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>>>> > at
>>>> >
>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>>>> > at
>>>> >
>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>>>> > at
>>>> >
>>>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>>>> > at
>>>> >
>>>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>>>> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>>>> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>>> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>>> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>>> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> > at
>>>> >
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>> > at
>>>> >
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>> > at java.lang.reflect.Method.invoke(Method.java:606)
>>>> > at
>>>> >
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>>>> > at
>>>> >
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>>>> > at
>>>> >
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>>>> > at
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>>> > Caused by: java.util.UnknownFormatConversionException: Conversion =
>>>> '�'
>>>> > at java.util.Formatter.checkText(Formatter.java:2547)
>>>> > at java.util.Formatter.parse(Formatter.java:2533)
>>>> > at java.util.Formatter.format(Formatter.java:2469)
>>>> > at java.util.Formatter.format(Formatter.java:2423)
>>>> > at java.lang.String.format(String.java:2797)
>>>> > at aQute.lib.osgi.Processor.formatArrays(Processor.java:1273)
>>>> > at aQute.lib.osgi.Processor.warning(Processor.java:116)
>>>> > at aQute.lib.osgi.Macro.replace(Macro.java:144)
>>>> > at aQute.lib.osgi.Macro.process(Macro.java:71)
>>>> > at aQute.lib.osgi.Macro.process(Macro.java:58)
>>>> > at aQute.lib.osgi.Macro.process(Macro.java:53)
>>>> > at aQute.lib.osgi.Macro.process(Macro.java:964)
>>>> > at
>>>> aQute.lib.osgi.PreprocessResource.getBytes(PreprocessResource.java:25)
>>>> > at
>>>> aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:31)
>>>> > ... 28 more
>>>> > [INFO]
>>>> >
>>>> ------------------------------------------------------------------------
>>>> > [INFO] Reactor Summary:
>>>> > [INFO]
>>>> > [INFO] ApacheDS .......................................... SUCCESS
>>>> [4.341s]
>>>> > [INFO] ApacheDS I18n ..................................... SUCCESS
>>>> [2.923s]
>>>> > [INFO] ApacheDS Core Constants ........................... SUCCESS
>>>> [1.128s]
>>>> > [INFO] ApacheDS Core API ................................. SUCCESS
>>>> [24.125s]
>>>> > [INFO] ApacheDS Core Shared .............................. FAILURE
>>>> [6.485s]
>>>> > [INFO] ApacheDS Interceptors ............................. SKIPPED
>>>> > [INFO] ApacheDS AdministrativePoint Interceptor .......... SKIPPED
>>>> > [INFO] ApacheDS Authentication Interceptor ............... SKIPPED
>>>> > [INFO] ApacheDS Authorization Interceptor ................ SKIPPED
>>>> > [INFO] ApacheDS ChangeLog Interceptor .................... SKIPPED
>>>> > [INFO] ApacheDS Collective Attribute Interceptor ......... SKIPPED
>>>> > [INFO] ApacheDS Event Interceptor ........................ SKIPPED
>>>> > [INFO] ApacheDS Exception Interceptor .................... SKIPPED
>>>> > [INFO] ApacheDS Journal Interceptor ...................... SKIPPED
>>>> > [INFO] ApacheDS Normalization Interceptor ................ SKIPPED
>>>> > [INFO] ApacheDS Operational Attribute Interceptor ........ SKIPPED
>>>> > [INFO] ApacheDS Referral Interceptor ..................... SKIPPED
>>>> > [INFO] ApacheDS Schema Interceptor ....................... SKIPPED
>>>> > [INFO] ApacheDS Subtree Interceptor ...................... SKIPPED
>>>> > [INFO] ApacheDS Triggers Interceptor ..................... SKIPPED
>>>> > [INFO] ApacheDS Core ..................................... SKIPPED
>>>> > [INFO] ApacheDS Core AVL ................................. SKIPPED
>>>> > [INFO] ApacheDS Generalized (X) DBM Partition ............ SKIPPED
>>>> > [INFO] ApacheDS LDIF Partition ........................... SKIPPED
>>>> > [INFO] ApacheDS JDBM Partition ........................... SKIPPED
>>>> > [INFO] ApacheDS Core Annotations ......................... SKIPPED
>>>> > [INFO] ApacheDS Core JNDI ................................ SKIPPED
>>>> > [INFO] ApacheDS Protocol Shared .......................... SKIPPED
>>>> > [INFO] ApacheDS Protocol Kerberos Codec .................. SKIPPED
>>>> > [INFO] ApacheDS Interceptors for Kerberos ................ SKIPPED
>>>> > [INFO] ApacheDS Protocol Dhcp ............................ SKIPPED
>>>> > [INFO] ApacheDS Protocol Dns ............................. SKIPPED
>>>> > [INFO] ApacheDS Protocol Kerberos ........................ SKIPPED
>>>> > [INFO] ApacheDS Protocol Ldap ............................ SKIPPED
>>>> > [INFO] ApacheDS Protocol Ntp ............................. SKIPPED
>>>> > [INFO] Apacheds Server Annotations ....................... SKIPPED
>>>> > [INFO] ApacheDS Server Config ............................ SKIPPED
>>>> > [INFO] ApacheDS Server JNDI .............................. SKIPPED
>>>> > [INFO] ApacheDS Server Replication Service ............... SKIPPED
>>>> > [INFO] ApacheDS Test Framework ........................... SKIPPED
>>>> > [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
>>>> > [INFO] ApacheDS All ...................................... SKIPPED
>>>> > [INFO] ApacheDS Logger Interceptor ....................... SKIPPED
>>>> > [INFO] ApacheDS Password Hashing Interceptor ............. SKIPPED
>>>> > [INFO] ApacheDS Core Integration ......................... SKIPPED
>>>> > [INFO] ApacheDS Server Integration ....................... SKIPPED
>>>> > [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
>>>> > [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
>>>> > [INFO] ApacheDS Service Builder .......................... SKIPPED
>>>> > [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
>>>> > [INFO] Apache Directory LDAP Client API test ............. SKIPPED
>>>> > [INFO] ApacheDS Service .................................. SKIPPED
>>>> > [INFO] ApacheDS Wrapper .................................. SKIPPED
>>>> > [INFO] ApacheDS Installers Maven Plugin .................. SKIPPED
>>>> > [INFO] ApacheDS Installers ............................... SKIPPED
>>>> > [INFO]
>>>> >
>>>> ------------------------------------------------------------------------
>>>> > [INFO] BUILD FAILURE
>>>> > [INFO]
>>>> >
>>>> ------------------------------------------------------------------------
>>>> > [INFO] Total time: 44.838s
>>>> > [INFO] Finished at: Fri Aug 16 21:36:47 EEST 2013
>>>> > [INFO] Final Memory: 54M/296M
>>>> > [INFO]
>>>> >
>>>> ------------------------------------------------------------------------
>>>> > [ERROR] Failed to execute goal
>>>> > org.apache.felix:maven-bundle-plugin:2.3.7:bundle (default-bundle) on
>>>> > project apacheds-core-shared: Internal error in maven-bundle-plugin:
>>>> > Opening resource: Conversion = '�' -> [Help 1]
>>>> > [ERROR]
>>>> > [ERROR] To see the full stack trace of the errors, re-run Maven with
>>>> the -e
>>>> > switch.
>>>> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>> > [ERROR]
>>>> > [ERROR] For more information about the errors and possible solutions,
>>>> > please read the following articles:
>>>> > [ERROR] [Help 1]
>>>> >
>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>>>> > [ERROR]
>>>> > [ERROR] After correcting the problems, you can resume the build with
>>>> the
>>>> > command
>>>> > [ERROR] mvn <goals> -rf :apacheds-core-shared
>>>> >
>>>> >
>>>> > 2013/8/16 Emmanuel Lécharny <el...@gmail.com>
>>>> >
>>>> >> Le 8/16/13 6:11 PM, Merve Temizer a écrit :
>>>> >>> Thanks for reply.
>>>> >>>
>>>> >>> I have projects like apacheds-all apacheds-core in my worksace, and
>>>> they
>>>> >>> are standing in my workspace as individual projects.
>>>> >>
>>>> >> Yes, but they are both referencing to jars which are in your maven
>>>> >> repository. Changing the server-config content locally will not be
>>>> seen
>>>> >> by the two projects you have unless you deploy it in your local
>>>> repository.
>>>> >>>
>>>> >>> Can i "mvn clean install -DskipTests" in apacheds-all?
>>>> >> You can, but it will just build apacheds-all.
>>>> >>
>>>> >>>
>>>> >>> I want to know if i should check out all the source every time i do
>>>> >> change
>>>> >>> in source.
>>>> >>
>>>> >> Well, if you change something in the sources, you probably want to
>>>> have
>>>> >> all the sources being on your disk. You usually don't have to check
>>>> out
>>>> >> the whole repository, doing a svn up from time to time will let you
>>>> be
>>>> >> in sync with the latest version?
>>>> >>
>>>> >>>
>>>> >>> If i remeber right when i import them into workspace last time,
>>>> they came
>>>> >>> as individual projects. Thus now where can i run "mvn clean install
>>>> >>> -DskipTests" now?
>>>> >>
>>>> >> From trunk.
>>>> >>
>>>> >>
>>>> >> --
>>>> >> Regards,
>>>> >> Cordialement,
>>>> >> Emmanuel Lécharny
>>>> >> www.iktek.com
>>>> >>
>>>> >>
>>>> >
>>>>
>>>>
>>>
>>
>

Re: Changed config.ldif at apacheds-server-config but no effect

Posted by Merve Temizer <me...@gmail.com>.
Sorry, i did not write everything in one mail,

i must say i imported an ldif file in eclipse to the apacheds server which
i build with the source code that generates the problem, may it be about
this import?


2013/8/17 Merve Temizer <me...@gmail.com>

> I found a link:
>
>
> http://stackoverflow.com/questions/5806792/how-to-avoid-utf-8-encoding-for-binary-with-maven-resources-plugin
>
> but i do not know where to write this exclusion to core share project?
>
> Thanks for time
>
>
> 2013/8/17 Merve Temizer <me...@gmail.com>
>
>> i could not set my Java correctly thus i use second command with editing
>> JAVA_HOME at command line
>>
>> merve@merve-c500:~$ mvn -v
>> Warning: JAVA_HOME environment variable is not set.
>> Apache Maven 3.0.4
>> Maven home: /usr/share/maven
>> Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
>> Java home: /usr/lib/jvm/java-6-openjdk-i386/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "3.2.0-23-generic-pae", arch: "i386", family:
>> "unix"
>> merve@merve-c500:~$ JAVA_HOME=/home/merve/jdk1.7.0_25 mvn -v
>> Apache Maven 3.0.4
>> Maven home: /usr/share/maven
>> Java version: 1.7.0_25, vendor: Oracle Corporation
>> Java home: /home/merve/jdk1.7.0_25/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "3.2.0-23-generic-pae", arch: "i386", family:
>> "unix"
>> merve@merve-c500:~
>>
>>
>> 2013/8/16 Stefan Seelmann <ma...@stefan-seelmann.de>
>>
>>> I suspect there is a encoding issue. Can you please post the output of
>>> "mvn -v"?
>>>
>>> Kind Regards,
>>> Stefan
>>>
>>>
>>> On 08/16/2013 08:47 PM, Merve Temizer wrote:
>>> > Hello again,
>>> >
>>> > I am getting an error with mvn clean install
>>> >
>>> > [INFO]
>>> > [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
>>> > apacheds-core-shared ---
>>> > [INFO] Nothing to compile - all classes are up to date
>>> > [INFO]
>>> > [INFO] --- maven-resources-plugin:2.5:testResources
>>> (default-testResources)
>>> > @ apacheds-core-shared ---
>>> > [debug] execute contextualize
>>> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>> > [INFO] skip non existing resourceDirectory
>>> >
>>> /home/merve/workspaces/workspacesonunsonu/apacheds/core-shared/src/test/resources
>>> > [INFO] Copying 3 resources
>>> > [INFO] Copying 3 resources
>>> > [INFO]
>>> > [INFO] --- maven-compiler-plugin:2.3.2:testCompile
>>> (default-testCompile) @
>>> > apacheds-core-shared ---
>>> > [INFO] Nothing to compile - all classes are up to date
>>> > [INFO]
>>> > [INFO] --- maven-surefire-plugin:2.12:test (default-test) @
>>> > apacheds-core-shared ---
>>> > [INFO] Tests are skipped.
>>> > [INFO]
>>> > [INFO] --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @
>>> > apacheds-core-shared ---
>>> > [ERROR] An internal error occurred
>>> > java.io.IOException: Opening resource
>>> > at
>>> aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:35)
>>> > at aQute.lib.osgi.AbstractResource.write(AbstractResource.java:46)
>>> > at aQute.lib.osgi.Jar.writeResource(Jar.java:445)
>>> > at aQute.lib.osgi.Jar.write(Jar.java:224)
>>> > at aQute.lib.osgi.Jar.write(Jar.java:192)
>>> > at
>>> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:362)
>>> > at
>>> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:264)
>>> > at
>>> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:255)
>>> > at
>>> >
>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>>> > at
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>>> > at
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>>> > at
>>> >
>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>>> > at
>>> >
>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>>> > at
>>> >
>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>>> > at
>>> >
>>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>>> > at
>>> >
>>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>>> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>>> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> > at
>>> >
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>> > at
>>> >
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> > at java.lang.reflect.Method.invoke(Method.java:606)
>>> > at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>>> > at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>>> > at
>>> >
>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>>> > at
>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> > Caused by: java.util.UnknownFormatConversionException: Conversion = '�'
>>> > at java.util.Formatter.checkText(Formatter.java:2547)
>>> > at java.util.Formatter.parse(Formatter.java:2533)
>>> > at java.util.Formatter.format(Formatter.java:2469)
>>> > at java.util.Formatter.format(Formatter.java:2423)
>>> > at java.lang.String.format(String.java:2797)
>>> > at aQute.lib.osgi.Processor.formatArrays(Processor.java:1273)
>>> > at aQute.lib.osgi.Processor.warning(Processor.java:116)
>>> > at aQute.lib.osgi.Macro.replace(Macro.java:144)
>>> > at aQute.lib.osgi.Macro.process(Macro.java:71)
>>> > at aQute.lib.osgi.Macro.process(Macro.java:58)
>>> > at aQute.lib.osgi.Macro.process(Macro.java:53)
>>> > at aQute.lib.osgi.Macro.process(Macro.java:964)
>>> > at
>>> aQute.lib.osgi.PreprocessResource.getBytes(PreprocessResource.java:25)
>>> > at
>>> aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:31)
>>> > ... 28 more
>>> > [INFO]
>>> >
>>> ------------------------------------------------------------------------
>>> > [INFO] Reactor Summary:
>>> > [INFO]
>>> > [INFO] ApacheDS .......................................... SUCCESS
>>> [4.341s]
>>> > [INFO] ApacheDS I18n ..................................... SUCCESS
>>> [2.923s]
>>> > [INFO] ApacheDS Core Constants ........................... SUCCESS
>>> [1.128s]
>>> > [INFO] ApacheDS Core API ................................. SUCCESS
>>> [24.125s]
>>> > [INFO] ApacheDS Core Shared .............................. FAILURE
>>> [6.485s]
>>> > [INFO] ApacheDS Interceptors ............................. SKIPPED
>>> > [INFO] ApacheDS AdministrativePoint Interceptor .......... SKIPPED
>>> > [INFO] ApacheDS Authentication Interceptor ............... SKIPPED
>>> > [INFO] ApacheDS Authorization Interceptor ................ SKIPPED
>>> > [INFO] ApacheDS ChangeLog Interceptor .................... SKIPPED
>>> > [INFO] ApacheDS Collective Attribute Interceptor ......... SKIPPED
>>> > [INFO] ApacheDS Event Interceptor ........................ SKIPPED
>>> > [INFO] ApacheDS Exception Interceptor .................... SKIPPED
>>> > [INFO] ApacheDS Journal Interceptor ...................... SKIPPED
>>> > [INFO] ApacheDS Normalization Interceptor ................ SKIPPED
>>> > [INFO] ApacheDS Operational Attribute Interceptor ........ SKIPPED
>>> > [INFO] ApacheDS Referral Interceptor ..................... SKIPPED
>>> > [INFO] ApacheDS Schema Interceptor ....................... SKIPPED
>>> > [INFO] ApacheDS Subtree Interceptor ...................... SKIPPED
>>> > [INFO] ApacheDS Triggers Interceptor ..................... SKIPPED
>>> > [INFO] ApacheDS Core ..................................... SKIPPED
>>> > [INFO] ApacheDS Core AVL ................................. SKIPPED
>>> > [INFO] ApacheDS Generalized (X) DBM Partition ............ SKIPPED
>>> > [INFO] ApacheDS LDIF Partition ........................... SKIPPED
>>> > [INFO] ApacheDS JDBM Partition ........................... SKIPPED
>>> > [INFO] ApacheDS Core Annotations ......................... SKIPPED
>>> > [INFO] ApacheDS Core JNDI ................................ SKIPPED
>>> > [INFO] ApacheDS Protocol Shared .......................... SKIPPED
>>> > [INFO] ApacheDS Protocol Kerberos Codec .................. SKIPPED
>>> > [INFO] ApacheDS Interceptors for Kerberos ................ SKIPPED
>>> > [INFO] ApacheDS Protocol Dhcp ............................ SKIPPED
>>> > [INFO] ApacheDS Protocol Dns ............................. SKIPPED
>>> > [INFO] ApacheDS Protocol Kerberos ........................ SKIPPED
>>> > [INFO] ApacheDS Protocol Ldap ............................ SKIPPED
>>> > [INFO] ApacheDS Protocol Ntp ............................. SKIPPED
>>> > [INFO] Apacheds Server Annotations ....................... SKIPPED
>>> > [INFO] ApacheDS Server Config ............................ SKIPPED
>>> > [INFO] ApacheDS Server JNDI .............................. SKIPPED
>>> > [INFO] ApacheDS Server Replication Service ............... SKIPPED
>>> > [INFO] ApacheDS Test Framework ........................... SKIPPED
>>> > [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
>>> > [INFO] ApacheDS All ...................................... SKIPPED
>>> > [INFO] ApacheDS Logger Interceptor ....................... SKIPPED
>>> > [INFO] ApacheDS Password Hashing Interceptor ............. SKIPPED
>>> > [INFO] ApacheDS Core Integration ......................... SKIPPED
>>> > [INFO] ApacheDS Server Integration ....................... SKIPPED
>>> > [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
>>> > [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
>>> > [INFO] ApacheDS Service Builder .......................... SKIPPED
>>> > [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
>>> > [INFO] Apache Directory LDAP Client API test ............. SKIPPED
>>> > [INFO] ApacheDS Service .................................. SKIPPED
>>> > [INFO] ApacheDS Wrapper .................................. SKIPPED
>>> > [INFO] ApacheDS Installers Maven Plugin .................. SKIPPED
>>> > [INFO] ApacheDS Installers ............................... SKIPPED
>>> > [INFO]
>>> >
>>> ------------------------------------------------------------------------
>>> > [INFO] BUILD FAILURE
>>> > [INFO]
>>> >
>>> ------------------------------------------------------------------------
>>> > [INFO] Total time: 44.838s
>>> > [INFO] Finished at: Fri Aug 16 21:36:47 EEST 2013
>>> > [INFO] Final Memory: 54M/296M
>>> > [INFO]
>>> >
>>> ------------------------------------------------------------------------
>>> > [ERROR] Failed to execute goal
>>> > org.apache.felix:maven-bundle-plugin:2.3.7:bundle (default-bundle) on
>>> > project apacheds-core-shared: Internal error in maven-bundle-plugin:
>>> > Opening resource: Conversion = '�' -> [Help 1]
>>> > [ERROR]
>>> > [ERROR] To see the full stack trace of the errors, re-run Maven with
>>> the -e
>>> > switch.
>>> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> > [ERROR]
>>> > [ERROR] For more information about the errors and possible solutions,
>>> > please read the following articles:
>>> > [ERROR] [Help 1]
>>> >
>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>>> > [ERROR]
>>> > [ERROR] After correcting the problems, you can resume the build with
>>> the
>>> > command
>>> > [ERROR] mvn <goals> -rf :apacheds-core-shared
>>> >
>>> >
>>> > 2013/8/16 Emmanuel Lécharny <el...@gmail.com>
>>> >
>>> >> Le 8/16/13 6:11 PM, Merve Temizer a écrit :
>>> >>> Thanks for reply.
>>> >>>
>>> >>> I have projects like apacheds-all apacheds-core in my worksace, and
>>> they
>>> >>> are standing in my workspace as individual projects.
>>> >>
>>> >> Yes, but they are both referencing to jars which are in your maven
>>> >> repository. Changing the server-config content locally will not be
>>> seen
>>> >> by the two projects you have unless you deploy it in your local
>>> repository.
>>> >>>
>>> >>> Can i "mvn clean install -DskipTests" in apacheds-all?
>>> >> You can, but it will just build apacheds-all.
>>> >>
>>> >>>
>>> >>> I want to know if i should check out all the source every time i do
>>> >> change
>>> >>> in source.
>>> >>
>>> >> Well, if you change something in the sources, you probably want to
>>> have
>>> >> all the sources being on your disk. You usually don't have to check
>>> out
>>> >> the whole repository, doing a svn up from time to time will let you be
>>> >> in sync with the latest version?
>>> >>
>>> >>>
>>> >>> If i remeber right when i import them into workspace last time, they
>>> came
>>> >>> as individual projects. Thus now where can i run "mvn clean install
>>> >>> -DskipTests" now?
>>> >>
>>> >> From trunk.
>>> >>
>>> >>
>>> >> --
>>> >> Regards,
>>> >> Cordialement,
>>> >> Emmanuel Lécharny
>>> >> www.iktek.com
>>> >>
>>> >>
>>> >
>>>
>>>
>>
>

Re: Changed config.ldif at apacheds-server-config but no effect

Posted by Merve Temizer <me...@gmail.com>.
I found a link:

http://stackoverflow.com/questions/5806792/how-to-avoid-utf-8-encoding-for-binary-with-maven-resources-plugin

but i do not know where to write this exclusion to core share project?

Thanks for time


2013/8/17 Merve Temizer <me...@gmail.com>

> i could not set my Java correctly thus i use second command with editing
> JAVA_HOME at command line
>
> merve@merve-c500:~$ mvn -v
> Warning: JAVA_HOME environment variable is not set.
> Apache Maven 3.0.4
> Maven home: /usr/share/maven
> Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-openjdk-i386/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.2.0-23-generic-pae", arch: "i386", family:
> "unix"
> merve@merve-c500:~$ JAVA_HOME=/home/merve/jdk1.7.0_25 mvn -v
> Apache Maven 3.0.4
> Maven home: /usr/share/maven
> Java version: 1.7.0_25, vendor: Oracle Corporation
> Java home: /home/merve/jdk1.7.0_25/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.2.0-23-generic-pae", arch: "i386", family:
> "unix"
> merve@merve-c500:~
>
>
> 2013/8/16 Stefan Seelmann <ma...@stefan-seelmann.de>
>
>> I suspect there is a encoding issue. Can you please post the output of
>> "mvn -v"?
>>
>> Kind Regards,
>> Stefan
>>
>>
>> On 08/16/2013 08:47 PM, Merve Temizer wrote:
>> > Hello again,
>> >
>> > I am getting an error with mvn clean install
>> >
>> > [INFO]
>> > [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
>> > apacheds-core-shared ---
>> > [INFO] Nothing to compile - all classes are up to date
>> > [INFO]
>> > [INFO] --- maven-resources-plugin:2.5:testResources
>> (default-testResources)
>> > @ apacheds-core-shared ---
>> > [debug] execute contextualize
>> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> > [INFO] skip non existing resourceDirectory
>> >
>> /home/merve/workspaces/workspacesonunsonu/apacheds/core-shared/src/test/resources
>> > [INFO] Copying 3 resources
>> > [INFO] Copying 3 resources
>> > [INFO]
>> > [INFO] --- maven-compiler-plugin:2.3.2:testCompile
>> (default-testCompile) @
>> > apacheds-core-shared ---
>> > [INFO] Nothing to compile - all classes are up to date
>> > [INFO]
>> > [INFO] --- maven-surefire-plugin:2.12:test (default-test) @
>> > apacheds-core-shared ---
>> > [INFO] Tests are skipped.
>> > [INFO]
>> > [INFO] --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @
>> > apacheds-core-shared ---
>> > [ERROR] An internal error occurred
>> > java.io.IOException: Opening resource
>> > at
>> aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:35)
>> > at aQute.lib.osgi.AbstractResource.write(AbstractResource.java:46)
>> > at aQute.lib.osgi.Jar.writeResource(Jar.java:445)
>> > at aQute.lib.osgi.Jar.write(Jar.java:224)
>> > at aQute.lib.osgi.Jar.write(Jar.java:192)
>> > at
>> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:362)
>> > at
>> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:264)
>> > at
>> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:255)
>> > at
>> >
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>> > at
>> >
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> > at
>> >
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> > at
>> >
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> > at java.lang.reflect.Method.invoke(Method.java:606)
>> > at
>> >
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>> > at
>> >
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>> > at
>> >
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>> > at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>> > Caused by: java.util.UnknownFormatConversionException: Conversion = '�'
>> > at java.util.Formatter.checkText(Formatter.java:2547)
>> > at java.util.Formatter.parse(Formatter.java:2533)
>> > at java.util.Formatter.format(Formatter.java:2469)
>> > at java.util.Formatter.format(Formatter.java:2423)
>> > at java.lang.String.format(String.java:2797)
>> > at aQute.lib.osgi.Processor.formatArrays(Processor.java:1273)
>> > at aQute.lib.osgi.Processor.warning(Processor.java:116)
>> > at aQute.lib.osgi.Macro.replace(Macro.java:144)
>> > at aQute.lib.osgi.Macro.process(Macro.java:71)
>> > at aQute.lib.osgi.Macro.process(Macro.java:58)
>> > at aQute.lib.osgi.Macro.process(Macro.java:53)
>> > at aQute.lib.osgi.Macro.process(Macro.java:964)
>> > at
>> aQute.lib.osgi.PreprocessResource.getBytes(PreprocessResource.java:25)
>> > at
>> aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:31)
>> > ... 28 more
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Reactor Summary:
>> > [INFO]
>> > [INFO] ApacheDS .......................................... SUCCESS
>> [4.341s]
>> > [INFO] ApacheDS I18n ..................................... SUCCESS
>> [2.923s]
>> > [INFO] ApacheDS Core Constants ........................... SUCCESS
>> [1.128s]
>> > [INFO] ApacheDS Core API ................................. SUCCESS
>> [24.125s]
>> > [INFO] ApacheDS Core Shared .............................. FAILURE
>> [6.485s]
>> > [INFO] ApacheDS Interceptors ............................. SKIPPED
>> > [INFO] ApacheDS AdministrativePoint Interceptor .......... SKIPPED
>> > [INFO] ApacheDS Authentication Interceptor ............... SKIPPED
>> > [INFO] ApacheDS Authorization Interceptor ................ SKIPPED
>> > [INFO] ApacheDS ChangeLog Interceptor .................... SKIPPED
>> > [INFO] ApacheDS Collective Attribute Interceptor ......... SKIPPED
>> > [INFO] ApacheDS Event Interceptor ........................ SKIPPED
>> > [INFO] ApacheDS Exception Interceptor .................... SKIPPED
>> > [INFO] ApacheDS Journal Interceptor ...................... SKIPPED
>> > [INFO] ApacheDS Normalization Interceptor ................ SKIPPED
>> > [INFO] ApacheDS Operational Attribute Interceptor ........ SKIPPED
>> > [INFO] ApacheDS Referral Interceptor ..................... SKIPPED
>> > [INFO] ApacheDS Schema Interceptor ....................... SKIPPED
>> > [INFO] ApacheDS Subtree Interceptor ...................... SKIPPED
>> > [INFO] ApacheDS Triggers Interceptor ..................... SKIPPED
>> > [INFO] ApacheDS Core ..................................... SKIPPED
>> > [INFO] ApacheDS Core AVL ................................. SKIPPED
>> > [INFO] ApacheDS Generalized (X) DBM Partition ............ SKIPPED
>> > [INFO] ApacheDS LDIF Partition ........................... SKIPPED
>> > [INFO] ApacheDS JDBM Partition ........................... SKIPPED
>> > [INFO] ApacheDS Core Annotations ......................... SKIPPED
>> > [INFO] ApacheDS Core JNDI ................................ SKIPPED
>> > [INFO] ApacheDS Protocol Shared .......................... SKIPPED
>> > [INFO] ApacheDS Protocol Kerberos Codec .................. SKIPPED
>> > [INFO] ApacheDS Interceptors for Kerberos ................ SKIPPED
>> > [INFO] ApacheDS Protocol Dhcp ............................ SKIPPED
>> > [INFO] ApacheDS Protocol Dns ............................. SKIPPED
>> > [INFO] ApacheDS Protocol Kerberos ........................ SKIPPED
>> > [INFO] ApacheDS Protocol Ldap ............................ SKIPPED
>> > [INFO] ApacheDS Protocol Ntp ............................. SKIPPED
>> > [INFO] Apacheds Server Annotations ....................... SKIPPED
>> > [INFO] ApacheDS Server Config ............................ SKIPPED
>> > [INFO] ApacheDS Server JNDI .............................. SKIPPED
>> > [INFO] ApacheDS Server Replication Service ............... SKIPPED
>> > [INFO] ApacheDS Test Framework ........................... SKIPPED
>> > [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
>> > [INFO] ApacheDS All ...................................... SKIPPED
>> > [INFO] ApacheDS Logger Interceptor ....................... SKIPPED
>> > [INFO] ApacheDS Password Hashing Interceptor ............. SKIPPED
>> > [INFO] ApacheDS Core Integration ......................... SKIPPED
>> > [INFO] ApacheDS Server Integration ....................... SKIPPED
>> > [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
>> > [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
>> > [INFO] ApacheDS Service Builder .......................... SKIPPED
>> > [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
>> > [INFO] Apache Directory LDAP Client API test ............. SKIPPED
>> > [INFO] ApacheDS Service .................................. SKIPPED
>> > [INFO] ApacheDS Wrapper .................................. SKIPPED
>> > [INFO] ApacheDS Installers Maven Plugin .................. SKIPPED
>> > [INFO] ApacheDS Installers ............................... SKIPPED
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] BUILD FAILURE
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Total time: 44.838s
>> > [INFO] Finished at: Fri Aug 16 21:36:47 EEST 2013
>> > [INFO] Final Memory: 54M/296M
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [ERROR] Failed to execute goal
>> > org.apache.felix:maven-bundle-plugin:2.3.7:bundle (default-bundle) on
>> > project apacheds-core-shared: Internal error in maven-bundle-plugin:
>> > Opening resource: Conversion = '�' -> [Help 1]
>> > [ERROR]
>> > [ERROR] To see the full stack trace of the errors, re-run Maven with
>> the -e
>> > switch.
>> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> > [ERROR]
>> > [ERROR] For more information about the errors and possible solutions,
>> > please read the following articles:
>> > [ERROR] [Help 1]
>> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>> > [ERROR]
>> > [ERROR] After correcting the problems, you can resume the build with the
>> > command
>> > [ERROR] mvn <goals> -rf :apacheds-core-shared
>> >
>> >
>> > 2013/8/16 Emmanuel Lécharny <el...@gmail.com>
>> >
>> >> Le 8/16/13 6:11 PM, Merve Temizer a écrit :
>> >>> Thanks for reply.
>> >>>
>> >>> I have projects like apacheds-all apacheds-core in my worksace, and
>> they
>> >>> are standing in my workspace as individual projects.
>> >>
>> >> Yes, but they are both referencing to jars which are in your maven
>> >> repository. Changing the server-config content locally will not be seen
>> >> by the two projects you have unless you deploy it in your local
>> repository.
>> >>>
>> >>> Can i "mvn clean install -DskipTests" in apacheds-all?
>> >> You can, but it will just build apacheds-all.
>> >>
>> >>>
>> >>> I want to know if i should check out all the source every time i do
>> >> change
>> >>> in source.
>> >>
>> >> Well, if you change something in the sources, you probably want to have
>> >> all the sources being on your disk. You usually don't have to check out
>> >> the whole repository, doing a svn up from time to time will let you be
>> >> in sync with the latest version?
>> >>
>> >>>
>> >>> If i remeber right when i import them into workspace last time, they
>> came
>> >>> as individual projects. Thus now where can i run "mvn clean install
>> >>> -DskipTests" now?
>> >>
>> >> From trunk.
>> >>
>> >>
>> >> --
>> >> Regards,
>> >> Cordialement,
>> >> Emmanuel Lécharny
>> >> www.iktek.com
>> >>
>> >>
>> >
>>
>>
>

Re: Changed config.ldif at apacheds-server-config but no effect

Posted by Merve Temizer <me...@gmail.com>.
i could not set my Java correctly thus i use second command with editing
JAVA_HOME at command line

merve@merve-c500:~$ mvn -v
Warning: JAVA_HOME environment variable is not set.
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk-i386/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-23-generic-pae", arch: "i386", family:
"unix"
merve@merve-c500:~$ JAVA_HOME=/home/merve/jdk1.7.0_25 mvn -v
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.7.0_25, vendor: Oracle Corporation
Java home: /home/merve/jdk1.7.0_25/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-23-generic-pae", arch: "i386", family:
"unix"
merve@merve-c500:~


2013/8/16 Stefan Seelmann <ma...@stefan-seelmann.de>

> I suspect there is a encoding issue. Can you please post the output of
> "mvn -v"?
>
> Kind Regards,
> Stefan
>
>
> On 08/16/2013 08:47 PM, Merve Temizer wrote:
> > Hello again,
> >
> > I am getting an error with mvn clean install
> >
> > [INFO]
> > [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
> > apacheds-core-shared ---
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO]
> > [INFO] --- maven-resources-plugin:2.5:testResources
> (default-testResources)
> > @ apacheds-core-shared ---
> > [debug] execute contextualize
> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > [INFO] skip non existing resourceDirectory
> >
> /home/merve/workspaces/workspacesonunsonu/apacheds/core-shared/src/test/resources
> > [INFO] Copying 3 resources
> > [INFO] Copying 3 resources
> > [INFO]
> > [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile)
> @
> > apacheds-core-shared ---
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO]
> > [INFO] --- maven-surefire-plugin:2.12:test (default-test) @
> > apacheds-core-shared ---
> > [INFO] Tests are skipped.
> > [INFO]
> > [INFO] --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @
> > apacheds-core-shared ---
> > [ERROR] An internal error occurred
> > java.io.IOException: Opening resource
> > at
> aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:35)
> > at aQute.lib.osgi.AbstractResource.write(AbstractResource.java:46)
> > at aQute.lib.osgi.Jar.writeResource(Jar.java:445)
> > at aQute.lib.osgi.Jar.write(Jar.java:224)
> > at aQute.lib.osgi.Jar.write(Jar.java:192)
> > at
> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:362)
> > at
> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:264)
> > at
> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:255)
> > at
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> > at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> > at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> > at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > at
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> > at
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> > at
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> > at
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:606)
> > at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> > at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> > at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> > at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > Caused by: java.util.UnknownFormatConversionException: Conversion = '�'
> > at java.util.Formatter.checkText(Formatter.java:2547)
> > at java.util.Formatter.parse(Formatter.java:2533)
> > at java.util.Formatter.format(Formatter.java:2469)
> > at java.util.Formatter.format(Formatter.java:2423)
> > at java.lang.String.format(String.java:2797)
> > at aQute.lib.osgi.Processor.formatArrays(Processor.java:1273)
> > at aQute.lib.osgi.Processor.warning(Processor.java:116)
> > at aQute.lib.osgi.Macro.replace(Macro.java:144)
> > at aQute.lib.osgi.Macro.process(Macro.java:71)
> > at aQute.lib.osgi.Macro.process(Macro.java:58)
> > at aQute.lib.osgi.Macro.process(Macro.java:53)
> > at aQute.lib.osgi.Macro.process(Macro.java:964)
> > at aQute.lib.osgi.PreprocessResource.getBytes(PreprocessResource.java:25)
> > at
> aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:31)
> > ... 28 more
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] ApacheDS .......................................... SUCCESS
> [4.341s]
> > [INFO] ApacheDS I18n ..................................... SUCCESS
> [2.923s]
> > [INFO] ApacheDS Core Constants ........................... SUCCESS
> [1.128s]
> > [INFO] ApacheDS Core API ................................. SUCCESS
> [24.125s]
> > [INFO] ApacheDS Core Shared .............................. FAILURE
> [6.485s]
> > [INFO] ApacheDS Interceptors ............................. SKIPPED
> > [INFO] ApacheDS AdministrativePoint Interceptor .......... SKIPPED
> > [INFO] ApacheDS Authentication Interceptor ............... SKIPPED
> > [INFO] ApacheDS Authorization Interceptor ................ SKIPPED
> > [INFO] ApacheDS ChangeLog Interceptor .................... SKIPPED
> > [INFO] ApacheDS Collective Attribute Interceptor ......... SKIPPED
> > [INFO] ApacheDS Event Interceptor ........................ SKIPPED
> > [INFO] ApacheDS Exception Interceptor .................... SKIPPED
> > [INFO] ApacheDS Journal Interceptor ...................... SKIPPED
> > [INFO] ApacheDS Normalization Interceptor ................ SKIPPED
> > [INFO] ApacheDS Operational Attribute Interceptor ........ SKIPPED
> > [INFO] ApacheDS Referral Interceptor ..................... SKIPPED
> > [INFO] ApacheDS Schema Interceptor ....................... SKIPPED
> > [INFO] ApacheDS Subtree Interceptor ...................... SKIPPED
> > [INFO] ApacheDS Triggers Interceptor ..................... SKIPPED
> > [INFO] ApacheDS Core ..................................... SKIPPED
> > [INFO] ApacheDS Core AVL ................................. SKIPPED
> > [INFO] ApacheDS Generalized (X) DBM Partition ............ SKIPPED
> > [INFO] ApacheDS LDIF Partition ........................... SKIPPED
> > [INFO] ApacheDS JDBM Partition ........................... SKIPPED
> > [INFO] ApacheDS Core Annotations ......................... SKIPPED
> > [INFO] ApacheDS Core JNDI ................................ SKIPPED
> > [INFO] ApacheDS Protocol Shared .......................... SKIPPED
> > [INFO] ApacheDS Protocol Kerberos Codec .................. SKIPPED
> > [INFO] ApacheDS Interceptors for Kerberos ................ SKIPPED
> > [INFO] ApacheDS Protocol Dhcp ............................ SKIPPED
> > [INFO] ApacheDS Protocol Dns ............................. SKIPPED
> > [INFO] ApacheDS Protocol Kerberos ........................ SKIPPED
> > [INFO] ApacheDS Protocol Ldap ............................ SKIPPED
> > [INFO] ApacheDS Protocol Ntp ............................. SKIPPED
> > [INFO] Apacheds Server Annotations ....................... SKIPPED
> > [INFO] ApacheDS Server Config ............................ SKIPPED
> > [INFO] ApacheDS Server JNDI .............................. SKIPPED
> > [INFO] ApacheDS Server Replication Service ............... SKIPPED
> > [INFO] ApacheDS Test Framework ........................... SKIPPED
> > [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
> > [INFO] ApacheDS All ...................................... SKIPPED
> > [INFO] ApacheDS Logger Interceptor ....................... SKIPPED
> > [INFO] ApacheDS Password Hashing Interceptor ............. SKIPPED
> > [INFO] ApacheDS Core Integration ......................... SKIPPED
> > [INFO] ApacheDS Server Integration ....................... SKIPPED
> > [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
> > [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
> > [INFO] ApacheDS Service Builder .......................... SKIPPED
> > [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
> > [INFO] Apache Directory LDAP Client API test ............. SKIPPED
> > [INFO] ApacheDS Service .................................. SKIPPED
> > [INFO] ApacheDS Wrapper .................................. SKIPPED
> > [INFO] ApacheDS Installers Maven Plugin .................. SKIPPED
> > [INFO] ApacheDS Installers ............................... SKIPPED
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 44.838s
> > [INFO] Finished at: Fri Aug 16 21:36:47 EEST 2013
> > [INFO] Final Memory: 54M/296M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.felix:maven-bundle-plugin:2.3.7:bundle (default-bundle) on
> > project apacheds-core-shared: Internal error in maven-bundle-plugin:
> > Opening resource: Conversion = '�' -> [Help 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e
> > switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> > please read the following articles:
> > [ERROR] [Help 1]
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with the
> > command
> > [ERROR] mvn <goals> -rf :apacheds-core-shared
> >
> >
> > 2013/8/16 Emmanuel Lécharny <el...@gmail.com>
> >
> >> Le 8/16/13 6:11 PM, Merve Temizer a écrit :
> >>> Thanks for reply.
> >>>
> >>> I have projects like apacheds-all apacheds-core in my worksace, and
> they
> >>> are standing in my workspace as individual projects.
> >>
> >> Yes, but they are both referencing to jars which are in your maven
> >> repository. Changing the server-config content locally will not be seen
> >> by the two projects you have unless you deploy it in your local
> repository.
> >>>
> >>> Can i "mvn clean install -DskipTests" in apacheds-all?
> >> You can, but it will just build apacheds-all.
> >>
> >>>
> >>> I want to know if i should check out all the source every time i do
> >> change
> >>> in source.
> >>
> >> Well, if you change something in the sources, you probably want to have
> >> all the sources being on your disk. You usually don't have to check out
> >> the whole repository, doing a svn up from time to time will let you be
> >> in sync with the latest version?
> >>
> >>>
> >>> If i remeber right when i import them into workspace last time, they
> came
> >>> as individual projects. Thus now where can i run "mvn clean install
> >>> -DskipTests" now?
> >>
> >> From trunk.
> >>
> >>
> >> --
> >> Regards,
> >> Cordialement,
> >> Emmanuel Lécharny
> >> www.iktek.com
> >>
> >>
> >
>
>

Re: Changed config.ldif at apacheds-server-config but no effect

Posted by Stefan Seelmann <ma...@stefan-seelmann.de>.
I suspect there is a encoding issue. Can you please post the output of
"mvn -v"?

Kind Regards,
Stefan


On 08/16/2013 08:47 PM, Merve Temizer wrote:
> Hello again,
> 
> I am getting an error with mvn clean install
> 
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
> apacheds-core-shared ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources)
> @ apacheds-core-shared ---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> /home/merve/workspaces/workspacesonunsonu/apacheds/core-shared/src/test/resources
> [INFO] Copying 3 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
> apacheds-core-shared ---
> [INFO] Nothing to compile - all classes are up to date
> [INFO]
> [INFO] --- maven-surefire-plugin:2.12:test (default-test) @
> apacheds-core-shared ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @
> apacheds-core-shared ---
> [ERROR] An internal error occurred
> java.io.IOException: Opening resource
> at aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:35)
> at aQute.lib.osgi.AbstractResource.write(AbstractResource.java:46)
> at aQute.lib.osgi.Jar.writeResource(Jar.java:445)
> at aQute.lib.osgi.Jar.write(Jar.java:224)
> at aQute.lib.osgi.Jar.write(Jar.java:192)
> at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:362)
> at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:264)
> at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:255)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: java.util.UnknownFormatConversionException: Conversion = '�'
> at java.util.Formatter.checkText(Formatter.java:2547)
> at java.util.Formatter.parse(Formatter.java:2533)
> at java.util.Formatter.format(Formatter.java:2469)
> at java.util.Formatter.format(Formatter.java:2423)
> at java.lang.String.format(String.java:2797)
> at aQute.lib.osgi.Processor.formatArrays(Processor.java:1273)
> at aQute.lib.osgi.Processor.warning(Processor.java:116)
> at aQute.lib.osgi.Macro.replace(Macro.java:144)
> at aQute.lib.osgi.Macro.process(Macro.java:71)
> at aQute.lib.osgi.Macro.process(Macro.java:58)
> at aQute.lib.osgi.Macro.process(Macro.java:53)
> at aQute.lib.osgi.Macro.process(Macro.java:964)
> at aQute.lib.osgi.PreprocessResource.getBytes(PreprocessResource.java:25)
> at aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:31)
> ... 28 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] ApacheDS .......................................... SUCCESS [4.341s]
> [INFO] ApacheDS I18n ..................................... SUCCESS [2.923s]
> [INFO] ApacheDS Core Constants ........................... SUCCESS [1.128s]
> [INFO] ApacheDS Core API ................................. SUCCESS [24.125s]
> [INFO] ApacheDS Core Shared .............................. FAILURE [6.485s]
> [INFO] ApacheDS Interceptors ............................. SKIPPED
> [INFO] ApacheDS AdministrativePoint Interceptor .......... SKIPPED
> [INFO] ApacheDS Authentication Interceptor ............... SKIPPED
> [INFO] ApacheDS Authorization Interceptor ................ SKIPPED
> [INFO] ApacheDS ChangeLog Interceptor .................... SKIPPED
> [INFO] ApacheDS Collective Attribute Interceptor ......... SKIPPED
> [INFO] ApacheDS Event Interceptor ........................ SKIPPED
> [INFO] ApacheDS Exception Interceptor .................... SKIPPED
> [INFO] ApacheDS Journal Interceptor ...................... SKIPPED
> [INFO] ApacheDS Normalization Interceptor ................ SKIPPED
> [INFO] ApacheDS Operational Attribute Interceptor ........ SKIPPED
> [INFO] ApacheDS Referral Interceptor ..................... SKIPPED
> [INFO] ApacheDS Schema Interceptor ....................... SKIPPED
> [INFO] ApacheDS Subtree Interceptor ...................... SKIPPED
> [INFO] ApacheDS Triggers Interceptor ..................... SKIPPED
> [INFO] ApacheDS Core ..................................... SKIPPED
> [INFO] ApacheDS Core AVL ................................. SKIPPED
> [INFO] ApacheDS Generalized (X) DBM Partition ............ SKIPPED
> [INFO] ApacheDS LDIF Partition ........................... SKIPPED
> [INFO] ApacheDS JDBM Partition ........................... SKIPPED
> [INFO] ApacheDS Core Annotations ......................... SKIPPED
> [INFO] ApacheDS Core JNDI ................................ SKIPPED
> [INFO] ApacheDS Protocol Shared .......................... SKIPPED
> [INFO] ApacheDS Protocol Kerberos Codec .................. SKIPPED
> [INFO] ApacheDS Interceptors for Kerberos ................ SKIPPED
> [INFO] ApacheDS Protocol Dhcp ............................ SKIPPED
> [INFO] ApacheDS Protocol Dns ............................. SKIPPED
> [INFO] ApacheDS Protocol Kerberos ........................ SKIPPED
> [INFO] ApacheDS Protocol Ldap ............................ SKIPPED
> [INFO] ApacheDS Protocol Ntp ............................. SKIPPED
> [INFO] Apacheds Server Annotations ....................... SKIPPED
> [INFO] ApacheDS Server Config ............................ SKIPPED
> [INFO] ApacheDS Server JNDI .............................. SKIPPED
> [INFO] ApacheDS Server Replication Service ............... SKIPPED
> [INFO] ApacheDS Test Framework ........................... SKIPPED
> [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
> [INFO] ApacheDS All ...................................... SKIPPED
> [INFO] ApacheDS Logger Interceptor ....................... SKIPPED
> [INFO] ApacheDS Password Hashing Interceptor ............. SKIPPED
> [INFO] ApacheDS Core Integration ......................... SKIPPED
> [INFO] ApacheDS Server Integration ....................... SKIPPED
> [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
> [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
> [INFO] ApacheDS Service Builder .......................... SKIPPED
> [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
> [INFO] Apache Directory LDAP Client API test ............. SKIPPED
> [INFO] ApacheDS Service .................................. SKIPPED
> [INFO] ApacheDS Wrapper .................................. SKIPPED
> [INFO] ApacheDS Installers Maven Plugin .................. SKIPPED
> [INFO] ApacheDS Installers ............................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 44.838s
> [INFO] Finished at: Fri Aug 16 21:36:47 EEST 2013
> [INFO] Final Memory: 54M/296M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.felix:maven-bundle-plugin:2.3.7:bundle (default-bundle) on
> project apacheds-core-shared: Internal error in maven-bundle-plugin:
> Opening resource: Conversion = '�' -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :apacheds-core-shared
> 
> 
> 2013/8/16 Emmanuel Lécharny <el...@gmail.com>
> 
>> Le 8/16/13 6:11 PM, Merve Temizer a écrit :
>>> Thanks for reply.
>>>
>>> I have projects like apacheds-all apacheds-core in my worksace, and they
>>> are standing in my workspace as individual projects.
>>
>> Yes, but they are both referencing to jars which are in your maven
>> repository. Changing the server-config content locally will not be seen
>> by the two projects you have unless you deploy it in your local repository.
>>>
>>> Can i "mvn clean install -DskipTests" in apacheds-all?
>> You can, but it will just build apacheds-all.
>>
>>>
>>> I want to know if i should check out all the source every time i do
>> change
>>> in source.
>>
>> Well, if you change something in the sources, you probably want to have
>> all the sources being on your disk. You usually don't have to check out
>> the whole repository, doing a svn up from time to time will let you be
>> in sync with the latest version?
>>
>>>
>>> If i remeber right when i import them into workspace last time, they came
>>> as individual projects. Thus now where can i run "mvn clean install
>>> -DskipTests" now?
>>
>> From trunk.
>>
>>
>> --
>> Regards,
>> Cordialement,
>> Emmanuel Lécharny
>> www.iktek.com
>>
>>
> 


Re: Changed config.ldif at apacheds-server-config but no effect

Posted by Merve Temizer <me...@gmail.com>.
Hello again,

I am getting an error with mvn clean install

[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
apacheds-core-shared ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources)
@ apacheds-core-shared ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/merve/workspaces/workspacesonunsonu/apacheds/core-shared/src/test/resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
apacheds-core-shared ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @
apacheds-core-shared ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @
apacheds-core-shared ---
[ERROR] An internal error occurred
java.io.IOException: Opening resource
at aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:35)
at aQute.lib.osgi.AbstractResource.write(AbstractResource.java:46)
at aQute.lib.osgi.Jar.writeResource(Jar.java:445)
at aQute.lib.osgi.Jar.write(Jar.java:224)
at aQute.lib.osgi.Jar.write(Jar.java:192)
at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:362)
at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:264)
at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:255)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: java.util.UnknownFormatConversionException: Conversion = '�'
at java.util.Formatter.checkText(Formatter.java:2547)
at java.util.Formatter.parse(Formatter.java:2533)
at java.util.Formatter.format(Formatter.java:2469)
at java.util.Formatter.format(Formatter.java:2423)
at java.lang.String.format(String.java:2797)
at aQute.lib.osgi.Processor.formatArrays(Processor.java:1273)
at aQute.lib.osgi.Processor.warning(Processor.java:116)
at aQute.lib.osgi.Macro.replace(Macro.java:144)
at aQute.lib.osgi.Macro.process(Macro.java:71)
at aQute.lib.osgi.Macro.process(Macro.java:58)
at aQute.lib.osgi.Macro.process(Macro.java:53)
at aQute.lib.osgi.Macro.process(Macro.java:964)
at aQute.lib.osgi.PreprocessResource.getBytes(PreprocessResource.java:25)
at aQute.lib.osgi.AbstractResource.getLocalBytes(AbstractResource.java:31)
... 28 more
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ApacheDS .......................................... SUCCESS [4.341s]
[INFO] ApacheDS I18n ..................................... SUCCESS [2.923s]
[INFO] ApacheDS Core Constants ........................... SUCCESS [1.128s]
[INFO] ApacheDS Core API ................................. SUCCESS [24.125s]
[INFO] ApacheDS Core Shared .............................. FAILURE [6.485s]
[INFO] ApacheDS Interceptors ............................. SKIPPED
[INFO] ApacheDS AdministrativePoint Interceptor .......... SKIPPED
[INFO] ApacheDS Authentication Interceptor ............... SKIPPED
[INFO] ApacheDS Authorization Interceptor ................ SKIPPED
[INFO] ApacheDS ChangeLog Interceptor .................... SKIPPED
[INFO] ApacheDS Collective Attribute Interceptor ......... SKIPPED
[INFO] ApacheDS Event Interceptor ........................ SKIPPED
[INFO] ApacheDS Exception Interceptor .................... SKIPPED
[INFO] ApacheDS Journal Interceptor ...................... SKIPPED
[INFO] ApacheDS Normalization Interceptor ................ SKIPPED
[INFO] ApacheDS Operational Attribute Interceptor ........ SKIPPED
[INFO] ApacheDS Referral Interceptor ..................... SKIPPED
[INFO] ApacheDS Schema Interceptor ....................... SKIPPED
[INFO] ApacheDS Subtree Interceptor ...................... SKIPPED
[INFO] ApacheDS Triggers Interceptor ..................... SKIPPED
[INFO] ApacheDS Core ..................................... SKIPPED
[INFO] ApacheDS Core AVL ................................. SKIPPED
[INFO] ApacheDS Generalized (X) DBM Partition ............ SKIPPED
[INFO] ApacheDS LDIF Partition ........................... SKIPPED
[INFO] ApacheDS JDBM Partition ........................... SKIPPED
[INFO] ApacheDS Core Annotations ......................... SKIPPED
[INFO] ApacheDS Core JNDI ................................ SKIPPED
[INFO] ApacheDS Protocol Shared .......................... SKIPPED
[INFO] ApacheDS Protocol Kerberos Codec .................. SKIPPED
[INFO] ApacheDS Interceptors for Kerberos ................ SKIPPED
[INFO] ApacheDS Protocol Dhcp ............................ SKIPPED
[INFO] ApacheDS Protocol Dns ............................. SKIPPED
[INFO] ApacheDS Protocol Kerberos ........................ SKIPPED
[INFO] ApacheDS Protocol Ldap ............................ SKIPPED
[INFO] ApacheDS Protocol Ntp ............................. SKIPPED
[INFO] Apacheds Server Annotations ....................... SKIPPED
[INFO] ApacheDS Server Config ............................ SKIPPED
[INFO] ApacheDS Server JNDI .............................. SKIPPED
[INFO] ApacheDS Server Replication Service ............... SKIPPED
[INFO] ApacheDS Test Framework ........................... SKIPPED
[INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
[INFO] ApacheDS All ...................................... SKIPPED
[INFO] ApacheDS Logger Interceptor ....................... SKIPPED
[INFO] ApacheDS Password Hashing Interceptor ............. SKIPPED
[INFO] ApacheDS Core Integration ......................... SKIPPED
[INFO] ApacheDS Server Integration ....................... SKIPPED
[INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
[INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
[INFO] ApacheDS Service Builder .......................... SKIPPED
[INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
[INFO] Apache Directory LDAP Client API test ............. SKIPPED
[INFO] ApacheDS Service .................................. SKIPPED
[INFO] ApacheDS Wrapper .................................. SKIPPED
[INFO] ApacheDS Installers Maven Plugin .................. SKIPPED
[INFO] ApacheDS Installers ............................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 44.838s
[INFO] Finished at: Fri Aug 16 21:36:47 EEST 2013
[INFO] Final Memory: 54M/296M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.felix:maven-bundle-plugin:2.3.7:bundle (default-bundle) on
project apacheds-core-shared: Internal error in maven-bundle-plugin:
Opening resource: Conversion = '�' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :apacheds-core-shared


2013/8/16 Emmanuel Lécharny <el...@gmail.com>

> Le 8/16/13 6:11 PM, Merve Temizer a écrit :
> > Thanks for reply.
> >
> > I have projects like apacheds-all apacheds-core in my worksace, and they
> > are standing in my workspace as individual projects.
>
> Yes, but they are both referencing to jars which are in your maven
> repository. Changing the server-config content locally will not be seen
> by the two projects you have unless you deploy it in your local repository.
> >
> > Can i "mvn clean install -DskipTests" in apacheds-all?
> You can, but it will just build apacheds-all.
>
> >
> > I want to know if i should check out all the source every time i do
> change
> > in source.
>
> Well, if you change something in the sources, you probably want to have
> all the sources being on your disk. You usually don't have to check out
> the whole repository, doing a svn up from time to time will let you be
> in sync with the latest version?
>
> >
> > If i remeber right when i import them into workspace last time, they came
> > as individual projects. Thus now where can i run "mvn clean install
> > -DskipTests" now?
>
> From trunk.
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
>

Re: Changed config.ldif at apacheds-server-config but no effect

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 8/16/13 6:11 PM, Merve Temizer a écrit :
> Thanks for reply.
>
> I have projects like apacheds-all apacheds-core in my worksace, and they
> are standing in my workspace as individual projects.

Yes, but they are both referencing to jars which are in your maven
repository. Changing the server-config content locally will not be seen
by the two projects you have unless you deploy it in your local repository.
>
> Can i "mvn clean install -DskipTests" in apacheds-all?
You can, but it will just build apacheds-all.

>
> I want to know if i should check out all the source every time i do change
> in source.

Well, if you change something in the sources, you probably want to have
all the sources being on your disk. You usually don't have to check out
the whole repository, doing a svn up from time to time will let you be
in sync with the latest version?

>
> If i remeber right when i import them into workspace last time, they came
> as individual projects. Thus now where can i run "mvn clean install
> -DskipTests" now?

>From trunk.


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 


Re: Changed config.ldif at apacheds-server-config but no effect

Posted by Merve Temizer <me...@gmail.com>.
Thanks for reply.

I have projects like apacheds-all apacheds-core in my worksace, and they
are standing in my workspace as individual projects.

Can i "mvn clean install -DskipTests" in apacheds-all?

I want to know if i should check out all the source every time i do change
in source.

If i remeber right when i import them into workspace last time, they came
as individual projects. Thus now where can i run "mvn clean install
-DskipTests" now?


2013/8/16 Emmanuel Lécharny <el...@gmail.com>

> Le 8/16/13 5:23 PM, Merve Temizer a écrit :
> > I have checked out from svn all apacheds related projects source,
> imported
> > them into eclipse, builded from source and started to manage them by
> > eclipse apache strudio plugin.
> >
> > I was able to add entries with userPassword attributes a while ago,
> > but nowadays i am getting 'cannot verify quality of non-cleartext
> password'
> > error when i want to add an entry with attribute 'userPassword'.
> >
> > I changed config.ldif at apacheds-server-config project by changing
> > ads-pwdCheckQuality from 2 to 0, cleaned and built all the workspace and
> > restart apacheds server but i am still getting error on adding
> userPassword
> > attribute with SHA or SSHA
> >
> How did you built the server ?
>
> Usually, what we do is to check out all the code using this command :
>
> $ svn co
> https://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies
> apacheds-trunks
> $ cd apacheds-trunks
> $ mvn clean install -DskipTests
>
> (this is to avoid running the tests, otherwise it will take from 20 mins
> to one hour, depending on your disk and your CPU)
>
> then :
>
> $ mvn eclipse:eclipse
>
> Now, you can load the projects in eclipse, and all will be pointing to
> each others, instead of pointing to jars from the local maven repository.
>
> This is mandatory if you want to change the server-config content and
> having it loaded when you restart the server (otherwise, you still point
> to the jar in the repository).
>
> or, you can rebuild the server-cofig module alone.
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
>

Re: Changed config.ldif at apacheds-server-config but no effect

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 8/16/13 5:23 PM, Merve Temizer a écrit :
> I have checked out from svn all apacheds related projects source, imported
> them into eclipse, builded from source and started to manage them by
> eclipse apache strudio plugin.
>
> I was able to add entries with userPassword attributes a while ago,
> but nowadays i am getting 'cannot verify quality of non-cleartext password'
> error when i want to add an entry with attribute 'userPassword'.
>
> I changed config.ldif at apacheds-server-config project by changing
> ads-pwdCheckQuality from 2 to 0, cleaned and built all the workspace and
> restart apacheds server but i am still getting error on adding userPassword
> attribute with SHA or SSHA
>
How did you built the server ?

Usually, what we do is to check out all the code using this command :

$ svn co
https://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies
apacheds-trunks
$ cd apacheds-trunks
$ mvn clean install -DskipTests

(this is to avoid running the tests, otherwise it will take from 20 mins
to one hour, depending on your disk and your CPU)

then :

$ mvn eclipse:eclipse

Now, you can load the projects in eclipse, and all will be pointing to
each others, instead of pointing to jars from the local maven repository.

This is mandatory if you want to change the server-config content and
having it loaded when you restart the server (otherwise, you still point
to the jar in the repository).

or, you can rebuild the server-cofig module alone.


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com