Catch-all host

2011-07-12 Thread Calum
RewriteRule that redirects to /catchall/?url=http://foo.bar.com/test/foo or whatever could work, but it's a bit of a kludge. Calum PS. I'm running Tomcat 6.0.32, but could upgrade if it was in a later version. - To unsubscribe

Re: Null-pointer exception from response.encodeUrl under Windows Tomcat 7

2011-06-21 Thread Calum
and Tomcat has actively invalidated it). I assume that Tomcat won't reuse a request/response until activity on it has ended though? Does it keep a pool of them? Thanks for your help in clarifying this for me, by the way. Calum

Re: Null-pointer exception from response.encodeUrl under Windows Tomcat 7

2011-06-20 Thread Calum
, and that while something has a reference to it, it will be fine, and when logHit has finished with it, it will be eligible for garbage collection. Calum - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: mod_jk problem

2011-06-14 Thread Calum
On 14 June 2011 12:07, Orgil Tulga orgio...@yahoo.com wrote: Hello All,   I am using apache and tomcat with mod_jk. apache version : 2.2.19 tomcat version : 6.0 mod_jk version : 1.2.30 My web runs through servlet. http://domainname:8080/contact.shtml - is working

Re: mod_jk problem

2011-06-14 Thread Calum
On 14 June 2011 12:28, Orgil Tulga orgio...@yahoo.com wrote: My jk connector config is below. Below is jk.conf: JkWorkersFile /usr/local/jakarta/tomcat/conf/workers.properties Can we see this? - To

Re: mod_jk problem

2011-06-14 Thread Calum
On 14 June 2011 12:49, Orgil Tulga orgio...@yahoo.com wrote: No. I am testing on local domain. I don't understand this. The ajp13 bit in your jkmount.conf needs to refer to a worker in workers.properties. We would need to see it to understand what's happening. This might help you a little?

Re: how to correct stop a thread and avoid leaks

2011-06-09 Thread Calum
On 9 June 2011 09:11, Pid p...@pidster.com wrote: Eh?  Why would you need to put Tomcat specific dependencies in a spec compliant Servlet container?  The above is simply not true. The OP use of a ServletContextListener is perfectly valid, (even if the rest of the code is a little odd). Is it

Re: webapp servlet vers web services

2011-04-27 Thread Calum
On 27 April 2011 18:02, robert.jen...@surecomp.com wrote:  servlet-mapping    servlet-nameInitServlet/servlet-name    url-pattern//url-pattern  /servlet-mapping If I understand spec correctly and this being the only mapping, it will become the default and all requests will be routed to