cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Amiro <Tom.Am...@Sun.COM>
Subject Re: XSLTC and Cocoon
Date Wed, 22 May 2002 19:48:45 GMT
Hi,

Given Sylvain's reply that an update would solve the NPE problem,
I checked out the xml-cocoon2 respository. After making some 
modifications so it would use XSLTC rather than Xalan, I built
cocoon.war and tried deploying it with Tomcat. On starting up 
Tomcat, there was a problem with Cocoon

2002-05-22 14:04:45 HostConfig[localhost]: Deploying web application archive cocoon.war
2002-05-22 14:04:45 StandardHost[localhost]: Installing web application at context path 
/cocoon from URL jar:file:/net/bigblock/files18/tamiro/wspack-fcs/webapps/cocoon.war!/
2002-05-22 14:04:50 WebappLoader[/cocoon]: Deploying class repositories to work
directory /net/bigblock/files18/tamiro/wspack-fcs/work/Standard Engine/localhost/cocoon
2002-05-22 14:07:06 WebappLoader[/cocoon]: Deploy class files /WEB-INF/classes to /net/bigblock/files18/tamiro/wspack-fcs/work/Standard
Engine/localhost/cocoon/
WEB-INF/classes
2002-05-22 14:07:07 StandardManager[/cocoon]: Seeding random number generator class java.security.SecureRandom
2002-05-22 14:07:07 StandardManager[/cocoon]: Seeding of random number generator
 has been completed
2002-05-22 14:07:07 StandardWrapper[/cocoon:Cocoon2]: Marking servlet Cocoon2 as
 unavailable
2002-05-22 14:07:07 StandardContext[/cocoon]: Servlet /cocoon threw load() exception
javax.servlet.ServletException: Error instantiating servlet class org.apache.coc
oon.servlet.CocoonServlet
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:896)


Anyone have an idea what may be wrong? If not, could someone send me another war 
file configured for XSLTC that has the update to fix the NPE problem.

So far I haven't been able to pinpoint any XSLTC specific bugs 
that are preventing Cocoon from using XSLTC.

Tom

Tom Amiro wrote:
> >>Hi,
> >>
> >>After modifying ./documentation/stylesheets/book2menu.xsl so XSLTC
> >>could compile it, I got to the next problem, which doesn't appear
> >>to be XSLTC related.
> >>
> >>After bringing up the http://localhost:8080/cocoon and clicking on
> >>the Documentation link, it throws
> >>
> >>   java.lang.NullPointerException
> >>        at
> >>
> >>
> >org.apache.cocoon.components.notification.DefaultNotifyingBuilder.build(Defa
> >ultNotifyingBuilder.java:111)
> >
> >
> >>        at
> >>

Sylvain Wallez wrote:
 
> This is a bug that was corrected recently : this class was expecting
> that a TransformerException.getLocator() always return a SourceLocator,
> which is not true.
> 
> Updating this class should solve the problem.
> 
> Sylvain
> 
> --
> Sylvain Wallez
>   Anyware Technologies                  Apache Cocoon
>   http://www.anyware-tech.com           mailto:sylvain@apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org

-- 
 Tom Amiro -- SQA Engineer
 Sun XML Technology Development
 voice: 781-442-0589 Fax: 781-442-1437
 eMail: tom.amiro@.sun.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message