directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-1136) Unable to launch the server using the apacheds.sh shell script in the installers project
Date Tue, 19 Feb 2008 09:42:43 GMT
Unable to launch the server using the apacheds.sh shell script in the installers project
----------------------------------------------------------------------------------------

                 Key: DIRSERVER-1136
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1136
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 1.5.2, bigbang
            Reporter: Pierre-Arnaud Marcelot
            Priority: Blocker


Here is the log:
MacBookPro:apacheds-noarch pajbam$ ./apacheds.sh 
uber jar not found need to build it
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'assembly'.
[INFO] ------------------------------------------------------------------------
[INFO] Building ApacheDS Architecture Independent Installer
[INFO]    task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /Users/pajbam/Development/Apache/ApacheDS/installers/apacheds-noarch/target
[INFO] Deleting file-set: . (included: [*.log, server.xml, META-INF, example.com], excluded:
[])
[INFO] ------------------------------------------------------------------------
[INFO] Building ApacheDS Architecture Independent Installer
[INFO]    task-segment: [assembly:assembly] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Preparing assembly:assembly
[INFO] ------------------------------------------------------------------------
[INFO] Building ApacheDS Architecture Independent Installer
[INFO] ------------------------------------------------------------------------
[INFO] [dependency:unpack {execution: unpack-server-xml}]
[INFO] Configured Artifact: org.apache.directory.server:apacheds-server-xml:1.5.2-SNAPSHOT:jar
[INFO] Unpacking /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-server-xml/1.5.2-SNAPSHOT/apacheds-server-xml-1.5.2-SNAPSHOT.jarto
 /Users/pajbam/Development/Apache/ApacheDS/installers/apacheds-noarch
with Includes null and excludes:null
Downloading: http://repo1.maven.org/maven2/jug/jug-asl/2.0.0/jug-asl-2.0.0.pom
Downloading: http://repo1.maven.org/maven2/opensymphony/quartz/1.6.0/quartz-1.6.0.pom
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[WARNING] Attempting to build MavenProject instance for Artifact (org.apache.commons:commons-io:1.3.2)
of type: jar; constructing POM artifact instead.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 2 source files to /Users/pajbam/Development/Apache/ApacheDS/installers/apacheds-noarch/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] Surefire report directory: /Users/pajbam/Development/Apache/ApacheDS/installers/apacheds-noarch/target/surefire-reports

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

Results :

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

[INFO] [jar:jar]
[INFO] Building jar: /Users/pajbam/Development/Apache/ApacheDS/installers/apacheds-noarch/target/apacheds-noarch-installer-1.5.2-SNAPSHOT.jar
[WARNING] DEPRECATED [classifier]: Please use the Assembly's id for classifier instead
[WARNING] DEPRECATED [descriptor]: Please use descriptors instead
[INFO] [assembly:assembly]
[INFO] Processing DependencySet (output=/)
[WARNING] The following patterns were never triggered in this artifact exclusion filter:
o  'avalon-framework:avalon-framework'
o  'logkit:logkit'
o  'jasperreports:jasperreports'
o  'freemarker:freemarker'
o  'asm:asm-util'
o  'asm:asm'
o  'com.jamonapi:jamon'
o  'xerces:xerces'
o  'com.sun:tools'
o  'oro:oro'
o  'xml-apis:xml-apis'
o  'aspectwerkz:aspectwerkz-core'
o  'velocity:velocity'
o  'velocity:velocity-dep'
o  'org.springframework:spring-aop'
o  'qdox:qdox'
o  'commons-attributes:commons-attributes-compiler'
o  'commons-attributes:commons-attributes-api'
o  'cglib:cglib'
o  'ant:ant'

