Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-540

dist/web-proprietary/war/mcf-api-service.war doesn't include mcf-api-servlet.jar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • ManifoldCF 1.0
    • ManifoldCF 1.0
    • Framework core
    • None

    Description

      In the multiprocess example-proprietary, run the start-webapps.sh script. You get this:

       
      Configuration file successfully read
      7144 [main] INFO org.eclipse.jetty.server.handler.ContextHandler - started o.e.j.w.WebAppContext{/mcf-api-service,file:/private/var/folders/zL/zL4dWIVoEbCRSASf1T8R5++++TI/-Tmp-/jetty-0.0.0.0-8345-mcf-api-service.war-_mcf-api-service-any-/webapp/},/Users/abe/Desktop/RC/apache-manifoldcf-1.0/dist/multiprocess-example-proprietary/./../web-proprietary/war/mcf-api-service.war
      7145 [main] WARN org.eclipse.jetty.servlet.Holder - 
      java.lang.ClassNotFoundException: org.apache.manifoldcf.apiservlet.APIServlet
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      	at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:424)
      	at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:377)
      	at org.eclipse.jetty.util.Loader.loadClass(Loader.java:92)
      	at org.eclipse.jetty.util.Loader.loadClass(Loader.java:71)
      	at org.eclipse.jetty.servlet.Holder.doStart(Holder.java:84)
      	at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:244)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:771)
      	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
      	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213)
      	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:589)
      	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
      	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:89)
      	at org.eclipse.jetty.server.Server.doStart(Server.java:261)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      	at org.apache.manifoldcf.jettyrunner.ManifoldCFJettyRunner.start(ManifoldCFJettyRunner.java:89)
      	at org.apache.manifoldcf.jettyrunner.ManifoldCFJettyRunner.main(ManifoldCFJettyRunner.java:237)
      7146 [main] WARN /mcf-api-service - unavailable
      javax.servlet.UnavailableException: org.apache.manifoldcf.apiservlet.APIServlet
      	at org.eclipse.jetty.servlet.Holder.doStart(Holder.java:91)
      	at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:244)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:771)
      	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
      	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1213)
      	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:589)
      	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
      	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:89)
      	at org.eclipse.jetty.server.Server.doStart(Server.java:261)
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      	at org.apache.manifoldcf.jettyrunner.ManifoldCFJettyRunner.start(ManifoldCFJettyRunner.java:89)
      	at org.apache.manifoldcf.jettyrunner.ManifoldCFJettyRunner.main(ManifoldCFJettyRunner.java:237)
      7225 [main] INFO org.eclipse.jetty.server.AbstractConnector - Started SelectChannelConnector@0.0.0.0:8345 STARTING
      Jetty started.
      

      It seems that the dist/web-proprietary/war/mcf-api-service.war doesn't include mcf-api-servlet.jar.

      Attachments

        1. CONNECTORS-540.patch
          0.6 kB
          Shinichiro Abe

        Activity

          People

            shinichiro abe Shinichiro Abe
            shinichiro abe Shinichiro Abe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: