Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-Final
    • Fix Version/s: 1.0-Final
    • Component/s: Core
    • Labels:
      None

      Description

      I'm still trying to find out the best way to use the Maven Jetty Plugin, so I might be doing something wrong on this side here.

      Nevertheless, when I run mvn package on my project while the server is running (to update dependent libraries to the server), I get the following error:

      [INFO] Restarting webapp
      18-apr-2010 21:24:02 org.apache.myfaces.webapp.StartupServletContextListener dispatchInitializationEvent
      INFO: Processing plugin:org.apache.myfaces.extensions.scripting.servlet.StartupServletContextPluginChainLoader
      18-apr-2010 21:24:02 org.apache.myfaces.webapp.StartupServletContextListener dispatchInitializationEvent
      INFO: Processing MyFaces plugins done
      18-apr-2010 21:24:02 org.apache.myfaces.extensions.scripting.core.util.WeavingContext getWeaver
      WARNING: [EXT-SCRIPTING] Scripting Weaver is not set. Disabling script reloading subsystem. Make sure you have the scripting servlet filter enabled in your web.xml
      2010-04-18 21:24:02.920::WARN: failed org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@63f5af

      {/html5parleys,D:\dev\work\idea9\parleys\web-html5\target\parleys-frontend-html5-0.1-SNAPSHOT}

      java.lang.NullPointerException
      at org.apache.myfaces.extensions.scripting.jsf.dynamicdecorators.implemetations.FacesContextProxy.weaveDelegate(FacesContextProxy.java:54)
      at org.apache.myfaces.extensions.scripting.jsf.dynamicdecorators.implemetations.FacesContextProxy.<init>(FacesContextProxy.java:140)
      at org.apache.myfaces.extensions.scripting.jsf.dynamicdecorators.factories.ScriptingFacesContextFactory.getFacesContext(ScriptingFacesContextFactory.java:52)
      at org.apache.myfaces.webapp.AbstractFacesInitializer.dispatchInitDestroyEvent(AbstractFacesInitializer.java:195)
      at org.apache.myfaces.webapp.AbstractFacesInitializer.destroyFaces(AbstractFacesInitializer.java:204)
      at org.apache.myfaces.webapp.StartupServletContextListener.contextDestroyed(StartupServletContextListener.java:215)
      at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:599)
      at org.mortbay.jetty.webapp.WebAppContext.doStop(WebAppContext.java:498)
      at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStop(Jetty6PluginWebAppContext.java:132)
      at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:78)
      at org.mortbay.jetty.plugin.Jetty6RunWarExploded.restartWebApp(Jetty6RunWarExploded.java:118)
      at org.mortbay.jetty.plugin.Jetty6RunWarExploded$1.filesChanged(Jetty6RunWarExploded.java:100)
      at org.mortbay.util.Scanner.reportBulkChanges(Scanner.java:486)
      at org.mortbay.util.Scanner.reportDifferences(Scanner.java:352)
      at org.mortbay.util.Scanner.scan(Scanner.java:280)
      at org.mortbay.util.Scanner$1.run(Scanner.java:232)
      at java.util.TimerThread.mainLoop(Timer.java:512)
      at java.util.TimerThread.run(Timer.java:462)
      [ERROR] Error reconfiguring/restarting webapp after change in watched files
      java.lang.NullPointerException
      at org.apache.myfaces.extensions.scripting.jsf.dynamicdecorators.implemetations.FacesContextProxy.weaveDelegate(FacesContextProxy.java:54)
      at org.apache.myfaces.extensions.scripting.jsf.dynamicdecorators.implemetations.FacesContextProxy.<init>(FacesContextProxy.java:140)
      at org.apache.myfaces.extensions.scripting.jsf.dynamicdecorators.factories.ScriptingFacesContextFactory.getFacesContext(ScriptingFacesContextFactory.java:52)
      at org.apache.myfaces.webapp.AbstractFacesInitializer.dispatchInitDestroyEvent(AbstractFacesInitializer.java:195)
      at org.apache.myfaces.webapp.AbstractFacesInitializer.destroyFaces(AbstractFacesInitializer.java:204)
      at org.apache.myfaces.webapp.StartupServletContextListener.contextDestroyed(StartupServletContextListener.java:215)
      at org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:599)
      at org.mortbay.jetty.webapp.WebAppContext.doStop(WebAppContext.java:498)
      at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStop(Jetty6PluginWebAppContext.java:132)
      at org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:78)
      at org.mortbay.jetty.plugin.Jetty6RunWarExploded.restartWebApp(Jetty6RunWarExploded.java:118)
      at org.mortbay.jetty.plugin.Jetty6RunWarExploded$1.filesChanged(Jetty6RunWarExploded.java:100)
      at org.mortbay.util.Scanner.reportBulkChanges(Scanner.java:486)
      at org.mortbay.util.Scanner.reportDifferences(Scanner.java:352)
      at org.mortbay.util.Scanner.scan(Scanner.java:280)
      at org.mortbay.util.Scanner$1.run(Scanner.java:232)
      at java.util.TimerThread.mainLoop(Timer.java:512)
      at java.util.TimerThread.run(Timer.java:462)

      Above is all console output from the moment the server sees the new files.

      This exception prevents the webapp from booting.

      PS. Note the typo in the package name: "org.apache.myfaces.extensions.scripting.jsf.dynamicdecorators.implemetations"...

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Werner Punz
            Reporter:
            Jan-Kees van Andel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development