Re: [ANN] CI for Tomcat 6 and 7 docs now available

2010-09-17 Thread David Fisher
>>> Mark Thomas wrote: >>> ... >> If you want to start down this path and see how it goes, I am happy to >> talk you through step by step. >> > I may (hem, probably will) need that at some point. > But let me try following the basic steps you outlined, first. > >>> quotin

Re: [ANN] CI for Tomcat 6 and 7 docs now available

2010-09-17 Thread André Warnier
Wesley Acheson wrote: On Fri, Sep 17, 2010 at 11:25 PM, André Warnier wrote: Mark Thomas wrote: ... If you want to start down this path and see how it goes, I am happy to talk you through step by step. I may (hem, probably will) need that at some point. But let me try following the basic ste

Re: [ANN] CI for Tomcat 6 and 7 docs now available

2010-09-17 Thread Wesley Acheson
On Fri, Sep 17, 2010 at 11:25 PM, André Warnier wrote: > Mark Thomas wrote: > ... >> If you want to start down this path and see how it goes, I am happy to talk you through step by step. >>> I may (hem, probably will) need that at some point. >>> But let me try following the basic s

Re: [ANN] CI for Tomcat 6 and 7 docs now available

2010-09-17 Thread André Warnier
Mark Thomas wrote: ... If you want to start down this path and see how it goes, I am happy to talk you through step by step. I may (hem, probably will) need that at some point. But let me try following the basic steps you outlined, first. quoting : If you do get involved then the process w

Re: [OT] Who's going to JavaOne?

2010-09-17 Thread André Warnier
Pid wrote: On 17/09/2010 19:02, Christopher Schultz wrote: André, On 9/17/2010 1:58 PM, André Warnier wrote: Leon Rosenberg wrote: On Fri, Sep 17, 2010 at 5:10 PM, Mark Thomas wrote: I'll be there all week. I'm presenting on memory leaks based on the new Tomcat 6/7 features. so new tomcat

Re: [OT] Who's going to JavaOne?

2010-09-17 Thread Pid
On 17/09/2010 19:02, Christopher Schultz wrote: > André, > > On 9/17/2010 1:58 PM, André Warnier wrote: >> Leon Rosenberg wrote: >>> On Fri, Sep 17, 2010 at 5:10 PM, Mark Thomas wrote: I'll be there all week. I'm presenting on memory leaks based on the new Tomcat 6/7 features. >>> >>> s

Re: Unix domain socket support for AJP connector?

2010-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 9/17/2010 2:01 PM, André Warnier wrote: > Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> David, >> >> On 9/16/2010 10:55 PM, David Dabbs wrote: >>> I've looked about (obviously in the wrong places if it

Re: [OT] Who's going to JavaOne?

2010-09-17 Thread Mark Thomas
On 17/09/2010 18:58, André Warnier wrote: > Leon Rosenberg wrote: >> On Fri, Sep 17, 2010 at 5:10 PM, Mark Thomas wrote: >>> I'll be there all week. I'm presenting on memory leaks based on the new >>> Tomcat 6/7 features. >> >> so new tomcat 6/7 features got memory leaks? :-) >> > Yep, that's what

Re: [OT] Who's going to JavaOne?

2010-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 9/17/2010 1:58 PM, André Warnier wrote: > Leon Rosenberg wrote: >> On Fri, Sep 17, 2010 at 5:10 PM, Mark Thomas wrote: >>> I'll be there all week. I'm presenting on memory leaks based on the new >>> Tomcat 6/7 features. >> >> so new tomcat

Re: Tomcat start error java.lang.reflect.InvocationTargetException

2010-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rashed, On 9/16/2010 6:43 PM, hellian wrote: > I'm having a strange error while starting my Tomcat from Eclipse. It's > throwing the following exception: > > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImp

Re: Unix domain socket support for AJP connector?

2010-09-17 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 9/16/2010 10:55 PM, David Dabbs wrote: I've looked about (obviously in the wrong places if it exists) for whether or not the AJP APR connector supports listening on a Unix domain socket. Why would you want to

Re: jsvc crashing in Tomcat 6.0.26 on Linux(RHES 5.5/2.6.18) 64Bit/AMD

2010-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marc, On 9/17/2010 12:03 AM, marc_swingler wrote: > The application is pure java, (including JDBC drivers). The JVM could be > crashing, but I haven't seen one of those JVM dump files sitting around. In > any case the application is fixed for now (hib

Re: [OT] Who's going to JavaOne?

2010-09-17 Thread André Warnier
Leon Rosenberg wrote: On Fri, Sep 17, 2010 at 5:10 PM, Mark Thomas wrote: I'll be there all week. I'm presenting on memory leaks based on the new Tomcat 6/7 features. so new tomcat 6/7 features got memory leaks? :-) Yep, that's what it sounds like. I suppose it is better if the developers t

