You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/09/16 18:07:26 UTC
[jira] Commented: (MAVENPROXY-15) Unavailable artifacts created with 0 bytes
The following comment has been added to this issue:
Author: Joerg Schaible
Created: Thu, 16 Sep 2004 12:06 PM
Body:
It would also be nice it the cache would not even generate the directories for every failed request in general.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MAVENPROXY-15?page=comments#action_24151
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVENPROXY-15
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVENPROXY-15
Summary: Unavailable artifacts created with 0 bytes
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-component-proxy
Assignee: Ben Walding
Reporter: Joerg Schaible
Created: Thu, 16 Sep 2004 12:04 PM
Updated: Thu, 16 Sep 2004 12:06 PM
Description:
Maven-proxy generates sometimes requested artifacts with the size of 0 bytes. I've noticed the creation for artifacts that are not available in public and which cannot (and should not) be found by maven-proxy. Nevertheless sometimes such an artifact is created in the cache. A look in the logfile shows a coincidence with a recorded exception, since the artifact shares the date and time of the log entry:
========= %< ===========
76979443 [PoolThread-0] INFO maven.proxy.RepositoryServlet - Received request: /eIP/jars/IPUsersEJBClient-0.1-SNAPSHOT.jar
org.apache.maven.fetch.exceptions.FetchException
at org.apache.maven.fetch.fetchers.HttpFetcher.fetchUrl(HttpFetcher.java:157)
at org.apache.maven.fetch.FetchTool.performDownload(FetchTool.java:96)
at org.apache.maven.proxy.DefaultRetrievalComponent.retrieveArtifact(DefaultRetrievalComponent.java:96)
at org.apache.maven.proxy.RepositoryServlet.handleDownloadRequest(RepositoryServlet.java:212)
at org.apache.maven.proxy.RepositoryServlet.doGet(RepositoryServlet.java:172)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
at org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:651)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
at org.mortbay.http.HttpServer.service(HttpServer.java:863)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
Caused by: java.io.IOException
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:602)
at org.apache.maven.fetch.fetchers.HttpFetcher.fetchUrl(HttpFetcher.java:147)
... 18 more
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://www.ibiblio.org/maven//eIP/jars/IPUsersEJBClient-0.1-SNAPSHOT.jar
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:800)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272)
at org.apache.maven.fetch.fetchers.HttpFetcher.fetchUrl(HttpFetcher.java:126)
... 18 more
77025105 [PoolThread-1] INFO maven.proxy.RepositoryServlet - Received request: /eIP/jars/IPUsersEJBClient-0.1-SNAPSHOT.jar.md5
77027594 [PoolThread-1] WARN maven.proxy.RepositoryServlet - Could not find upstream resource :/eIP/jars/IPUsersEJBClient-0.1-SNAPSHOT.jar.md5
========= %< ===========
After this exception I have such a file generated:
========= %< ===========
/devel/maven/cache > ll eIP/*
eIP/ejbs:
total 0
eIP/jars:
total 0
-rw-r--r-- 1 maven maven 0 Sep 16 13:45 IPUsersEJBClient-0.1-SNAPSHOT.jar
eIP/wars:
total 0
========= %< ===========
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org