Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] IOException Broken pipe

Hello all,

does anyone experience similar problems when serving static content?

I have sporadic
java.io.IOException: Broken pipe

lots of
2010-09-21 09:44:38.327:DBUG::EOF org.eclipse.jetty.io.EofException

and surprising
2010-09-21 09:45:27.429:DBUG::org.eclipse.jetty.io.nio.SelectorManager$SelectSet@60cbf9bd
JVM BUG(s) - injecting delay1 times
2010-09-21 09:45:27.429:DBUG::org.eclipse.jetty.io.nio.SelectorManager$SelectSet@60cbf9bd
JVM BUG(s) - cancelled keys 21 times

messages
for a jetty-distribution-7.1.6.v20100715 when started like this

  java -jar start.jar --ini etc/jetty-static.xml

It looks to me as if some .mpeg files are causing this (approx. 5 MB files)

jetty-static.xml:


<Configure id="FileServer" class="org.eclipse.jetty.server.Server">


  <Call name="addConnector">
    <Arg>
      <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
        <Set name="port"><Property name="jetty.port" default="8888"/></Set>
        <Set name="maxIdleTime">300000</Set>
      </New>
    </Arg>
  </Call>

  <Set name="handler">
    <New class="org.eclipse.jetty.server.handler.HandlerList">
      <Set name="handlers">
        <Array type="org.eclipse.jetty.server.Handler">
          <Item>
            <New class="org.eclipse.jetty.servlet.ServletContextHandler">
              <Set name="contextPath">/app</Set>
              <Set name="resourceBase">/my/path</Set>
              <Call name="addServlet">
                <Arg>org.eclipse.jetty.servlet.DefaultServlet</Arg>
                <Arg>/</Arg>
              </Call>
            </New>
          </Item>
        </Array>
      </Set>
    </New>
  </Set>
</Configure>

JVM is 1.6.0_20 on MacOS X 10.6.4

Thanks for any help,
Axel.


Back to the top