Catch-all host

2011-07-12 Thread Calum
rects 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, e-mail:

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

2011-06-21 Thread Calum
lid (because it is between requests 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
h time, 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 addit

Re: mod_jk problem

2011-06-14 Thread Calum
On 14 June 2011 12:49, Orgil Tulga 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? http://tomcat.apache.o

Re: mod_jk problem

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

Re: mod_jk problem

2011-06-14 Thread Calum
On 14 June 2011 12:07, Orgil Tulga 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 > http://domainname/contact.shtml

Re: how to correct stop a thread and avoid leaks

2011-06-09 Thread Calum
On 9 June 2011 09:11, Pid 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 better to h

Re: webapp servlet vers web services

2011-04-27 Thread Calum
On 27 April 2011 18:02, wrote: > >   >    InitServlet >    / >   > > If I understand spec correctly and this being the only mapping, it will > become the default and all requests will be routed to the servlet. No - I think it would have to be /* > I also have a bunch of web services which when