> On 2 Jan 2003 12:58:58 -, [EMAIL PROTECTED] said:
> glenn 2003/01/02 04:58:58
>
> Modified: jk/native/apache-1.3 mod_jk.c jk/native/apache-2.0
> mod_jk.c Log: Make sure http errors are handled by Apache if not
> handled by Tomcat
>
> Revision Changes Path 1.34 +6 -1
> jakarta-tomcat-conn
Please test from a CVS build and let me know if this fixes the
> problem for you.
I just updated mod_jk.c from CVS and the fix of only passing empty
content errors >= 400 seems to work in my quick testing.
Thanks,
Adi
> Aditya wrote:
>>> On 2 Jan 2003 12:58:58 -,
> On Wed, 08 Jan 2003 19:37:28 -0800, Costin Manolache <[EMAIL PROTECTED]> said:
> The default is java.security.SecureRandom - and should give enough
> randomness. There is a change on head ( that would work with 5.0 -
> but it can be backported ) that allow you to use /dev/urandom ( or
> another s
I'm trying to consolidate the access logs for a whole bunch of Tomcats using
Spread (www.spread.org) like I do with Apache. The easiest way to do this
seems to be to "patch" org.apache.catalina.valves.AccessLogValve to use Spread
and I've done that trivially.
However, now that I am collecting acce
Although bug 15845 is listed as being for 4.1.19, it looks like it
affected Jasper2 even before that -- or am I reading the commit
message wrong?
Thanks,
Adi
> On 26 Jan 2003 19:00:19 -, [EMAIL PROTECTED] said:
> glenn 2003/01/26 11:00:19
> Modified: . RELEASE-NOTES-4.1.txt Log: Update re
Glenn Nielsen <[EMAIL PROTECTED]> said:
> You read it correctly. AFAIK, all previous versions of jasper held
> on to objects which it no longer needed after a JSP compile.
> Glenn
> Aditya wrote: Although bug 15845 is listed as being for 4.1.19, it
> looks like it affected J
I have the following JSP that I hit every 5 minutes and stuff the
returned values into a RRD (www.rrdtool.org) to measure the memory
(heap I presume) consumption of Tomcat over time. Is there a "better"
way, short of using JMX in the newer Tomcat builds, of doing this?
<%@ page language="java" %>
> On Fri, 14 Feb 2003 05:14:33 -0800 (PST), Peter Lin <[EMAIL PROTECTED]> said:
> Is there any particular reason the pages are recompiled frequently?
> If you're using tomcat 4.1.12 or newer, it should use Ant to compile
> the pages, which should get around the issue of memory leak due to
> page co
> On Fri, 14 Feb 2003 06:45:26 -0600, Glenn Nielsen <[EMAIL PROTECTED]> said:
> An easier way to measure memory usage in production is to start the
> JVM which runs Tomcat with the arg -verbose:gc, this will print
> information to stdout about each garbage collection and the memory
> used.
thank y
find the memory leak in your application is to setup a test server
> and use OptimizeIt or JProbe to profile Tomcat and your web
> application. You can use something like JMeter to simulate load.
> Regards,
> Glenn
> Aditya wrote: I have the following JSP that I hit every 5 minu
> On Tue, 25 Feb 2003 22:08:41 -0600, Glenn Nielsen <[EMAIL PROTECTED]> said:
> Does the increase in memory usage correlate with an increased number
> of connectors due to a spike in request volume?
There does not seem to be a correlation between a request spike and
un-gc'able heap usage. I'm usi
I've written a new class that extends o.a.c.logger.LoggerBase (using
spread - www.spread.org) and can be used as a in server.xml;
AFAICT it works fine and does what I wanted it to do. However it seems
that there can only be one section per container which means
I can't have (for testing purposes
/started.
Is there some particular section of the code we should be examining to
track this further?
Adi
> On Tue, 25 Feb 2003 22:08:41 -0600, Glenn Nielsen <[EMAIL PROTECTED]> said:
> Aditya wrote: Glenn, several months ago you had posted a URL to a
> document (at kinetic.more.net
P files may as a result
> trigger out of memory errors once a significant number of pages have
> been accessed. The memory can only be freed by stopping Tomcat and
> then restarting it.
> The JSP command line compiler (JSPC) can also be used to precompile
> the JSPs.
> -- Uddhav
Under Tomcat-4 it looks like the session cookie is set in:
org/apache/catalina/connector/HttpResponseBase.java
and the code that sets it uses the default domain (which is equal to the
request hostname.domain.tld) when it sets the session cookie. I need to set
the cookie to be domain-wide, ie. "
For those who care, I've answered my own questions:
> On Thu, 20 Mar 2003 21:40:20 -0800, Aditya <[EMAIL PROTECTED]> said:
> Under Tomcat-4 it looks like the session cookie is set in:
>
> org/apache/catalina/connector/HttpResponseBase.java
>
> and the code that se
> On Mon, 24 Mar 2003 11:44:04 -0800 (PST), "Craig R. McClanahan" <[EMAIL PROTECTED]>
> said:
> Under Tomcat-4 it looks like the session cookie is set in:
>>
> org/apache/catalina/connector/HttpResponseBase.java
>>
> and the code that sets it uses the default domain (which is equal to
>> the
> r
> On Mon, 24 Mar 2003 14:10:59 -0800 (PST), "Craig R. McClanahan" <[EMAIL PROTECTED]>
> said:
> Sharing a session across virtual hosts violates the Servlet spec
> (Section 7.3 - "HttpSession objects must be scoped at the
> application (or servlet context) level" and Section 3.6 - "Servlet
> contex
> On Mon, 24 Mar 2003 21:32:07 -0800 (PST), "Craig R. McClanahan" <[EMAIL PROTECTED]>
> said:
>> On Mon, 24 Mar 2003, Aditya wrote:
>> Here's my problem:
>> - I have a single filter that essentially does:
>>
>> doFilter(...)
>> do s
I have a servlet returning PDF stored as a large-object in a database. I was
recently asked why "byte-serving" wasn't turned on and I'm at a loss to try to
understand the situation. From what I've found/understood:
- byte-serving is the term Adobe uses when "chunks" of a PDF are returned by
the se
Glenn,
On Thu, Oct 24, 2002 at 10:03:47AM -, [EMAIL PROTECTED] wrote:
> This must be a problem in your local system configuration.
> Check the unix file ownerhsip and permissions for test2.new.
I've done that and the fact is that it works fine without the security manager
so it's not a unix f
> On Thu, 24 Oct 2002 22:59:59 -0500, Glenn Nielsen <[EMAIL PROTECTED]> said:
> Gettting the latest version from CVS won't fix your problem. I still
> think the problem is somewhere in your configuration.
I've installed the 4.1.12 tarball from the website and am running it
without modification oth
Glenn,
On Fri, Oct 25, 2002 at 08:40:28AM -0500, Glenn Nielsen wrote:
> I suspect that for some reason the Context does not have a context
> directory. Add
FWIW, I'm not running the context from a WAR file -- it's just the examples
context that comes with the default install.
> String docBase
enied
(java.net.SocketPermission connect,resolve)
when I try to access the servlet via a browser.
Thanks,
Aditya
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
My email address has changed to [EMAIL PROTECTED]
25 matches
Mail list logo