Cocoon
  1. Cocoon
  2. COCOON-1715

[PATCH] Allow ContinuationsManagerImpl to run in CLI

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.9
    • Fix Version/s: 2.1.9
    • Component/s: * Cocoon Core
    • Labels:
      None

      Description

      Build Cocoon without any block.

      When starting Cocoon with "cocoon.sh cli" there is an error: NoClassDefFoundError javax/servlet/http/HttpSessionBindingListener, see error log attached. The attached patch fixes this issue.

        Activity

        Hide
        Jean-Baptiste Quenot added a comment -
        Don't think the patch will do it, because when the class is loaded, all dependencies are checked, even for code not executed. What is the best way to deal with this? Add servlet.jar in the Loader's classpath when running the CLI? Or remove the continuations-manager from cocoon.xconf by creating a new optional "flow" block?
        Show
        Jean-Baptiste Quenot added a comment - Don't think the patch will do it, because when the class is loaded, all dependencies are checked, even for code not executed. What is the best way to deal with this? Add servlet.jar in the Loader's classpath when running the CLI? Or remove the continuations-manager from cocoon.xconf by creating a new optional "flow" block?
        Hide
        Jean-Baptiste Quenot added a comment -
        Fixed in 2.1. Loader now recognizes two additional system properties:

        * loader.verbose
        * loader.class.path
        Show
        Jean-Baptiste Quenot added a comment - Fixed in 2.1. Loader now recognizes two additional system properties: * loader.verbose * loader.class.path

          People

          • Assignee:
            Jean-Baptiste Quenot
            Reporter:
            Jean-Baptiste Quenot
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development