tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem
Date Wed, 11 Feb 2009 16:42:32 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Filip,

On 2/11/2009 10:40 AM, lynckmeister wrote:
> SessionScope.get(String, ObjectFactory) line: 90 
> DefaultListableBeanFactory(AbstractBeanFactory).doGetBean(String, Class,
> Object[], boolean) line: 298 
> DefaultListableBeanFactory(AbstractBeanFactory).getBean(String, Class,
> Object[]) line: 185 
> DefaultListableBeanFactory(AbstractBeanFactory).getBean(String) line: 164 
> XmlWebApplicationContext(AbstractApplicationContext).getBean(String) line:
> 881 
> DelegatingVariableResolver.resolveSpringBean(FacesContext, String) line: 142 
> DelegatingVariableResolver.resolveVariable(FacesContext, String) line: 109 
> VariableResolverChainWrapper.getValue(ELContext, Object, Object) line: 100 
> FacesCompositeELResolver(CompositeELResolver).getValue(ELContext, Object,
> Object) line: 53 
> FacesCompositeELResolver.getValue(ELContext, Object, Object) line: 64 
> AstIdentifier.getValue(EvaluationContext) line: 61 
> AstValue.getValue(EvaluationContext) line: 103 
> ValueExpressionImpl.getValue(ELContext) line: 186 
> TagValueExpression.getValue(ELContext) line: 71 
> HtmlInputText(UIOutput).getValue() line: 173 
> TextRenderer(HtmlBasicInputRenderer).getValue(UIComponent) line: 189 

These lines seem to me to be running in the view phase, which should be
after the request has been handled by the controller (i.e. the logic).

Try writing a javax.servlet.Filter and having it run /before/ the
OrchestraFilter in your filter chain (that is, put it in web.xml before
the existing Filter). You should be able to pre-process your
request/session in this way.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmS//gACgkQ9CaO5/Lv0PDaKACeOYou60WgvuY4X934rl3+9EOg
jWkAnikNqsjw8TNyqj1pQklBXWpO6tVf
=fieW
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message