You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michael Micek <mm...@micek.csz.com> on 2003/02/26 19:54:17 UTC

JDK DNS cache (was Re: crontab problems)

On Wed, Feb 26, 2003 at 06:57:11AM -0500, Tim Funk wrote:
> Ron Day wrote:
> >Do you know which class cache the negative response............

> Its a JDK issue.

> (IIRC) Successful (and unsucessful?) DNS lookups are cached forever 
> during the life of the JVM.

The web application developer I'm supporting has instructed me to ask:

Would this be true if the jsp or session didn't have application scope?
If it isn't true for session scope then it's a design not JDK issue..


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: JDK DNS cache (was Re: crontab problems)

Posted by Will Hartung <wi...@msoft.com>.
> From: "Michael Micek" <mm...@micek.csz.com>
> Sent: Wednesday, February 26, 2003 10:54 AM
> Subject: JDK DNS cache (was Re: crontab problems)


> The web application developer I'm supporting has instructed me to ask:
>
> Would this be true if the jsp or session didn't have application scope?
> If it isn't true for session scope then it's a design not JDK issue..

It's a JDK issue, so it's super duper global scope.

It's an interesting nit. It's a shame that they buried this implementation
deep into the JDK.

Regards,

Will Hartung
(willh@msoft.com)




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: JDK DNS cache (was Re: crontab problems)

Posted by Tim Funk <fu...@joedog.org>.
Thats like comparing apples to cowbells. The DNS caching issue is part 
of the java.net package. (Actually, the sun classes which implement 
that) So anything which relies on java.net has this issue. This issue 
has nothing to do with session  or application scope.

More information:
http://java.sun.com/j2se/1.4/docs/guide/net/properties.html
http://forum.java.sun.com/thread.jsp?forum=37&thread=362442&tstart=0&trange=15

-Tim

Michael Micek wrote:
> On Wed, Feb 26, 2003 at 06:57:11AM -0500, Tim Funk wrote:
> 
>>Ron Day wrote:
>>
>>>Do you know which class cache the negative response............
> 
> 
>>Its a JDK issue.
> 
> 
>>(IIRC) Successful (and unsucessful?) DNS lookups are cached forever 
>>during the life of the JVM.
> 
> 
> The web application developer I'm supporting has instructed me to ask:
> 
> Would this be true if the jsp or session didn't have application scope?
> If it isn't true for session scope then it's a design not JDK issue..
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: JDK DNS cache (was Re: crontab problems)

Posted by Ron Day <ro...@ronday.cc>.
I do not understand this question at all ?

jsp has page scope, session has session scope ???

-----Original Message-----
From: Michael Micek [mailto:mmtu@micek.csz.com]
Sent: Wednesday, February 26, 2003 12:54 PM
To: Tomcat Users List
Subject: JDK DNS cache (was Re: crontab problems)


On Wed, Feb 26, 2003 at 06:57:11AM -0500, Tim Funk wrote:
> Ron Day wrote:
> >Do you know which class cache the negative response............

> Its a JDK issue.

> (IIRC) Successful (and unsucessful?) DNS lookups are cached forever 
> during the life of the JVM.

The web application developer I'm supporting has instructed me to ask:

Would this be true if the jsp or session didn't have application scope?
If it isn't true for session scope then it's a design not JDK issue..


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org