org.mortbay.jetty.EofException

JFrog JIRA | Robert Weissmann | 9 years ago
  1. 0

    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.

    JFrog JIRA | 9 years ago | Robert Weissmann
    org.mortbay.jetty.EofException
  2. 0

    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.

    JFrog JIRA | 9 years ago | Robert Weissmann
    org.mortbay.jetty.EofException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error FileUploadServlet - File upload failed: Zimbra 7.2.6_GA_2926 and Outlook (all version) with ZCO version 7.2.6.950 - Zimbra Forums

    zimbra.org | 2 months ago
    org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. null

  1. Raggyman 2 times, last 2 months ago
  2. bpbhat77 4 times, last 3 months ago
  3. kid 28 times, last 2 months ago
  4. Piz 4 times, last 4 months ago
  5. poroszd 1 times, last 5 months ago
7 more registered users
88 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    Eine vorhandene Verbindung wurde vom Remotehost geschlossen

    at sun.nio.ch.SocketDispatcher.read0()
  2. Java RT
    SocketChannelImpl.read
    1. sun.nio.ch.SocketDispatcher.read0(Native Method)
    2. sun.nio.ch.SocketDispatcher.read(Unknown Source)
    3. sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
    4. sun.nio.ch.IOUtil.read(Unknown Source)
    5. sun.nio.ch.SocketChannelImpl.read(Unknown Source)
    5 frames
  3. Jetty Server
    HttpParser$Input.read
    1. org.mortbay.io.nio.ChannelEndPoint.fill(ChannelEndPoint.java:128)
    2. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:282)
    3. org.mortbay.jetty.HttpParser$Input.blockForContent(HttpParser.java:1050)
    4. org.mortbay.jetty.HttpParser$Input.read(HttpParser.java:999)
    4 frames
  4. Java RT
    BufferedInputStream.read
    1. java.io.BufferedInputStream.read1(Unknown Source)
    2. java.io.BufferedInputStream.read(Unknown Source)
    3. java.io.BufferedInputStream.read1(Unknown Source)
    4. java.io.BufferedInputStream.read(Unknown Source)
    4 frames
  5. org.artifactory.checksum
    ChecksumInputStream.read
    1. org.artifactory.checksum.ChecksumInputStream.read(ChecksumInputStream.java:53)
    2. org.artifactory.checksum.ChecksumInputStream.read(ChecksumInputStream.java:44)
    2 frames
  6. Jackrabbit Core
    NodeImpl.setProperty
    1. org.apache.jackrabbit.core.value.BLOBFileValue.<init>(BLOBFileValue.java:149)
    2. org.apache.jackrabbit.core.value.BLOBFileValue.<init>(BLOBFileValue.java:121)
    3. org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:197)
    4. org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:753)
    5. org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2340)
    5 frames
  7. org.artifactory.jcr
    JcrHelper.importStream
    1. org.artifactory.jcr.JcrHelper.importStream(JcrHelper.java:338)
    1 frame
  8. org.artifactory.repo
    JcrRepo$8.doInJcr
    1. org.artifactory.repo.JcrRepo$8.doInJcr(JcrRepo.java:406)
    2. org.artifactory.repo.JcrRepo$8.doInJcr(JcrRepo.java:393)
    2 frames
  9. org.artifactory.jcr
    JcrHelper.doInSession
    1. org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:210)
    1 frame
  10. org.artifactory.repo
    JcrRepo.saveResource
    1. org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:391)
    1 frame
  11. org.artifactory.engine
    UploadEngine.process
    1. org.artifactory.engine.UploadEngine.process(UploadEngine.java:198)
    1 frame
  12. org.artifactory.webapp
    ArtifactoryFilter.doFilter
    1. org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:149)
    2. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95)
    2 frames
  13. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    1 frame
  14. Acegi Security Core
    BasicProcessingFilter.doFilter
    1. org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
    1 frame
  15. org.artifactory.webapp
    ArtifactoryFilter.doFilter
    1. org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:77)
    2. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95)
    2 frames
  16. Jetty Server
    SelectChannelEndPoint.run
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
    3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
    6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)
    7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
    8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
    10. org.mortbay.jetty.Server.handle(Server.java:324)
    11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
    12. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
    13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
    14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
    15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
    16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
    16 frames
  17. Jetty Util
    BoundedThreadPool$PoolThread.run
    1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
    1 frame