I don't understand when you say "it takes 3 minutes".  It doesn't take
3 minutes to load each page on the demo site. It may take a while
because you have the logs cranked up. We used to have many more
mappings in web.xml for the filters so scripts, images, etc. would be
excluded. However, we found that too many folks were confused by 20+
mappings, so we reduced a lot of them to /* - hence the reason you're
seeing scripts/images/etc. being filtered. I encourage you to change
them to the more fine-grained mappings if you understand how
everything works.

Matt

On 5/29/07, nmall <[EMAIL PROTECTED]> wrote:

It seems to do this for every page for me - it is taking about 3 minutes to
load every page by trying to  go thru' one js at a time -> prototype.js,
scriptaculous.js, global.js ...Please look at trace below. I guess I don't
understand why it is doing it over and over again... Thanks a lot!!

DEBUG - Converted URL to lowercase, from: '/scripts/prototype.js'; to:
'/scripts
/prototype.js'
DEBUG - Candidate is: '/scripts/prototype.js'; pattern is /images/**;
matched=fa
lse
DEBUG - Candidate is: '/scripts/prototype.js'; pattern is /scripts/**;
matched=t
rue
DEBUG - /scripts/prototype.js has an empty filter list
DEBUG - Using SessionFactory 'sessionFactory' for OpenSessionInViewFilter
DEBUG - Returning cached instance of singleton bean 'sessionFactory'
DEBUG - Bean with name 'sessionFactory' is a factory bean
DEBUG - Opening single Hibernate Session in OpenSessionInViewFilter
DEBUG - Opening Hibernate Session
DEBUG - opened session at timestamp: 11804224850
DEBUG - setting flush mode to: NEVER
DEBUG - Bound value
[EMAIL PROTECTED] f
or key [EMAIL PROTECTED] to thread [btpool0-2]
DEBUG - Removed value
[EMAIL PROTECTED]
 for key [EMAIL PROTECTED] from thread
[btpool0-2]
DEBUG - Closing single Hibernate Session in OpenSessionInViewFilter
DEBUG - Closing Hibernate Session
DEBUG - closing session
DEBUG - connection already null in cleanup : no action
DEBUG - Cleared thread-bound request context: GET
/myproject/scripts/prototype.j
s HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3)
Gecko/20
070309 Firefox/2.0.0.3
Accept: */*
Accept-Language: en-us,en;q=0.5
X-McProxyFilter: ************
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:8080/myproject/editProfile.html
Cookie: JSESSIONID=e6hkamqrqc69t;
ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE=bXJha
WJsZToxMTc4Njg4NTgwMDE1OjM2MjlhZWUyYzhkN2E2ZjZmODU4YTJkNGY2OWM5ZmI1;
username=mr
aible


DEBUG - opened session at timestamp: 11804224950
DEBUG - allowing method [beginTransaction] in non-transacted context
DEBUG - begin
DEBUG - opening JDBC connection
DEBUG - total checked-out connections: 0
DEBUG - using pooled JDBC connection, pool size: 0
DEBUG - current autocommit status: false
DEBUG - after transaction begin
DEBUG - unable to locate native-sql query plan in cache; generating (SELECT
DIST
INCT ACCOUNT_ID, DEVICE_ID FROM RAW_CLICK_STREAM)
DEBUG - SQL query: SELECT DISTINCT ACCOUNT_ID, DEVICE_ID FROM
RAW_CLICK_STREAM
DEBUG - about to open PreparedStatement (open PreparedStatements: 0,
globally: 0
)
DEBUG - SELECT DISTINCT ACCOUNT_ID, DEVICE_ID FROM RAW_CLICK_STREAM
Hibernate: SELECT DISTINCT ACCOUNT_ID, DEVICE_ID FROM RAW_CLICK_STREAM
DEBUG - preparing statement
DEBUG - about to open ResultSet (open ResultSets: 0, globally: 0)
DEBUG - processing result set
DEBUG - done processing result set (0 rows)
DEBUG - about to close ResultSet (open ResultSets: 1, globally: 1)
DEBUG - about to close PreparedStatement (open PreparedStatements: 1,
globally:
1)
DEBUG - closing statement
DEBUG - initializing non-lazy collections
DEBUG - commit
DEBUG - automatically flushing session
DEBUG - before transaction completion
DEBUG - before transaction completion
DEBUG - committed JDBC Connection
DEBUG - after transaction completion
DEBUG - aggressively releasing JDBC connection
DEBUG - closing JDBC connection [ (open PreparedStatements: 0, globally: 0)
(ope
n ResultSets: 0, globally: 0)]
DEBUG - returning connection to pool, pool size: 1
DEBUG - after transaction completion
DEBUG - automatically closing session
DEBUG - closing session
DEBUG - connection already null in cleanup : no action
DEBUG - Creating [java.util.LinkedHashMap]
DEBUG - Bound request context to thread: GET
/myproject/scripts/scriptaculous.js
 HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3)
