Cocoon
  1. Cocoon
  2. COCOON-2069

Cocoon 2.1 is not initialized when building without samples

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.10, 2.1.11
    • Fix Version/s: 2.1.12
    • Component/s: - Samples, Blocks: Portal
    • Labels:
      None

      Description

      After building Cocoon without the samples it fails with message: Could not find component key org.apache.cocoon.portal.impl.PageLabelManager.
      1. portal.samplesxconf.2069.patch
        5 kB
        Jeroen Reijn
      2. portal.xconf.2069.patch
        5 kB
        Jeroen Reijn

        Activity

        Hide
        Cédric Damioli added a comment -
        Ok, close it fow now
        To be reopened if the WSRP stuff still have an issue
        Show
        Cédric Damioli added a comment - Ok, close it fow now To be reopened if the WSRP stuff still have an issue
        Hide
        Francesco Chicchiriccò added a comment -
        As per my comment of last Jan 20th, I think we can safely close this issue.
        Show
        Francesco Chicchiriccò added a comment - As per my comment of last Jan 20th, I think we can safely close this issue.
        Hide
        Cédric Damioli added a comment -
        I think we can close this issue if your tests are ok ?
        Or at least remove the "fix for 2.1.12" attribute if we want to postpone the wsrp stuff ?
        Show
        Cédric Damioli added a comment - I think we can close this issue if your tests are ok ? Or at least remove the "fix for 2.1.12" attribute if we want to postpone the wsrp stuff ?
        Hide
        Francesco Chicchiriccò added a comment -
        Here is what I did (had to dig in my memory for these steps, I hope they're right):
         1. fresh SVN checkout
         2. cp build.properties local.build.properties, uncommented 'exclude.webapp.samples=true'
         3. cp blocks.properties local.blocks.properties, uncommented 'include.all.blocks=true'
         4. ./build.sh webapp
         5. ./cocoon.sh servlet

        At this point everything seems to be running without any stacktrace (but the usual complaining about missing JMS implementation provider...) or initialization error message.

        Can we close this issue, then?
        Show
        Francesco Chicchiriccò added a comment - Here is what I did (had to dig in my memory for these steps, I hope they're right):  1. fresh SVN checkout  2. cp build.properties local.build.properties, uncommented 'exclude.webapp.samples=true'  3. cp blocks.properties local.blocks.properties, uncommented 'include.all.blocks=true'  4. ./build.sh webapp  5. ./cocoon.sh servlet At this point everything seems to be running without any stacktrace (but the usual complaining about missing JMS implementation provider...) or initialization error message. Can we close this issue, then?
        Hide
        David Crossley added a comment -
        Currently getting an error when starting the default cocoon samples application, about it not initialized.

        It seems related to this patch (perhaps missing some other changes). Perhaps the "wsrp" thingy is only partially configured.

        I took the easy solution, and reversed the configuration to instead be "Uncomment if need WSRP".
        See r1418605

        ---------------
        Initialization Problem
        Message: component: ComponentSelector could not find the component for hint [wsrp] (key [wsrp])
        Description: org.apache.avalon.framework.configuration.ConfigurationException: Unable to lookup coplet adapter wsrp @file:/Users/.../cocoon_2_1/build/webapp/WEB-INF/cocoon.xconf:2372:31
        -----------------
        Show
        David Crossley added a comment - Currently getting an error when starting the default cocoon samples application, about it not initialized. It seems related to this patch (perhaps missing some other changes). Perhaps the "wsrp" thingy is only partially configured. I took the easy solution, and reversed the configuration to instead be "Uncomment if need WSRP". See r1418605 --------------- Initialization Problem Message: component: ComponentSelector could not find the component for hint [wsrp] (key [wsrp]) Description: org.apache.avalon.framework.configuration.ConfigurationException: Unable to lookup coplet adapter wsrp @file:/Users/.../cocoon_2_1/build/webapp/WEB-INF/cocoon.xconf:2372:31 -----------------
        Hide
        Cédric Damioli added a comment -
        Committed in revision 1413781
        Show
        Cédric Damioli added a comment - Committed in revision 1413781

          People

          • Assignee:
            Jeroen Reijn
            Reporter:
            Jeroen Reijn
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development