Dave Smith wrote:
> 
> Ok now I am getting ...
> 
> Error compiling sitemap
> + javax.xml.transform.TransformerFactoryConfigurationError:
> java.lang.ClassNotFoundException:
> org.apache.xalan.processor.TransformerFactoryImpl
> +       at
> javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:121)
> +       at
> 
>org.apache.cocoon.components.language.markup.Logicsheet.getTransformerFactory(Logicsheet.java:78)
> +       at
> 
>org.apache.cocoon.components.language.markup.Logicsheet.setInputSource(Logicsheet.java:95)
> +       at
> 
>org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.createLogicsheet(AbstractMarkupLanguage.java:182)
> +       at
> 
>org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configure(AbstractMarkupLanguage.java:113)
> +       at
> 
>org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:108)
> +       at
> 
>org.apache.avalon.excalibur.component.DefaultComponentHandler.get(DefaultComponentHandler.java:92)
> +       at
> 
>org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:246)
> +       at
> 
>org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:176)
> +       at org.apache.cocoon.sitemap.Handler.run(Handler.java:204)
> +       at java.lang.Thread.run(Thread.java:484)
> +
> 
> Now according the the FAQ it means it can not find the xalan parser...
> but is it not in the war file? How do I tell jetty to look at it?

Consult your Jetty documentation.  They may have a different location
than the servlet specified location.

Alternatively, try changing the initial property

    <init-param>
      <param-name>init-classloader</param-name>
      <param-value>false</param-value>
    </init-param>

To use the value "true".  This will have Cocoon load up all the necessary
jars in it's own classloader (not required in all environments).

> 
> Berin Loritsch wrote:
> > Dave Smith wrote:
> >
> >>When deploying the cocoon.war file I get the following error ...
> >>
> >
> > This is due to an incorrectly versioned JAXP parser (you want JAXP 1.1
> > compliance).  You have two alternatives: get Jetty to use Xerces, or
> > get Cocoon to use Xerces.
> >
> > There are instructions in the cocoon.xconf file to use Xerces directly.
> >
> >
> >
> 
> ---------------------------------------------------------------------
> 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: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

S/MIME Cryptographic Signature

Reply via email to