[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/shared/shared-ldap/0.9.9-SNAPSHOT/shared-ldap-0.9.9-SNAPSHOT.jar
into /tmp/archived-file-set.1431707064.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/slf4j/slf4j-api/1.4.3/slf4j-api-1.4.3.jar
into /tmp/archived-file-set.1783394999.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.jar
into /tmp/archived-file-set.782463122.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar
into /tmp/archived-file-set.1284981291.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/shared/shared-asn1/0.9.9-SNAPSHOT/shared-asn1-0.9.9-SNAPSHOT.jar
into /tmp/archived-file-set.373923255.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/shared/shared-ldap-constants/0.9.9-SNAPSHOT/shared-ldap-constants-0.9.9-SNAPSHOT.jar
into /tmp/archived-file-set.409880297.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar into /tmp/archived-file-set.264031984.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/xbean/xbean-spring/3.2/xbean-spring-3.2.jar
into /tmp/archived-file-set.1948601457.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar
into /tmp/archived-file-set.1037650690.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-server-jndi/1.5.2-SNAPSHOT/apacheds-server-jndi-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.2011417863.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-protocol-ldap/1.5.2-SNAPSHOT/apacheds-protocol-ldap-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.646529624.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/shared/shared-asn1-codec/0.9.9-SNAPSHOT/shared-asn1-codec-0.9.9-SNAPSHOT.jar
into /tmp/archived-file-set.1707134034.tmp
[WARNING] Attempting to build MavenProject instance for Artifact (org.apache.mina:mina-core:1.1.4-20071029.044127-8)
of type: jar; constructing POM artifact instead.
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/mina/mina-core/1.1.4-SNAPSHOT/mina-core-1.1.4-SNAPSHOT.jar
into /tmp/archived-file-set.82924145.tmp
[WARNING] Attempting to build MavenProject instance for Artifact (org.apache.mina:mina-filter-ssl:1.1.4-20071029.044127-8)
of type: jar; constructing POM artifact instead.
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/mina/mina-filter-ssl/1.1.4-SNAPSHOT/mina-filter-ssl-1.1.4-SNAPSHOT.jar
into /tmp/archived-file-set.14964043.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-kerberos-shared/1.5.2-SNAPSHOT/apacheds-kerberos-shared-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.1094299329.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-core/1.5.2-SNAPSHOT/apacheds-core-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.1816942357.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-schema-bootstrap/1.5.2-SNAPSHOT/apacheds-schema-bootstrap-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.1594646901.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-schema-registries/1.5.2-SNAPSHOT/apacheds-schema-registries-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.655370856.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-core-shared/1.5.2-SNAPSHOT/apacheds-core-shared-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.2038943748.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-core-constants/1.5.2-SNAPSHOT/apacheds-core-constants-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.357158165.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/jdbm/jdbm/1.0/jdbm-1.0.jar into /tmp/archived-file-set.1749248473.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-core-entry/1.5.2-SNAPSHOT/apacheds-core-entry-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.1544982000.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-utils/1.5.2-SNAPSHOT/apacheds-utils-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.248215487.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-jdbm-store/1.5.2-SNAPSHOT/apacheds-jdbm-store-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.2041100121.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-btree-base/1.5.2-SNAPSHOT/apacheds-btree-base-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.1575971906.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-bootstrap-extract/1.5.2-SNAPSHOT/apacheds-bootstrap-extract-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.1708262063.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-protocol-shared/1.5.2-SNAPSHOT/apacheds-protocol-shared-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.709486211.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-bootstrap-partition/1.5.2-SNAPSHOT/apacheds-bootstrap-partition-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.284531447.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-schema-extras/1.5.2-SNAPSHOT/apacheds-schema-extras-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.626739617.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/slf4j/jcl104-over-slf4j/1.4.3/jcl104-over-slf4j-1.4.3.jar
into /tmp/archived-file-set.1673354028.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/slf4j/slf4j-log4j12/1.4.3/slf4j-log4j12-1.4.3.jar
into /tmp/archived-file-set.1460366111.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar into /tmp/archived-file-set.1024214235.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-protocol-ntp/1.5.2-SNAPSHOT/apacheds-protocol-ntp-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.589315383.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-server-xml/1.5.2-SNAPSHOT/apacheds-server-xml-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.633861023.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/daemon/daemon-bootstrappers/1.1.2-SNAPSHOT/daemon-bootstrappers-1.1.2-SNAPSHOT.jar
into /tmp/archived-file-set.628686177.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/commons-daemon/commons-daemon/1.0.1/commons-daemon-1.0.1.jar
into /tmp/archived-file-set.2046055884.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/tanukisoft/wrapper/3.2.3/wrapper-3.2.3.jar
into /tmp/archived-file-set.224672472.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/springframework/spring-core/2.0.6/spring-core-2.0.6.jar
into /tmp/archived-file-set.44080354.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/springframework/spring-beans/2.0.6/spring-beans-2.0.6.jar
into /tmp/archived-file-set.2121187410.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/springframework/spring-context/2.0.6/spring-context-2.0.6.jar
into /tmp/archived-file-set.1052080774.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-xbean-spring/1.5.2-SNAPSHOT/apacheds-xbean-spring-1.5.2-SNAPSHOT.jar
into /tmp/archived-file-set.997310816.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-protocol-shared/1.5.2-SNAPSHOT/apacheds-protocol-shared-1.5.2-SNAPSHOT-sources.jar
into /tmp/archived-file-set.1843063875.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-protocol-changepw/1.5.2-SNAPSHOT/apacheds-protocol-changepw-1.5.2-SNAPSHOT-sources.jar
into /tmp/archived-file-set.800919190.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-jdbm-store/1.5.2-SNAPSHOT/apacheds-jdbm-store-1.5.2-SNAPSHOT-sources.jar
into /tmp/archived-file-set.526236297.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-protocol-ntp/1.5.2-SNAPSHOT/apacheds-protocol-ntp-1.5.2-SNAPSHOT-sources.jar
into /tmp/archived-file-set.143209820.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-protocol-kerberos/1.5.2-SNAPSHOT/apacheds-protocol-kerberos-1.5.2-SNAPSHOT-sources.jar
into /tmp/archived-file-set.2093990200.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-protocol-ldap/1.5.2-SNAPSHOT/apacheds-protocol-ldap-1.5.2-SNAPSHOT-sources.jar
into /tmp/archived-file-set.1929748258.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-protocol-dns/1.5.2-SNAPSHOT/apacheds-protocol-dns-1.5.2-SNAPSHOT-sources.jar
into /tmp/archived-file-set.1076749556.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-core/1.5.2-SNAPSHOT/apacheds-core-1.5.2-SNAPSHOT-sources.jar
into /tmp/archived-file-set.1584852376.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/apacheds-server-jndi/1.5.2-SNAPSHOT/apacheds-server-jndi-1.5.2-SNAPSHOT-sources.jar
into /tmp/archived-file-set.1418641510.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/directory/server/mitosis/1.5.2-SNAPSHOT/mitosis-1.5.2-SNAPSHOT-sources.jar
into /tmp/archived-file-set.1371176189.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/derby/derby/10.3.1.4/derby-10.3.1.4.jar
into /tmp/archived-file-set.654944933.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/jug/jug-asl/2.0.0/jug-asl-2.0.0.jar into /tmp/archived-file-set.467778011.tmp
[WARNING] Attempting to build MavenProject instance for Artifact (org.apache.commons:commons-io:1.3.2)
of type: jar; constructing POM artifact instead.
[INFO] Expanding: /Users/pajbam/.m2/repository/org/apache/commons/commons-io/1.3.2/commons-io-1.3.2.jar
into /tmp/archived-file-set.1333750907.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/commons-dbcp/commons-dbcp/1.2.2/commons-dbcp-1.2.2.jar
into /tmp/archived-file-set.1725690793.tmp
[INFO] Expanding: /Users/pajbam/.m2/repository/opensymphony/quartz/1.6.0/quartz-1.6.0.jar
into /tmp/archived-file-set.1535807605.tmp
[INFO] Building jar: /Users/pajbam/Development/Apache/ApacheDS/installers/apacheds-noarch/target/apacheds-noarch-installer-1.5.2-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An invalid artifact was detected.

This artifact might be in your project's POM, or it might have been included transitively
during the resolution process. Here is the information we do have for this artifact:

    o GroupID:     org.apache.directory.installers
    o ArtifactID:  apacheds-noarch-installer
    o Version:     1.5.2-SNAPSHOT
    o Type:        jar

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.artifact.InvalidArtifactRTException: For artifact {org.apache.directory.installers:apacheds-noarch-installer:1.5.2-SNAPSHOT:jar}:
An attached artifact must have a different ID than its corresponding main artifact.
	at org.apache.maven.project.artifact.AttachedArtifact.<init>(AttachedArtifact.java:51)
	at org.apache.maven.project.DefaultMavenProjectHelper.attachArtifact(DefaultMavenProjectHelper.java:53)
	at org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:295)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:224)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23 seconds
[INFO] Finished at: Tue Feb 19 10:39:58 CET 2008
[INFO] Final Memory: 29M/53M
[INFO] ------------------------------------------------------------------------
Unable to access jarfile target/apacheds-noarch-installer-1.5.2-SNAPSHOT-app.jar


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message