Re: Fedora Core 3

2004-12-03 Thread Cott Lang
I have FC3, JDK 1.5, and Tomcat 5.0.28 working together just fine. On Wed, 2004-12-01 at 09:32 -0600, Matt Bathje wrote: Hey all - I searched around on mail-archive and google for a bit and couldn't find anybody mentioning that they upgraded their Tomcat machines to use Fedora Core 3

RE: Random 500 errors

2004-10-27 Thread Cott Lang
Is the 500 generated by Apache or Tomcat? Have you cranked your logs all the way up on both? (LogLevel debug in httpd.conf). On Wed, 2004-10-27 at 01:54, James McGovern wrote: Here is the other web.xml. Essentially, this is from a standard download of Liferay Enterprise Portal.

5.0.28 stack overflow?

2004-10-04 Thread Cott Lang
Anyone ever seen one like this? :) ApplicationDispatcher[] Servlet.service() for servlet action threw exception java.lang.StackOverflowError at org.apache.catalina.core.ApplicationHttpRequest.getAttribute(ApplicationHttpRequest.java:208) at

Re: Reducing network traffic for rollover images

2004-10-04 Thread Cott Lang
You might want to play with mod_expires to set expiration headers on images. On Fri, 2004-10-01 at 10:44, Robert Hunt wrote: Is there a way (as in, response header or other HTTPServletResponse setting) that can persuade a browser to use a cached version of an GIF/JPG that's used for a

Re: 5.0.28 stack overflow?

2004-10-04 Thread Cott Lang
. ApplicationHttpRequest extends HttpServletRequestWrapper -Tim Cott Lang wrote: Anyone ever seen one like this? :) ApplicationDispatcher[] Servlet.service() for servlet action threw exception java.lang.StackOverflowError

Re: Pool and Postgresql

2004-09-07 Thread Cott Lang
You are using an old PostgreSQL JDBC driver. Update to the latest rev and this should go away. On Tue, 2004-09-07 at 14:07, Philippe Mathieu wrote: I'm using Postgresql 7.4.x and Tomcat 5.0 under Linux Debian. In my application I'm using the Tomcat Connection Pool to access to a Postgresql

Re: Where can I get JK2 binary for Redhat Enterprise Linux?

2004-09-04 Thread Cott Lang
Why not just use Redhat's? http://ftp.redhat.com/pub/redhat/linux/enterprise/3/en/RHAPS/i386/RPMS/mod_jk2-2.0.4-4jpp_4rh.i386.rpm On Sat, 2004-09-04 at 11:04, nyhgan wrote: Hi, Where can I get JK2 binary for Redhat Enterprise Linux? If anyone happens to have one, pleas email that to

RE: Tomcat clustering without Apache

2004-08-17 Thread Cott Lang
On Tue, 2004-08-17 at 02:59, Endre Stlsvik wrote: No, I can't seem to imagine! ;) You should let LocalDirector do the SLL'ing - and then you can use the SSL Session as stickyness too. One problem with that is you can still have the session hop servers since the Local Director can't match up

Re: how do I call a function in a bean the easy an tidy way?

2004-08-17 Thread Cott Lang
I don't know of any easy tidy way, unless you're using Resin, which allows you to call functions that don't match bean naming conventions and pass parameters. It's always nice to have standards to protect us from ourselves. :) There is a more tidy way - define a function in a .tld. Since it has

Re: Tomcat clustering without Apache

2004-08-17 Thread Cott Lang
On Tue, 2004-08-17 at 06:26, QM wrote: On Tue, Aug 17, 2004 at 05:33:00AM -0700, Cott Lang wrote: : One problem with that is you can still have the session hop servers : since the Local Director can't match up cookie based mappings to SSL : session mappings, since it can't read the cookies

Re: Tomcat clustering without Apache

2004-08-17 Thread Cott Lang
That's also what I referred to when mentioning SSL Session - see, the SSL layer in effect creates a session with the client, and one can thus use this to do sessioning/sticking with - AT LEAST this works when you use client certificates, but I'm not totally sure how this goes when there is

Re: [OT] - JVM Max Heap Size on Linux

2004-08-13 Thread Cott Lang
I've used Sun's 1.5 Beta on AMD64 and verified that heap allocation maxes out at 12GB (I'm on a 32GB machine running RHAS 3.0 x86-64). On Fri, 2004-08-13 at 10:01, Peter Lin wrote: I thought the only way to run a 64bit VM was on solaris, which means you have to use the Sun JVM. Does IBM

Re: Wildcard subdomains

2004-08-08 Thread Cott Lang
On Sun, 2004-08-08 at 12:03, Henrik Gammelmark wrote: Is there any way I can catch all subdomains belonging to a domain-name within one Host tag? Host bla..bla... Alias*.domain2.com/Alias/Host The above illustrates what I wish to do, but it seems tomcat handles the asterisk literally

Re: Host Aliases, Wildcards

2004-08-04 Thread Cott Lang
On Mon, 2004-08-02 at 09:43, J.Lindberg wrote: Tomcat docs on host aliases say nothing about wildcards, so I'm assuming it's not implemented. Would be nice to see a change in this policy. :) It is most definitely not implemented. I even browsed down through the source to review how it did

RE: Host Aliases, Wildcards

2004-08-04 Thread Cott Lang
no Tomcat support for wildcard virtual hosts, and with the current code base it's not trivial to write, as you've noted. However, as always patches and enhancements are welcome ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Cott Lang [mailto:[EMAIL

RE: Wildcard virtual hosts help

2004-07-19 Thread Cott Lang
Thanks, Gary. I thought of that as a possibility over the weekend while mulling over Daniel's suggestion, but have not had a chance to try it. I appreciate knowing someone else has it working. :) Thanks, Cott I have done this with re-write rules in apache by forcing the domain names into a

Re: Wildcard virtual hosts help

2004-07-16 Thread Cott Lang
I can't see how that would work (and it doesn't seem to), because while Apache points at the right app directory, any request coming into Tomcat that doesn't match an explicit host name goes to the default host, and thus to a different app ... i.e., I need to duplicate a config I have in Resin

Wildcard virtual hosts help

2004-07-15 Thread Cott Lang
I have a specific problem that requires that I map hundreds of thousands (yes, hundreds of thousands) of domain names to a dozen or so different web-apps based on domain name. I currently use Resin to handle this, but really wish to abandon Resin for Tomcat for a variety of reasons. Uniquely

Re: Wildcard virtual hosts help

2004-07-15 Thread Cott Lang
On Thu, 2004-07-15 at 13:15, Daniel J. Obregon wrote: Have you considered using apache/mod_jk? If you are mapping thousands of domains to a few webapps, it might be better to use apache. Then, *worst* case you can write a script to generate and/or maintain a set of virtual hosts