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
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
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
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
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
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
-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
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
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:
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.
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
-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
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,
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
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
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
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
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
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
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
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
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
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
23 matches
Mail list logo