java.io.FileNotFoundException: /home/user/tachyon/integration-tests/src/main/webapp

JIRA | Pengfei Xuan | 1 year ago
  1. 0

    {code:java} 2015-07-31 17:04:45,008 WARN webapp.WebInfConfiguration (WebInfConfiguration.java:unpack) - Web application not found /home/user/tachyon/integration-tests/src/main/webapp 2015-07-31 17:04:45,009 WARN webapp.WebAppContext (WebAppContext.java:doStart) - Failed startup of context o.e.j.w.WebAppContext{/,null},/home/user/tachyon/integration-tests/src/main/webapp java.io.FileNotFoundException: /home/user/tachyon/integration-tests/src/main/webapp at org.eclipse.jetty.webapp.WebInfConfiguration.unpack(WebInfConfiguration.java:505) at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:71) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:445) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:481) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.Server.doStart(Server.java:281) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at tachyon.web.UIWebServer.startWebServer(UIWebServer.java:112) at tachyon.master.TachyonMaster.start(TachyonMaster.java:333) at tachyon.master.LocalTachyonMaster$2.run(LocalTachyonMaster.java:119) at java.lang.Thread.run(Thread.java:745) {code}

    JIRA | 1 year ago | Pengfei Xuan
    java.io.FileNotFoundException: /home/user/tachyon/integration-tests/src/main/webapp
  2. 0

    {code:java} 2015-07-31 17:04:45,008 WARN webapp.WebInfConfiguration (WebInfConfiguration.java:unpack) - Web application not found /home/user/tachyon/integration-tests/src/main/webapp 2015-07-31 17:04:45,009 WARN webapp.WebAppContext (WebAppContext.java:doStart) - Failed startup of context o.e.j.w.WebAppContext{/,null},/home/user/tachyon/integration-tests/src/main/webapp java.io.FileNotFoundException: /home/user/tachyon/integration-tests/src/main/webapp at org.eclipse.jetty.webapp.WebInfConfiguration.unpack(WebInfConfiguration.java:505) at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:71) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:445) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:481) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.Server.doStart(Server.java:281) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at tachyon.web.UIWebServer.startWebServer(UIWebServer.java:112) at tachyon.master.TachyonMaster.start(TachyonMaster.java:333) at tachyon.master.LocalTachyonMaster$2.run(LocalTachyonMaster.java:119) at java.lang.Thread.run(Thread.java:745) {code}

    JIRA | 1 year ago | Pengfei Xuan
    java.io.FileNotFoundException: /home/user/tachyon/integration-tests/src/main/webapp
  3. 0

    {code} 2014-10-21 08:55:08,319 WARN webapp.WebAppContext (WebAppContext.java:doStart) - Failed startup of context o.e.j.w.WebAppContext{/,null},/tmp/Tachyon6914030417242414407U1413881695059/core/src/main/webapp java.io.FileNotFoundException: /tmp/Tachyon6914030417242414407U1413881695059/core/src/main/webapp at org.eclipse.jetty.webapp.WebInfConfiguration.unpack(WebInfConfiguration.java:505) at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:71) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:445) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:481) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.Server.doStart(Server.java:281) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at tachyon.web.UIWebServer.startWebServer(UIWebServer.java:80) at tachyon.master.TachyonMaster.start(TachyonMaster.java:241) at tachyon.master.LocalTachyonMaster$2.run(LocalTachyonMaster.java:94) at java.lang.Thread.run(Thread.java:745) {code} You see this in all unit test logs.

    JIRA | 2 years ago | David Capwell
    java.io.FileNotFoundException: /tmp/Tachyon6914030417242414407U1413881695059/core/src/main/webapp
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Since the configuration changes went in I have found that the tests no longer run and hang indefinitely Looking at the logs I see the following error: {noformat} 2015-03-02 16:19:59,251 WARN webapp.WebInfConfiguration (WebInfConfiguration.java:unpack) - Web application not found /mnt/tachyon_default_home/core/src/main/webapp 2015-03-02 16:19:59,252 WARN webapp.WebAppContext (WebAppContext.java:doStart) - Failed startup of context o.e.j.w.WebAppContext{/,null},/mnt/tachyon_default_home/core/src/main/webapp java.io.FileNotFoundException: /mnt/tachyon_default_home/core/src/main/webapp at org.eclipse.jetty.webapp.WebInfConfiguration.unpack(WebInfConfiguration.java:505) at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:71) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:445) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:481) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.Server.doStart(Server.java:281) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at tachyon.web.UIWebServer.startWebServer(UIWebServer.java:113) at tachyon.master.TachyonMaster.start(TachyonMaster.java:297) at tachyon.master.LocalTachyonMaster$2.run(LocalTachyonMaster.java:109) at java.lang.Thread.run(Thread.java:744) {noformat} Which is because {{UIWebServer}} creates a new {{TachyonConf}} instance ignoring all the test configuration that may have been passed to the {{TachyonMaster}} that creates it. I have a local fix which ensures that we explicitly pass the {{TachyonConf}} to the {{UIWebServer}} and this resolves the error seen above although the tests still hang locally on my OS X box. It looks like there is some environmental issue causing this since tests are clearly passing on AmpLabs Jenkins instance.

    JIRA | 2 years ago | Rob Vesse
    java.io.FileNotFoundException: /mnt/tachyon_default_home/core/src/main/webapp
  6. 0

    Since the configuration changes went in I have found that the tests no longer run and hang indefinitely Looking at the logs I see the following error: {noformat} 2015-03-02 16:19:59,251 WARN webapp.WebInfConfiguration (WebInfConfiguration.java:unpack) - Web application not found /mnt/tachyon_default_home/core/src/main/webapp 2015-03-02 16:19:59,252 WARN webapp.WebAppContext (WebAppContext.java:doStart) - Failed startup of context o.e.j.w.WebAppContext{/,null},/mnt/tachyon_default_home/core/src/main/webapp java.io.FileNotFoundException: /mnt/tachyon_default_home/core/src/main/webapp at org.eclipse.jetty.webapp.WebInfConfiguration.unpack(WebInfConfiguration.java:505) at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:71) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:445) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:481) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.Server.doStart(Server.java:281) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at tachyon.web.UIWebServer.startWebServer(UIWebServer.java:113) at tachyon.master.TachyonMaster.start(TachyonMaster.java:297) at tachyon.master.LocalTachyonMaster$2.run(LocalTachyonMaster.java:109) at java.lang.Thread.run(Thread.java:744) {noformat} Which is because {{UIWebServer}} creates a new {{TachyonConf}} instance ignoring all the test configuration that may have been passed to the {{TachyonMaster}} that creates it. I have a local fix which ensures that we explicitly pass the {{TachyonConf}} to the {{UIWebServer}} and this resolves the error seen above although the tests still hang locally on my OS X box. It looks like there is some environmental issue causing this since tests are clearly passing on AmpLabs Jenkins instance.

    JIRA | 2 years ago | Rob Vesse
    java.io.FileNotFoundException: /mnt/tachyon_default_home/core/src/main/webapp

    2 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.FileNotFoundException

      /home/user/tachyon/integration-tests/src/main/webapp

      at org.eclipse.jetty.webapp.WebInfConfiguration.unpack()
    2. Jetty
      AbstractLifeCycle.start
      1. org.eclipse.jetty.webapp.WebInfConfiguration.unpack(WebInfConfiguration.java:505)
      2. org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:71)
      3. org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:445)
      4. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:481)
      5. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      6. org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
      7. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      8. org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
      9. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      10. org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
      11. org.eclipse.jetty.server.Server.doStart(Server.java:281)
      12. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      12 frames
    3. Tachyon Project Core
      LocalTachyonMaster$2.run
      1. tachyon.web.UIWebServer.startWebServer(UIWebServer.java:112)
      2. tachyon.master.TachyonMaster.start(TachyonMaster.java:333)
      3. tachyon.master.LocalTachyonMaster$2.run(LocalTachyonMaster.java:119)
      3 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame