tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54191] TomEE 1.5+ SNAPSHOT struggling with PrimeFaces p:calendar readonlyInput="#{someEL ? 'true' : 'false'}"
Date Tue, 04 Dec 2012 23:06:51 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54191

--- Comment #13 from smithh032772 <smithh032772@gmail.com> ---
Per my experience and per test results, my LoginFilter supports multithreading
and any/all requests. Per design (and working as expected), userAgentInfo is
only referenced when user is not logged in. Once user is logged in and user
agent info is stored in user bean, then there is no longer a need for user
agent. This is all working as designed.

I just ran another test to confirm what I stated above.

Below, you will see that I 1st logged in via my laptop (Google chrome browser),
and then afterwards, I logged in via my galaxy nexus (google chrome browser as
well), and the last request was from my laptop to look at my users page, which
shows how many sessions each user have open (a homegrown session monitor).

Dec 04, 2012 6:01:41 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 19674 ms
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() =
/mcmsweb/javax.faces.resource/images/ui-bg_flat_0_2d5972_40x100.png.jsf
LoginFilter.doFilter(): ajaxRequest = false; ajaxHeader = null
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/index.jsf
LoginFilter.doFilter(): ajaxRequest = false; ajaxHeader = null
LoginFilter.doFilter(): agent.getUserAgent() = mozilla/5.0 (windows nt 6.0;
wow64) applewebkit/537.11 (khtml, like gecko) chrome/23.0.1271.95 safari/537.11
LoginFilter.doFilter(): agent.getUserAgent() = mozilla/5.0 (windows nt 6.0;
wow64) applewebkit/537.11 (khtml, like gecko) chrome/23.0.1271.95 safari/537.11
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/login.jsf
LoginFilter.doFilter(): ajaxRequest = false; ajaxHeader = null
LoginFilter.doFilter(): agent.getUserAgent() = mozilla/5.0 (windows nt 6.0;
wow64) applewebkit/537.11 (khtml, like gecko) chrome/23.0.1271.95 safari/537.11
Dec 04, 2012 6:02:11 PM org.apache.myfaces.el.unified.ResolverBuilderBase
sortELResolvers
INFO: Chain of EL resolvers for Faces sorted with:
org.apache.myfaces.el.unified.OpenWebBeansELResolverComparator@7850c424 and the
result order is
[org.apache.myfaces.el.unified.resolver.implicitobject.ImplicitObjectResolver@7e7d5531,
org.apache.myfaces.el.unified.resolver.CompositeComponentELResolver@566444d7,
org.apache.myfaces.el.FlashELResolver@50e3ab90,
org.apache.myfaces.el.unified.resolver.ManagedBeanResolver@1314a46d,
org.apache.myfaces.el.unified.resolver.ResourceResolver@3036f9e4,
javax.el.ResourceBundleELResolver@69500076,
org.apache.myfaces.el.unified.resolver.ResourceBundleResolver@34e78fe,
javax.el.MapELResolver@14e96d64, javax.el.ListELResolver@690ccaf5,
javax.el.ArrayELResolver@46e0d0b4, javax.el.BeanELResolver@51a5fdc6,
org.apache.webbeans.el.WebBeansELResolver@68b7fc0a]
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/login.jsf
LoginFilter.doFilter(): ajaxRequest = false; ajaxHeader = null
[EL Info]: 2012-12-04 18:02:28.03--ServerSession(1717835602)--EclipseLink,
version: Eclipse Persistence Services - 2.3.2.v20111125-r10461
[EL Info]: 2012-12-04
18:02:28.593--ServerSession(1717835602)--file:/C:/apache-tomee-plus-1.5.1-SNAPSHOT/webapps/mcmsweb/WEB-INF/classes/_mcmsPU
login successful
GoogleCalendarUtil: calendarList.getEntries().size() = 2
GoogleCalendarUtil: calendar ID/summary = oletaweb@gmail.com/mcmsweb
GoogleCalendarUtil: calendar ID/summary =
998449989713@developer.gserviceaccount.com/998449989713@developer.gserviceaccount.com
GoogleCalendarUtil: events.getItems().size() = 250
pf_UsersController.loginUser(): administrator logged in at Tue Dec 04 18:02:29
EST 2012
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/index.jsf
LoginFilter.doFilter(): ajaxRequest = false; ajaxHeader = null
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/login.jsf
LoginFilter.doFilter(): ajaxRequest = false; ajaxHeader = null
LoginFilter.doFilter(): isAndroid = true
LoginFilter.doFilter(): agent.getUserAgent() = mozilla/5.0 (linux; android
4.1.1; galaxy nexus build/jro03u) applewebkit/535.19 (khtml, like gecko)
chrome/18.0.1025.166 mobile safari/535.19
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/loginViaMobile.jsf
LoginFilter.doFilter(): ajaxRequest = false; ajaxHeader = null
LoginFilter.doFilter(): isAndroid = true
LoginFilter.doFilter(): agent.getUserAgent() = mozilla/5.0 (linux; android
4.1.1; galaxy nexus build/jro03u) applewebkit/535.19 (khtml, like gecko)
chrome/18.0.1025.166 mobile safari/535.19
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/loginViaMobile.jsf
LoginFilter.doFilter(): ajaxRequest = false; ajaxHeader = null
pf_UsersController.loginUser(): administrator logged in at Tue Dec 04 18:03:20
EST 2012
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/index.jsf
LoginFilter.doFilter(): ajaxRequest = false; ajaxHeader = null
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() =
/mcmsweb/javax.faces.resource/images/ui-bg_flat_0_2d5972_40x100.png.jsf
LoginFilter.doFilter(): ajaxRequest = false; ajaxHeader = null
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/index.jsf
LoginFilter.doFilter(): ajaxRequest = false; ajaxHeader = null

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message