You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Matthew Langham <ml...@s-und-n.de> on 2002/04/25 10:07:43 UTC
Portal request
Hi,
Carsten and I will be speaking/presenting on the additional portal and
authentication components in Cocoon at a couple of conferences in the
upcoming months. If you are using the (used to be called) sunRise and
sunSpot components to build a portal then I would love to obtain some
additional screen-shots we can use in the presentation.
Please send me them to me directly (mlangham@s-und-n.de).
Thanks!
Matthew Langham
--
Open Source Group sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30 mlangham@s-und-n.de - http://www.s-und-n.de
Weblogging at: http://www.need-a-cake.com
Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=================================================================
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Portal request
Posted by Joseph Rajkumar <ra...@telocity.com>.
davej@gatewaynetworks.com wrote:
>
> Matthew,
>
> I was quite interested in sunSpot but have been unable to get past
> authentication. I get the error below. Note that I am just now learning
> Cocoon but I am specifically interested in developing corporate portals.
>
> RH Linux 7.2
> Tomcat 4.0.4b2
> JDK 1.4.0
> Cocoon 2.1-dev
Hi
I am also getting quite desperate with the sunSpot
Portal. My environment is as follows:
OS: Mandrake-Linux-8.0 or Solaris-2.8
Java: JDK-1.4 or JDK-1.3.1_02
Tomcat: 4.0.1 or let me know what version to use
Cocoon from CVS Checkout this way April-25-2002
cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic \
-z3 checkout -r HEAD xml-cocoon
Build using this command:
build.sh -Dinclude.scratchpad.libs \
-Dinclude.webapp.libs=yes \
-Dinstall.war=$TOMCAT_HOME/webapps install
It builds fine, but then when I invoke it using
http://localhost:8080/cocoon
I get the message that the servlet is not available.
Currently I am using JDK-1.3.1_02, TC-4.0.1, Mandrake-8.0
I have been successfully able to run Cocoon-2.0.2-bin
distribution, but when I get the Cocoon-2.0.2-src and
build it, I run into the same problems.
Regards
Joseph Rajkumar
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Attention Sunspot developers - Problems with Sunrise Authentication
Posted by Chitharanjan Das <cd...@accordiasys.com>.
Hello,
I had raised this issue before.
I am using sunrise authentication for our application. I had to change
the code in 2 files to make the application work properly. I will attach
the 2 files, please scrutinize it and apply these changes in CVS , if
deemed right....
I HAVE THE LATEST CODE FROM THE CVS...
The first change is in the Handler.java file.
This is in reference to the redirect URI, when the URI starts
with the cocoon:// protocol
/**
* Chiths - ensured that the cocoon:// protocol starts from the context
*/
if ( this.redirectURI.startsWith("cocoon://") ) {
this.redirectURI =
this.redirectURI.substring("cocoon://".length()).trim();
this.redirectURI = request.getContextPath()+"/"+this.redirectURI;
}
else if ( this.redirectURI.startsWith("cocoon:/") ) {
this.redirectURI =
this.redirectURI.substring("cocoon:/".length()).trim();
}
The second case is to avoid the null pointer exception thrown when the
logout is performed. This change is done in the
AuthenticatorManager.java.
This happens if you are only using authentication, no application
management etc. The following is my authentication action
<!-- Added By Chiths -->
<map:action name="accordia-auth"
src="org.apache.cocoon.webapps.authentication.acting.AuthAction">
<handlers>
<handler name="foo-handler"
xmlns:map="http://apache.org/cocoon/sitemap/1.0"
xmlns:sunshine="http://sunshine.sundn.de/sunshine/1.0">
<redirect-to uri="cocoon://foo-loginpage"/>
<authentication uri="cocoon:raw://foo-authuser"/>
</handler>
</handlers>
</map:action>
The changes done in the AuthenticationManager.java is
/**
* Commented by Chiths - Should notify cocoon-users, A Null exception is
thrown for
* following line
*/
//
((SessionContextImpl)this.getSessionManager().getContext(AuthenticationC
onstants.SESSION_CONTEXT_NAME)).cleanParametersCache(logoutHandlerName);
SessionContextImpl sessionContextImpl = (SessionContextImpl)
(this.getSessionManager().getContext(AuthenticationConstants.SESSION_CON
TEXT_NAME));
if(sessionContextImpl != null) {
this.getLogger().debug("SunRise:logout() - sessionContextImpl is not
null");
sessionContextImpl.cleanParametersCache(logoutHandlerName);
}
else {
this.getLogger().debug("SunRise:logout() - sessionContextImpl is null");
}
Please investigate this and provide feedback...
Regds,
Chiths
RE: Portal request
Posted by Matthew Langham <ml...@s-und-n.de>.
Dave,
the portal uses DOM - so this is probably your problem. You probably have
some DOM Level 1 implementation in your path and this is conflicting.
Did you copy Xalan and Xerces into the /endorsed directory of JDK 1.4 -
there are problems if you don't do this. Check the list for more information
on this.
Hope something helps.
Matthew
--
Open Source Group sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30 mlangham@s-und-n.de - http://www.s-und-n.de
Weblogging at: http://www.need-a-cake.com
Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=================================================================
-----Original Message-----
From: davej@gatewaynetworks.com [mailto:davej@gatewaynetworks.com]
Sent: Thursday, April 25, 2002 8:35 PM
To: cocoon-users@xml.apache.org
Subject: RE: Portal request
Matthew,
Thanks for the heads-up on tomcat installation. I followed the installation
for Cocoon on 4.0.4 b1 with JDK 1.4.0 from the web site and except for DB
access (because of 1.4) and sunspotdemo-portal, everything seems to work
great.
I'm not real sure where to look for solving this problem but will be happy
to follow any thoughts anyone might have. I would love to see the portal
work!
Thanks
dave
-----Original Message-----
From: Matthew Langham [mailto:mlangham@s-und-n.de]
Sent: Thursday, April 25, 2002 11:24 AM
To: cocoon-users@xml.apache.org; davej@gatewaynetworks.com
Subject: RE: Portal request
Hi Dave,
quick off the cuff answer: You have probably not configured Tomcat 4
correctly and are using the wrong DOM implementation. Somebody else on the
list can probably point out what is wrong better than I can at the moment
(we still use Tomcat 3.3 :-)).
Let me know if this helps.
Matthew
--
Open Source Group sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30 mlangham@s-und-n.de - http://www.s-und-n.de
Weblogging at: http://www.need-a-cake.com
Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=================================================================
-----Original Message-----
From: davej@gatewaynetworks.com [mailto:davej@gatewaynetworks.com]
Sent: Thursday, April 25, 2002 4:54 PM
To: cocoon-users@xml.apache.org
Subject: RE: Portal request
Matthew,
I was quite interested in sunSpot but have been unable to get past
authentication. I get the error below. Note that I am just now learning
Cocoon but I am specifically interested in developing corporate portals.
RH Linux 7.2
Tomcat 4.0.4b2
JDK 1.4.0
Cocoon 2.1-dev
java.lang.NullPointerException
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:
870)
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:
871)
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:
871)
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodeListFromPath(XMLUtil.ja
va:836)
at
org.apache.cocoon.webapps.session.context.SimpleSessionContext.getXML(Simple
SessionContext.java:173)
at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.is
Authenticated(AuthenticationManager.java:690)
at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.ch
eckAuthentication(AuthenticationManager.java:765)
at
org.apache.cocoon.webapps.authentication.acting.AuthAction.act(AuthAction.ja
va:122)
at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTyp
eNode.java:127)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:159)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:140)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:144)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:323)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:293)
at org.apache.cocoon.Cocoon.process(Cocoon.java:584)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1007)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1017)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1115
)
at java.lang.Thread.run(Thread.java:536)
-----Original Message-----
From: Matthew Langham [mailto:mlangham@s-und-n.de]
Sent: Thursday, April 25, 2002 4:08 AM
To: cocoon-users@xml.apache.org; cocoon-dev@xml.apache.org
Subject: Portal request
Hi,
Carsten and I will be speaking/presenting on the additional portal and
authentication components in Cocoon at a couple of conferences in the
upcoming months. If you are using the (used to be called) sunRise and
sunSpot components to build a portal then I would love to obtain some
additional screen-shots we can use in the presentation.
Please send me them to me directly (mlangham@s-und-n.de).
Thanks!
Matthew Langham
--
Open Source Group sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30 mlangham@s-und-n.de - http://www.s-und-n.de
Weblogging at: http://www.need-a-cake.com
Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=================================================================
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.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/faqs.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/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: Portal request
Posted by da...@gatewaynetworks.com.
Matthew,
Thanks for the heads-up on tomcat installation. I followed the installation
for Cocoon on 4.0.4 b1 with JDK 1.4.0 from the web site and except for DB
access (because of 1.4) and sunspotdemo-portal, everything seems to work
great.
I'm not real sure where to look for solving this problem but will be happy
to follow any thoughts anyone might have. I would love to see the portal
work!
Thanks
dave
-----Original Message-----
From: Matthew Langham [mailto:mlangham@s-und-n.de]
Sent: Thursday, April 25, 2002 11:24 AM
To: cocoon-users@xml.apache.org; davej@gatewaynetworks.com
Subject: RE: Portal request
Hi Dave,
quick off the cuff answer: You have probably not configured Tomcat 4
correctly and are using the wrong DOM implementation. Somebody else on the
list can probably point out what is wrong better than I can at the moment
(we still use Tomcat 3.3 :-)).
Let me know if this helps.
Matthew
--
Open Source Group sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30 mlangham@s-und-n.de - http://www.s-und-n.de
Weblogging at: http://www.need-a-cake.com
Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=================================================================
-----Original Message-----
From: davej@gatewaynetworks.com [mailto:davej@gatewaynetworks.com]
Sent: Thursday, April 25, 2002 4:54 PM
To: cocoon-users@xml.apache.org
Subject: RE: Portal request
Matthew,
I was quite interested in sunSpot but have been unable to get past
authentication. I get the error below. Note that I am just now learning
Cocoon but I am specifically interested in developing corporate portals.
RH Linux 7.2
Tomcat 4.0.4b2
JDK 1.4.0
Cocoon 2.1-dev
java.lang.NullPointerException
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:
870)
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:
871)
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:
871)
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodeListFromPath(XMLUtil.ja
va:836)
at
org.apache.cocoon.webapps.session.context.SimpleSessionContext.getXML(Simple
SessionContext.java:173)
at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.is
Authenticated(AuthenticationManager.java:690)
at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.ch
eckAuthentication(AuthenticationManager.java:765)
at
org.apache.cocoon.webapps.authentication.acting.AuthAction.act(AuthAction.ja
va:122)
at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTyp
eNode.java:127)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:159)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:140)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:144)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:323)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:293)
at org.apache.cocoon.Cocoon.process(Cocoon.java:584)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1007)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1017)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1115
)
at java.lang.Thread.run(Thread.java:536)
-----Original Message-----
From: Matthew Langham [mailto:mlangham@s-und-n.de]
Sent: Thursday, April 25, 2002 4:08 AM
To: cocoon-users@xml.apache.org; cocoon-dev@xml.apache.org
Subject: Portal request
Hi,
Carsten and I will be speaking/presenting on the additional portal and
authentication components in Cocoon at a couple of conferences in the
upcoming months. If you are using the (used to be called) sunRise and
sunSpot components to build a portal then I would love to obtain some
additional screen-shots we can use in the presentation.
Please send me them to me directly (mlangham@s-und-n.de).
Thanks!
Matthew Langham
--
Open Source Group sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30 mlangham@s-und-n.de - http://www.s-und-n.de
Weblogging at: http://www.need-a-cake.com
Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=================================================================
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.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/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: Portal request
Posted by Matthew Langham <ml...@s-und-n.de>.
Hi Dave,
quick off the cuff answer: You have probably not configured Tomcat 4
correctly and are using the wrong DOM implementation. Somebody else on the
list can probably point out what is wrong better than I can at the moment
(we still use Tomcat 3.3 :-)).
Let me know if this helps.
Matthew
--
Open Source Group sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30 mlangham@s-und-n.de - http://www.s-und-n.de
Weblogging at: http://www.need-a-cake.com
Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=================================================================
-----Original Message-----
From: davej@gatewaynetworks.com [mailto:davej@gatewaynetworks.com]
Sent: Thursday, April 25, 2002 4:54 PM
To: cocoon-users@xml.apache.org
Subject: RE: Portal request
Matthew,
I was quite interested in sunSpot but have been unable to get past
authentication. I get the error below. Note that I am just now learning
Cocoon but I am specifically interested in developing corporate portals.
RH Linux 7.2
Tomcat 4.0.4b2
JDK 1.4.0
Cocoon 2.1-dev
java.lang.NullPointerException
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:
870)
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:
871)
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:
871)
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodeListFromPath(XMLUtil.ja
va:836)
at
org.apache.cocoon.webapps.session.context.SimpleSessionContext.getXML(Simple
SessionContext.java:173)
at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.is
Authenticated(AuthenticationManager.java:690)
at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.ch
eckAuthentication(AuthenticationManager.java:765)
at
org.apache.cocoon.webapps.authentication.acting.AuthAction.act(AuthAction.ja
va:122)
at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTyp
eNode.java:127)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:159)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:140)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:144)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:323)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:293)
at org.apache.cocoon.Cocoon.process(Cocoon.java:584)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1007)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1017)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1115
)
at java.lang.Thread.run(Thread.java:536)
-----Original Message-----
From: Matthew Langham [mailto:mlangham@s-und-n.de]
Sent: Thursday, April 25, 2002 4:08 AM
To: cocoon-users@xml.apache.org; cocoon-dev@xml.apache.org
Subject: Portal request
Hi,
Carsten and I will be speaking/presenting on the additional portal and
authentication components in Cocoon at a couple of conferences in the
upcoming months. If you are using the (used to be called) sunRise and
sunSpot components to build a portal then I would love to obtain some
additional screen-shots we can use in the presentation.
Please send me them to me directly (mlangham@s-und-n.de).
Thanks!
Matthew Langham
--
Open Source Group sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30 mlangham@s-und-n.de - http://www.s-und-n.de
Weblogging at: http://www.need-a-cake.com
Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=================================================================
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.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/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: Portal request
Posted by da...@gatewaynetworks.com.
Matthew,
I was quite interested in sunSpot but have been unable to get past
authentication. I get the error below. Note that I am just now learning
Cocoon but I am specifically interested in developing corporate portals.
RH Linux 7.2
Tomcat 4.0.4b2
JDK 1.4.0
Cocoon 2.1-dev
java.lang.NullPointerException
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:
870)
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:
871)
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodesFromPath(XMLUtil.java:
871)
at
org.apache.cocoon.webapps.session.xml.XMLUtil.getNodeListFromPath(XMLUtil.ja
va:836)
at
org.apache.cocoon.webapps.session.context.SimpleSessionContext.getXML(Simple
SessionContext.java:173)
at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.is
Authenticated(AuthenticationManager.java:690)
at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.ch
eckAuthentication(AuthenticationManager.java:765)
at
org.apache.cocoon.webapps.authentication.acting.AuthAction.act(AuthAction.ja
va:122)
at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTyp
eNode.java:127)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:159)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:140)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:144)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:323)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:293)
at org.apache.cocoon.Cocoon.process(Cocoon.java:584)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1007)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1017)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1115
)
at java.lang.Thread.run(Thread.java:536)
-----Original Message-----
From: Matthew Langham [mailto:mlangham@s-und-n.de]
Sent: Thursday, April 25, 2002 4:08 AM
To: cocoon-users@xml.apache.org; cocoon-dev@xml.apache.org
Subject: Portal request
Hi,
Carsten and I will be speaking/presenting on the additional portal and
authentication components in Cocoon at a couple of conferences in the
upcoming months. If you are using the (used to be called) sunRise and
sunSpot components to build a portal then I would love to obtain some
additional screen-shots we can use in the presentation.
Please send me them to me directly (mlangham@s-und-n.de).
Thanks!
Matthew Langham
--
Open Source Group sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30 mlangham@s-und-n.de - http://www.s-und-n.de
Weblogging at: http://www.need-a-cake.com
Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352
=================================================================
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>