tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Savoy, Melinda" <MelindaSa...@texashealth.org>
Subject RE: Question on workers.properties file
Date Wed, 26 May 2010 16:30:17 GMT
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 to my Tomcat server.  I can
connect via the Tomcat connector to my site successfully however, I cannot authenticate my
userid and therefore I cannot get to my application which is dependent on that value so that
the authenticated user can access the web app.  

Here is my setup:

1.  Andre, before you ask, I am still waiting on a test Windows 2003 server to be setup where
I can test this on a server rather than my XP box as you suggested to me previously, but I'm
stuck testing on my Windows XP box until then.
2.  Currently I am testing to see if using the Tomcat connector will work on my local Windows
XP box.
3.  I am testing my web app within Eclipse using Tomcat 6.0 (meaning my web app is a dynamic
web project within Eclipse and has been added to the Tomcat server in Eclipse).
4.  My URL is:  http://localhost/SCMIS/index.jsp
5.  The directory structure on my local box where my web app is located is:  C:\Snaps\savoym_remote_scmis_phase5_dev\scmis_phase5_vob
and the directories directly under this directory is:
Build
Common
Libraries
Lookup
Lost+found
Maintenance
PurchaseOrder
Requisition
SCMIS (this is the where the JSP's are located and this is the directory that is defined in
my SCMIS IIS virtual web site)
Security
6.  In IIS 5.1, on my Windows XP box, the setup is as follows:
a. Default website has a directory security setting of (Anonymous access - checked)
b. jakara virtual website has a directory security setting of (Anonymous access - checked)
c. SCMIS virtual website, within the jakarta virtual website, has a directory security setting
of (Windows Authentication - checked)

Thanks for anyone taking the time to read this post and for any help/direction anyone can
provide.  

________________________________________
From: André Warnier [aw@ice-sa.com]
Sent: Monday, May 24, 2010 15:49
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
> Tomcat to authenticate instead of using IIS to do so and it was never
> hitting my website
>
> I think it has something to do with the settings in my IIS setting.  I still cannot get
the value from getRemoteUser() because the user is blank as is indicated in the log below.
 ANY help/direction would be greatly appreciated.
>
> The URL that I am using to access my SCMIS virtual website is:
> http://localhost/SCMIS/index.jsp
>
> 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 and Anonymous access unchecked and Integrated Windows
> authentication checked
>
> I have attached the entries in the log file that just happened:

I think the problem is right there, and in the worker mappings you mentioned earlier :

 >> /examples/*=scmisWorker
 >> /examples/*.jsp=scmisWorker
 >> /examples/servlet/*=scmisWorker

Now in your logfile, you have :

[Mon May 24 10:10:02.781 2010] [8124:7912] [debug] jk_uri_worker_map.c
(850): Attempting to map context URI '/servlet/*=scmisWorker' source 'uriworkermap'
[Mon May 24 10:10:02.781 2010] [8124:7912] [debug] jk_uri_worker_map.c
(850): Attempting to map context URI '/*.jsp=scmisWorker' source 'uriworkermap'
[Mon May 24 10:10:02.781 2010] [8124:7912] [debug] jk_uri_worker_map.c
(863): Found a wildchar match '/*.jsp=scmisWorker'

Assuming the mappings above, then why is it trying to match '/servlet/*=scmisWorker'
and
'/*.jsp=scmisWorker'
?
That does not fit.  Those mappings are not in your list above.

Again, I am no expert on IIS or on the Jk redirector in conjunction with it, but my little
finger tells me that there is something very wrong somewhere.

I have the feeling that your problem is not really related to authentication (or the lack
of it). It is that there is some confusion as to the proper setup of IIS and Tomcat together,
and how IIS handles "virtual websites".

Maybe we should restart from the beginning, like here :

When you look at the ...\Tomcat 6.0\webapps directory, what are the sub-directories located
just below it ?

And , just to gain time, out of these, which is the one that corresponds to the application
which /should/ be authenticated ?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



The information contained in this message and any attachments is intended only for the use
of the individual or entity to which it is addressed, and may contain information that is
PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law.  If you are not
the intended recipient, you are prohibited from copying, distributing, or using the information.
 Please contact the sender immediately by return e-mail and delete the original message from
your system.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.819 / Virus Database: 271.1.1/2894 - Release Date: 05/24/10 14:26:00

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



The information contained in this message and any attachments is intended only for the use
of the individual or entity to which it is addressed, and may contain information that is
PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law.  If you are not
the intended recipient, you are prohibited from copying, distributing, or using the information.
 Please contact the sender immediately by return e-mail and delete the original message from
your system.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.819 / Virus Database: 271.1.1/2894 - Release Date: 05/24/10 14:26:00

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



The information contained in this message and any attachments is intended only for the use
of the individual or entity to which it is addressed, and may contain information that is
PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law.  If you are not
the intended recipient, you are prohibited from copying, distributing, or using the information.
 Please contact the sender immediately by return e-mail and delete the original message from
your system.

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.819 / Virus Database: 271.1.1/2894 - Release Date: 05/24/10 14:26:00


The information contained in this message and any attachments is intended only for the use
of the individual or entity to which it is addressed, and may contain information that is
PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law.  If you are not
the intended recipient, you are prohibited from copying, distributing, or using the information.
 Please contact the sender immediately by return e-mail and delete the original message from
your system.

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.819 / Virus Database: 271.1.1/2894 - Release Date: 05/24/10 14:26:00


The information contained in this message and any attachments is intended only for the use
of the individual or entity to which it is addressed, and may contain information that is
PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law.  If you are not
the intended recipient, you are prohibited from copying, distributing, or using the information.
 Please contact the sender immediately by return e-mail and delete the original message from
your system.

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.819 / Virus Database: 271.1.1/2894 - Release Date: 05/24/10 14:26:00


The information contained in this message and any attachments is intended only for the use
of the individual or entity to which it is addressed, and may contain information that is
PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law.  If you are not
the intended recipient, you are prohibited from copying, distributing, or using the information.
 Please contact the sender immediately by return e-mail and delete the original message from
your system.

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.819 / Virus Database: 271.1.1/2894 - Release Date: 05/25/10 02:26:00


The information contained in this message and any attachments is intended only for the use
of the individual or entity to which it is addressed, and may contain information that is
PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law.  If you are not
the intended recipient, you are prohibited from copying, distributing, or using the information.
 Please contact the sender immediately by return e-mail and delete the original message from
your system.

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.819 / Virus Database: 271.1.1/2894 - Release Date: 05/25/10 02:26:00


The information contained in this message and any attachments is intended only for the use
of the individual or entity to which it is addressed, and may contain information that is
PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law.  If you are not
the intended recipient, you are prohibited from copying, distributing, or using the information.
 Please contact the sender immediately by return e-mail and delete the original message from
your system.

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.819 / Virus Database: 271.1.1/2894 - Release Date: 05/25/10 02:26:00


The information contained in this message and any attachments is intended only for the use
of the individual or entity to which it is addressed, and may contain information that is
PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law.  If you are not
the intended recipient, you are prohibited from copying, distributing, or using the information.
 Please contact the sender immediately by return e-mail and delete the original message from
your system.

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.819 / Virus Database: 271.1.1/2894 - Release Date: 05/25/10 02:26:00


The information contained in this message and any attachments is intended only for the use
of the individual or entity to which it is addressed, and may contain information that is
PRIVILEGED, CONFIDENTIAL, and exempt from disclosure under applicable law.  If you are not
the intended recipient, you are prohibited from copying, distributing, or using the information.
 Please contact the sender immediately by return e-mail and delete the original message from
your system.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message