RE: Question on workers.properties file

2010-05-27 Thread Savoy, Melinda
the HttpServletRequest object? Thanks. -Original Message- From: Savoy, Melinda Sent: Wednesday, May 26, 2010 2:12 PM To: 'Tomcat Users List' Subject: RE: Question on workers.properties file I did as you suggested below. I removed SCMIS virtual website from within the jakarta virtual

Re: Question on workers.properties file

2010-05-27 Thread Rainer Jung
, 2010 2:12 PM To: 'Tomcat Users List' Subject: RE: Question on workers.properties file I did as you suggested below. I removed SCMIS virtual website from within the jakarta virtual website and I got this in the log: [Wed May 26 14:00:09.271 2010] [3036:4236] [debug] jk_isapi_plugin.c (1835

RE: Question on workers.properties file [SOLVED]

2010-05-27 Thread Savoy, Melinda
so much to both you and Andre for all your help!! This list is VERY HELPFUL. Regards. -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Thursday, May 27, 2010 9:29 AM To: Tomcat Users List Subject: Re: Question on workers.properties file I finally suggest you

RE: Question on workers.properties file

2010-05-26 Thread Savoy, Melinda
To: Tomcat Users List Subject: Re: Question on workers.properties file Savoy, Melinda wrote: Andre, Thanks for the reply. I was finally able to get my the LOG file created. I had NOT setup my virtual website, SCMIS, in addition to the JAKARTA virtual website in IIS and consequently I kept using

Re: Question on workers.properties file

2010-05-26 Thread Rainer Jung
On 26.05.2010 18:30, Savoy, Melinda wrote: Trying again to see if I can respond to Andre's question regarding what my directory structure is in order to help me determine where I've gone wrong in my setup and why I'm not getting the auth and user values in the request that is being forwarded

RE: Question on workers.properties file

2010-05-26 Thread Savoy, Melinda
the hope is that IIS can authenticate and forward the user value to Tomcat seamlessly. Thanks again for the reply and your help. -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Wednesday, May 26, 2010 11:52 AM To: Tomcat Users List Subject: Re: Question

Re: Question on workers.properties file

2010-05-26 Thread Rainer Jung
On 26.05.2010 19:53, Savoy, Melinda wrote: Ranier - thanks for the reply. 1. I just tried this again, but I set all 3 (Default Website, jakarta virtual website and SCMIS virtual website) to Windows Authentication checked and Anonymous access unchecked and I was prompted with a login dialog

RE: Question on workers.properties file

2010-05-26 Thread Savoy, Melinda
...@kippdata.de] Sent: Wednesday, May 26, 2010 1:18 PM To: Tomcat Users List Subject: Re: Question on workers.properties file On 26.05.2010 19:53, Savoy, Melinda wrote: Ranier - thanks for the reply. 1. I just tried this again, but I set all 3 (Default Website, jakarta virtual website

Re: Question on workers.properties file

2010-05-25 Thread André Warnier
Melinda, from one of your previous posts : In IIS I have the following: Default Web Site - Anonymous access checked and Integrated Windows authentication unchecked Jakarta - virtual web site and Anonymous access checked and Integrated Windows authentication unchecked SCMIS - virtual web site

Re: Question on workers.properties file

2010-05-25 Thread Rainer Jung
On 25.05.2010 12:02, André Warnier wrote: Melinda, from one of your previous posts : In IIS I have the following: Default Web Site - Anonymous access checked and Integrated Windows authentication unchecked Jakarta - virtual web site and Anonymous access checked and Integrated Windows

Re: Question on workers.properties file

2010-05-25 Thread Rainer Jung
On 25.05.2010 12:14, Rainer Jung wrote: On 25.05.2010 12:02, André Warnier wrote: Melinda, from one of your previous posts : In IIS I have the following: Default Web Site - Anonymous access checked and Integrated Windows authentication unchecked Jakarta - virtual web site and Anonymous

RE: Question on workers.properties file

2010-05-25 Thread Savoy, Melinda
. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, May 25, 2010 5:02 AM To: Tomcat Users List Subject: Re: Question on workers.properties file Melinda, from one of your previous posts : In IIS I have the following: Default Web Site - Anonymous access checked

RE: Question on workers.properties file

2010-05-25 Thread Savoy, Melinda
for taking the time to test and your help. -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Tuesday, May 25, 2010 5:14 AM To: Tomcat Users List Subject: Re: Question on workers.properties file On 25.05.2010 12:02, André Warnier wrote: Melinda, from one of your

Re: Question on workers.properties file

2010-05-25 Thread André Warnier
Savoy, Melinda wrote: Ranier, I do not want the user to get prompted at all. I need this to work as a single sign-on (seamless to the user). Is that not possible? I had tested where when I got the prompt then I got the Domain\User name but I am needing to avoid the login dialog box

RE: Question on workers.properties file

2010-05-25 Thread dB .
: Savoy, Melinda [mailto:melindasa...@texashealth.org] Sent: Monday, May 24, 2010 8:30 PM To: Tomcat Users List Subject: RE: Question on workers.properties file Yes. dB, we are a microsoft shop for all practical purposes. We were the first Java web app that was created here at our company and now

Re: Question on workers.properties file

2010-05-25 Thread Rainer Jung
On 25.05.2010 12:22, Savoy, Melinda wrote: Ranier, in^^ :) I do not want the user to get prompted at all. I need this to work as a single sign-on (seamless to the user). Is that not possible? I had tested where when I got the prompt then I got the Domain\User name but I am needing

