cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsex...@odshp.com
Subject Re: Simple esql problem, I think
Date Wed, 24 Apr 2002 15:54:34 GMT

Christian Haul says:
> On 23.Apr.2002 -- 01:20 PM, jsexton@odshp.com wrote:
> > The connection pool is fine, that's working, however something goes
> > wrong with the esql.  It just sents the client back the xml without an
> > attempt to do the query.  I can even add an xsl and that works too,
> 
> > And a sitemap entry as follows:
> > 
> > <map:pipeline>
> >      <map:match pattern="**myfile.xml">
> >        <map:generate type="file" src="docs/myfile.xml"/>
>                        type="severpages"
> 
> You've employed the wrong generator. "file" just reads a file while
> "serverpages" transforms the tags to code and executes it.
> 
> >        <map:serialize type="xml"/>
> >      </map:match>
> > </map:pipeline>
> > 

Thanks, yes that makes sense.  However when I use "serverpages" I get
a class not found (BTW, I'm using JDK 1.3.1 and Tomcat 4.0.1).  I'd
sure like to have this working!  Sorry if I'm missing something
obvious.

org.apache.cocoon.components.language.LanguageException: Could not load class for program
'org/apache/cocoon/www/docs/myfile_xml' due to a java.lang.ClassNotFoundException: org.apache.cocoon.www.docs.myfile_xml
        at org.apache.cocoon.components.language.programming.java.JavaLanguage.loadProgram(JavaLanguage.java:124)
        at org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage
        at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.jav
        at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:
        at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:196)
        at org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:168)
        at org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(AbstractEventPipeline.java:154)
        at org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:238)
        at org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(CachingEventPipeline.java:99)
        at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:276)
        at org.apache.cocoon.www.sitemap_xmap.matchN10292(sitemap_xmap.java:3373)
        at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2488)

        etc...

--
Jeff Sexton
ODS Health Plans
jsexton@odshp.com

---------------------------------------------------------------------
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