cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Girish Patil" <girish_pa...@fanniemae.com>
Subject Re: Weblogic6.1Sp3+cocoon2.1-org.apache.avalon.framework.component.ComponentException: UnnamedSelector:
Date Thu, 20 Mar 2003 16:26:33 GMT
Thanks again Christoph - I followed ur suggestion + I had some changes suggested by a colleague
to the sitemap.xmap I was using and things are working fine now. Thanks again for being patient
with me and answering
the question -- this is great!!! - hope you have a good one  -- enjoy!!

"Schaper, Christoph" wrote:

> Hmmm ... we have cocoon 2.0.4 running with wl6.1 sp2/3/4 without problems
> ....
> But, we do not place any cocoon stuff in the wl classpath. Just deploy
> exploded and rename the cocoon libs as indicated below. Maybe this is your
> problem, that there is actually something you don't have in your classpath
> (but just in the webapp) and then the system classloader is not able to find
> it (the system classloader is used because other cocoon classes are in the
> classpath ...). Try to do like we did, i.e. no cocoon stuff in the WL
> classpath. Otherwise it may of course be something specific to cocoon 2.1
> which we are not (yet) using .....
> Christoph
>
> -----Original Message-----
> From: Girish Patil [mailto:girish_patil@fanniemae.com]
> Sent: 19 March 2003 18:53
> To: cocoon-users@xml.apache.org
> Subject: Re:
> Weblogic6.1Sp3+cocoon2.1-org.apache.avalon.framework.component.Component
> Exception: UnnamedSelector:
>
> 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
>
> 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


Mime
View raw message