Please file an issue in JIRA, this is hopefully easily fixed by setting it with a long instead of an int.

- Brett

On 07/04/2009, at 11:56 PM, solo1970 wrote:


Hello All,

Archiva does not seem to accept files > 2GB, I cannot do a mvn
deploy:deploy-file and even of I copy the artifact on the file system, when
I click to download i get the following error:

java.lang.NumberFormatException: For input string: "2999853056"
        at
java .lang .NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:459)
        at java.lang.Integer.parseInt(Integer.java:497)
        at
org .apache .jackrabbit .webdav.io.OutputContextImpl.setContentLength(OutputContextImpl.java: 60)
        at
org .apache .maven .archiva.webdav.ArchivaDavResource.spool(ArchivaDavResource.java:191)
        at
org .apache .jackrabbit .webdav .server .AbstractWebdavServlet.spoolResource(AbstractWebdavServlet.java:409)
        at
org .apache .jackrabbit .webdav .server.AbstractWebdavServlet.doGet(AbstractWebdavServlet.java:375)
        at
org .apache .jackrabbit .webdav .server.AbstractWebdavServlet.execute(AbstractWebdavServlet.java:225)
        at
org .apache .maven .archiva.webdav.RepositoryServlet.service(RepositoryServlet.java:126)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at
org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1093)
        at
com .opensymphony .webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java: 189)
        at
org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1084)
        at
com .opensymphony .module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
        at
org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:108
...

Anything we can do to bypass this???

Sonia
--
View this message in context: 
http://www.nabble.com/Artifact-%3E-2GB-tp22929579p22929579.html
Sent from the archiva-users mailing list archive at Nabble.com.


Reply via email to