You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Michael Schneider <mi...@sdrc.com> on 2000/03/10 04:03:52 UTC

Cocoon XSL and weblogic4.5.1

Hello All,

With the expert assistaince of the group, I was able to get cocoon up and going
under Weblogic 4.5.1.

1) comment out resource section from cocoon.properties
2) Comment out   (probably not necessary)
processor.type.ldap = org.apache.cocoon.processor.ldap.LdapProcessor


------------------ Test phase-------------------------
I went the index.xml page under the examples directory,  was able
to render all of the XML examples except for the ones that used
XSL.

I am using the default processors in the cocoon.properties file

transformer = org.apache.cocoon.transformer.XalanTransformer


I get the following error when running any XSL file from the
example directory.

Thanks in advance for any Ideas,
Mike

--------------- browser error when running example XSL files-----------

Cocoon 1.7

                                    Error found handling the request.

     java.lang.NoClassDefFoundError: org/apache/xalan/xslt/ExtensionNSHandler
             at org.apache.xalan.xslt.Stylesheet.lookupExtensionNSHandler(Stylesheet.java:1230)
             at org.apache.xalan.xslt.ElemTemplateElement.shouldExcludeResultNamespaceNode(Compiled Code)
             at org.apache.xalan.xslt.ElemTemplateElement.(Compiled Code)
             at org.apache.xalan.xslt.ElemTemplate.(Compiled Code)
             at org.apache.xalan.xslt.StylesheetRoot.initDefaultRule(StylesheetRoot.java:900)
             at org.apache.xalan.xslt.StylesheetHandler.startElement(Compiled Code)
             at org.apache.xalan.xpath.xml.TreeWalker.startNode(Compiled Code)
             at org.apache.xalan.xpath.xml.TreeWalker.traverse(Compiled Code)
             at org.apache.xalan.xslt.XSLTEngineImpl.processStylesheet(XSLTEngineImpl.java:682)
             at org.apache.xalan.xslt.XSLTEngineImpl.process(Compiled Code)
             at org.apache.cocoon.transformer.XalanTransformer.transform(XalanTransformer.java:94)
             at org.apache.cocoon.processor.xsp.XSPTemplate.apply(XSPTemplate.java:117)
             at org.apache.cocoon.processor.xsp.XSPProcessor.process(Compiled Code)
             at org.apache.cocoon.Engine.handle(Compiled Code)
             at org.apache.cocoon.Cocoon.service(Cocoon.java:145)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
             at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:75)
             at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:286)
             at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:238)
             at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:501)
             at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:260)
             at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)

 Warning: this page has been dynamically generated.

Cocoon 1.7 + Tomcat 3.1 beta

Posted by Warren Mira <wo...@wowx.penguinpowered.com>.
Hello,

Anyone successfully tried installing cocoo+tomcat. I have tried the docs
on the cocoon site but its seems that cocoon is not processing the xml
files. But http://localhost/Cocoon.xml shows some output.

Thanks for any help.



Re: Cocoon XSL and weblogic4.5.1

Posted by Michael Schneider <mi...@sdrc.com>.
Sorry for the false alarm,

In the fog, I translated XSP into XML.

Cocoon works as expected under Weblogic4.5.1  All examples
except for the XSP ones, work as expected.

The SVG example was really neat,  Good work,
Mike

Michael Schneider wrote:

> Hello All,
>
> With the expert assistaince of the group, I was able to get cocoon up and going
> under Weblogic 4.5.1.
>
> 1) comment out resource section from cocoon.properties
> 2) Comment out   (probably not necessary)
> processor.type.ldap = org.apache.cocoon.processor.ldap.LdapProcessor
>
> ------------------ Test phase-------------------------
> I went the index.xml page under the examples directory,  was able
> to render all of the XML examples except for the ones that used
> XSL.
>
> I am using the default processors in the cocoon.properties file
>
> transformer = org.apache.cocoon.transformer.XalanTransformer
>
> I get the following error when running any XSL file from the
> example directory.
>
> Thanks in advance for any Ideas,
> Mike
>
> --------------- browser error when running example XSL files-----------
>
> Cocoon 1.7
>
>                                     Error found handling the request.
>
>      java.lang.NoClassDefFoundError: org/apache/xalan/xslt/ExtensionNSHandler
>              at org.apache.xalan.xslt.Stylesheet.lookupExtensionNSHandler(Stylesheet.java:1230)
>              at org.apache.xalan.xslt.ElemTemplateElement.shouldExcludeResultNamespaceNode(Compiled Code)
>              at org.apache.xalan.xslt.ElemTemplateElement.(Compiled Code)
>              at org.apache.xalan.xslt.ElemTemplate.(Compiled Code)
>              at org.apache.xalan.xslt.StylesheetRoot.initDefaultRule(StylesheetRoot.java:900)
>              at org.apache.xalan.xslt.StylesheetHandler.startElement(Compiled Code)
>              at org.apache.xalan.xpath.xml.TreeWalker.startNode(Compiled Code)
>              at org.apache.xalan.xpath.xml.TreeWalker.traverse(Compiled Code)
>              at org.apache.xalan.xslt.XSLTEngineImpl.processStylesheet(XSLTEngineImpl.java:682)
>              at org.apache.xalan.xslt.XSLTEngineImpl.process(Compiled Code)
>              at org.apache.cocoon.transformer.XalanTransformer.transform(XalanTransformer.java:94)
>              at org.apache.cocoon.processor.xsp.XSPTemplate.apply(XSPTemplate.java:117)
>              at org.apache.cocoon.processor.xsp.XSPProcessor.process(Compiled Code)
>              at org.apache.cocoon.Engine.handle(Compiled Code)
>              at org.apache.cocoon.Cocoon.service(Cocoon.java:145)
>              at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
>              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:75)
>              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:286)
>              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:238)
>              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:501)
>              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:260)
>              at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
>
>  Warning: this page has been dynamically generated.
>
>   ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org