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

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

 



Thank you for your response,

I've found the cause of the problem, it seems that Apache doesn't like URL
that contains jsessionid. The solution is to use Rewrite to strip down
jsessionid.

Regards,

Setya


Nick Kew wrote:
> 
> On Mon, 31 Jan 2011 17:40:08 -0800 (PST)
> Setya <jsetya@xxxxxxxxx> wrote:
> 
>> 
>> 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 ?
> 
> The jsession stuff is what your browser requested, and presumably
> come from your application on the glassfish.
> 
> The server has returned a bunch of redirects (302s).  This may
> be intentional.  If so, you need to figure out where the redirects
> are going (your browser can tell you that), and fix it.
> 
> The tutorial at http://www.apachetutor.org/admin/reverseproxies
> may help to understand why it's not working, although not all
> the techniques described there are applicable with mod_jk.
> 
> The fact that you're getting session stuff and redirects
> associated with static contents probably indicates a
> poorly-implemented application running on the glassfish.
> 
> 
> -- 
> Nick Kew
> 
> Available for work, contract or permanent.
> http://www.webthing.com/~nick/cv.html
> 
> ---------------------------------------------------------------------
> 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-tp30785418p30842447.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