Re: Question on workers.properties file

2010-05-25 Thread Rainer Jung
On 25.05.2010 13:44, André Warnier wrote: Savoy, Melinda wrote: Ranier, I do not want the user to get prompted at all. I need this to work as a single sign-on (seamless to the user). Is that not possible? I had tested where when I got the prompt then I got the Domain\User name but I am needing

Re: Question on workers.properties file

2010-05-25 Thread André Warnier
dB. wrote: IMHO the IIS redirection is a total hack. It's a lot of additional load, a whole other web server to deal with, configure and administer. Because you're merely hiding Tomcat behind IIS you're not really getting rid of your tomcat server, you're just masking the problem. I'll allow

RE: Question on workers.properties file

2010-05-25 Thread dB .
production-type examples? Thx dB. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, May 25, 2010 4:10 PM To: Tomcat Users List Subject: Re: Question on workers.properties file dB. wrote: IMHO the IIS redirection

RE: Question on workers.properties file

2010-05-25 Thread Caldarale, Charles R
From: dB. [mailto:dbl...@dblock.org] Subject: RE: Question on workers.properties file IIS and/or Apache do things that Tomcat does not, or not well. For my personal education, do you have any production-type examples? PHP and other external CGI mechanisms, for starters (at least for httpd

RE: Question on workers.properties file

2010-05-24 Thread Savoy, Melinda
Users List Subject: Re: Question on workers.properties file Hi André, Melinda and everyone else, On 20.05.2010 14:31, André Warnier wrote: savoym wrote: I Rainer Jung is around, he may tell us if my assumptions are correct, that IIS+redirector also sends the IIS user-id to Tomcat, if there is any

Re: Question on workers.properties file

2010-05-24 Thread André Warnier
worker # #worker.jkstatus.type=status -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Thursday, May 20, 2010 3:55 PM To: Tomcat Users List Subject: Re: Question on workers.properties file Hi André, Melinda and everyone else, On 20.05.2010 14:31, André

RE: Question on workers.properties file

2010-05-24 Thread Savoy, Melinda
Users List Subject: Re: Question on workers.properties file Hi. Your general settings look ok to me. See in text. Savoy, Melinda wrote: Ranier, Again, thanks for the reply below. Apparently I do not have something setup correctly because I cannot get a LOG file created when I execute a single

Re: Question on workers.properties file

2010-05-24 Thread André Warnier
Savoy, Melinda wrote: Andre, Thanks for the reply. I was finally able to get my the LOG file created. I had NOT setup my virtual website, SCMIS, in addition to the JAKARTA virtual website in IIS and consequently I kept using Tomcat to authenticate instead of using IIS to do so and it was

RE: Question on workers.properties file

2010-05-24 Thread Savoy, Melinda
setting so that perhaps someone on this list might see something that I have overlooked. I'll keep trying. Thanks. From: André Warnier [...@ice-sa.com] Sent: Monday, May 24, 2010 15:49 To: Tomcat Users List Subject: Re: Question on workers.properties

RE: Question on workers.properties file

2010-05-24 Thread dB .
|New York -Original Message- From: Savoy, Melinda [mailto:melindasa...@texashealth.org] Sent: Monday, May 24, 2010 7:03 PM To: Tomcat Users List; Tomcat Users List Subject: RE: Question on workers.properties file Andre, Sorry for creating confusion on the other post. I will stick

RE: Question on workers.properties file

2010-05-24 Thread Savoy, Melinda
...@dblock.org] Sent: Monday, May 24, 2010 18:09 To: Tomcat Users List Subject: RE: Question on workers.properties file I am curious whether you're using IIS for anything other than single sign-on / authentication? If you're not, check out http://waffle.codeplex.com - there's a new Negotiate

Re: Question on workers.properties file

2010-05-20 Thread André Warnier
Ok then. I am not familiar with IIS, but try the following : In the AJP Connector of Tomcat, in server.xml, add the attribute tomcatAuthentication=false. Then try again in your servlet with getRemoterUser(). If that does not work, then we wiil have to find an easy way to dump the HTTP request