Gecko/20
070309 Firefox/2.0.0.3
Accept: */*
Accept-Language: en-us,en;q=0.5
X-McProxyFilter: ************
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:8080/myproject/editProfile.html
Cookie: JSESSIONID=e6hkamqrqc69t;
ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE=bXJha
WJsZToxMTc4Njg4NTgwMDE1OjM2MjlhZWUyYzhkN2E2ZjZmODU4YTJkNGY2OWM5ZmI1;
username=mr
aible


DEBUG - Converted URL to lowercase, from: '/scripts/scriptaculous.js'; to:
'/scr
ipts/scriptaculous.js'
DEBUG - Candidate is: '/scripts/scriptaculous.js'; pattern is /images/**;
matche
d=false
DEBUG - Candidate is: '/scripts/scriptaculous.js'; pattern is /scripts/**;
match
ed=true
DEBUG - /scripts/scriptaculous.js has an empty filter list
DEBUG - Using SessionFactory 'sessionFactory' for OpenSessionInViewFilter
DEBUG - Returning cached instance of singleton bean 'sessionFactory'
DEBUG - Bean with name 'sessionFactory' is a factory bean
DEBUG - Opening single Hibernate Session in OpenSessionInViewFilter
DEBUG - Opening Hibernate Session
DEBUG - opened session at timestamp: 11804225001
DEBUG - setting flush mode to: NEVER
DEBUG - Bound value
[EMAIL PROTECTED] fo
r key [EMAIL PROTECTED] to thread [btpool0-2]
DEBUG - Removed value
[EMAIL PROTECTED]
for key [EMAIL PROTECTED] from thread
[btpool0-2]
DEBUG - Closing single Hibernate Session in OpenSessionInViewFilter
DEBUG - Closing Hibernate Session
DEBUG - closing session
DEBUG - connection already null in cleanup : no action
DEBUG - Cleared thread-bound request context: GET
/myproject/scripts/scriptaculo
us.js HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3)
Gecko/20
070309 Firefox/2.0.0.3
Accept: */*
Accept-Language: en-us,en;q=0.5
X-McProxyFilter: ************
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:8080/myproject/editProfile.html
Cookie: JSESSIONID=e6hkamqrqc69t;
ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE=bXJha
WJsZToxMTc4Njg4NTgwMDE1OjM2MjlhZWUyYzhkN2E2ZjZmODU4YTJkNGY2OWM5ZmI1;
username=mr
aible


DEBUG - Creating [java.util.LinkedHashMap]
DEBUG - Bound request context to thread: GET /myproject/scripts/global.js
HTTP/1
.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3)
Gecko/20
070309 Firefox/2.0.0.3
Accept: */*
Accept-Language: en-us,en;q=0.5
X-McProxyFilter: ************
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:8080/myproject/editProfile.html
Cookie: JSESSIONID=e6hkamqrqc69t;
ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE=bXJha
WJsZToxMTc4Njg4NTgwMDE1OjM2MjlhZWUyYzhkN2E2ZjZmODU4YTJkNGY2OWM5ZmI1;
username=mr
aible


DEBUG - Converted URL to lowercase, from: '/scripts/global.js'; to:
'/scripts/gl
obal.js'
DEBUG - Candidate is: '/scripts/global.js'; pattern is /images/**;
matched=false

DEBUG - Candidate is: '/scripts/global.js'; pattern is /scripts/**;
matched=true

DEBUG - /scripts/global.js has an empty filter list
DEBUG - Using SessionFactory 'sessionFactory' for OpenSessionInViewFilter
DEBUG - Returning cached instance of singleton bean 'sessionFactory'
DEBUG - Bean with name 'sessionFactory' is a factory bean
DEBUG - Opening single Hibernate Session in OpenSessionInViewFilter
DEBUG - Opening Hibernate Session
DEBUG - opened session at timestamp: 11804225152
DEBUG - setting flush mode to: NEVER
DEBUG - Bound value [EMAIL PROTECTED]
for
 key [EMAIL PROTECTED] to thread [btpool0-2]
DEBUG - Removed value
[EMAIL PROTECTED] f
or key [EMAIL PROTECTED] from thread
[btpool0-2]
DEBUG - Closing single Hibernate Session in OpenSessionInViewFilter
DEBUG - Closing Hibernate Session
DEBUG - closing session
DEBUG - connection already null in cleanup : no action
DEBUG - Cleared thread-bound request context: GET
/myproject/scripts/global.js H
TTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3)
Gecko/20
070309 Firefox/2.0.0.3
Accept: */*
Accept-Language: en-us,en;q=0.5
X-McProxyFilter: ************
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:8080/myproject/editProfile.html
Cookie: JSESSIONID=e6hkamqrqc69t;
ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE=bXJha
WJsZToxMTc4Njg4NTgwMDE1OjM2MjlhZWUyYzhkN2E2ZjZmODU4YTJkNGY2OWM5ZmI1;
username=mr
aible



