RE: Debian + Apache 2.2 + Tomcat 5.5

2008-11-17 Thread Alexander Diedler
Ok, It could be a good advice and a better choice to begin from the beginning *G* -Original Message- From: Kees Jan Koster [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2008 7:40 PM To: Tomcat Users List Subject: Re: Debian + Apache 2.2 + Tomcat 5.5 Dear Alex, The debian Tomcat

Tomcat 6 getRemoteUser() returns null

2008-11-17 Thread Thangavel Sankaranarayanan
Hi, We have to retrieve the userid of the remote user when the user logs on. But request.getRemoteUser() or the requet.getPrinciple.getName() is returning null in Tomcat 6. Authentication is done. through LDAP. Any suggestion? Thanks, Thangavel.S

Re: Tomcat 6 getRemoteUser() returns null

2008-11-17 Thread bhooshanpandit
What is auth type? e.g. Form / Basic??? -Original Message- From: Thangavel Sankaranarayanan [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Mon, 17 Nov 2008 2:24 pm Subject: Tomcat 6 getRemoteUser() returns null Hi, We have to retrieve the userid of the

Re: Problem install APR Tomcat Native Library on Centos 5.2

2008-11-17 Thread Paul van Beukering
We will start doing loadtests this week. Reports will follow. The bottleneck will problaby be concurent requests. (http based polls for a game) But first I have to get the optimazed setup regarding the connector parameters Connector port=8080 protocol=HTTP/1.1

RE: Default Virtual Host Tomcat 5.5

2008-11-17 Thread Ramamoorthy, Saku
Thanks for the response. We will rename appFolder to ROOT as we want the appFolder project to be the default. Saku -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2008 11:30 PM To: Tomcat Users List Subject: RE: Default Virtual

CometProcessor questions

2008-11-17 Thread Franck Wolff
Hi, I'm developing Tomcat/Comet support for Granite Data Service http://www.graniteds.org (Flex clients) and I've got few questions about CometEvents processing. Basically, my implementation is based on the Bayeux protocol (long-polling only) and two connections (command/tunnel) are opened

Re: Question regarding Tomcat memory

2008-11-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: I don't know how log4j determines that value AFAIK, Log4j doesn't have any memory-specific memory info logging. The user has to do it themselves. I suspect they are simply using System.getRuntime() and then

Re: Tomcatx.x and vista

2008-11-17 Thread André Warnier
Caldarale, Charles R wrote: From: Chuck Hodge [mailto:[EMAIL PROTECTED] Subject: Re: Tomcatx.x and vista Have not made any changes to server.xml. Tomcat normally listens to HTTP requests on port 8080, and AJP requests (from IIS or httpd) on port 8009. If you have IIS configured to listen on

Re: Tomcatx.x and vista

2008-11-17 Thread Serge Fonville
Use http://support.microsoft.com/kb/294807 http://support.microsoft.com/kb/294807 to disable these great pages ;-) Regards, Serge Fonville On Mon, Nov 17, 2008 at 3:54 PM, André Warnier [EMAIL PROTECTED] wrote: Caldarale, Charles R wrote: From: Chuck Hodge [mailto:[EMAIL PROTECTED] Subject:

HttpServletRequest.getUserPrincipal

2008-11-17 Thread André Warnier
Hi. More of a general curiosity question : To get the authenticated user-id from within a filter or a servlet, one calls HttpServletRequest.getUserPrincipal.getName() e.g. But where and more mysteriously how, does this Principal get set ? I cannot find any setUserPrincipal() anywhere.

Re: Tomcatx.x and vista

2008-11-17 Thread André Warnier
Thanks, that's a great reference. Who would think of looking for friendly error messages ? I guess MS must have had enough flak about that themselves, if they provide ways to turn it off in the client *and* in the IIS server. Now the only thing left to do is to provide a way to turn this off in

Re: HttpServletRequest.getUserPrincipal

2008-11-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: To get the authenticated user-id from within a filter or a servlet, one calls HttpServletRequest.getUserPrincipal.getName() e.g. Technically, it's not the user id. It's just a name for the principal. For most

RE: HttpServletRequest.getUserPrincipal

2008-11-17 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: HttpServletRequest.getUserPrincipal To get the authenticated user-id from within a filter or a servlet, one calls HttpServletRequest.getUserPrincipal.getName() or HttpServletRequest.getRemoteUser() But where and more mysteriously how,

Re: Tomcat 6 clustering problem...rltd to context path

2008-11-17 Thread rohit aman
Thanks for the reply... The app is installed on node 2 as well. But, for some reason it looks at the context path localhost#/ea where as the app is at localhost#/ . So, Somehow I need to tell tomcat to look at localhost#/ instead of localhost#/ea Any input is appreciated...Thanks

Re: CometProcessor questions

2008-11-17 Thread Filip Hanik - Dev Lists
hi Franck, are you using this Bayeux impl? http://svn.apache.org/viewvc/tomcat/trunk/modules/bayeux/ or do you have your own? Filip Franck Wolff wrote: Hi, I'm developing Tomcat/Comet support for Granite Data Service http://www.graniteds.org (Flex clients) and I've got few questions about

Re: HttpServletRequest.getUserPrincipal

2008-11-17 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:[EMAIL PROTECTED] Subject: HttpServletRequest.getUserPrincipal To get the authenticated user-id from within a filter or a servlet, one calls HttpServletRequest.getUserPrincipal.getName() or HttpServletRequest.getRemoteUser() Are these

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-11-17 Thread Michael Ludwig
Christopher Schultz schrieb am 16.11.2008 um 19:43:00 (-0500): Michael Ludwig wrote: Christopher Schultz schrieb am 12.11.2008 um 14:46:08 (-0500): What you need to do is provide a unified buffer that /both/ calls can write to. If you use a ByteArrayOutputStream at the lowest level and

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-11-17 Thread Michael Ludwig
Michael Ludwig schrieb am 17.11.2008 um 22:34:16 (+0100): * ../include.html * web.xml * WEB-INF/src/milu/IncludeServlet.java * WEB-INF/src/milu/GuFilter.java * WEB-INF/src/milu/HttpResponseCatcher.java * WEB-INF/src/milu/CapturedServletOutputStream.java Correction: I'm in WEB-INF here, so

Tomcat 6 cluster with Session Persistence not working :(

2008-11-17 Thread Manu_SF
Hi, After some digging through and still not able to get it work, I thought of posting it here... Here's what I am trying to accomplish: * Have Apache as a Loadbalancer for 2 Tomcat 6 instances - All running on the same Linux box * Implement the session persistence using Tomcat6 so that live

Re: Tomcat 6 cluster with Session Persistence not working :(

2008-11-17 Thread Filip Hanik - Dev Lists
inline: Manu_SF wrote: Hi, After some digging through and still not able to get it work, I thought of posting it here... Here's what I am trying to accomplish: * Have Apache as a Loadbalancer for 2 Tomcat 6 instances - All running on the same Linux box * Implement the session persistence

RE: HttpServletRequest.getUserPrincipal

2008-11-17 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: HttpServletRequest.getUserPrincipal Sorry for not answering sooner - it's easier to do the source searching at home. is getRemoteUser() merely a shortcut, under which happens a getUserPrincipal.getName() At least in Tomcat, they're

Re: Tomcat 6 cluster with Session Persistence not working :(

2008-11-17 Thread Manu_SF
Thanks a ton, Filip. Here are the details about the 3 questions you asked. Please tell me what am I missing here? 1. distributable tag: There's no Context attribute in either web.xml or server.xml, but however context.xml in the same conf directory had Context tag, for which I added the

Re: Tomcat 6 cluster with Session Persistence not working :(

2008-11-17 Thread Filip Hanik - Dev Lists
Manu_SF wrote: Thanks a ton, Filip. Here are the details about the 3 questions you asked. Please tell me what am I missing here? 1. distributable tag: There's no Context attribute in either web.xml or server.xml, but however context.xml in the same conf directory had Context tag, for which I