cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesper Rasmussen <...@cs.auc.dk>
Subject could not find the component for hint: xsp
Date Tue, 09 Oct 2001 08:35:41 GMT
Hi all
Im trying to get xsp to tun in a cocoon war. What i mean is that i have
looked at the cocoon.war and from that build by own war.
everything i have done works so far, but i cant seem to get xsp to run.
I do not get an error only a warning in the log (see below).
If anyone has a hint to what im missing i would be very grateful.
In my sitemap i have:
...snip...
  <map:generator  name="serverpages"
src="org.apache.cocoon.generation.ServerPagesGenerator" />
..snip...
   <map:match pattern="xsptest.html">
    <map:generate type="serverpages" src="simple.xsp"/>
    <map:transform src="stylesheets/test.xsl"/>
    <map:serialize/>
   </map:match>
...snip...
Yhe xsp is a copy from the cocoon webapp and the stylesheet is just a
minimal.
When i look at the log ig first get the warn below and then a null pointer
at the transformation, which i take it means the generator produced a null
output
thanks alot
Jesper
 ------ from log:
DEBUG   (2001-10-09) 10:18.44:792   [cocoon  ] (/jr/xsptest.html)
Thread-38/Excalibu
rComponentSelector: markup-languages: ComponentSelector could not find the
component
 for hint: xsp
WARN    (2001-10-09) 10:18.44:792   [cocoon  ] (/jr/xsptest.html)
Thread-38/ServerPa
gesGenerator: ServerPagesGenerator.generate()
org.apache.avalon.framework.component.ComponentException:
markup-languages: Componen
tSelector could not find the component for hint: xsp
        at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(E
xcaliburComponentSelector.java:265)
        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load
(ProgramGeneratorImpl.java:194)
        at
org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenera
tor.java:144)

.......................SNIP...................
WARN    (2001-10-09) 10:18.44:795   [cocoon  ] (/jr/xsptest.html)
Thread-38/DefaultP
ool: Pool interrupted while waiting for lock.
java.lang.NullPointerException
        at
org.apache.cocoon.transformation.TraxTransformer.recycle(TraxTransformer.
java:597)
        at
org.apache.avalon.excalibur.pool.DefaultPool.put(DefaultPool.java:170)

.......................SNIP...................
WARN    (2001-10-09) 10:18.44:798   [cocoon  ] (/jr/xsptest.html)
Thread-38/CocoonSe
rvlet: The resource was not found
org.apache.cocoon.ResourceNotFoundException: markup-languages:
ComponentSelector cou
ld not find the component for hint: xsp:
org.apache.avalon.framework.component.Compo
nentException: markup-languages: ComponentSelector could not find the
component for
hint: xsp
        at
org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenera
tor.java:150)
        at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline
(AbstractEventPipeline.java:146)
        at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.process(Abstr
actEventPipeline.java:105)
..................SNIP..................



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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