Details

    • Type: Bug
    • Status: Closed (View workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 1.3.0
    • Fix versions: 1.3.1
    • Components: Daemon
    • Labels:
      None

      Description

      When one tries to use Jetty with the Cargo Daemon, errors such as:

      org.codehaus.cargo.container.ContainerException: Failed to start the Jetty 7.x container. Check the [/Users/alitokmen/.cargo/logs/test1/cargo.log] file containing the container logs for more details.
      at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:188)
      at org.codehaus.cargo.daemon.CargoDaemonServlet.startContainer(CargoDaemonServlet.java:388)
      at org.codehaus.cargo.daemon.CargoDaemonServlet.service(CargoDaemonServlet.java:186)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at rogatkin.web.WebAppServlet$SimpleFilterChain.doFilter(WebAppServlet.java:3432)
      at rogatkin.web.WebAppServlet$WebAppContextFilter.doFilter(WebAppServlet.java:3053)
      at rogatkin.web.WebAppServlet$SimpleFilterChain.doFilter(WebAppServlet.java:3404)
      at rogatkin.web.WebAppServlet.service(WebAppServlet.java:1367)
      at Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:2242)
      at Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:2167)
      at Acme.Serve.Serve$ServeConnection.run(Serve.java:1982)
      at Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1223)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: org.codehaus.cargo.container.spi.jvm.JvmLauncherException: Classpath and jar path may not both be set
      at org.codehaus.cargo.daemon.jvm.DaemonJvmLauncher.buildCommandLine(DaemonJvmLauncher.java:118)
      at org.codehaus.cargo.daemon.jvm.DaemonJvmLauncher.getCommandLine(DaemonJvmLauncher.java:360)
      at org.codehaus.cargo.container.jetty.Jetty7xInstalledLocalContainer.invoke(Jetty7xInstalledLocalContainer.java:190)
      at org.codehaus.cargo.container.jetty.Jetty7xInstalledLocalContainer.doStart(Jetty7xInstalledLocalContainer.java:91)
      at org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer.startInternal(AbstractInstalledLocalContainer.java:306)
      at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:176)
      ... 12 more
      org.codehaus.cargo.container.spi.jvm.JvmLauncherException: Classpath and jar path may not both be set
      at org.codehaus.cargo.daemon.jvm.DaemonJvmLauncher.buildCommandLine(DaemonJvmLauncher.java:118)
      at org.codehaus.cargo.daemon.jvm.DaemonJvmLauncher.getCommandLine(DaemonJvmLauncher.java:360)
      at org.codehaus.cargo.container.jetty.Jetty7xInstalledLocalContainer.invoke(Jetty7xInstalledLocalContainer.java:190)
      at org.codehaus.cargo.container.jetty.Jetty7xInstalledLocalContainer.doStart(Jetty7xInstalledLocalContainer.java:91)
      at org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer.startInternal(AbstractInstalledLocalContainer.java:306)
      at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:176)
      at org.codehaus.cargo.daemon.CargoDaemonServlet.startContainer(CargoDaemonServlet.java:388)
      at org.codehaus.cargo.daemon.CargoDaemonServlet.service(CargoDaemonServlet.java:186)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at rogatkin.web.WebAppServlet$SimpleFilterChain.doFilter(WebAppServlet.java:3432)
      at rogatkin.web.WebAppServlet$WebAppContextFilter.doFilter(WebAppServlet.java:3053)
      at rogatkin.web.WebAppServlet$SimpleFilterChain.doFilter(WebAppServlet.java:3404)
      at rogatkin.web.WebAppServlet.service(WebAppServlet.java:1367)
      at Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:2242)
      at Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:2167)
      at Acme.Serve.Serve$ServeConnection.run(Serve.java:1982)
      at Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1223)
      at java.lang.Thread.run(Thread.java:722)
      

      ... or:

      org.codehaus.cargo.container.ContainerException: Failed to start the Jetty 7.x container. Check the [/Users/alitokmen/.cargo/logs/test1/cargo.log] file containing the container logs for more details.
      at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:188)
      at org.codehaus.cargo.daemon.CargoDaemonServlet.startContainer(CargoDaemonServlet.java:388)
      at org.codehaus.cargo.daemon.CargoDaemonServlet.service(CargoDaemonServlet.java:186)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at rogatkin.web.WebAppServlet$SimpleFilterChain.doFilter(WebAppServlet.java:3432)
      at rogatkin.web.WebAppServlet$WebAppContextFilter.doFilter(WebAppServlet.java:3053)
      at rogatkin.web.WebAppServlet$SimpleFilterChain.doFilter(WebAppServlet.java:3404)
      at rogatkin.web.WebAppServlet.service(WebAppServlet.java:1367)
      at Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:2242)
      at Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:2167)
      at Acme.Serve.Serve$ServeConnection.run(Serve.java:1982)
      at Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1223)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.NullPointerException
      at java.lang.ProcessBuilder.start(ProcessBuilder.java:1010)
      at org.codehaus.cargo.daemon.jvm.DaemonJvmLauncher.start(DaemonJvmLauncher.java:408)
      at org.codehaus.cargo.container.jetty.Jetty7xInstalledLocalContainer.invoke(Jetty7xInstalledLocalContainer.java:193)
      at org.codehaus.cargo.container.jetty.Jetty7xInstalledLocalContainer.doStart(Jetty7xInstalledLocalContainer.java:91)
      at org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer.startInternal(AbstractInstalledLocalContainer.java:306)
      at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:176)
      ... 12 more
      java.lang.NullPointerException
      at java.lang.ProcessBuilder.start(ProcessBuilder.java:1010)
      at org.codehaus.cargo.daemon.jvm.DaemonJvmLauncher.start(DaemonJvmLauncher.java:408)
      at org.codehaus.cargo.container.jetty.Jetty7xInstalledLocalContainer.invoke(Jetty7xInstalledLocalContainer.java:193)
      at org.codehaus.cargo.container.jetty.Jetty7xInstalledLocalContainer.doStart(Jetty7xInstalledLocalContainer.java:91)
      at org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer.startInternal(AbstractInstalledLocalContainer.java:306)
      at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:176)
      at org.codehaus.cargo.daemon.CargoDaemonServlet.startContainer(CargoDaemonServlet.java:388)
      at org.codehaus.cargo.daemon.CargoDaemonServlet.service(CargoDaemonServlet.java:186)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at rogatkin.web.WebAppServlet$SimpleFilterChain.doFilter(WebAppServlet.java:3432)
      at rogatkin.web.WebAppServlet$WebAppContextFilter.doFilter(WebAppServlet.java:3053)
      at rogatkin.web.WebAppServlet$SimpleFilterChain.doFilter(WebAppServlet.java:3404)
      at rogatkin.web.WebAppServlet.service(WebAppServlet.java:1367)
      at Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:2242)
      at Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:2167)
      at Acme.Serve.Serve$ServeConnection.run(Serve.java:1982)
      at Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1223)
      at java.lang.Thread.run(Thread.java:722)
      

        Attachments

          Activity

            People

            • Assignee:
              savasalitokmen Savas Ali Tokmen (Inactive)
              Reporter:
              savasalitokmen Savas Ali Tokmen (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: