the running JVM can not get updated
printer information
-Original Message-
From: Steffen Heil [mailto:[EMAIL PROTECTED]
Sent: Friday, October 15, 2004 8:25 AM
To: 'Tomcat Users List'
Subject: AW: Servlet caching?
Hi
If I write a java program to list the services and run the program from
Message-
From: Carlos Oliva [mailto:[EMAIL PROTECTED]
Sent: Friday, October 22, 2004 2:55 PM
To: 'Tomcat Users List'
Subject: RE: Servlet caching?
Hi Steffen,
Thank you for your response. I found that there is indeed a bug fro
this
problem reported for the SUN JDK. You can view it at:
http
Thanks for your clarification. At least the bug says Sate In progress ...
Let us hope...
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, October 22, 2004 3:01 PM
To: Tomcat Users List
Subject: RE: Servlet caching?
Hi,
Note that this is an RFE
One thing you might want to check is that whatever PrintService SPI
implementation is looking up your printers doesn't cache the result for
the lifetime of the JVM.
Does your command line app show new printers and then exit? If so, you
might want to change it so you can:
1) list the printers
2)
Wingfield [mailto:[EMAIL PROTECTED]
Sent: Friday, October 15, 2004 4:04 AM
To: Tomcat Users List
Subject: Re: Servlet caching?
One thing you might want to check is that whatever PrintService SPI
implementation is looking up your printers doesn't cache the result for
the lifetime of the JVM
Hi
If I write a java program to list the services and run the program from
the command line, I can see the newly added service right away.
Modify your program to list the services, wait one minute, list the services
again.
Install a printer in that time.
See, if the application reflects that
Do servlets in Tomcat (1.4) catch results of programs that they run? I have
a java servlet that lists the print services of printers installed in the
server (Linux Red Hat). I run the servlet before and after I install a
couple of printers in the server; however, the list of printer services
It sounds like one of the classes the Servlet is depending on is caching the
result.
-Tim
Carlos wrote:
Do servlets in Tomcat (1.4) catch results of programs that they run? I have
a java servlet that lists the print services of printers installed in the
server (Linux Red Hat). I run the
for the printer services list.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Carlos [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 9:43 AM
To: Tomcat-User ([EMAIL PROTECTED])
Subject: Servlet caching?
Do servlets in Tomcat (1.4) catch results of programs
[mailto:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 10:00 AM
To: Tomcat Users List
Subject: RE: Servlet caching?
Hi,
The servlets by themselves do what you tell them to: you wrote them,
after all ;) Tomcat doesn't provide any caching of response content by
itself without special effort
:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 9:50 AM
To: Tomcat Users List
Subject: Re: Servlet caching?
It sounds like one of the classes the Servlet is depending on is caching the
result.
-Tim
Carlos wrote:
Do servlets in Tomcat (1.4) catch results of programs that they run? I
have
On Thu, Oct 14, 2004 at 04:20:08PM -0400, Carlos Oliva wrote:
: I have found that even if I terminate every connection of the servlet to the
: database and reload the servlet, the servlet still does not find the newly
: installed printer.
Please post the servlet, or provide a walk-through.
It
Hi,
I would think that after reloading the servlet all the
classes that it had used would cease to exist. That is, any class that
had
been instantiated or used by the servlet would not remain instantiated
after
I reload the servlet.
Under most instances, but not all. For example, if the
Hello,
I wanted to know how Tomcat caches the output of Servlets/JSPs. Could
someone direct me to where I could find some information on that?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
Howdy,
Basically, tomcat doesn't.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Atreya Basu [mailto:[EMAIL PROTECTED]
Sent: Friday, July 25, 2003 12:42 PM
To: [EMAIL PROTECTED]
Subject: Servlet Caching question
Hello,
I wanted to know how Tomcat caches the output
-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: July 25, 2003 1:59 PM
To: Tomcat Users List
Subject: RE: Servlet Caching question
Howdy,
Basically, tomcat doesn't.
Yoav Shapira
Millennium ChemInformatics
Just one question:
The output from a servlet/JSP is dynamic, so why would you want to cache the
output?
-Original Message-
From: Atreya Basu [mailto:[EMAIL PROTECTED]
Sent: 25 July 2003 18:03
To: 'Tomcat Users List'
Subject: RE: Servlet Caching question
Okay,
So if I want to do some
. One
does not come with tomcat, but it's less than a 20 minutes effort to
write I think.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Bodycombe, Andrew [mailto:[EMAIL PROTECTED]
Sent: Friday, July 25, 2003 1:06 PM
To: 'Tomcat Users List'
Subject: RE: Servlet Caching
: Friday, July 25, 2003 12:06 PM
To: 'Tomcat Users List'
Subject: RE: Servlet Caching question
Just one question:
The output from a servlet/JSP is dynamic, so why would you
want to cache the output?
-Original Message-
From: Atreya Basu [mailto:[EMAIL PROTECTED]
Sent: 25 July
: Servlet Caching question
Howdy,
Actually, caching of servlet/JSP output is not a rare request, and is
sometimes valid. Especially if there is a common set of request
parameters (ViewPage?pageId=... where the pageId has three values that
are very common).
It would be fairly trivial to write
To: 'Tomcat Users List'
Subject: RE: Servlet Caching question
Just one question:
The output from a servlet/JSP is dynamic, so why would you want to cache
the
output?
-Original Message-
From: Atreya Basu [mailto:[EMAIL PROTECTED]
Sent: 25 July 2003 18:03
To: 'Tomcat Users List'
Subject: RE
Howdy,
Our JSP/Servlets perform some calculations based on some input from a
HTML Form. These calculations are a little bit complicated so they
take
time to perform. However the output that they produce is relatively
small. The majority of our users will give the same input, so the
output is
Add reloadable=true to your webb apps context tag in server.xml.
Volker.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 9:01 AM
To: [EMAIL PROTECTED]
Subject: SERVLET CACHING PROBLEM IN TOMCAT- SNODX
Greetings
Greetings,
Thanks for the response. But is it reloadable (all in lowercase) OR
reLoadable with the first L in uppercase?
SNODX
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands:
.
Regards,
Volker.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 12:29 PM
To: [EMAIL PROTECTED]
Subject: RE: SERVLET CACHING PROBLEM IN TOMCAT- SNODX
Greetings,
Thanks for the response. But is it reloadable (all
.
Amit Kelkar
-Original Message-
From: Volker Leidl [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 12 December 2001 9:46 PM
To: Tomcat Users List
Subject: RE: SERVLET CACHING PROBLEM IN TOMCAT- SNODX
Add reloadable=true to your webb apps context tag in server.xml.
Volker.
-Original
Greetings,
I am facing a servlet caching problem in Tomcat. I create a
servlet .java file compile it and put it in the webapps folder of the
TOMCAT_HOME folder. I start the Tomcat server and invoke the servlet via
http://localhost:TomCat port no/servlet/Servlet name in Netscpe. It gets
Has anyone had a problem with Tomcat caching servlets?
sometimes it doesn't, sometimes it does. reloadable is set to true,
and I even reduced the Loader checkInterval to 3 (in server.xml file), it
still sometimes caches a servlet.
Here's what the snippet of server.xml that is of concern here
28 matches
Mail list logo