Re: Question on workers.properties file

2010-05-20 Thread savoym
Thanks again for the reply. I do already have the tomcatAuthentication=false setting as you stated below and I had tried the getRemoteUse() from the HttpRequestServlet but that unfortunately did not work unless I did something wrong. I will try again but I do not think that is working.

Re: Question on workers.properties file

2010-05-20 Thread André Warnier
savoym wrote: Thanks again for the reply. I do already have the tomcatAuthentication=false setting as you stated below and I had tried the getRemoteUse() from the HttpRequestServlet but that unfortunately did not work unless I did something wrong. I will try again but I do not think that is

Re: Question on workers.properties file

2010-05-20 Thread savoym
My understanding is that IIS+ jk redirector is suppose to give us windows authentication what I cannot find either on the IIS website or the Apache Tomcat Connector website is HOW one gets to the authentication properties. I've read the HOW to get it setup but that is as far as it goes on the

Re: Question on workers.properties file

2010-05-20 Thread André Warnier
Hi. I am a bit busy right now, and I'll have more time tonight to answer. But in short, if you are using jCIFS until now, then Jespa is really a drop-in replacement. You get the user-id via getRemoteUser() just the same way. Only web.xml changes, the application does not, as far as I know. But

Re: Question on workers.properties file

2010-05-20 Thread savoym
The issue is that we do not currently use web.xml to set the particulars for JCIFS. A wrapper was built by our former team lead who has now left the company and Michael Allen had stated that we had to use the settings as he has it in his doc in order for JESPA to work. As I stated previously,

Re: Question on workers.properties file

2010-05-20 Thread André Warnier
savoym wrote: The issue is that we do not currently use web.xml to set the particulars for JCIFS. A wrapper was built by our former team lead who has now left the company and Michael Allen had stated that we had to use the settings as he has it in his doc in order for JESPA to work. As I

Re: Question on workers.properties file

2010-05-20 Thread savoym
I have not checked that. I will try that today. Don't know where you are located in the world but it's about 7:35AM where I am in the state of Texas - USA Thanks again for all your help. awarnier wrote: savoym wrote: The issue is that we do not currently use web.xml to set the

Re: Question on workers.properties file

2010-05-20 Thread Rainer Jung
Hi André, Melinda and everyone else, On 20.05.2010 14:31, André Warnier wrote: savoym wrote: I Rainer Jung is around, he may tell us if my assumptions are correct, that IIS+redirector also sends the IIS user-id to Tomcat, if there is any. If not, then tonight I might be able to send you a

RE: Question on workers.properties file

2010-05-20 Thread Savoy, Melinda
: Question on workers.properties file Hi André, Melinda and everyone else, On 20.05.2010 14:31, André Warnier wrote: savoym wrote: I Rainer Jung is around, he may tell us if my assumptions are correct, that IIS+redirector also sends the IIS user-id to Tomcat, if there is any. If not, then tonight I

Re: Question on workers.properties file

2010-05-19 Thread savoym
Ranier - Thanks for the reply. I have some questions on your response. The INT value that your get_server_value method returns how do I determine from that what the userid is and more importantly, what calls this method and populates the values for this method to run? Sorry for the ignorance.

Re: Question on workers.properties file

2010-05-19 Thread Rainer Jung
On 19.05.2010 17:37, savoym wrote: Ranier - Thanks for the reply. I have some questions on your response. The INT value that your get_server_value method returns how do I determine from that what the userid is and more importantly, what calls this method and populates the values for this

Re: Question on workers.properties file

2010-05-19 Thread savoym
Ranier, Thank you for the clarification. As far as your instruction, let me ask the following if you don't mind: What source are you referring to? Do you have a URL for this source? Also, I've been trying to pickup this AUTH_USER from the HttpServletRequest. Is that not where I can pick it

Re: Question on workers.properties file

2010-05-19 Thread André Warnier
savoym wrote: I just got IIS to forward my request to Tomcat using the Apache Tomcat-Connectors doc. I am trying to authenticate the user login/id that executes the request to my web app to be able to grab the user login and use in my java app. Can you explain a little bit more in detail,

Re: Question on workers.properties file

2010-05-19 Thread savoym
Yes. The users are already being authenticated by IIS before IIS forwards the request to Tomcat. And yes, I am wanting to retrieve in my java app this userid from what I thought would be through the HttpServletRequest class. However, that is not working. I tried to retrieve it using this

Re: Question on workers.properties file

2010-05-18 Thread Rainer Jung
static int get_server_value(LPEXTENSION_CONTROL_BLOCK lpEcb, char *name, char *buf, DWORD bufsz) { DWORD sz = bufsz; buf[0] = '\0'; if (!lpEcb-GetServerVariable(lpEcb-ConnID, name, buf, (LPDWORD) sz)) return