Re: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, (You always make me write so much code!) On 1/18/2011 7:12 PM, André Warnier wrote: > Christopher Schultz wrote: >> There's nothing magical about the first operand: you can cast any of the >> operands to trigger this promotion. > > Not quite

RE: Jersey Client Call to Tomcat creates new servlet while for Metro Soap call it does not do that...

2011-01-18 Thread Caldarale, Charles R
> From: Tony Anecito [mailto:adanec...@yahoo.com] > Subject: Re: Jersey Client Call to Tomcat creates new servlet while for Metro > Soap call it does not do that... > I was thinking that servlets have to follow a standard They do - the servlet spec. > how objects are allocated to the servlet

RE: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-18 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: [OT] Setting HTTP response headers caching for 1 year doesn't > work > What kind of stupid compiler is this, which requires me to say > double d = 1.0 / 2; > to get a correct result ? One that abides by the C (or Java) standards. >

Re: Jersey Client Call to Tomcat creates new servlet while for Metro Soap call it does not do that...

2011-01-18 Thread Tony Anecito
Hi Charles, Sorry for the confusion. This is the way I think the Jersey Servlet is working... 1. The resource object constructor is called as if a new resource object is created every time a post/get/put is called to the jersey servlet. I was hoping it would reuse (reallocate) a jersey servlet

Re: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-18 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 1/16/2011 8:41 AM, André Warnier wrote: Ran Berenfeld wrote: well ...no... first evaluate, then assign. and constants are int by default. I think C/C++ would have the same problem... Maybe. FYI they do. B

RE: Jersey Client Call to Tomcat creates new servlet while for Metro Soap call it does not do that...

2011-01-18 Thread Caldarale, Charles R
> From: Tony Anecito [mailto:adanec...@yahoo.com] > Subject: Re: Jersey Client Call to Tomcat creates new servlet while for Metro > Soap call it does not do that... > I ran some more tests where I added a finalize method and a check > in my constructor to see if it was called previosly. > So fa

Re: Jersey Client Call to Tomcat creates new servlet while for Metro Soap call it does not do that...

2011-01-18 Thread Tony Anecito
I ran some more tests where I added a finalize method and a check in my constructor to see if it was called previosly. So far it looks as if the contructor is called only once and the finalize is not called. Question is does Tomcat call the constructor whenever it realocates the servlet? Also

Re: How to make Tomcat 6 generate a PID file on Windows

2011-01-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anil, On 1/18/2011 2:20 PM, Anil Ambati wrote: > Hi, > Is it possible to make Tomcat to write PID to a file on windows? > Looking=20 > at catalina.sh, I see that CATALINA=5FPID is the environment variable used > to specify the file name where Tomcat

How to make Tomcat 6 generate a PID file on Windows

2011-01-18 Thread Anil Ambati
Hi, Is it possible to make Tomcat to write PID to a file on windows? Looking=20 at catalina.sh, I see that CATALINA=5FPID is the environment variable used = to specify the file name where Tomcat needs to write its PID on Unix but=20 same is not the case on Windows.=20 Any help is appreciated.

Re: [OT] Setting HTTP response headers caching for 1 year doesn't work

2011-01-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 1/16/2011 8:41 AM, André Warnier wrote: > Ran Berenfeld wrote: >> well ...no... first evaluate, then assign. and constants are int by >> default. >> I think C/C++ would have the same problem... >> > Maybe. FYI they do. > But then why does

Re: Applet, session-ID - TC 6 vs. TC7

2011-01-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 1/15/2011 7:36 AM, spr...@gmx.eu wrote: >> Well, saying you use Form auth was misleading, wasn't it? > > Is called FormAuth in Spring too. While that may be true, simply stating that you are using FORM authentication usual

Re: maxSpareThreads and minSpareThreads options on tomcat 6 ajp connector

2011-01-18 Thread Konstantin Kolinko
2011/1/18 Curtis Garman : > I just got the following message in my catalina.out log file > > INFO: Maximum number of threads (150) created for connector with address ... > and port ... > > This leads me to believe that traffic is heavy and I should increase the > maxThreads value on the ajp connect

maxSpareThreads and minSpareThreads options on tomcat 6 ajp connector

2011-01-18 Thread Curtis Garman
I just got the following message in my catalina.out log file INFO: Maximum number of threads (150) created for connector with address ... and port ... This leads me to believe that traffic is heavy and I should increase the maxThreads value on the ajp connector. I increased it and logged into jco

Re: Tomcat web app versioning

2011-01-18 Thread Gabriele Bulfon
Fantastic! This is a feature I asked about on this list some months ago, because Resin already has something similar, and I was answered that this was not in the to do list for Tomcat. Maybe someone has listened to my request? ;) Thanks a lot, this saves me so much from the hassle of updating cus

Re: Enabling SSL on Tomcat 6

2011-01-18 Thread Konstantin Kolinko
2011/1/18 Suneet Shah : > WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property > 'SSLEngine' to 'on' did not find a matching property. There are two implementations of SSL available in Tomcat. One is implemented using Java cryptography API. Another uses native libraries.

Re: Enabling SSL on Tomcat 6

2011-01-18 Thread amcereijo cereijo
Hi, I have this configuration for my tomcat 6.0.30 Your changes about my configuration: - where I have keystoreFile="conf\tomcatserver.keystore" I think you must put "tomcatks" (I think this your keystore) - where I have keystorePass="tomcat" I think you must put password for "tomc