You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Girish Patil <gi...@fanniemae.com> on 2003/03/18 23:26:46 UTC

Weblogic6.1Sp3+cocoon2.1 -org.apache.avalon.framework.component.ComponentException: UnnamedSelector:

Hi,
I downloaded and installed cocoon2.1 on windows with weblogic 6.1sp3. I
created a simple web app using cocoon. when I click on
http://localhost:7001/test/samples/brand/myhome.xml

I get the following error in weblogic.  I have all the cocoon libraries
in my java classpath and xalan and xerces too. what is wrong with me??
Any help would be appreciated.

thanks
Girish


ERROR   (2003-03-18) 16:48.57:135   [access]
(/test/samples/brand/myhome.xml) ExecuteThread: '11' for queue:
'default'/CocoonServlet: Problem with Cocoon servlet
org.apache.avalon.framework.component.ComponentException:
UnnamedSelector: ComponentSelector Attempted to retrieve component with
null hint.
 at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:184)
at org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSitemapComponentSelector.java:110)
at org.apache.cocoon.components.treeprocessor.InvokeContext.getProcessingPipeline(InvokeContext.java:191)
at org.apache.cocoon.components.treeprocessor.sitemap.GenerateNode.invoke(GenerateNode.java:100)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)
at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:153)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:143)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:317)

-------------Here is my site map under /samples directory------------
<?xml version="1.0"?>
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<!-- =========================== Components
================================ -->
 <map:components>
  <map:matchers default="wildcard"/>
  <map:selectors default="browser"/>
  <map:generators default="file"/>
  <map:transformers default="xslt"/>
  <map:readers default="resource"/>
  <map:serializers default="html"/>
 </map:components>
 <map:pipelines>
  <map:pipeline>
      <map:match pattern="*/*.xml">
      <map:generate src="content/{1}.xml"/>
      <map:transform src="transformation/{1}.xsl" >
        <map:parameter name="brand" value="{1}" />
      </map:transform>
      <map:serialize/>
      </map:match>
    </map:pipeline>
 </map:pipelines>
</map:sitemap>





---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org