You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Schaper, Christoph" <Ch...@ecb.int> on 2003/03/19 14:49:16 UTC

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

You can try two things to rule out problems which existed with wl6.1 (I
don't know whether they were actually solved in SP3):
- try deploy exploded (i.e. unjar the cocoon war before placing it in the
applications dir)
- rename all libraries in cocoon lib directory to contain not more than one
"."

Christoph


-----Original Message-----
From: Girish Patil [mailto:girish_patil@fanniemae.com]
Sent: 18 March 2003 23:27
To: cocoon-users@xml.apache.org
Subject:
Weblogic6.1Sp3+cocoon2.1-org.apache.avalon.framework.component.Component
Exception: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(Exca
liburComponentSelector.java:184)
at
org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSite
mapComponentSelector.java:110)
at
org.apache.cocoon.components.treeprocessor.InvokeContext.getProcessingPipeli
ne(InvokeContext.java:191)
at
org.apache.cocoon.components.treeprocessor.sitemap.GenerateNode.invoke(Gener
ateNode.java:100)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:84)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:164)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:108)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:153)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:108)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:143)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.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



Any e-mail message from the European Central Bank (ECB) is sent in good faith but shall neither be binding nor construed as constituting a commitment by the ECB except where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any unauthorised disclosure, use or dissemination, either in whole or in part, is prohibited.
If you have received this e-mail in error, please notify the sender immediately via e-mail and delete this e-mail from your system.


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


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

Posted by Girish Patil <gi...@fanniemae.com>.
Christoph -Thanks for the reply- I already had the application deployed in exploded form -- I unjarred all the cocoon lib and put them in my classpath -- But, I still get the same exception. Just to check, I
deployed the app on Tomcat4.1.8 and it seems to work fine there -is there any thing else I can try.

thanks
Girish

"Schaper, Christoph" wrote:

> You can try two things to rule out problems which existed with wl6.1 (I
> don't know whether they were actually solved in SP3):
> - try deploy exploded (i.e. unjar the cocoon war before placing it in the
> applications dir)
> - rename all libraries in cocoon lib directory to contain not more than one
> "."
>
> Christoph
>
> -----Original Message-----
> From: Girish Patil [mailto:girish_patil@fanniemae.com]
> Sent: 18 March 2003 23:27
> To: cocoon-users@xml.apache.org
> Subject:
> Weblogic6.1Sp3+cocoon2.1-org.apache.avalon.framework.component.Component
> Exception: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(Exca
> liburComponentSelector.java:184)
> at
> org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSite
> mapComponentSelector.java:110)
> at
> org.apache.cocoon.components.treeprocessor.InvokeContext.getProcessingPipeli
> ne(InvokeContext.java:191)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.GenerateNode.invoke(Gener
> ateNode.java:100)
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
> keNodes(AbstractParentProcessingNode.java:84)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
> e(PreparableMatchNode.java:164)
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
> keNodes(AbstractParentProcessingNode.java:108)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
> ineNode.java:153)
> at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
> keNodes(AbstractParentProcessingNode.java:108)
> at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
> linesNode.java:143)
> at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
> or.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
>
> Any e-mail message from the European Central Bank (ECB) is sent in good faith but shall neither be binding nor construed as constituting a commitment by the ECB except where provided for in a written agreement.
> This e-mail is intended only for the use of the recipient(s) named above. Any unauthorised disclosure, use or dissemination, either in whole or in part, is prohibited.
> If you have received this e-mail in error, please notify the sender immediately via e-mail and delete this e-mail from your system.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org



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