Re: Unix domain socket support for AJP connector?

2010-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 9/16/2010 10:55 PM, David Dabbs wrote: > I've looked about (obviously in the wrong places if it exists) for whether > or not the AJP APR connector supports listening on a Unix domain socket. Why would you want to use a UNIX domain socket? Y

Re: HtttServletRequest.getSession()

2010-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 9/17/2010 7:00 AM, Brian McBride wrote: > My interpretation is still that 2109 defines the > behaviour of Set-Cookie and 2965 that of Set-Cookie2 and that the intent > was that Set-Cookie2 should obsolete Set-Cookie, i.e. 2109 still defines

Re: [OT] Who's going to JavaOne?

2010-09-17 Thread Leon Rosenberg
On Fri, Sep 17, 2010 at 5:10 PM, Mark Thomas wrote: > I'll be there all week. I'm presenting on memory leaks based on the new > Tomcat 6/7 features. so new tomcat 6/7 features got memory leaks? :-) regards Leon > > Mark > > - >

Re: [OT] Who's going to JavaOne?

2010-09-17 Thread Tony Anecito
I will be there since I won one of the JavaOne Duke's Choice awards and was picked as one of the top 2 Duke Choice Awards and one of the outstanding Java developers in the "I am the future of Java" Regards, Tony Anecito Founder/CEO MyUniportal LLC http://www.myuniportal.com   - Original

http-tomcat - AJP ilink receive failed - 500/503 errors

2010-09-17 Thread Shantanu Pavgi
Hi, I have a Apache http server and a Tomcat server configured using AJP connector (mod_proxy_ajp). The http server serves HTML/PHP pages and also proxies Java webapp requests to back-end Tomcat server. System config: * Both servers are running as Virtual Machines * CentOS 5.4 * Apache Tom

Re: [ANN] CI for Tomcat 6 and 7 docs now available

2010-09-17 Thread Mark Thomas
On 17/09/2010 16:24, André Warnier wrote: > as answer to Mark and Ongjen.. > > Mark Thomas wrote: > ... > >> It is going to get complicated if you don't have a JDK to hand. > > The Java JDK is no problem, I have. My fear was that I would need some > C compiler, maybe for native dll's or so. > M

Re: [ANN] CI for Tomcat 6 and 7 docs now available

2010-09-17 Thread André Warnier
as answer to Mark and Ongjen.. Mark Thomas wrote: ... It is going to get complicated if you don't have a JDK to hand. The Java JDK is no problem, I have. My fear was that I would need some C compiler, maybe for native dll's or so. My laptop is WinXP, with JDK and Tortoise SVN, and I'll see

[OT] Who's going to JavaOne?

2010-09-17 Thread Mark Thomas
I'll be there all week. I'm presenting on memory leaks based on the new Tomcat 6/7 features. Anyone else going to be around? Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: user

RE: How to get Tomcat IP address during app startup?

2010-09-17 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: How to get Tomcat IP address during app startup? > Tomcat listens on whichever IP address is configured > in your connector. If you don't specify an IP address, > then it listens on 0.0.0.0. > The point I'm making is that Tomcat might not kn

Re: How to get Tomcat IP address during app startup?

