RE: Servlet caching?

2004-10-22 Thread Carlos Oliva
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

RE: Servlet caching?

2004-10-22 Thread Shapira, Yoav
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

RE: Servlet caching?

2004-10-22 Thread Carlos Oliva
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

Re: Servlet caching?

2004-10-15 Thread Jon Wingfield
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)

RE: Servlet caching?

2004-10-15 Thread Carlos Oliva
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

AW: Servlet caching?

2004-10-15 Thread Steffen Heil
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

Servlet caching?

2004-10-14 Thread Carlos
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

Re: Servlet caching?

2004-10-14 Thread Tim Funk
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

RE: Servlet caching?

2004-10-14 Thread Shapira, Yoav
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

RE: Servlet caching?

2004-10-14 Thread Carlos Oliva
[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

RE: Servlet caching?

2004-10-14 Thread Carlos Oliva
:[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

Re: Servlet caching?

2004-10-14 Thread QM
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

RE: Servlet caching?

2004-10-14 Thread Shapira, Yoav
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

Servlet Caching question

2003-07-25 Thread Atreya Basu
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

RE: Servlet Caching question

2003-07-25 Thread Shapira, Yoav
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

RE: Servlet Caching question

2003-07-25 Thread Atreya Basu
-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

RE: Servlet Caching question

2003-07-25 Thread Bodycombe, Andrew
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

RE: Servlet Caching question

2003-07-25 Thread Shapira, Yoav
. 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

RE: Servlet Caching question

2003-07-25 Thread Mike Curwen
: 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

RE: Servlet Caching question

2003-07-25 Thread Bodycombe, Andrew
: 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

RE: Servlet Caching question

2003-07-25 Thread Atreya Basu
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

RE: Servlet Caching question

2003-07-25 Thread Shapira, Yoav
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

RE: SERVLET CACHING PROBLEM IN TOMCAT- SNODX

2001-12-12 Thread Volker Leidl
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

RE: SERVLET CACHING PROBLEM IN TOMCAT- SNODX

2001-12-12 Thread snodx
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:

RE: SERVLET CACHING PROBLEM IN TOMCAT- SNODX

2001-12-12 Thread Volker Leidl
. 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

RE: SERVLET CACHING PROBLEM IN TOMCAT- SNODX

2001-12-12 Thread Amit Kelkar
. 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

SERVLET CACHING PROBLEM IN TOMCAT- SNODX

2001-12-11 Thread snodx
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

Servlet caching

2001-01-31 Thread Jim Miani
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