You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by mi...@sonynetservices.com on 2002/08/20 18:36:56 UTC

authentication framework and bea weblogic

Hello,

   after trying out the Authentication Framework on Tomcat and everything
worked fine,
   we now deployed on BEA Weblogic 6.1 SP1 on Solaris.
   There, we unfortunately get the following error message, where we
couldnĀ“t find out
   where the error is coming from.
   We think that we get the error when the application tries to access the
xml which gets
   written into the session context (either authentication or temporary
context) by the
   authentication resource.
   Maybe someone else has had problems with this and is able to give us a
hint
   where to start.

   Thanx again for any help,

   miHam


  java.lang.NullPointerException
 at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:871)

 at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:873)

 at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:873)

 at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodeListFromPath(XMLUtil.java:838)

 at
org.apache.cocoon.webapps.session.context.SimpleSessionContext.getXML(SimpleSessionContext.java:173)

 at
org.apache.cocoon.webapps.authentication.context.SessionContextImpl.addParametersFromAuthenticationXML(SessionContextImpl.java:225)

 at
org.apache.cocoon.webapps.authentication.context.SessionContextImpl.createParameters(SessionContextImpl.java:829)

 at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.createParameters(AuthenticationManager.java:1457)

 at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.createParameters(AuthenticationManager.java:1400)

 at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.createMap(AuthenticationManager.java:1422)

 at
org.apache.cocoon.webapps.authentication.acting.AuthAction.act(AuthAction.java:124)

 at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:127)

 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:83)

 at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:157)

 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)

 at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:158)

 at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)

 at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:152)

 at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:327)

 at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:309)

 at org.apache.cocoon.Cocoon.process(Cocoon.java:587)
 at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)

 at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)

 at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)

 at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)

 at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
 at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)






---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: authentication framework and bea weblogic

Posted by Carsten Ziegeler <cz...@s-und-n.de>.
This error is caused by an older parser in your classpath - you have
to make BEA use the Xerces version shipped with Cocoon.

Carsten

Carsten Ziegeler     Chief Architect     Open Source Group, S&N AG
------------------------------------------------------------------
             Cocoon Consulting, Training and Projects
------------------------------------------------------------------
mailto:cziegeler@s-und-n.de                  http://www.s-und-n.de
                    http://ziegeler.bei.t-online.de


> -----Original Message-----
> From: michael_hampel@sonynetservices.com
> [mailto:michael_hampel@sonynetservices.com]
> Sent: Tuesday, August 20, 2002 6:37 PM
> To: cocoon-users@xml.apache.org
> Subject: authentication framework and bea weblogic
>
>
> Hello,
>
>    after trying out the Authentication Framework on Tomcat and everything
> worked fine,
>    we now deployed on BEA Weblogic 6.1 SP1 on Solaris.
>    There, we unfortunately get the following error message, where we
> couldnĀ“t find out
>    where the error is coming from.
>    We think that we get the error when the application tries to access the
> xml which gets
>    written into the session context (either authentication or temporary
> context) by the
>    authentication resource.
>    Maybe someone else has had problems with this and is able to give us a
> hint
>    where to start.
>
>    Thanx again for any help,
>
>    miHam
>
>
>   java.lang.NullPointerException
>  at
> org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XML
> Util.java:871)
>
>  at
> org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XML
> Util.java:873)
>
>  at
> org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XML
> Util.java:873)
>
>  at
> org.apache.cocoon.webapps.session.xml.XMLUtil.getNodeListFromPath(
> XMLUtil.java:838)
>
>  at
> org.apache.cocoon.webapps.session.context.SimpleSessionContext.get
> XML(SimpleSessionContext.java:173)
>
>  at
> org.apache.cocoon.webapps.authentication.context.SessionContextImp
> l.addParametersFromAuthenticationXML(SessionContextImpl.java:225)
>
>  at
> org.apache.cocoon.webapps.authentication.context.SessionContextImp
> l.createParameters(SessionContextImpl.java:829)
>
>  at
> org.apache.cocoon.webapps.authentication.components.Authentication
> Manager.createParameters(AuthenticationManager.java:1457)
>
>  at
> org.apache.cocoon.webapps.authentication.components.Authentication
> Manager.createParameters(AuthenticationManager.java:1400)
>
>  at
> org.apache.cocoon.webapps.authentication.components.Authentication
> Manager.createMap(AuthenticationManager.java:1422)
>
>  at
> org.apache.cocoon.webapps.authentication.acting.AuthAction.act(Aut
> hAction.java:124)
>
>  at
> org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.inv
> oke(ActTypeNode.java:127)
>
>  at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessin
> gNode.invokeNodes(AbstractParentProcessingNode.java:83)
>
>  at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatch
> Node.invoke(PreparableMatchNode.java:157)
>
>  at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessin
> gNode.invokeNodes(AbstractParentProcessingNode.java:107)
>
>  at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.in
> voke(PipelineNode.java:158)
>
>  at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessin
> gNode.invokeNodes(AbstractParentProcessingNode.java:107)
>
>  at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.i
> nvoke(PipelinesNode.java:152)
>
>  at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(T
> reeProcessor.java:327)
>
>  at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(T
> reeProcessor.java:309)
>
>  at org.apache.cocoon.Cocoon.process(Cocoon.java:587)
>  at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStu
> bImpl.java:265)
>
>  at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStu
> bImpl.java:200)
>
>  at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAp
> pServletContext.java:2456)
>
>  at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletReques
> tImpl.java:2039)
>
>  at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
>  at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
>


---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>