Dear All,

I was trying to run the Cocoon portal sample at:

  http://localhost:8080/cocoon/samples/portal/sunspotdemoportal

When I try to log in (with guest/guest)I get the following error:

The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode
notifies that java.lang.IllegalStateException says:

Cannot create a session after the response has been committed 

More precisely:

  java.lang.IllegalStateException: Cannot create a session after the
response has been committed 

Any suggestions? Do I need to configure something? Is it broken?

I'm running with the Cocoon CVS head and Apache, Tomcat 4.0.1 and JDK
1.3

Thanks in advance,

Alan.


P.S. Here is the top of the stacktrace:

java.lang.IllegalStateException: Cannot create a session after the
response has been committed
                            at
org.apache.catalina.connector.HttpRequestBase.doGetSession(HttpRequestBase.java:1104)
                            at
org.apache.catalina.connector.HttpRequestBase.getSession(HttpRequestBase.java:1064)
                            at
org.apache.catalina.connector.HttpRequestFacade.getSession(HttpRequestFacade.java:209)
                            at
org.apache.cocoon.environment.http.HttpRequest.getSession(HttpRequest.java:219)
                            at
org.apache.cocoon.webapps.session.components.SessionManager.getSession(SessionManager.java:355)
                            at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.getAuthenticationSessionContext(AuthenticationManager.java:932)
                            at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.authenticate(AuthenticationManager.java:760)
                            at
org.apache.cocoon.webapps.authentication.acting.LoginAction.act(LoginAction.java:130)
                            at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:130)
                            at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:83)
                            at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:163)
                            at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)
                            at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:157)
                            at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)
                            at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:155
..etc...

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