On 28.09.2009 11:08, Ashika Umanga Umagiliya wrote:
> Greetings all,
> 
> I have configured JK connector to bridge Apache to my Tomcat server.
> I am getting weird behaviour for a one particular servlet.
> For a random  client , it seems that Apache serves some cached
> page.Seems it shows some kind of cached page of JSP page called
> 'Error.jsp'.
> I have placed a System.out.println("error JSP called"); inside this JSP
> but this method does not get called.
> 
> When user open the page from another browser, it serves the correct page
> and error moves to another client!
> 
> I have placed "System.out.println("POST");" and
> "System.out.println("GET");" on top of  doPost() and  doGet() methods of
> the servlet ,and when this happens there's no output in the Tomcat
> output.(ie these methods are not called atall).
> 
> When users access using 8080 port , everything works fine.Is some kind
> of caching involed inside JK connector ?
> 
> Any tips ?

No, mod_jk does not do any caching. Apach eitself is able to use
caching, but then you would need to activate the appropriate modules,
like mod_cache, mod_mem_cache or mod_disk_cache.

> My 'workers.properties' file :
> 
> # Define 1 real worker using ajp13
> worker.list=worker1
> # Set properties for worker1 (ajp13)
> worker.worker1.type=ajp13
> worker.worker1.host=XXX.XXX.XXX.XXX
> worker.worker1.port=8009

I would activate the access log for Apache and for Tomcat and check, how
the requests and responses move through your architecture.

Regards,

Rainer

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

Reply via email to