cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barbara Slupik (JIRA)" <j...@apache.org>
Subject [jira] Created: (COCOON-2219) springRequestContextFilter
Date Thu, 10 Jul 2008 12:24:31 GMT
springRequestContextFilter
--------------------------

                 Key: COCOON-2219
                 URL: https://issues.apache.org/jira/browse/COCOON-2219
             Project: Cocoon
          Issue Type: Improvement
          Components: * Cocoon Core
    Affects Versions: 2.2
            Reporter: Barbara Slupik
            Priority: Minor


There is a problem with running cocoon application in tomcat. The symptoms are that for some
requests it just stops and does not do anything. I had it with tomcat authentication when
tomcat was trying to call login page in my application. Other users reported similar problems.
I think that the problem happens when tomcat is trying to access cocoon application. The problem
seems to affect tomcat only, everything works fine with jetty.

The problem can be fixed by adding this:

	<filter>
		<filter-name>springRequestContextFilter</filter-name>   
		<filter-class>org.springframework.web.filter.RequestContextFilter</filter-class>
	</filter>

	<filter-mapping>
		<filter-name>springRequestContextFilter</filter-name>
		<url-pattern>/*</url-pattern>
		<dispatcher>FORWARD</dispatcher>
		<dispatcher>REQUEST</dispatcher>
	</filter-mapping>

to the application web.xml file.

Perhaps it can be added to default application web.xml which is generated with mvn archetype:create?
The change does not seem to affect jetty in any way.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message