hi all, Finally it started working!!!.The thing that i found out was that eventhough i had been copying the xalan-2.3.1.jar,xercesImpl-2.0.0.jar and xml-api.jar to the tomcat\common\endorsed directory,there was a copy of xerces.jar present in the tomcat\common\lib area.So i removed it from there and restarted tomcat and when i went to the portal and tried it again it started working perfectly. Thanks to everyone who took the time to help me out..i do really appreciate it. regards Gautam
>>> [EMAIL PROTECTED] 02/28/03 10:00AM >>> It seems that the directory for the fixed jars is /common/endorsed, rather than /common/lib. See the thread at: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=104616838802904&w=2 It fixed the problem for me. Cheers, Tony. > -----Original Message----- > From: Gautam Ganguly [mailto:[EMAIL PROTECTED] > Sent: 28 February 2003 15:04 > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: Sunspot demo portal error-Please help > > > Carsten, > It still doesnot work. > This is what i did just now: > Step:1 I built the cocoon source file again but before that > i changed the web.xml file in the web-inf dir,to take into > account the extra-classpath settings to include these 3 jar > files. Step:2 Build the src file using the options for: > -Dinclude.webapp.libs=yes -Dinclude.scratchpad.libs=yes > webapp Step:3 copied the cocoon.war file into the > tomcat/webapps dir Step:4 copied the xalan, xerces and > xml-apis (.jars) to tomcat/common/lib area > Step:5 copied the xalan, xerces and xml-apis (.jars) to > c:\jdk1.4\jre\lib area. > step:6 restarted Tomcat > Step:7 went to the site for cocoon/samples area > step:8 select the Sun spot demo portal and entered the > user-id as guest/guest > > ---i still have the same error showing up.Sorry that i took > so long to reply but i wanted to do it fresh..from > scratch..just to see wether i missed something from the > installation steps .By any chance the source files that i am > using are the ones that come with the cocoon2.0.4 download > area and not the cvs version..by any chance does it have > something to do with it? > > thanks, > Gautam > > >>> [EMAIL PROTECTED] 02/28/03 08:16AM >>> > Ok, did you also follow the instructions for jdk1.4 and copy > the jars in the jre/lib/endorsed directory? > > Carsten > > > -----Original Message----- > > From: Gautam Ganguly [mailto:[EMAIL PROTECTED] > > Sent: Friday, February 28, 2003 2:57 PM > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > Subject: RE: Sunspot demo portal error-Please help > > > > > > hi Carsten, > > I already had the 3 jar files in the tomcat/common/lib area as > that > > was part of the instruction about installing cocoon on > tomcat4.0.x.The > > sitemap is also intact as it came with the build. > > regards, > > Gautam > > > > >>> [EMAIL PROTECTED] 02/28/03 07:19AM >>> > > 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:[EMAIL PROTECTED] > > > Sent: Friday, February 28, 2003 2:06 PM > > > To: [EMAIL PROTECTED] > > > 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(XMLUti > l.java:869) > > > at > > > > > > org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUti > l.java:871) > > > at > > > > > > org.apache.cocoon.sunshine.xml.XMLUtil.getNodesFromPath(XMLUti > l.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(SitemapManage > r.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(StandardContex > t.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: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]