That's an ugly one, and a new one.  Sorry, but I haven't seen this
before. If you comment out the gzipFilter's mapping in web.xml, it
should fix this problem.

Matt

On 5/10/07, tibi <[EMAIL PROTECTED]> wrote:
i tried with 2.0-m5-SNAPSHOT but i got this error:


  Yikes!

javax.servlet.ServletException: 
net.sf.ehcache.constructs.web.ResponseHeadersNotModifiableException: Failure 
when attempting to set Content-Encoding: gzip
        at 
net.sf.ehcache.constructs.web.filter.Filter.logThrowable(Filter.java:147)
        at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:102)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.appfuse.webapp.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:64)
        at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
com.opensymphony.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:42)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
        at 
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
        at 
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
        at 
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
        at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
        at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
        at java.lang.Thread.run(Thread.java:595)
Caused by: net.sf.ehcache.constructs.web.ResponseHeadersNotModifiableException: 
Failure when attempting to set Content-Encoding: gzip
        at 
net.sf.ehcache.constructs.web.ResponseUtil.addGzipHeader(ResponseUtil.java:126)
        at 
net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:89)
        at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:89)


tibi
        ... 43 more



tibi wrote:
> i did:
> mvn archetype:create -DarchetypeGroupId=org.appfuse
> -DarchetypeArtifactId=appfuse-basic-struts
> -DremoteRepositories=http://static.appfuse.org/repository^
> -DarchetypeVersion=2.0-m4 -DgroupId=nl.tibi.loginTest
> -DartifactId=loginTest
>
> cd loginTest
>
> mvn integration-test
>
> $TOMCAT_HOME/bin/startup.sh
>
> goto manager and ad new war (loginTest-1.0-SNAPSHOT.war)
>
> enter: http://localhost:8080/loginTest-1.0-SNAPSHOT
>
> login with rember me
>
> logout will not work!
>
>
> tibi
>
> tibi wrote:
>> ok then i need to reproduce this using M4??
>>
>> on vacation... good to know...
>> i will tell my boss next week i can't work ;)
>>
>> tibi
>>
>> Matt Raible wrote:
>>> No, M5 is not ready.  I'm still working on the code-generation plugin
>>> and there's around 25 bugs still open.  I'm on vacation on Florida
>>> this week, so I don't plan on working on it a whole lot.
>>>
>>> The good news is I've made great progress on the plugin and you can
>>> generate CRUD for a Struts 2 + Hibernate combination.  Here's the
>>> remaining list of things to do:
>>>
>>> * Prompt user to generate from table or pojo and call "gen-model"
>>> plugin if table
>>> * Add logic to Action/Controller templates that generate different
>>> setters/imports for generic/impl
>>> * aggregate "gen and install" into single call (lifecycles?)
>>> * get working with other web frameworks
>>> * get working with modular archetypes
>>> * get working with iBATIS and JPA persistence frameworks
>>>
>>> Matt
>>>
>>> On 5/10/07, tibi <[EMAIL PROTECTED]> wrote:
>>>> ok i will look into this.. is m5 ready?
>>>>
>>>> tibi
>>>>
>>>> Matt Raible wrote:
>>>> > If you can reproduce this behavior on a brand new application (using
>>>> > 2.0-m5-SNAPSHOT), then it's likely a bug we need to fix.  Please
>>>> enter
>>>> > an issue in JIRA if youc an do this, providing the steps to
>>>> reproduce
>>>> > would be even better.
>>>> >
>>>> > Matt
>>>> >
>>>> > On 5/10/07, tibi <[EMAIL PROTECTED]> wrote:
>>>> >> still digging
>>>> >> when i make my project the default project (mv
>>>> demo12-1.0-SNAPSHOT to
>>>> >> ROOT in webapps)
>>>> >> and us an url like
>>>> >> http://localhost:8080/ instead of
>>>> >> http://localhost:8080/demo12-1.0-SNAPSHOT
>>>> >>
>>>> >> strange??
>>>> >>
>>>> >> tibi
>>>> >>
>>>> >> tibi wrote:
>>>> >> > ok now on my local machine using tomcat i can't logout after
>>>> loging in
>>>> >> > with remember me option too
>>>> >> >
>>>> >> > with mvn jetty:run-war i can logout fine.
>>>> >> >
>>>> >> > tibi
>>>> >> >
>>>> >> > tibi wrote:
>>>> >> >> i tested it with a demo project and i have the same problem.
>>>> >> >> this demo project did not change anything off the
>>>> security.xml files
>>>> >> >> or other config files.
>>>> >> >> (it is the person crud demo)
>>>> >> >>
>>>> >> >> so my guess is it does not have anything to do with a particular
>>>> >> >> project.
>>>> >> >>
>>>> >> >> tibi
>>>> >> >>
>>>> >> >> tibi wrote:
>>>> >> >>> ok is see now i miss read your question.
>>>> >> >>> i have a logout.jsp and i use the default security.xml
>>>> settings (so
>>>> >> >>> i'm not quite sure if i use the filter or not)
>>>> >> >>>
>>>> >> >>>
>>>> >> >>>
>>>> >> >>> tibi
>>>> >> >>>
>>>> >> >>> tibi wrote:
>>>> >> >>>> when i delete the cookies set by the machine i can logout
>>>> but after
>>>> >> >>>> logging in again the problem returns and i have to delete te
>>>> >> >>>> cookies again.
>>>> >> >>>> i tested it with ie too and had te same problem
>>>> >> >>>>
>>>> >> >>>> my tomcat is setup standalone at this moment at port 8180
>>>> >> >>>>
>>>> >> >>>> thanks,
>>>> >> >>>>
>>>> >> >>>> tibi
>>>> >> >>>>
>>>> >> >>>> Matt Raible wrote:
>>>> >> >>>>> I believe if you delete all your cookies associated with
>>>> the test
>>>> >> >>>>> machine it will function properly.  If it doesn't, then it
>>>> may
>>>> >> have
>>>> >> >>>>> something to do with your environment setup.  Are you
>>>> using Tomcat
>>>> >> >>>>> standalone or behind Apache?
>>>> >> >>>>>
>>>> >> >>>>> Matt
>>>> >> >>>>>
>>>> >> >>>>> On 5/8/07, tibi <[EMAIL PROTECTED]> wrote:
>>>> >> >>>>>> thanks matt for the reply
>>>> >> >>>>>>
>>>> >> >>>>>> yes and yes i think (i'm at home now)
>>>> >> >>>>>> the strange thing is locally everything is fine working.
>>>> >> >>>>>> and without the remeber me option it is working fine both
>>>> on the
>>>> >> >>>>>> test
>>>> >> >>>>>> server as locally.
>>>> >> >>>>>>
>>>> >> >>>>>>
>>>> >> >>>>>> tibi
>>>> >> >>>>>>
>>>> >> >>>>>> Matt Raible wrote:
>>>> >> >>>>>> > Do you have a logout.jsp in your project (or the target
>>>> >> directory
>>>> >> >>>>>> > after running "mvn package") or are you using the
>>>> >> logoutFilter in
>>>> >> >>>>>> > security.xml?
>>>> >> >>>>>> >
>>>> >> >>>>>> > Matt
>>>> >> >>>>>> >
>>>> >> >>>>>> > On 5/8/07, tibi <[EMAIL PROTECTED]> wrote:
>>>> >> >>>>>> >> i'm comparing the logs and when loging out after
>>>> loging in
>>>> >> >>>>>> with remember
>>>> >> >>>>>> >> me option i have hits:
>>>> >> >>>>>> >> local (where all is fine):
>>>> >> >>>>>> >>
>>>> >> >>>>>> >> [topnet] DEBUG [btpool0-2] UrlRewriter.debug(196) |
>>>> processing
>>>> >> >>>>>> outbound
>>>> >> >>>>>> >> url for /mainMenu.html
>>>> >> >>>>>> >> [topnet] DEBUG [btpool0-2] UrlRewriter.debug(196) |
>>>> processing
>>>> >> >>>>>> outbound
>>>> >> >>>>>> >> url for /mainMenu.html
>>>> >> >>>>>> >> [topnet] DEBUG [btpool0-2]
>>>> >> >>>>>> ClickstreamListener.sessionCreated(43) |
>>>> >> >>>>>> >> Session 24udda97wg57 was created, adding a new
>>>> clickstream.
>>>> >> >>>>>> >> [topnet] DEBUG [btpool0-2]
>>>> ClickstreamFilter.doFilter(30) |
>>>> >> >>>>>> Applying
>>>> >> >>>>>> >> clickstream filter to request.
>>>> >> >>>>>> >> [topnet] DEBUG [btpool0-2] ServerNameMatcher.debug(196) |
>>>> >> >>>>>> looking for
>>>> >> >>>>>> >> hostname match on current server name localhost
>>>> >> >>>>>> >> [topnet] DEBUG [btpool0-2] UrlRewriteFilter.debug(196) |
>>>> >> >>>>>> checking for
>>>> >> >>>>>> >> status path on /login.jsp
>>>> >> >>>>>> >> [topnet] DEBUG [btpool0-2] UrlRewriter.debug(196) |
>>>> processing
>>>> >> >>>>>> request
>>>> >> >>>>>> >> for /login.jsp
>>>> >> >>>>>> >> [topnet] DEBUG [btpool0-2] UrlRewriter.debug(196) | after
>>>> >> >>>>>> utf-8 decoding
>>>> >> >>>>>> >> /login.jsp
>>>> >> >>>>>> >> [topnet] DEBUG [btpool0-2] UrlRewriter.debug(196) |
>>>> context
>>>> >> >>>>>> stripped
>>>> >> >>>>>> >> [topnet] DEBUG [btpool0-2] UrlRewriter.debug(196) | url
>>>> >> >>>>>> /login.jsp
>>>> >> >>>>>> >>
>>>> >> >>>>>> >> remote (where the logout problem is):
>>>> >> >>>>>> >> [topnet] DEBUG [http-8180-4] UrlRewriter.debug(196) |
>>>> >> processing
>>>> >> >>>>>> >> outbound url for /topnet-1.0-SNAPSHOT/mainMenu.html
>>>> >> >>>>>> >> [topnet] DEBUG [http-8180-4] UrlRewriter.debug(196) |
>>>> >> processing
>>>> >> >>>>>> >> outbound url for /topnet-1.0-SNAPSHOT/mainMenu.html
>>>> >> >>>>>> >> [topnet] DEBUG [http-8180-2]
>>>> ClickstreamFilter.doFilter(30) |
>>>> >> >>>>>> Applying
>>>> >> >>>>>> >> clickstream filter to request.
>>>> >> >>>>>> >> [topnet] DEBUG [http-8180-2]
>>>> >> >>>>>> ClickstreamListener.sessionCreated(43) |
>>>> >> >>>>>> >> Session 117FD5378CFAFACE203D742567429910 was created,
>>>> adding a
>>>> >> >>>>>> new
>>>> >> >>>>>> >> clickstream.
>>>> >> >>>>>> >> [topnet] DEBUG [http-8180-2]
>>>> >> >>>>>> ResponseOverrideFilter.doFilter(122) |
>>>> >> >>>>>> >> Filter has been called, but PARAMETER_EXPORTING
>>>> parameter has
>>>> >> >>>>>> not been
>>>> >> >>>>>> >> found.
>>>> >> >>>>>> >> [topnet] DEBUG [http-8180-2]
>>>> ServerNameMatcher.debug(196) |
>>>> >> >>>>>> looking for
>>>> >> >>>>>> >> hostname match on current server name 192.168.16.246
>>>> >> >>>>>> >> [topnet] DEBUG [http-8180-2] UrlRewriter.debug(196) |
>>>> >> >>>>>> processing request
>>>> >> >>>>>> >> for /topnet-1.0-SNAPSHOT/mainMenu.html
>>>> >> >>>>>> >> [topnet] DEBUG [http-8180-2] UrlRewriter.debug(196) |
>>>> after
>>>> >> utf-8
>>>> >> >>>>>> >> decoding /topnet-1.0-SNAPSHOT/mainMenu.html
>>>> >> >>>>>> >> [topnet] DEBUG [http-8180-2] UrlRewriter.debug(196) |
>>>> context
>>>> >> >>>>>> stripped
>>>> >> >>>>>> >> [topnet] DEBUG [http-8180-2] UrlRewriter.debug(196) | url
>>>> >> >>>>>> /mainMenu.html
>>>> >> >>>>>> >>
>>>> >> >>>>>> >>
>>>> >> >>>>>> >> thanks,
>>>> >> >>>>>> >>
>>>> >> >>>>>> >> tibi
>>>> >> >>>>>> >>
>>>> >> >>>>>> >>
>>>> >> >>>>>> >> tibi wrote:
>>>> >> >>>>>> >> > hi,
>>>> >> >>>>>> >> >
>>>> >> >>>>>> >> > a strange thing and maybe known.
>>>> >> >>>>>> >> > i login with rember me option with  tomcat/tomcat
>>>> >> >>>>>> >> > i click logout and nothing happens. i stay loged in
>>>> and go
>>>> >> >>>>>> to the
>>>> >> >>>>>> >> > mainMenu.html
>>>> >> >>>>>> >> > when i remove the cookies i can offcourse logout fine.
>>>> >> >>>>>> >> >
>>>> >> >>>>>> >> > when i do this with the same war on my local system
>>>> all is
>>>> >> >>>>>> fine.
>>>> >> >>>>>> >> > (using jetty)
>>>> >> >>>>>> >> > on the remote system i have this problem. both with ip
>>>> >> >>>>>> address and
>>>> >> >>>>>> >> > with local url (made in host file)
>>>> >> >>>>>> >> >
>>>> >> >>>>>> >> > any idea?
>>>> >> >>>>>> >> >
>>>> >> >>>>>> >> > tibi
>>>> >> >>>>>> >> >
>>>> >> >>>>>> >> >
>>>> >> >>>>>>
>>>> >>
>>>> ---------------------------------------------------------------------
>>>> >> >>>>>>
>>>> >> >>>>>> >> > To unsubscribe, e-mail:
>>>> >> [EMAIL PROTECTED]
>>>> >> >>>>>> >> > For additional commands, e-mail:
>>>> >> >>>>>> [EMAIL PROTECTED]
>>>> >> >>>>>> >> >
>>>> >> >>>>>> >> >
>>>> >> >>>>>> >>
>>>> >> >>>>>> >>
>>>> >> >>>>>>
>>>> >>
>>>> ---------------------------------------------------------------------
>>>> >> >>>>>>
>>>> >> >>>>>> >> To unsubscribe, e-mail:
>>>> [EMAIL PROTECTED]
>>>> >> >>>>>> >> For additional commands, e-mail:
>>>> >> [EMAIL PROTECTED]
>>>> >> >>>>>> >>
>>>> >> >>>>>> >>
>>>> >> >>>>>> >
>>>> >> >>>>>> >
>>>> >> >>>>>>
>>>> >> >>>>>>
>>>> >>
>>>> ---------------------------------------------------------------------
>>>> >> >>>>>>
>>>> >> >>>>>> To unsubscribe, e-mail:
>>>> [EMAIL PROTECTED]
>>>> >> >>>>>> For additional commands, e-mail:
>>>> [EMAIL PROTECTED]
>>>> >> >>>>>>
>>>> >> >>>>>>
>>>> >> >>>>>
>>>> >> >>>>>
>>>> >> >>>>
>>>> >> >>>>
>>>> >>
>>>> ---------------------------------------------------------------------
>>>> >> >>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> >> >>>> For additional commands, e-mail:
>>>> [EMAIL PROTECTED]
>>>> >> >>>>
>>>> >> >>>>
>>>> >> >>>
>>>> >> >>>
>>>> >>
>>>> ---------------------------------------------------------------------
>>>> >> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> >> >>> For additional commands, e-mail:
>>>> [EMAIL PROTECTED]
>>>> >> >>>
>>>> >> >>>
>>>> >> >>
>>>> >> >>
>>>> ---------------------------------------------------------------------
>>>> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
>>>> >> >>
>>>> >> >>
>>>> >> >
>>>> >> >
>>>> ---------------------------------------------------------------------
>>>> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> >> > For additional commands, e-mail: [EMAIL PROTECTED]
>>>> >> >
>>>> >> >
>>>> >>
>>>> >>
>>>> ---------------------------------------------------------------------
>>>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>>>> >>
>>>> >>
>>>> >
>>>> >
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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




--
http://raibledesigns.com

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

Reply via email to