2010-09-17 Thread Pid
On 17/09/2010 15:15, Paritosh Patel wrote: > My web application needs to know the server IP/Port address during > its initialization. How can I determine that? (I was trying to stay > server agnostic as much as possible... if that is not possible, then I > will write specific code for Tomcat. > >

How to get Tomcat IP address during app startup?

2010-09-17 Thread Paritosh Patel
My web application needs to know the server IP/Port address during its initialization. How can I determine that? (I was trying to stay server agnostic as much as possible... if that is not possible, then I will write specific code for Tomcat. I have searched everywhere for this answer on the web a

Re: [ANN] CI for Tomcat 6 and 7 docs now available

2010-09-17 Thread Ognjen Blagojevic
On 17.9.2010 14:56, André Warnier wrote: Sorry if I ask, but I am really unfamiliar with these things. Does this involve any actual compiling of code ? I mean, if the only thing that is changed is some documentation page, it won't I guess. But would the build break just because there is no compil

Re: [ANN] CI for Tomcat 6 and 7 docs now available

2010-09-17 Thread Mark Thomas
On 17/09/2010 13:56, André Warnier wrote: > Mark Thomas wrote: >> If you do get involved then the process would be something along the >> lines of: >> (one time tasks) >> - install svn >> - install ant >> - checkout source >> - build Tomcat >> (per change task) > > Sorry if I ask, but I am really

Re: [ANN] CI for Tomcat 6 and 7 docs now available

2010-09-17 Thread André Warnier
Mark Thomas wrote: Thanks to the infrastructure team (specifically Gavin in this case) we now have CI builds of the Tomcat 6 & 7 docs that will update with every commit. They can be found here: http://ci.apache.org/projects/tomcat/tomcat6/docs/ http://ci.apache.org/projects/tomcat/tomcat7/docs/

Re: [ANN] CI for Tomcat 6 and 7 docs now available

2010-09-17 Thread Mark Thomas
On 17/09/2010 12:52, Wesley Acheson wrote: > On Fri, Sep 17, 2010 at 1:27 PM, Mark Thomas wrote: > >> This got me thinking. I recall at least one (André?) offer to help >> improve the documentation. This should make that a little easier, >> particularly for folks here to review the latest changes

Re: [ANN] CI for Tomcat 6 and 7 docs now available

2010-09-17 Thread Wesley Acheson
On Fri, Sep 17, 2010 at 1:27 PM, Mark Thomas wrote: > This got me thinking. I recall at least one (André?) offer to help > improve the documentation. This should make that a little easier, > particularly for folks here to review the latest changes. I offered to do a generic correction on the bui

Re: Unix domain socket support for AJP connector?

2010-09-17 Thread Mark Thomas
On 17/09/2010 03:55, David Dabbs wrote: > Hi. > > I've looked about (obviously in the wrong places if it exists) for whether > or not the AJP APR connector supports listening on a Unix domain socket. It does not. > This begs another question. Which of the following are the > highest-performing w

[ANN] CI for Tomcat 6 and 7 docs now available

2010-09-17 Thread Mark Thomas
Thanks to the infrastructure team (specifically Gavin in this case) we now have CI builds of the Tomcat 6 & 7 docs that will update with every commit. They can be found here: http://ci.apache.org/projects/tomcat/tomcat6/docs/ http://ci.apache.org/projects/tomcat/tomcat7/docs/ This got me thinking

Re: HtttServletRequest.getSession()

2010-09-17 Thread Brian McBride
On 16/09/2010 15:50, André Warnier wrote: [...] RFC 2965 does not say that it overrides the older RFC 2109. It does, at the end of the Abstract : This document reflects implementation experience with RFC 2109 and obsoletes it. I missed that. My interpretation is still that 2109 defines

Re: Updating webapps classes

2010-09-17 Thread Gabriele Bulfon
Hi, again on this subjetc, I discovered that Resin has this feature: http://www.caucho.com/resin/admin/deploy.xtp#web-app%20versioning I think this would be a very nice feature of Tomcat, don't you think? Gabriele Bulfon - Sonicle S.r.l. Tel +39 028246016 Int. 30 - Fax +39 028243880 Via Felice Cava

Re: Will tomcat automatically return 304 on "If-Modified-Since"

2010-09-17 Thread Pid
On 17/09/2010 09:11, rabbit.wong wrote: > hi, everyone > > If a browser caches a picture and the cache expires the its max-age, > And the browser send the 'If-Modified-Since' header in http, will > Tomcat automatically return 304 if that file is not modified ? Do I need > to write some code to e

[OT] Re: Some problem of analyzing the tomcat logs

2010-09-17 Thread Pid
On 17/09/2010 08:19, Wesley Acheson wrote: > On Fri, Sep 17, 2010 at 9:17 AM, André Warnier wrote: >> Hi. >> >> In short and in my opinion, I think that you are re-inventing the wheel. >> There exist already numerous open-source programs which analyse web logs, >> and generally produce nice-lookin

Will tomcat automatically return 304 on "If-Modified-Since"

2010-09-17 Thread rabbit.wong
hi, everyone If a browser caches a picture and the cache expires the its max-age, And the browser send the 'If-Modified-Since' header in http, will Tomcat automatically return 304 if that file is not modified ? Do I need to write some code to explicitly set 304 status to http response?

Re: Some problem of analyzing the tomcat logs

2010-09-17 Thread Mikolaj Rydzewski
On Fri, 17 Sep 2010 09:19:39 +0200, Wesley Acheson > +1 There is a lot of software out there that gives good logs. However > I don't know if many of them distinguish the file extensions which > seems to be his problem? One should divide site structure to have separate folders for images, resource

Re: Some problem of analyzing the tomcat logs

2010-09-17 Thread Wesley Acheson
On Fri, Sep 17, 2010 at 9:17 AM, André Warnier wrote: > Hi. > > In short and in my opinion, I think that you are re-inventing the wheel. > There exist already numerous open-source programs which analyse web logs, > and generally produce nice-looking graphics etc.. from them.  And they do > the spl

Re: Some problem of analyzing the tomcat logs

2010-09-17 Thread André Warnier
Hi. In short and in my opinion, I think that you are re-inventing the wheel. There exist already numerous open-source programs which analyse web logs, and generally produce nice-looking graphics etc.. from them. And they do the splitting-up work properly, as long as you feed them the correct l