cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: Sunspot demo portal error-Please help
Date Fri, 28 Feb 2003 13:19:20 GMT
You have to copy xalan, xerces and xml-apis jar from cocoon/WEB-INF/lib
into the common/endorsed directory of tomcat.

Carsten

> -----Original Message-----
> From: Gautam Ganguly [mailto:ggangul@transunion.com]
> Sent: Friday, February 28, 2003 2:06 PM
> To: cocoon-users@xml.apache.org
> Subject: Sunspot demo portal error-Please help
>
>
> hi,
> I have just recently started looking at the Cocoon 2 framework and the
> current project needs are very much like the Sun Spot demo portal sample
> application that comes with Cocoon.when i run it from the samples page
> and after enter the username either as cocoon or guest and do submit , i
> get  the following message on my browser page:
> ------------------------------------------------------------------
> ---------
> Cocoon2 - Internal Server Error
> type  fatal
> message null
> description java.lang.NullPointerException
> sender org.apache.cocoon.servlet.CocoonServlet
> source Cocoon servlet
> stack-trace
> java.lang.NullPointerException
> 	at
> org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:869)
> 	at
> org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871)
> 	at
> org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871)
> 	at
> org.apache.cocoon.sunshine.xml.XMLUtil.getNodeListFromPath(XMLUtil
> .java:836)
> 	at
> org.apache.cocoon.sunshine.context.SimpleSessionContext.getXML(Sim
> pleSessionContext.java:173)
> 	at
> org.apache.cocoon.sunshine.sunrise.SunRise.isAuthenticated(SunRise
> .java:692)
> 	at
> org.apache.cocoon.sunshine.sunrise.SunRise.checkAuthentication(Sun
> Rise.java:769)
> 	at
> org.apache.cocoon.sunshine.sunrise.acting.AuthAction.act(AuthActio
> n.java:122)
> 	at
> org.apache.cocoon.www.sitemap_xmap.matchN400496(C:\Tomcat1\work\St
> andalone\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitem
> ap_xmap.java:5223)
> 	at
> org.apache.cocoon.www.sitemap_xmap.process(C:\Tomcat1\work\Standal
> one\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xm
> ap.java:3313)
> 	at
> org.apache.cocoon.www.sitemap_xmap.process(C:\Tomcat1\work\Standal
> one\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xm
> ap.java:3091)
> 	at org.apache.cocoon.sitemap.Handler.process(Handler.java:227)
> 	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:173)
> 	at
> org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:152)
> 	at org.apache.cocoon.Cocoon.process(Cocoon.java:579)
> 	at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1043)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(A
> pplicationFilterChain.java:247)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicati
> onFilterChain.java:193)
> 	at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapp
> erValve.java:260)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
> text.invokeNext(StandardPipeline.java:643)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
> java:480)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
> org.apache.catalina.core.StandardContextValve.invoke(StandardConte
> xtValve.java:191)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
> text.invokeNext(StandardPipeline.java:643)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
> java:480)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
> 	at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValv
> e.java:180)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
> text.invokeNext(StandardPipeline.java:643)
> 	at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispat
> cherValve.java:170)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
> text.invokeNext(StandardPipeline.java:641)
> 	at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValv
> e.java:172)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
> text.invokeNext(StandardPipeline.java:641)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
> java:480)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngine
> Valve.java:174)
> 	at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon
> text.invokeNext(StandardPipeline.java:643)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
> java:480)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> 	at
> org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
> 	at
> org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
> 	at java.lang.Thread.run(Thread.java:536)
>
> request-uri
> /cocoon/sunspotdemo-portal
>
> path-info
> sunspotdemo-portal
>
> ------------------------------------------------------------------
> ---------
> My system config is as follows:
>
> OS: windows2000 advanced server
> JDK:1.4
> Webserver: IIS 5.0
> Java Servlet Engine: Tomcat-4.1.18(connecting to IIS using ajp13)
> Cocoon Server : 2.0.4.(The war file was generated using the source from
> the download site and using =
>  build option -Dinclude.webapp.libs=yes -Dinclude.scratchpad.libs=yes
> webapp)
>
> -----------------------
> I am accessing the samples page by going to
> http://10.194.45.66/cocoon/sunspotdemoportal
>
> I saw a few of the same type of error listed on other forums but it was
> not of much help.Hope you all might be able to help me out.
> reagrds,
> Gautam
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>


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