Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-400

EOF Exception while uploading a deployment from maven.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Incomplete
    • Affects Version/s: 1.2.5
    • Fix Version/s: None
    • Component/s: Deployer
    • Labels:
      None
    • Environment:

      MS Windows Server 2003 R2
      Java 1.6.0_01 b06

      Description

      Hi, I do a deployment using "mvn deploy -DrepositoryId=the-repo-id.". The project contains one super-pom and many sub-poms for the different sub-projects. All of them create jars, some of them end up with zips (through an assembly to have a deploy-able zip file). The ones only creating jars are uploaded to Artifactory without any problems. The first one with a zip (uploading the zip) will cause the following exception (excerpt from the "artifactory.log"):

      2008-05-28 17:23:59,703 [ERROR] (RepoFilter.java:151

      {10}) - Upload request failed
      org.mortbay.jetty.EofException
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:290)
      at org.mortbay.jetty.HttpParser$Input.blockForContent(HttpParser.java:1050)
      at org.mortbay.jetty.HttpParser$Input.read(HttpParser.java:999)
      at java.io.BufferedInputStream.read1(Unknown Source)
      at java.io.BufferedInputStream.read(Unknown Source)
      at java.io.BufferedInputStream.read1(Unknown Source)
      at java.io.BufferedInputStream.read(Unknown Source)
      at org.artifactory.checksum.ChecksumInputStream.read(ChecksumInputStream.java:53)
      at org.artifactory.checksum.ChecksumInputStream.read(ChecksumInputStream.java:44)
      at org.apache.jackrabbit.core.value.BLOBFileValue.<init>(BLOBFileValue.java:149)
      at org.apache.jackrabbit.core.value.BLOBFileValue.<init>(BLOBFileValue.java:121)
      at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:197)
      at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:753)
      at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2340)
      at org.artifactory.jcr.JcrHelper.importStream(JcrHelper.java:338)
      at org.artifactory.repo.JcrRepo$8.doInJcr(JcrRepo.java:406)
      at org.artifactory.repo.JcrRepo$8.doInJcr(JcrRepo.java:393)
      at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:210)
      at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:391)
      at org.artifactory.engine.UploadEngine.process(UploadEngine.java:198)
      at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:149)
      at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
      at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:77)
      at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      at org.mortbay.jetty.Server.handle(Server.java:324)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
      Caused by: java.io.IOException: Eine vorhandene Verbindung wurde vom Remotehost geschlossen
      at sun.nio.ch.SocketDispatcher.read0(Native Method)
      at sun.nio.ch.SocketDispatcher.read(Unknown Source)
      at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
      at sun.nio.ch.IOUtil.read(Unknown Source)
      at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
      at org.mortbay.io.nio.ChannelEndPoint.fill(ChannelEndPoint.java:128)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:282)
      ... 42 more
      2008-05-28 17:24:22,421 [INFO ] (AbstractApplicationContext.java:672{10}

      ) - Closing org.artifactory.webapp.spring.ArtifactoryWebApplicationContext@1abcc03: display name [Root WebApplicationContext]; startup date [Wed May 28 13:38:30 CEST 2008]; root of context hierarchy
      2008-05-28 17:24:22,421 [INFO ] (SchedulerFactoryBean.java:977

      {10}) - Shutting down Quartz Scheduler
      2008-05-28 17:24:22,484 [WARN ] (DatabaseFileSystem.java:1068{10}

      ) - execute failed, about to reconnect...
      2008-05-28 17:25:02,765 [INFO ] (ArtifactoryContextConfigurer.java:41

      {10}) - Starting Artifactory...
      2008-05-28 17:25:02,781 [INFO ] (AbstractApplicationContext.java:378{10}

      ) - Refreshing org.artifactory.webapp.spring.ArtifactoryWebApplicationContext@c743eb: display name [Root WebApplicationContext]; startup date [Wed May 28 17:25:02 CEST 2008]; root of context hierarchy
      2008-05-28 17:25:03,000 [INFO ] (AbstractApplicationContext.java:393

      {10}) - Bean factory for application context [org.artifactory.webapp.spring.ArtifactoryWebApplicationContext@c743eb]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1d439fe
      2008-05-28 17:25:03,093 [INFO ] (CentralConfigFactoryBean.java:55{10}

      ) - Loading configuration (using 'D:\artifactory-1.2.5\bin\../etc/artifactory.config.xml')...
      2008-05-28 17:25:03,093 [INFO ] (CentralConfigFactoryBean.java:57

      {10}) - Trying to load configuration from regular path file reosurce....
      2008-05-28 17:25:03,421 [INFO ] (CentralConfigFactoryBean.java:68{10}

      ) - Loaded configuration from 'D:\artifactory-1.2.5\bin\../etc/artifactory.config.xml'.
      2008-05-28 17:25:06,328 [WARN ] (CentralConfig.java:162

      {10}) - Could not determine server instance id from configuration. Using hostname instead.
      2008-05-28 17:25:06,843 [INFO ] (KeyVals.java :87{10}

      ) - Previous Artifactory revision is '1154'. Current revision is '1154'.
      2008-05-28 17:25:07,000 [INFO ] (SchedulerFactoryBean.java:879

      {10}) - Starting Quartz Scheduler now
      2008-05-28 17:25:07,203 [INFO ] (BackupHelper.java:88{10}

      ) - Backup activated with cron expression '0 0 /12 * * ?'.

      The Artifactory server does not break, but is not useable anymore and also block the complete system. After shuting it down and restarting it everythins is fine.

      I guess in the zip file contains some characters makes the server choke.

      It would be greate if this could be fixed very soon since it stop us from deploying stuff.

      Thanks a lot for your great work.

      Cheers, Rob.

        Attachments

          Activity

            People

            • Assignee:
              yoavl Yoav Landman
              Reporter:
              robert.weissmann Robert Weissmann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: