RE: Missing static contents on 1st page hit with Apache+mod_jk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

>From the logs, on 1st page hit requests are appended with jsessionid &
jsessionidversion, while the 2nd hit are not, maybe this is what causes the
static contents are not rendered on 1st page hit ? Could somebody explain
about this ?

Regards,

Setya


john.3.newton wrote:
> 
> So... What are you upset about? Is the server not working properly or not
> serving pages properly? Is it going straight to tomcat instead of serving
> a static page, or do you just want more detail in your apache logs?
> 
> John Newton
> 
> 
> -----Original Message-----
> From: Setya [mailto:jsetya@xxxxxxxxx] 
> Sent: Monday, January 31, 2011 1:46 AM
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re:  Missing static contents on 1st page hit with
> Apache+mod_jk
> 
> 
> Hi, 
> 
> This is what I get from Apache's access_log file:
> 
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET / HTTP/1.1" 302 -
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET
> /;jsessionid=9c3908b88220b3ede29a9a376456.NRSInstance1;jsessionidversion=/:0?x=gxlH4WOrHXyQ6FxyqaLHNyt8bQVL1SKKzmeFvqAf-I4
> HTTP/1.1" 200 3801
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET
> /;jsessionid=9c3908b88220b3ede29a9a376456.NRSInstance1;jsessionidversion=/script/jquery-1.4.2.min.js
> HTTP/1.1" 302 -
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET
> /;jsessionid=9c3908b88220b3ede29a9a376456.NRSInstance1;jsessionidversion=/styles/reset.css
> HTTP/1.1" 302 -
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET
> /;jsessionid=9c3908b88220b3ede29a9a376456.NRSInstance1;jsessionidversion=/resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js
> HTTP/1.1" 302 -
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET
> /;jsessionid=9c3908b88220b3ede29a9a376456.NRSInstance1;jsessionidversion=/resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js
> HTTP/1.1" 302 -
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET
> /;jsessionid=9c3908b88220b3ede29a9a376456.NRSInstance1;jsessionidversion=/styles/login.css
> HTTP/1.1" 302 -
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET
> /;jsessionid=9c3908b88220b3ede29a9a376456.NRSInstance1;jsessionidversion=/styles/grid.css
> HTTP/1.1" 302 -
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET
> /?x=kE1hmCXvkMk55glYTqrjgyELz9G7S35LQEk56Rh8biQ HTTP/1.1" 200 1944
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET
> /?x=TWr28XM6KQPCgAJanYqWXqX9kuTa98ZaVBOBngQt254 HTTP/1.1" 200 3801
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET
> /?x=yxoGmrDQD1HqN5QpnGztJd2sRosG0aixjY2vpfp*61A HTTP/1.1" 200 3801
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET
> /?x=iqDMDndLavhcSSNqC8ny9OF*yr7MR7Yv8LcCunp69x0 HTTP/1.1" 200 3801
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET
> /?x=UuLaSRhiUCVUZUgpYUeiXm7U5Q5a0zzCdfJvypyMcok HTTP/1.1" 200 3801
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET
> /?x=cSXMz7n514pRMkVs3nKy9i8G5Do9s7guI1x*Dr3B7XY HTTP/1.1" 200 3801
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET
> /;jsessionid=9c3908b88220b3ede29a9a376456.NRSInstance1;jsessionidversion=/images/logo-xl.png
> HTTP/1.1" 302 -
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET
> /;jsessionid=9c3908b88220b3ede29a9a376456.NRSInstance1;jsessionidversion=/images/logo-nationalroamingservice.png
> HTTP/1.1" 302 -
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET
> /?x=ATGKndntTgdw2QedCwAi2PTDyd7t7QyJdAf0*xpTE1w HTTP/1.1" 200 3801
> 10.21.114.90 - - [31/Jan/2011:08:50:28 +0700] "GET
> /?x=XaOA-S5TF77ePE6y-17kS6IxJDcqOBlhKNhD1VBaG0o HTTP/1.1" 200 3801
> ::1 - - [31/Jan/2011:08:50:36 +0700] "OPTIONS * HTTP/1.0" 200 -
> 10.21.114.90 - - [31/Jan/2011:08:50:37 +0700] "GET / HTTP/1.1" 302 -
> 10.21.114.90 - - [31/Jan/2011:08:50:37 +0700] "GET
> /?x=lXPF7qGw1FiY8py-J3vtk2kd*y4dlAMijxUx6EiWxqg HTTP/1.1" 200 3801
> 10.21.114.90 - - [31/Jan/2011:08:50:37 +0700] "GET /styles/reset.css
> HTTP/1.1" 200 1077
> 10.21.114.90 - - [31/Jan/2011:08:50:37 +0700] "GET /styles/login.css
> HTTP/1.1" 200 2605
> 10.21.114.90 - - [31/Jan/2011:08:50:37 +0700] "GET /styles/grid.css
> HTTP/1.1" 200 9981
> 10.21.114.90 - - [31/Jan/2011:08:50:37 +0700] "GET
> /resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js
> HTTP/1.1" 200 1201
> 10.21.114.90 - - [31/Jan/2011:08:50:37 +0700] "GET
> /resources/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax.js
> HTTP/1.1" 200 10530
> 10.21.114.90 - - [31/Jan/2011:08:50:37 +0700] "GET
> /script/jquery-1.4.2.min.js HTTP/1.1" 200 72174
> 10.21.114.90 - - [31/Jan/2011:08:50:38 +0700] "GET
> /images/logo-nationalroamingservice.png HTTP/1.1" 200 2654
> 10.21.114.90 - - [31/Jan/2011:08:50:38 +0700] "GET /images/logo-xl.png
> HTTP/1.1" 200 16734
> 10.21.114.90 - - [31/Jan/2011:08:50:38 +0700] "GET /images/bg-body.gif
> HTTP/1.1" 200 51
> 10.21.114.90 - - [31/Jan/2011:08:50:38 +0700] "GET
> /images/icons/ico-check.png HTTP/1.1" 200 396
> 10.21.114.90 - - [31/Jan/2011:08:50:38 +0700] "GET /images/bg-intro3.jpg
> HTTP/1.1" 200 49369
> 
> The above log results from 1st & 2nd hit on the home page.
> 
> 
> Regards,
> 
> Setya
> -- 
> View this message in context:
> http://old.nabble.com/Missing-static-contents-on-1st-page-hit-with-Apache%2Bmod_jk-tp30785418p30804724.html
> Sent from the Apache HTTP Server - Users mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Missing-static-contents-on-1st-page-hit-with-Apache%2Bmod_jk-tp30785418p30812691.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux