You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Thorsten Scherler <th...@juntadeandalucia.es> on 2009/12/23 12:23:39 UTC
Uploading artifact with pom fails
Hi list,
I am facing a weird problem uploading artifacts with the web interface.
As soon as I upload as well the pom the jars are not going to be
uploaded. I attached the Post dump that I am using where I dropped the
binary part of the jar in this mail.
As soon I now review
http://archiva.sadesi.es/browse/org.apache.droids/droids-core/0.1-incubating-SNAPSHOT
I get the orange box but only with the link to the jar, where the size
is "00" and clicking on it results in:
HTTP 404 of the underlying Apache Tomcat/5.5.28.
Is this a general bug or a misconfiguration of our rep?
O a side note I can publish our projects to the rep via "mvn deploy" and
they show then well in the web. I will now try deploy:deploy-file and
see what that gives.
POST DUMP:
POST upload!doUpload.action
http://archiva.sadesi.es/upload!doUpload.action
200 OK
archiva.sadesi.es
7 KB
1.13s
ParamsHeadersPostPutResponseCacheHTML
Response Headers
Server Apache-Coyote/1.1
Set-Cookie rbkSignon=26a3857b656041c08fa69ce348ea0d23; Expires=Wed,
23-Dec-2009 11:36:26 GMT; Path=/
Content-Type text/html;charset=ISO-8859-1
Transfer-Encoding chunked
Date Wed, 23 Dec 2009 11:06:27 GMT
Request Headers
Host archiva.sadesi.es
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.16)
Gecko/2009121601 Ubuntu/9.04 (jaunty) Firefox/3.0.16
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language es,en-us;q=0.7,en;q=0.3
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
Referer http://archiva.sadesi.es/upload.action
Cookie JSESSIONID=8D054BD48533F344B22880194CC6C0CD;
rbkSignon=e864e83761dc4fafba96065ca087ad09
Content-Type: multipart/form-data;
boundary=---------------------------1872766107810116399940614425
Content-Length: 83051
-----------------------------1872766107810116399940614425
Content-Disposition: form-data; name="groupId"
org.apache.droids
-----------------------------1872766107810116399940614425
Content-Disposition: form-data; name="artifactId"
droids-core
-----------------------------1872766107810116399940614425
Content-Disposition: form-data; name="version"
0.1-incubating-SNAPSHOT
-----------------------------1872766107810116399940614425
Content-Disposition: form-data; name="packaging"
jar
-----------------------------1872766107810116399940614425
Content-Disposition: form-data; name="classifier"
-----------------------------1872766107810116399940614425
Content-Disposition: form-data; name="__checkbox_generatePom"
true
-----------------------------1872766107810116399940614425
Content-Disposition: form-data; name="artifact";
filename="droids-core-0.1-incubating-SNAPSHOT.jar"
Content-Type: application/jar
... JAR BIN CONTENT SNIPPET ---
-----------------------------1872766107810116399940614425
Content-Disposition: form-data; name="pom";
filename="droids-core-0.1-incubating-SNAPSHOT.pom"
Content-Type: application/octet-stream
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
====================================================================
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
====================================================================
This software consists of voluntary contributions made by many
individuals on behalf of the Apache Software Foundation. For more
information on the Apache Software Foundation, please see
<http://www.apache.org />.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>droids</artifactId>
<groupId>org.apache.droids</groupId>
<version>0.1-incubating-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>droids-core</artifactId>
<name>Droids Core</name>
<inceptionYear>2007</inceptionYear>
<description>
Droids API and core components
</description>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.apache.droids</groupId>
<artifactId>droids-norobots</artifactId>
<version>${pom.version}</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
<dependency>
<groupId>nekohtml</groupId>
<artifactId>nekohtml</artifactId>
</dependency>
<!-- TEST -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
-----------------------------1872766107810116399940614425
Content-Disposition: form-data; name="repositoryId"
snapshots-SADESI
-----------------------------1872766107810116399940614425--
--
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>
Sociedad Andaluza para el Desarrollo de la Sociedad
de la Información, S.A.U. (SADESI)
Re: Uploading artifact with pom fails
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Mon, 2009-12-28 at 17:02 +0800, Deng Ching wrote:
> On Wed, Dec 23, 2009 at 9:15 PM, Thorsten Scherler <
> thorsten.scherler.ext@juntadeandalucia.es> wrote:
>
> > On Wed, 2009-12-23 at 13:17 +0100, Thorsten Scherler wrote:
> > > On Wed, 2009-12-23 at 12:23 +0100, Thorsten Scherler wrote:
> > > > Hi list,
> > > >
> > > > I am facing a weird problem uploading artifacts with the web interface.
> > > > As soon as I upload as well the pom the jars are not going to be
> > > > uploaded. I attached the Post dump that I am using where I dropped the
> > > > binary part of the jar in this mail.
> > > >
> > > > As soon I now review
> > > >
> > http://archiva.sadesi.es/browse/org.apache.droids/droids-core/0.1-incubating-SNAPSHOT
> > > >
> > > > I get the orange box but only with the link to the jar, where the size
> > > > is "00" and clicking on it results in:
> > > > HTTP 404 of the underlying Apache Tomcat/5.5.28.
> > > >
> > > > Is this a general bug or a misconfiguration of our rep?
> > > >
> > > > O a side note I can publish our projects to the rep via "mvn deploy"
> > and
> > > > they show then well in the web. I will now try deploy:deploy-file and
> > > > see what that gives.
> > > >
> > >
> > > I tried with the deploy:deploy-file and got:
> > > thorsten@asf:~/src/apache/droids/trunk/droids-solr$ mvn
> > > deploy:deploy-file -Durl=http://archiva.sadesi.es/repository/central \
> > > > -DrepositoryId=snapshots-SADESI \
> > > >
> > > -Dfile=target/droids-solr-0.1-incubating-SNAPSHOT.jar \
> > > > -DpomFile=pom.xml \
> > > > -DgroupId=org.apache.droids \
> > > > -DartifactId=droids-solr \
> > > > -Dversion=0.1-incubating-SNAPSHOT \
> > > > -Dpackaging=jar
> > > [INFO] Scanning for projects...
> > > [INFO] Searching repository for plugin with prefix: 'deploy'.
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Building Droids Solr
> > > [INFO] task-segment: [deploy:deploy-file] (aggregator-style)
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] [deploy:deploy-file {execution: default-cli}]
> > > [INFO] Retrieving previous build number from snapshots-SADESI
> > > [INFO] repository metadata for: 'snapshot
> > > org.apache.droids:droids-solr:0.1-incubating-SNAPSHOT' could not be
> > > found on repository: snapshots-SADESI, so will be created
> > > Uploading:
> > >
> > http://archiva.sadesi.es/repository/central/org/apache/droids/droids-solr/0.1-incubating-SNAPSHOT/droids-solr-0.1-incubating-20091223.114638-1.jar
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Error deploying artifact: Failed to transfer file:
> > >
> > http://archiva.sadesi.es/repository/central/org/apache/droids/droids-solr/0.1-incubating-SNAPSHOT/droids-solr-0.1-incubating-20091223.114638-1.jar.
> > Return code is: 405
> > >
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] For more information, run Maven with the -e switch
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Total time: 4 seconds
> > > [INFO] Finished at: Wed Dec 23 12:46:40 CET 2009
> > > [INFO] Final Memory: 10M/79M
> > >
> > >
> > > I am not sure what the actual problem is, somebody has an idea?
> >
> > Above was my error I used the wrong rep. Now I did successfully a
> > deploy-file, but I can see in the logs:
> >
> >
> It looks like there was a problem when the indexing task was executed on the
> metadata files. Did the same error show up in the logs for the artifact or
> the pom itself?
It was the lucene index. We removed it and created from scratch and the
above log entry vanished.
However we found a way to reproduce the problem. It only occurs whenever
we try to upload a SNAPSHOT version via the web-interface.
We tried with the following files
cocoon-chaperon-impl-1.0.0-SNAPSHOT.pom
cocoon-chaperon-impl-1.0.0-SNAPSHOT.jar
For the version we put in the web form 1.0.0-SNAPSHOT.
The result is that archiva creates the mda5 and sha for the pom but not
for the jar.
As soon we change the name of the version to 1.0.0-SNAPSHOTS. It works
fine.
It seems that the version *-SNAPSHOT is not working. What is the best
approach to debug to find out what is going on.
salu2
--
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>
Sociedad Andaluza para el Desarrollo de la Sociedad
de la Información, S.A.U. (SADESI)
Re: Uploading artifact with pom fails
Posted by Deng Ching <od...@gmail.com>.
On Wed, Dec 23, 2009 at 9:15 PM, Thorsten Scherler <
thorsten.scherler.ext@juntadeandalucia.es> wrote:
> On Wed, 2009-12-23 at 13:17 +0100, Thorsten Scherler wrote:
> > On Wed, 2009-12-23 at 12:23 +0100, Thorsten Scherler wrote:
> > > Hi list,
> > >
> > > I am facing a weird problem uploading artifacts with the web interface.
> > > As soon as I upload as well the pom the jars are not going to be
> > > uploaded. I attached the Post dump that I am using where I dropped the
> > > binary part of the jar in this mail.
> > >
> > > As soon I now review
> > >
> http://archiva.sadesi.es/browse/org.apache.droids/droids-core/0.1-incubating-SNAPSHOT
> > >
> > > I get the orange box but only with the link to the jar, where the size
> > > is "00" and clicking on it results in:
> > > HTTP 404 of the underlying Apache Tomcat/5.5.28.
> > >
> > > Is this a general bug or a misconfiguration of our rep?
> > >
> > > O a side note I can publish our projects to the rep via "mvn deploy"
> and
> > > they show then well in the web. I will now try deploy:deploy-file and
> > > see what that gives.
> > >
> >
> > I tried with the deploy:deploy-file and got:
> > thorsten@asf:~/src/apache/droids/trunk/droids-solr$ mvn
> > deploy:deploy-file -Durl=http://archiva.sadesi.es/repository/central \
> > > -DrepositoryId=snapshots-SADESI \
> > >
> > -Dfile=target/droids-solr-0.1-incubating-SNAPSHOT.jar \
> > > -DpomFile=pom.xml \
> > > -DgroupId=org.apache.droids \
> > > -DartifactId=droids-solr \
> > > -Dversion=0.1-incubating-SNAPSHOT \
> > > -Dpackaging=jar
> > [INFO] Scanning for projects...
> > [INFO] Searching repository for plugin with prefix: 'deploy'.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building Droids Solr
> > [INFO] task-segment: [deploy:deploy-file] (aggregator-style)
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] [deploy:deploy-file {execution: default-cli}]
> > [INFO] Retrieving previous build number from snapshots-SADESI
> > [INFO] repository metadata for: 'snapshot
> > org.apache.droids:droids-solr:0.1-incubating-SNAPSHOT' could not be
> > found on repository: snapshots-SADESI, so will be created
> > Uploading:
> >
> http://archiva.sadesi.es/repository/central/org/apache/droids/droids-solr/0.1-incubating-SNAPSHOT/droids-solr-0.1-incubating-20091223.114638-1.jar
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error deploying artifact: Failed to transfer file:
> >
> http://archiva.sadesi.es/repository/central/org/apache/droids/droids-solr/0.1-incubating-SNAPSHOT/droids-solr-0.1-incubating-20091223.114638-1.jar.
> Return code is: 405
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 4 seconds
> > [INFO] Finished at: Wed Dec 23 12:46:40 CET 2009
> > [INFO] Final Memory: 10M/79M
> >
> >
> > I am not sure what the actual problem is, somebody has an idea?
>
> Above was my error I used the wrong rep. Now I did successfully a
> deploy-file, but I can see in the logs:
>
>
It looks like there was a problem when the indexing task was executed on the
metadata files. Did the same error show up in the logs for the artifact or
the pom itself?
> ==> archiva.log <==
> 2009-12-23 14:06:18,868 [pool-3-thread-1] ERROR
> org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
> - Error occurred while executing indexing task
> 'indexing-job:snapshots-SADESI:maven-metadata.xml:add'
> 2009-12-23 14:06:18,868 [pool-3-thread-1] ERROR
> taskQueueExecutor#indexing - Error executing task
> org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
> occurred while executing indexing task
> 'indexing-job:snapshots-SADESI:maven-metadata.xml:add'
> at
>
> org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
> at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor
> $ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
> at edu.emory.mathcs.backport.java.util.concurrent.Executors
> $RunnableAdapter.call(Executors.java:442)
> at
>
> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
> at
>
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
> at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor
> $Worker.run(ThreadPoolExecutor.java:528)
> at java.lang.Thread.run(Thread.java:619)
> 2009-12-23 14:06:18,910 [pool-3-thread-1] ERROR
> org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
> - Error occurred while executing indexing task
> 'indexing-job:snapshots-SADESI:maven-metadata.xml.md5:add'
> 2009-12-23 14:06:18,910 [pool-3-thread-1] ERROR
> taskQueueExecutor#indexing - Error executing task
> org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
> occurred while executing indexing task
> 'indexing-job:snapshots-SADESI:maven-metadata.xml.md5:add'
> at
>
> org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
> at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor
> $ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
> at edu.emory.mathcs.backport.java.util.concurrent.Executors
> $RunnableAdapter.call(Executors.java:442)
> at
>
> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
> at
>
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
> at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor
> $Worker.run(ThreadPoolExecutor.java:528)
> at java.lang.Thread.run(Thread.java:619)
> 2009-12-23 14:06:18,926 [pool-3-thread-1] ERROR
> org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
> - Error occurred while executing indexing task
> 'indexing-job:snapshots-SADESI:maven-metadata.xml.sha1:add'
> 2009-12-23 14:06:18,926 [pool-3-thread-1] ERROR
> taskQueueExecutor#indexing - Error executing task
> org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
> occurred while executing indexing task
> 'indexing-job:snapshots-SADESI:maven-metadata.xml.sha1:add'
> at
>
> org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
> at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor
> $ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
> at edu.emory.mathcs.backport.java.util.concurrent.Executors
> $RunnableAdapter.call(Executors.java:442)
> at
>
> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
> at
>
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
> at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor
> $Worker.run(ThreadPoolExecutor.java:528)
> at java.lang.Thread.run(Thread.java:619)
> 2009-12-23 14:06:19,717 [http-8080-Processor21] INFO
> org.apache.maven.archiva.security.ArchivaServletAuthenticator -
> Authorization Denied
> [ip=10.240.192.30,permission=archiva-upload-repository,repo=snapshots-SADESI]
> : no matching permissions
>
> ==> archiva-audit.log <==
> 2009-12-23 14:06:18 snapshots-SADESI null 10.240.192.30
> "org/apache/droids/droids-solr/0.1-incubating-SNAPSHOT/maven-metadata.xml"
> "Created File"
> 2009-12-23 14:06:18 snapshots-SADESI null 10.240.192.30
> "org/apache/droids/droids-solr/0.1-incubating-SNAPSHOT/maven-metadata.xml.md5"
> "Created File"
> 2009-12-23 14:06:18 snapshots-SADESI null 10.240.192.30
> "org/apache/droids/droids-solr/0.1-incubating-SNAPSHOT/maven-metadata.xml.sha1"
> "Created File"
> 2009-12-23 14:06:19 snapshots-SADESI guest 10.240.192.30
> "org/apache/droids/droids-solr/maven-metadata.xml" "Modified File
> (proxied)"
>
> >
> > salu2
> --
> Thorsten Scherler <thorsten.at.apache.org>
> Open Source Java <consulting, training and solutions>
>
> Sociedad Andaluza para el Desarrollo de la Sociedad
> de la Información, S.A.U. (SADESI)
>
>
Thanks,
Deng
Re: Uploading artifact with pom fails
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Wed, 2009-12-23 at 13:17 +0100, Thorsten Scherler wrote:
> On Wed, 2009-12-23 at 12:23 +0100, Thorsten Scherler wrote:
> > Hi list,
> >
> > I am facing a weird problem uploading artifacts with the web interface.
> > As soon as I upload as well the pom the jars are not going to be
> > uploaded. I attached the Post dump that I am using where I dropped the
> > binary part of the jar in this mail.
> >
> > As soon I now review
> > http://archiva.sadesi.es/browse/org.apache.droids/droids-core/0.1-incubating-SNAPSHOT
> >
> > I get the orange box but only with the link to the jar, where the size
> > is "00" and clicking on it results in:
> > HTTP 404 of the underlying Apache Tomcat/5.5.28.
> >
> > Is this a general bug or a misconfiguration of our rep?
> >
> > O a side note I can publish our projects to the rep via "mvn deploy" and
> > they show then well in the web. I will now try deploy:deploy-file and
> > see what that gives.
> >
>
> I tried with the deploy:deploy-file and got:
> thorsten@asf:~/src/apache/droids/trunk/droids-solr$ mvn
> deploy:deploy-file -Durl=http://archiva.sadesi.es/repository/central \
> > -DrepositoryId=snapshots-SADESI \
> >
> -Dfile=target/droids-solr-0.1-incubating-SNAPSHOT.jar \
> > -DpomFile=pom.xml \
> > -DgroupId=org.apache.droids \
> > -DartifactId=droids-solr \
> > -Dversion=0.1-incubating-SNAPSHOT \
> > -Dpackaging=jar
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'deploy'.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Droids Solr
> [INFO] task-segment: [deploy:deploy-file] (aggregator-style)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [deploy:deploy-file {execution: default-cli}]
> [INFO] Retrieving previous build number from snapshots-SADESI
> [INFO] repository metadata for: 'snapshot
> org.apache.droids:droids-solr:0.1-incubating-SNAPSHOT' could not be
> found on repository: snapshots-SADESI, so will be created
> Uploading:
> http://archiva.sadesi.es/repository/central/org/apache/droids/droids-solr/0.1-incubating-SNAPSHOT/droids-solr-0.1-incubating-20091223.114638-1.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error deploying artifact: Failed to transfer file:
> http://archiva.sadesi.es/repository/central/org/apache/droids/droids-solr/0.1-incubating-SNAPSHOT/droids-solr-0.1-incubating-20091223.114638-1.jar. Return code is: 405
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Wed Dec 23 12:46:40 CET 2009
> [INFO] Final Memory: 10M/79M
>
>
> I am not sure what the actual problem is, somebody has an idea?
Above was my error I used the wrong rep. Now I did successfully a
deploy-file, but I can see in the logs:
==> archiva.log <==
2009-12-23 14:06:18,868 [pool-3-thread-1] ERROR
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
- Error occurred while executing indexing task
'indexing-job:snapshots-SADESI:maven-metadata.xml:add'
2009-12-23 14:06:18,868 [pool-3-thread-1] ERROR
taskQueueExecutor#indexing - Error executing task
org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
occurred while executing indexing task
'indexing-job:snapshots-SADESI:maven-metadata.xml:add'
at
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor
$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
at edu.emory.mathcs.backport.java.util.concurrent.Executors
$RunnableAdapter.call(Executors.java:442)
at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:528)
at java.lang.Thread.run(Thread.java:619)
2009-12-23 14:06:18,910 [pool-3-thread-1] ERROR
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
- Error occurred while executing indexing task
'indexing-job:snapshots-SADESI:maven-metadata.xml.md5:add'
2009-12-23 14:06:18,910 [pool-3-thread-1] ERROR
taskQueueExecutor#indexing - Error executing task
org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
occurred while executing indexing task
'indexing-job:snapshots-SADESI:maven-metadata.xml.md5:add'
at
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor
$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
at edu.emory.mathcs.backport.java.util.concurrent.Executors
$RunnableAdapter.call(Executors.java:442)
at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:528)
at java.lang.Thread.run(Thread.java:619)
2009-12-23 14:06:18,926 [pool-3-thread-1] ERROR
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
- Error occurred while executing indexing task
'indexing-job:snapshots-SADESI:maven-metadata.xml.sha1:add'
2009-12-23 14:06:18,926 [pool-3-thread-1] ERROR
taskQueueExecutor#indexing - Error executing task
org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
occurred while executing indexing task
'indexing-job:snapshots-SADESI:maven-metadata.xml.sha1:add'
at
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor
$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
at edu.emory.mathcs.backport.java.util.concurrent.Executors
$RunnableAdapter.call(Executors.java:442)
at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:528)
at java.lang.Thread.run(Thread.java:619)
2009-12-23 14:06:19,717 [http-8080-Processor21] INFO
org.apache.maven.archiva.security.ArchivaServletAuthenticator -
Authorization Denied
[ip=10.240.192.30,permission=archiva-upload-repository,repo=snapshots-SADESI] : no matching permissions
==> archiva-audit.log <==
2009-12-23 14:06:18 snapshots-SADESI null 10.240.192.30
"org/apache/droids/droids-solr/0.1-incubating-SNAPSHOT/maven-metadata.xml" "Created File"
2009-12-23 14:06:18 snapshots-SADESI null 10.240.192.30
"org/apache/droids/droids-solr/0.1-incubating-SNAPSHOT/maven-metadata.xml.md5" "Created File"
2009-12-23 14:06:18 snapshots-SADESI null 10.240.192.30
"org/apache/droids/droids-solr/0.1-incubating-SNAPSHOT/maven-metadata.xml.sha1" "Created File"
2009-12-23 14:06:19 snapshots-SADESI guest 10.240.192.30
"org/apache/droids/droids-solr/maven-metadata.xml" "Modified File
(proxied)"
==> archiva.log <==
2009-12-23 14:06:19,751 [pool-3-thread-1] ERROR
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
- Error occurred while executing indexing task
'indexing-job:snapshots-SADESI:maven-metadata.xml:add'
2009-12-23 14:06:19,751 [pool-3-thread-1] ERROR
taskQueueExecutor#indexing - Error executing task
org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
occurred while executing indexing task
'indexing-job:snapshots-SADESI:maven-metadata.xml:add'
at
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor
$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
at edu.emory.mathcs.backport.java.util.concurrent.Executors
$RunnableAdapter.call(Executors.java:442)
at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:528)
at java.lang.Thread.run(Thread.java:619)
2009-12-23 14:06:19,765 [pool-3-thread-1] ERROR
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
- Error occurred while executing indexing task
'indexing-job:snapshots-SADESI:maven-metadata.xml.md5:add'
2009-12-23 14:06:19,765 [pool-3-thread-1] ERROR
taskQueueExecutor#indexing - Error executing task
org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
occurred while executing indexing task
'indexing-job:snapshots-SADESI:maven-metadata.xml.md5:add'
at
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor
$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
at edu.emory.mathcs.backport.java.util.concurrent.Executors
$RunnableAdapter.call(Executors.java:442)
at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:528)
at java.lang.Thread.run(Thread.java:619)
2009-12-23 14:06:19,778 [pool-3-thread-1] ERROR
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor
- Error occurred while executing indexing task
'indexing-job:snapshots-SADESI:maven-metadata.xml.sha1:add'
2009-12-23 14:06:19,778 [pool-3-thread-1] ERROR
taskQueueExecutor#indexing - Error executing task
org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
occurred while executing indexing task
'indexing-job:snapshots-SADESI:maven-metadata.xml.sha1:add'
at
org.apache.maven.archiva.scheduled.executors.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:163)
at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor
$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
at edu.emory.mathcs.backport.java.util.concurrent.Executors
$RunnableAdapter.call(Executors.java:442)
at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:528)
at java.lang.Thread.run(Thread.java:619)
>
> salu2
--
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>
Sociedad Andaluza para el Desarrollo de la Sociedad
de la Información, S.A.U. (SADESI)
Re: Uploading artifact with pom fails
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Wed, 2009-12-23 at 12:23 +0100, Thorsten Scherler wrote:
> Hi list,
>
> I am facing a weird problem uploading artifacts with the web interface.
> As soon as I upload as well the pom the jars are not going to be
> uploaded. I attached the Post dump that I am using where I dropped the
> binary part of the jar in this mail.
>
> As soon I now review
> http://archiva.sadesi.es/browse/org.apache.droids/droids-core/0.1-incubating-SNAPSHOT
>
> I get the orange box but only with the link to the jar, where the size
> is "00" and clicking on it results in:
> HTTP 404 of the underlying Apache Tomcat/5.5.28.
>
> Is this a general bug or a misconfiguration of our rep?
>
> O a side note I can publish our projects to the rep via "mvn deploy" and
> they show then well in the web. I will now try deploy:deploy-file and
> see what that gives.
>
I tried with the deploy:deploy-file and got:
thorsten@asf:~/src/apache/droids/trunk/droids-solr$ mvn
deploy:deploy-file -Durl=http://archiva.sadesi.es/repository/central \
> -DrepositoryId=snapshots-SADESI \
>
-Dfile=target/droids-solr-0.1-incubating-SNAPSHOT.jar \
> -DpomFile=pom.xml \
> -DgroupId=org.apache.droids \
> -DartifactId=droids-solr \
> -Dversion=0.1-incubating-SNAPSHOT \
> -Dpackaging=jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'deploy'.
[INFO]
------------------------------------------------------------------------
[INFO] Building Droids Solr
[INFO] task-segment: [deploy:deploy-file] (aggregator-style)
[INFO]
------------------------------------------------------------------------
[INFO] [deploy:deploy-file {execution: default-cli}]
[INFO] Retrieving previous build number from snapshots-SADESI
[INFO] repository metadata for: 'snapshot
org.apache.droids:droids-solr:0.1-incubating-SNAPSHOT' could not be
found on repository: snapshots-SADESI, so will be created
Uploading:
http://archiva.sadesi.es/repository/central/org/apache/droids/droids-solr/0.1-incubating-SNAPSHOT/droids-solr-0.1-incubating-20091223.114638-1.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error deploying artifact: Failed to transfer file:
http://archiva.sadesi.es/repository/central/org/apache/droids/droids-solr/0.1-incubating-SNAPSHOT/droids-solr-0.1-incubating-20091223.114638-1.jar. Return code is: 405
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Wed Dec 23 12:46:40 CET 2009
[INFO] Final Memory: 10M/79M
I am not sure what the actual problem is, somebody has an idea?
salu2
--
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>
Sociedad Andaluza para el Desarrollo de la Sociedad
de la Información, S.A.U. (SADESI)