nmall wrote:
>
> Hi,
>
>  I was just looking at why the login page was taking so long and I find
> that it goes thru' almost the same cycle several times bfore it creates
> the login page . Any idea why appfuse does this. Thanks a lot for any
> clarifications!!
> DEBUG - Bound request context to thread: GET /myproject/login.jsp HTTP/1.1
> Host: localhost:8080
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3)
> Gecko/20
> 070309 Firefox/2.0.0.3
> Accept:
> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
> n;q=0.8,image/png,*/*;q=0.5
> Accept-Language: en-us,en;q=0.5
> X-McProxyFilter: ************
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Cookie:
> ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE=bXJhaWJsZToxMTc4Njg4NTgwMDE1OjM
> 2MjlhZWUyYzhkN2E2ZjZmODU4YTJkNGY2OWM5ZmI1; username=mraible
>
> DEBUG - Converted URL to lowercase, from:
> '/styles/simplicity/images/background.
> gif'; to: '/styles/simplicity/images/background.gif'
> DEBUG - Candidate is: '/styles/simplicity/images/background.gif'; pattern
> is /im
> ages/**; matched=false
> DEBUG - Candidate is: '/styles/simplicity/images/background.gif'; pattern
> is /sc
> ripts/**; matched=false
> DEBUG - Candidate is: '/styles/simplicity/images/background.gif'; pattern
> is /st
> yles/**; matched=true
> DEBUG - /styles/simplicity/images/background.gif has an empty filter list
> DEBUG - Using SessionFactory 'sessionFactory' for OpenSessionInViewFilter
> DEBUG - Returning cached instance of singleton bean 'sessionFactory'
> DEBUG - Bean with name 'sessionFactory' is a factory bean
> DEBUG - Opening single Hibernate Session in OpenSessionInViewFilter
> DEBUG - Opening Hibernate Session
> DEBUG - opened session at timestamp: 11804178130
> DEBUG - setting flush mode to: NEVER
> DEBUG - Bound value
> [EMAIL PROTECTED] f
> or key [EMAIL PROTECTED] to thread [btpool0-3]
> DEBUG - Removed value
> [EMAIL PROTECTED]
>  for key [EMAIL PROTECTED] from thread
> [btpool0-3]
> DEBUG - Closing single Hibernate Session in OpenSessionInViewFilter
> DEBUG - Closing Hibernate Session
> DEBUG - closing session
> DEBUG - connection already null in cleanup : no action
> DEBUG - Cleared thread-bound request context: GET
> /myproject/styles/simplicity/i
> mages/background.gif HTTP/1.1
> Host: localhost:8080
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3)
> Gecko/20
> 070309 Firefox/2.0.0.3
> Accept: image/png,*/*;q=0.5
> Accept-Language: en-us,en;q=0.5
> X-McProxyFilter: ************
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Cookie: JSESSIONID=41s3pmj98nk62;
> ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE=bXJha
> WJsZToxMTc4Njg4NTgwMDE1OjM2MjlhZWUyYzhkN2E2ZjZmODU4YTJkNGY2OWM5ZmI1;
> username=mr
> aible
> Referer: http://localhost:8080/myproject/styles/simplicity/layout.css
>
>
> DEBUG - Creating [java.util.LinkedHashMap]
> DEBUG - Bound request context to thread: GET /myproject/images/fieldbg.gif
> HTTP/
> 1.1
> Host: localhost:8080
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3)
> Gecko/20
> 070309 Firefox/2.0.0.3
> Accept: image/png,*/*;q=0.5
> Accept-Language: en-us,en;q=0.5
> X-McProxyFilter: ************
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Referer: http://localhost:8080/myproject/styles/forms.css
> Cookie: JSESSIONID=41s3pmj98nk62;
> ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE=bXJha
> WJsZToxMTc4Njg4NTgwMDE1OjM2MjlhZWUyYzhkN2E2ZjZmODU4YTJkNGY2OWM5ZmI1;
> username=mr
> aible
>
>
> DEBUG - Converted URL to lowercase, from: '/images/fieldbg.gif'; to:
> '/images/fi
> eldbg.gif'
> DEBUG - Candidate is: '/images/fieldbg.gif'; pattern is /images/**;
> matched=true
>
> DEBUG - /images/fieldbg.gif has an empty filter list
> DEBUG - Using SessionFactory 'sessionFactory' for OpenSessionInViewFilter
> DEBUG - Returning cached instance of singleton bean 'sessionFactory'
> DEBUG - Bean with name 'sessionFactory' is a factory bean
> DEBUG - Opening single Hibernate Session in OpenSessionInViewFilter
> DEBUG - Opening Hibernate Session
> DEBUG - opened session at timestamp: 11804178131
> DEBUG - setting flush mode to: NEVER
> DEBUG - Bound value
> [EMAIL PROTECTED] f
> or key [EMAIL PROTECTED] to thread [btpool0-3]
> DEBUG - Removed value
> [EMAIL PROTECTED]
>  for key [EMAIL PROTECTED] from thread
> [btpool0-3]
> DEBUG - Closing single Hibernate Session in OpenSessionInViewFilter
> DEBUG - Closing Hibernate Session
> DEBUG - closing session
> DEBUG - connection already null in cleanup : no action
> DEBUG - Cleared thread-bound request context: GET
> /myproject/images/fieldbg.gif
> HTTP/1.1
> Host: localhost:8080
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3)
> Gecko/20
> 070309 Firefox/2.0.0.3
> Accept: image/png,*/*;q=0.5
> Accept-Language: en-us,en;q=0.5
> X-McProxyFilter: ************
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
> Referer: http://localhost:8080/myproject/styles/forms.css
> Cookie: JSESSIONID=41s3pmj98nk62;
> ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE=bXJha
> WJsZToxMTc4Njg4NTgwMDE1OjM2MjlhZWUyYzhkN2E2ZjZmODU4YTJkNGY2OWM5ZmI1;
> username=mr
> aible
>

--
View this message in context: 
http://www.nabble.com/login-debug-messages-tf3831896s2369.html#a10849063
Sent from the AppFuse - User mailing list archive at Nabble.com.

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