Discussion:
[jira] [Reopened] (COCOON-2069) Cocoon 2.1 is not initialized when building without samples
David Crossley (JIRA)
2012-12-08 05:39:21 UTC
Permalink
[ https://issues.apache.org/jira/browse/COCOON-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Crossley reopened COCOON-2069:
------------------------------------


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
-----------------
Cocoon 2.1 is not initialized when building without samples
-----------------------------------------------------------
Key: COCOON-2069
URL: https://issues.apache.org/jira/browse/COCOON-2069
Project: Cocoon
Issue Type: Bug
Components: - Samples, Blocks: Portal
Affects Versions: 2.1.10, 2.1.11
Reporter: Jeroen Reijn
Assignee: Jeroen Reijn
Fix For: 2.1.12-dev (Current SVN)
Attachments: portal.samplesxconf.2069.patch, portal.xconf.2069.patch
After building Cocoon without the samples it fails with message: Could not find component key org.apache.cocoon.portal.impl.PageLabelManager.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Francesco Chicchiriccò (JIRA)
2013-01-20 16:00:13 UTC
Permalink
[ https://issues.apache.org/jira/browse/COCOON-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13558290#comment-13558290 ]

Francesco Chicchiriccò commented on COCOON-2069:
------------------------------------------------

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?
Cocoon 2.1 is not initialized when building without samples
-----------------------------------------------------------
Key: COCOON-2069
URL: https://issues.apache.org/jira/browse/COCOON-2069
Project: Cocoon
Issue Type: Bug
Components: - Samples, Blocks: Portal
Affects Versions: 2.1.10, 2.1.11
Reporter: Jeroen Reijn
Assignee: Jeroen Reijn
Fix For: 2.1.12
Attachments: portal.samplesxconf.2069.patch, portal.xconf.2069.patch
After building Cocoon without the samples it fails with message: Could not find component key org.apache.cocoon.portal.impl.PageLabelManager.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Cédric Damioli (JIRA)
2013-02-12 09:47:13 UTC
Permalink
[ https://issues.apache.org/jira/browse/COCOON-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576496#comment-13576496 ]

Cédric Damioli commented on COCOON-2069:
----------------------------------------

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 ?
Cocoon 2.1 is not initialized when building without samples
-----------------------------------------------------------
Key: COCOON-2069
URL: https://issues.apache.org/jira/browse/COCOON-2069
Project: Cocoon
Issue Type: Bug
Components: - Samples, Blocks: Portal
Affects Versions: 2.1.10, 2.1.11
Reporter: Jeroen Reijn
Assignee: Jeroen Reijn
Fix For: 2.1.12
Attachments: portal.samplesxconf.2069.patch, portal.xconf.2069.patch
After building Cocoon without the samples it fails with message: Could not find component key org.apache.cocoon.portal.impl.PageLabelManager.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Francesco Chicchiriccò (JIRA)
2013-02-12 09:49:12 UTC
Permalink
[ https://issues.apache.org/jira/browse/COCOON-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576498#comment-13576498 ]

Francesco Chicchiriccò commented on COCOON-2069:
------------------------------------------------

As per my comment of last Jan 20th, I think we can safely close this issue.
Cocoon 2.1 is not initialized when building without samples
-----------------------------------------------------------
Key: COCOON-2069
URL: https://issues.apache.org/jira/browse/COCOON-2069
Project: Cocoon
Issue Type: Bug
Components: - Samples, Blocks: Portal
Affects Versions: 2.1.10, 2.1.11
Reporter: Jeroen Reijn
Assignee: Jeroen Reijn
Fix For: 2.1.12
Attachments: portal.samplesxconf.2069.patch, portal.xconf.2069.patch
After building Cocoon without the samples it fails with message: Could not find component key org.apache.cocoon.portal.impl.PageLabelManager.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Cédric Damioli (JIRA)
2013-02-12 13:09:13 UTC
Permalink
[ https://issues.apache.org/jira/browse/COCOON-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cédric Damioli closed COCOON-2069.
----------------------------------

Resolution: Fixed

Ok, close it fow now
To be reopened if the WSRP stuff still have an issue
Cocoon 2.1 is not initialized when building without samples
-----------------------------------------------------------
Key: COCOON-2069
URL: https://issues.apache.org/jira/browse/COCOON-2069
Project: Cocoon
Issue Type: Bug
Components: - Samples, Blocks: Portal
Affects Versions: 2.1.10, 2.1.11
Reporter: Jeroen Reijn
Assignee: Jeroen Reijn
Fix For: 2.1.12
Attachments: portal.samplesxconf.2069.patch, portal.xconf.2069.patch
After building Cocoon without the samples it fails with message: Could not find component key org.apache.cocoon.portal.impl.PageLabelManager.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...