Murray,

If you're using JDK 1.4 place Cocoon's Xerces and Xalans jars in the endorsed libs 
folders. I was able to do this successfully as per this previous mailing list message:

http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=102550708710890&w=2

/S

Murray Cumming <[EMAIL PROTECTED]> wrote:

>I'm trying to use the portal example in 2.0.3, with standalone Tomcat
>4.0.4. After logging-on, I get a page with this error. Is this a known
>problem? I would try the cvs version, but it doesn't seem so simple to
>build from cvs.
>
>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(SimpleSessionContext.java:173)
>    at
>org.apache.cocoon.sunshine.sunrise.SunRise.isAuthenticated(SunRise.java:691)
>    at
>org.apache.cocoon.sunshine.sunrise.SunRise.checkAuthentication(SunRise.java:766)
>    at
>org.apache.cocoon.sunshine.sunrise.acting.AuthAction.act(AuthAction.java:122)
>    at
>org.apache.cocoon.www.sitemap_xmap.matchN4004A5(/var/cache/tomcat4/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:5363)
>    at
>org.apache.cocoon.www.sitemap_xmap.process(/var/cache/tomcat4/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:3330)
>    at
>org.apache.cocoon.www.sitemap_xmap.process(/var/cache/tomcat4/work/Standalone/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:3100)
>    at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
>    at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
>    at
>org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
>    at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
>    at
>org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java)
>-- 
>Murray Cumming
>[EMAIL PROTECTED]
>www.murrayc.com
>
>
>---------------------------------------------------------------------
>Please check that your question  has not already been answered in the
>FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>


-- 
Steven Cummings
Columbia, MO
Email: [EMAIL PROTECTED]
AIM:   cummingscs
ICQ:   3330114



__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to