Jetty
  1. Jetty
  2. JETTY-1021

jetty-maven-plugin overlay or reload issue

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0.RC5
    • Component/s: Maven
    • Labels:
      None
    • Number of attachments :
      0

      Description

      when running the cometd-demo with mvn jetty:run, if a redeploy is triggered by doing a mvn install in cometd-javascript, the following exception is frequently generated:

      [INFO] Webapp directory = /home/gregw/src/cometd/cometd-demo/src/main/webapp
      2009-05-15 10:23:57.209::WARN: EXCEPTION
      java.io.FileNotFoundException: JAR entry WEB-INF/classes/org/dojotoolkit/DojoFilter.class not found in /home/gregw/.m2/repository/org/cometd/javascript/cometd-javascript-dojo/1.0.beta9-SNAPSHOT/cometd-javascript-dojo-1.0.beta9-SNAPSHOT.war
      at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
      at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:132)
      at java.net.URL.openStream(URL.java:1009)
      at org.eclipse.jetty.annotations.AnnotationFinder.find(AnnotationFinder.java:566)
      at org.eclipse.jetty.annotations.AnnotationFinder.find(AnnotationFinder.java:557)
      at org.eclipse.jetty.annotations.AnnotationFinder.find(AnnotationFinder.java:557)
      at org.eclipse.jetty.annotations.Configuration.parseAnnotations(Configuration.java:111)
      at org.mortbay.jetty.plugin.JettyMavenConfiguration.parseAnnotations(JettyMavenConfiguration.java:118)
      at org.eclipse.jetty.plus.webapp.AbstractConfiguration.configure(AbstractConfiguration.java:120)
      at org.eclipse.jetty.webapp.WebXmlConfiguration.configureWebApp(WebXmlConfiguration.java:233)
      at org.eclipse.jetty.plus.webapp.AbstractConfiguration.configureWebApp(AbstractConfiguration.java:97)
      at org.eclipse.jetty.plus.webapp.Configuration.configureWebApp(Configuration.java:147)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:551)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:350)
      at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:107)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
      at org.mortbay.jetty.plugin.JettyRunMojo.restartWebApp(JettyRunMojo.java:476)
      at org.mortbay.jetty.plugin.JettyRunMojo$1.filesChanged(JettyRunMojo.java:437)
      at org.eclipse.jetty.util.Scanner.reportBulkChanges(Scanner.java:485)
      at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:351)
      at org.eclipse.jetty.util.Scanner.scan(Scanner.java:279)
      at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:231)
      at java.util.TimerThread.mainLoop(Timer.java:512)
      at java.util.TimerThread.run(Timer.java:462)

        Activity

          People

          • Assignee:
            Jan Bartel
            Reporter:
            Greg Wilkins
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: