tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charlie Wingate" <cwing...@valco-data.com>
Subject RE: IIS6 and Tomcat 5.5
Date Tue, 09 Oct 2007 17:41:41 GMT
Hi David,
	Depending on the Runtime and the Dll version(s) you are using
this wont work at all.  The Isapi you should be using was released in
late july and the latest runtime works with it. The runtime is found in
the TC bin and is called tcnative.dll.  Essentially, grab the latest
version of each.  I got this working only after also placing IIS 6 into
IIS 5 isolation mode.  The isapi filter does not seem to like something
about the way IIS 6 handles it; as a result it just does not work.
Outside of that it looks like you have things correct.
	Although the versions are off the following article pretty much
covers it well. (JK2 is deprecated)  

http://www.roktech.net/devblog/enclosures/iis6-Tomcat5-JK2.pdf

~Charlie
 
 
The significant problems we have cannot be solved at the same level of
thinking with which we created them.
  - Albert Einstein

-----Original Message-----
From: Dave.Buttrick@parentsasteachers.org
[mailto:Dave.Buttrick@parentsasteachers.org] 
Sent: Tuesday, October 09, 2007 1:19 PM
To: users@tomcat.apache.org
Subject: RE: IIS6 and Tomcat 5.5

Thanks for the responses.

When isapi_redirect says that he's forwarding the request URI - is that
not where I'm supposed to see the request for
/jakarta/isapi_redirect.dll

My understanding is that you see the request itself hits IIS, then it
get processed by the filter, then if appropriate, the filter forwards
the request by making a request to /jakarta/isapi_redirect.dll.

So, I see everything in the logs except for the request to
/jakarta/isapi_redirect.dll.
It looks like that means that first phase of the request is handled, but
the filter never generates the request to tomcat - is that right?

Could that be a permissions thing? I looked at permissions on my
isapi_redirect, and I allowed execute for the IIS_WPG group.

So, I've read the Apache docs on doing this, and I've looked cursorily
at the wiki that is linked to the tomcat connector page, that has the
extra step about allowing the web service. I even remember reading the
document that tells you to put the webserver in isolation mode.

Also, where do you find the tomcat native runtime? I was looking at this
to do later, as I'm still having trouble making it work!

Thanks
David



> -----Original Message-----
> From: Charlie Wingate [mailto:cwingate@valco-data.com] 
> Sent: Tuesday, October 09, 2007 11:28 AM
> To: Tomcat Users List
> Subject: RE: IIS6 and Tomcat 5.5
> 
> My Bad you did put in the workermap and propfiles.  Follow 
> the isolation mode in IIS path.
> 
> ~Charlie
>  
>  
> The significant problems we have cannot be solved at the same 
> level of thinking with which we created them.
>   - Albert Einstein
> 
> -----Original Message-----
> From: Dave.Buttrick@parentsasteachers.org
> [mailto:Dave.Buttrick@parentsasteachers.org]
> Sent: Tuesday, October 09, 2007 10:42 AM
> To: users@tomcat.apache.org
> Subject: IIS6 and Tomcat 5.5
> 
> The only thing that I can see missing from my setup is that 
> when I make a request for a URL served by the 
> isapi_redirector, I dont see a corresponding get for 
> /jakarta/isapi_redirector.dll from IIS.
> 
> I have green lights everywhere, I have the logging turned up 
> on the filter, and I'm seeing that requests are coming 
> through, and isapi_redirector knows they are for him (unless 
> forwarding escaped URI means something else) no other errors 
> on startup, so I am tempted to think that things are looking OK.
> 
> Here is my uriworkermap.properties file:
> 
> /jsp-examples/*=patnc1
> /portal/*=patnc1
> 
> Here is my workers.properties file:
> 
> worker.list=patnc1
> worker.patnc1.type=ajp13
> worker.patnc1.host=localhost
> worker.patnc1.port=8009
> 
> Here's the log from the redirector, when I do a request for 
> /jsp-examples/index.html
> 
> [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_isapi_plugin.c
> (1199): Filter started
> [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_isapi_plugin.c
> (1266): Virtual Host redirection of
> /localhost:88/jsp-examples/index.html
> [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_uri_worker_map.c
> (597): Attempting to map URI '/localhost:88/jsp-examples/index.html'
> from 2 maps
> [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_uri_worker_map.c
> (609): Attempting to map context URI '/jsp-examples/*=patnc1' 
> source 'uriworkermap'
> [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_uri_worker_map.c
> (609): Attempting to map context URI '/portal/*=patnc1' 
> source 'uriworkermap'
> [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_isapi_plugin.c
> (1273): Default redirection of /jsp-examples/index.html [Tue 
> Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_uri_worker_map.c
> (597): Attempting to map URI '/jsp-examples/index.html' from 
> 2 maps [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] 
> jk_uri_worker_map.c
> (609): Attempting to map context URI '/jsp-examples/*=patnc1' 
> source 'uriworkermap'
> [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_uri_worker_map.c
> (624): Found a wildchar match '/jsp-examples/*=patnc1'
> [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_isapi_plugin.c
> (1286): check if [/jsp-examples/index.html] is points to the 
> web-inf directory [Tue Oct 09 09:35:30.111 2007] [3084:3124] 
> [debug] jk_isapi_plugin.c
> (1303): [/jsp-examples/index.html] is a servlet url - should 
> redirect to
> patnc1
> [Tue Oct 09 09:35:30.111 2007] [3084:3124] [debug] jk_isapi_plugin.c
> (1345): fowarding escaped URI [/jsp-examples/index.html]
> 
> Here's the IIS log for the same request...
> 
> 2007-10-09 14:35:30 W3SVC1267602825 127.0.0.1 GET 
> /jsp-examples/index.html - 88 - 127.0.0.1 
> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+PATNC,
> +Inc.+STL+
> MO+USA;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 404 2 1260
> 
> Can anyone provide a clue as to what I need to do from here?
> 
> Thanks for any and all assistance with this!
> 
> David Buttrick
> Programming Manager
> Parents As Teachers National Center
> 2228 Ball Drive
> St. Louis, MO 63146
> 314-432-4330 x 282
> david.buttrick@parentsasteachers.org
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org To 
> unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 
> 
>  
>  
> **************************************************************
> **********
> ************
> This footnote confirms that this email message has been 
> scanned by PineApp Mail-SeCure for the presence of malicious 
> code, vandals & computer viruses.
> **************************************************************
> **********
> ************
> 
> 
> 
> 
> 
> 
> -----------------------------------------------------------
> This message is a CONFIDENTIAL communication.  If you are not 
> the intended recipient, please do not read, copy, or use it, 
> and do not disclose it to others.  Please notify the sender 
> of the delivery error by replying to this message, and then 
> delete it from your system.  Thank you.
>  
> **************************************************************
> **********************
> This footnote confirms that this email message has been 
> scanned by PineApp Mail-SeCure for the presence of malicious 
> code, vandals & computer viruses.
> **************************************************************
> **********************
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org To 
> unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 

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




 
 
************************************************************************
************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals &
computer viruses.
************************************************************************
************






-----------------------------------------------------------
This message is a CONFIDENTIAL communication.  If you are not the intended recipient, please
do not read, copy, or use it, and do not disclose it to others.  Please notify the sender
of the delivery error by replying to this message, and then delete it from your system.  Thank
you.
 
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************




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


Mime
View raw message