You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by rcgeorge23 <rc...@gmail.com> on 2007/05/27 14:33:52 UTC

Configuring Tomcat 5.5 and IIS 6

Hi All,

I'm having trouble getting Tomcat to serve pages through IIS. I have tried
to follow several step-by-step guides online but haven't really had much
luck! I've searched through this forum but again, I haven't been able to
find anything that's fixed my problem.

I downloaded jakarta-tomcat-connectors-jk2.0.4-win32-IIS.zip, and followed
the setup instructions on the jakarta site. I made a slight modification to
the setup script (so that it created the jakarta virtual folder in
mydomain.com rather than IIS's "Default Website"), but other than that I
believe I've done precisely as instructed!

Tomcat is running on port 8080 and when I hit
http://www.mydomain.com:8080/context/main.jsp, Tomcat faithfully serves up
the page. However when I attempt to hit http://www.mydomain.com/main.jsp,
IIS serves up a 404.

If I look in the IIS log, I can see that IIS is attempting to push the
request towards the isapi_redirector dll:

#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port
cs-username c-ip cs-version cs(User-Agent) cs(Cookie) cs(Referer) sc-status
sc-win32-status sc-bytes cs-bytes time-taken 
2007-05-27 11:48:19 W3SVC10769 XXX.XXX.220.132 GET
/jakarta/isapi_redirector2.dll - 80 - XXX.XXX.56.247 HTTP/1.1
Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.8.1.3)+Gecko/20070309+Firefox/2.0.0.3
s_pers=%20s_vsn_paypalglobal%3D4757241787590%7C1473537542953%3B - 404 1260
1814 525 31

...so I'm guessing it's a problem with the way the dll has been configured.

Here is my workers2.properties:

==============================================
[shm]
info=Scoreboard. Requried for reconfiguration and status with multiprocess
servers.
file=D:\Tomcat 5.5\work\jk2.shm

# Example socket channel, override port and host.
[channel.socket:XXX.XXX.220.132:8009]
info=Ajp13 port forwarding over socket
tomcatId=XXX.XXX.220.132:8009

[logger]
level=DEBUG

[logger.file:0]
level=DEBUG
file=D:\Tomcat 5.5\logs\jk2.log

[workerEnv:]
info=Global server options
timing=1
debug=0
logger=logger.file:0 

# define the worker
[ajp13:XXX.XXX.220.132:8009]
channel=channel.socket:XXX.XXX.220.132:8009

# Map the Tomcat examples webapp to the Web server uri space
[uri:88.208.220.132/*]
context=/ols-web
worker=ajp13:XXX.XXX.220.132:8009
=============================================================

I attempted to enable logging to see whether this would give me any clues,
but the file I specified (D:\Tomcat 5.5\logs\jk2.log) doesn't get created.

Here's Tomcat's context.xml

==============================================================
<Context path="/ols-web" reloadable="true" docBase="D:\Tomcat
5.5\webapps\ols-web" workDir="D:\Tomcat 5.5\webapps\ols-web\work" >
	<Logger className="org.apache.catalina.logger.SystemOutLogger"
verbosity="4" timestamp="true"/>
</Context>
==============================================================

...and here's the bit in server.xml where the AJP connector port is
configured:

==============================================================
    <Connector port="8009" 
               enableLookups="false" redirectPort="8443" protocol="AJP/1.3"
/>
==============================================================

If anyone can offer any advice, I'd be really grateful.

Cheers,
Richard.
-- 
View this message in context: http://www.nabble.com/Configuring-Tomcat-5.5-and-IIS-6-tf3823529.html#a10824449
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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


Re: Configuring Tomcat 5.5 and IIS 6

Posted by gbarnas <gb...@yahoo.com>.
Thanks for the feedback, and I'm glad it was useful. I'll be posting it as an
HTML document on my web site shortly - adding a Resources page for this kind
of information. The .DOC file will still be available for downloading.

Glenn

rcgeorge23 wrote:
> 
> Hi Glenn,
> 
> Thanks for your tutorial - the virtual folder in IIS was indeed the
> missing piece to the jigsaw. IIS and Tomcat are happily up and running
> now.
> 
> Cheers,
> Richard.
> 

-- 
View this message in context: http://www.nabble.com/Configuring-Tomcat-5.5-and-IIS-6-tf3823529.html#a11491180
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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


Re: Configuring Tomcat 5.5 and IIS 6

Posted by rcgeorge23 <rc...@gmail.com>.
Hi Glenn,

Thanks for your tutorial - the virtual folder in IIS was indeed the missing
piece to the jigsaw. IIS and Tomcat are happily up and running now.

Cheers,
Richard.


gbarnas wrote:
> 
> 404's indicate that the file can't be found. IIS needs to be able to "see"
> the tomcat files/folders in order to know to invoke tomcat.. IIS can't
> magically see Tomcat's folders, so you may need to define a virtual folder
> in IIS to the Tomcat JSP files. 
> 
> Have a look at 
> http://www.innotechcg.com/downloads/IntegrateTomcatIIS.zip, which is a
> step-by-step discussion of integrating IIS 6 and Tomcat. It may not suit
> your specific need, but if you follow the steps, it should illustrate the
> concepts required for IIS and Tomcat to work together. My how-to will work
> with both the default and specific IIS instances.
> 
> Regards,
> 
> Glenn
> 
> 
> 
> rcgeorge23 wrote:
>> 
>> Hi All,
>> 
>> I'm having trouble getting Tomcat to serve pages through IIS. I have
>> tried to follow several step-by-step guides online but haven't really had
>> much luck! I've searched through this forum but again, I haven't been
>> able to find anything that's fixed my problem.
>> 
>> I downloaded jakarta-tomcat-connectors-jk2.0.4-win32-IIS.zip, and
>> followed the setup instructions on the jakarta site. I made a slight
>> modification to the setup script (so that it created the jakarta virtual
>> folder in mydomain.com rather than IIS's "Default Website"), but other
>> than that I believe I've done precisely as instructed!
>> 
>> Tomcat is running on port 8080 and when I hit
>> http://www.mydomain.com:8080/context/main.jsp, Tomcat faithfully serves
>> up the page. However when I attempt to hit
>> http://www.mydomain.com/main.jsp, IIS serves up a 404.
>> 
>> If I look in the IIS log, I can see that IIS is attempting to push the
>> request towards the isapi_redirector dll:
>> 
>> #Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query
>> s-port cs-username c-ip cs-version cs(User-Agent) cs(Cookie) cs(Referer)
>> sc-status sc-win32-status sc-bytes cs-bytes time-taken 
>> 2007-05-27 11:48:19 W3SVC10769 XXX.XXX.220.132 GET
>> /jakarta/isapi_redirector2.dll - 80 - XXX.XXX.56.247 HTTP/1.1
>> Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.8.1.3)+Gecko/20070309+Firefox/2.0.0.3
>> s_pers=%20s_vsn_paypalglobal%3D4757241787590%7C1473537542953%3B - 404
>> 1260 1814 525 31
>> 
>> ...so I'm guessing it's a problem with the way the dll has been
>> configured.
>> 
>> Here is my workers2.properties:
>> 
>> ==============================================
>> [shm]
>> info=Scoreboard. Requried for reconfiguration and status with
>> multiprocess servers.
>> file=D:\Tomcat 5.5\work\jk2.shm
>> 
>> # Example socket channel, override port and host.
>> [channel.socket:XXX.XXX.220.132:8009]
>> info=Ajp13 port forwarding over socket
>> tomcatId=XXX.XXX.220.132:8009
>> 
>> [logger]
>> level=DEBUG
>> 
>> [logger.file:0]
>> level=DEBUG
>> file=D:\Tomcat 5.5\logs\jk2.log
>> 
>> [workerEnv:]
>> info=Global server options
>> timing=1
>> debug=0
>> logger=logger.file:0 
>> 
>> # define the worker
>> [ajp13:XXX.XXX.220.132:8009]
>> channel=channel.socket:XXX.XXX.220.132:8009
>> 
>> # Map the Tomcat examples webapp to the Web server uri space
>> [uri:88.208.220.132/*]
>> context=/ols-web
>> worker=ajp13:XXX.XXX.220.132:8009
>> =============================================================
>> 
>> I attempted to enable logging to see whether this would give me any
>> clues, but the file I specified (D:\Tomcat 5.5\logs\jk2.log) doesn't get
>> created.
>> 
>> Here's Tomcat's context.xml
>> 
>> ==============================================================
>> <Context path="/ols-web" reloadable="true" docBase="D:\Tomcat
>> 5.5\webapps\ols-web" workDir="D:\Tomcat 5.5\webapps\ols-web\work" >
>> 	<Logger className="org.apache.catalina.logger.SystemOutLogger"
>> verbosity="4" timestamp="true"/>
>> </Context>
>> ==============================================================
>> 
>> ...and here's the bit in server.xml where the AJP connector port is
>> configured:
>> 
>> ==============================================================
>>     <Connector port="8009" 
>>                enableLookups="false" redirectPort="8443"
>> protocol="AJP/1.3" />
>> ==============================================================
>> 
>> If anyone can offer any advice, I'd be really grateful.
>> 
>> Cheers,
>> Richard.
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Configuring-Tomcat-5.5-and-IIS-6-tf3823529.html#a11487014
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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


Re: Configuring Tomcat 5.5 and IIS 6

Posted by rcgeorge23 <rc...@gmail.com>.
Glenn, 

Thanks for this - it looks like a very comprehensive guide. I'll have
another go at setting it up later on today and report back.

Cheers,
Richard.



gbarnas wrote:
> 
> 404's indicate that the file can't be found. IIS needs to be able to "see"
> the tomcat files/folders in order to know to invoke tomcat.. IIS can't
> magically see Tomcat's folders, so you may need to define a virtual folder
> in IIS to the Tomcat JSP files. 
> 
> Have a look at 
> http://www.innotechcg.com/downloads/IntegrateTomcatIIS.zip, which is a
> step-by-step discussion of integrating IIS 6 and Tomcat. It may not suit
> your specific need, but if you follow the steps, it should illustrate the
> concepts required for IIS and Tomcat to work together. My how-to will work
> with both the default and specific IIS instances.
> 
> Regards,
> 
> Glenn
> 
> 
> 
> rcgeorge23 wrote:
>> 
>> Hi All,
>> 
>> I'm having trouble getting Tomcat to serve pages through IIS. I have
>> tried to follow several step-by-step guides online but haven't really had
>> much luck! I've searched through this forum but again, I haven't been
>> able to find anything that's fixed my problem.
>> 
>> I downloaded jakarta-tomcat-connectors-jk2.0.4-win32-IIS.zip, and
>> followed the setup instructions on the jakarta site. I made a slight
>> modification to the setup script (so that it created the jakarta virtual
>> folder in mydomain.com rather than IIS's "Default Website"), but other
>> than that I believe I've done precisely as instructed!
>> 
>> Tomcat is running on port 8080 and when I hit
>> http://www.mydomain.com:8080/context/main.jsp, Tomcat faithfully serves
>> up the page. However when I attempt to hit
>> http://www.mydomain.com/main.jsp, IIS serves up a 404.
>> 
>> If I look in the IIS log, I can see that IIS is attempting to push the
>> request towards the isapi_redirector dll:
>> 
>> #Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query
>> s-port cs-username c-ip cs-version cs(User-Agent) cs(Cookie) cs(Referer)
>> sc-status sc-win32-status sc-bytes cs-bytes time-taken 
>> 2007-05-27 11:48:19 W3SVC10769 XXX.XXX.220.132 GET
>> /jakarta/isapi_redirector2.dll - 80 - XXX.XXX.56.247 HTTP/1.1
>> Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.8.1.3)+Gecko/20070309+Firefox/2.0.0.3
>> s_pers=%20s_vsn_paypalglobal%3D4757241787590%7C1473537542953%3B - 404
>> 1260 1814 525 31
>> 
>> ...so I'm guessing it's a problem with the way the dll has been
>> configured.
>> 
>> Here is my workers2.properties:
>> 
>> ==============================================
>> [shm]
>> info=Scoreboard. Requried for reconfiguration and status with
>> multiprocess servers.
>> file=D:\Tomcat 5.5\work\jk2.shm
>> 
>> # Example socket channel, override port and host.
>> [channel.socket:XXX.XXX.220.132:8009]
>> info=Ajp13 port forwarding over socket
>> tomcatId=XXX.XXX.220.132:8009
>> 
>> [logger]
>> level=DEBUG
>> 
>> [logger.file:0]
>> level=DEBUG
>> file=D:\Tomcat 5.5\logs\jk2.log
>> 
>> [workerEnv:]
>> info=Global server options
>> timing=1
>> debug=0
>> logger=logger.file:0 
>> 
>> # define the worker
>> [ajp13:XXX.XXX.220.132:8009]
>> channel=channel.socket:XXX.XXX.220.132:8009
>> 
>> # Map the Tomcat examples webapp to the Web server uri space
>> [uri:88.208.220.132/*]
>> context=/ols-web
>> worker=ajp13:XXX.XXX.220.132:8009
>> =============================================================
>> 
>> I attempted to enable logging to see whether this would give me any
>> clues, but the file I specified (D:\Tomcat 5.5\logs\jk2.log) doesn't get
>> created.
>> 
>> Here's Tomcat's context.xml
>> 
>> ==============================================================
>> <Context path="/ols-web" reloadable="true" docBase="D:\Tomcat
>> 5.5\webapps\ols-web" workDir="D:\Tomcat 5.5\webapps\ols-web\work" >
>> 	<Logger className="org.apache.catalina.logger.SystemOutLogger"
>> verbosity="4" timestamp="true"/>
>> </Context>
>> ==============================================================
>> 
>> ...and here's the bit in server.xml where the AJP connector port is
>> configured:
>> 
>> ==============================================================
>>     <Connector port="8009" 
>>                enableLookups="false" redirectPort="8443"
>> protocol="AJP/1.3" />
>> ==============================================================
>> 
>> If anyone can offer any advice, I'd be really grateful.
>> 
>> Cheers,
>> Richard.
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Configuring-Tomcat-5.5-and-IIS-6-tf3823529.html#a11273939
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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


Re: Configuring Tomcat 5.5 and IIS 6

Posted by gbarnas <gb...@yahoo.com>.
404's indicate that the file can't be found. IIS needs to be able to "see"
the tomcat files/folders in order to know to invoke tomcat.. IIS can't
magically see Tomcat's folders, so you may need to define a virtual folder
in IIS to the Tomcat JSP files. 

Have a look at  http://www.innotechcg.com/downloads/IntegrateTomcatIIS.zip,
which is a step-by-step discussion of integrating IIS 6 and Tomcat. It may
not suit your specific need, but if you follow the steps, it should
illustrate the concepts required for IIS and Tomcat to work together. My
how-to will work with both the default and specific IIS instances.

Regards,

Glenn



rcgeorge23 wrote:
> 
> Hi All,
> 
> I'm having trouble getting Tomcat to serve pages through IIS. I have tried
> to follow several step-by-step guides online but haven't really had much
> luck! I've searched through this forum but again, I haven't been able to
> find anything that's fixed my problem.
> 
> I downloaded jakarta-tomcat-connectors-jk2.0.4-win32-IIS.zip, and followed
> the setup instructions on the jakarta site. I made a slight modification
> to the setup script (so that it created the jakarta virtual folder in
> mydomain.com rather than IIS's "Default Website"), but other than that I
> believe I've done precisely as instructed!
> 
> Tomcat is running on port 8080 and when I hit
> http://www.mydomain.com:8080/context/main.jsp, Tomcat faithfully serves up
> the page. However when I attempt to hit http://www.mydomain.com/main.jsp,
> IIS serves up a 404.
> 
> If I look in the IIS log, I can see that IIS is attempting to push the
> request towards the isapi_redirector dll:
> 
> #Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query
> s-port cs-username c-ip cs-version cs(User-Agent) cs(Cookie) cs(Referer)
> sc-status sc-win32-status sc-bytes cs-bytes time-taken 
> 2007-05-27 11:48:19 W3SVC10769 XXX.XXX.220.132 GET
> /jakarta/isapi_redirector2.dll - 80 - XXX.XXX.56.247 HTTP/1.1
> Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.8.1.3)+Gecko/20070309+Firefox/2.0.0.3
> s_pers=%20s_vsn_paypalglobal%3D4757241787590%7C1473537542953%3B - 404 1260
> 1814 525 31
> 
> ...so I'm guessing it's a problem with the way the dll has been
> configured.
> 
> Here is my workers2.properties:
> 
> ==============================================
> [shm]
> info=Scoreboard. Requried for reconfiguration and status with multiprocess
> servers.
> file=D:\Tomcat 5.5\work\jk2.shm
> 
> # Example socket channel, override port and host.
> [channel.socket:XXX.XXX.220.132:8009]
> info=Ajp13 port forwarding over socket
> tomcatId=XXX.XXX.220.132:8009
> 
> [logger]
> level=DEBUG
> 
> [logger.file:0]
> level=DEBUG
> file=D:\Tomcat 5.5\logs\jk2.log
> 
> [workerEnv:]
> info=Global server options
> timing=1
> debug=0
> logger=logger.file:0 
> 
> # define the worker
> [ajp13:XXX.XXX.220.132:8009]
> channel=channel.socket:XXX.XXX.220.132:8009
> 
> # Map the Tomcat examples webapp to the Web server uri space
> [uri:88.208.220.132/*]
> context=/ols-web
> worker=ajp13:XXX.XXX.220.132:8009
> =============================================================
> 
> I attempted to enable logging to see whether this would give me any clues,
> but the file I specified (D:\Tomcat 5.5\logs\jk2.log) doesn't get created.
> 
> Here's Tomcat's context.xml
> 
> ==============================================================
> <Context path="/ols-web" reloadable="true" docBase="D:\Tomcat
> 5.5\webapps\ols-web" workDir="D:\Tomcat 5.5\webapps\ols-web\work" >
> 	<Logger className="org.apache.catalina.logger.SystemOutLogger"
> verbosity="4" timestamp="true"/>
> </Context>
> ==============================================================
> 
> ...and here's the bit in server.xml where the AJP connector port is
> configured:
> 
> ==============================================================
>     <Connector port="8009" 
>                enableLookups="false" redirectPort="8443"
> protocol="AJP/1.3" />
> ==============================================================
> 
> If anyone can offer any advice, I'd be really grateful.
> 
> Cheers,
> Richard.
> 

-- 
View this message in context: http://www.nabble.com/Configuring-Tomcat-5.5-and-IIS-6-tf3823529.html#a11233336
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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


Re: Configuring Tomcat 5.5 and IIS 6

Posted by Rainer Jung <ra...@kippdata.de>.
It looks like you want to change the URL during forwarding.

Have a look at

http://tomcat.apache.org/connectors-doc/reference/iis.html

and search for the word "rewrite".

Regards,

Rainer

rcgeorge23 wrote:
> Hi Chuck,
> 
> Thanks for that. I've now downloaded and attempted to set up the jk
> connector - I think I've got a little further but I'm still not seeing the
> page that should be served up by Tomcat.
> 
> I've set up a simple set of config files (essentially just grabbing them
> from the jakarta how-to and changing the paths), and have attempted to visit
> www.mydomain.com/main.jsp however I'm still getting a 404.
> 
> I'm trying to map mydomain.com/ to the tomcat context 'ols-web' but this is
> the bit that doesn't seem to be working. The isapi_redirect.log indicates
> that that requests are being forwarded to tomcat, I think:
> 
> =============================================
> [Mon May 28 17:08:16 2007] [3972:2044] [debug] jk_uri_worker_map.c (601):
> Attempting to map context URI '/*=worker1' source 'uriworkermap'
> [Mon May 28 17:08:16 2007] [3972:2044] [debug] jk_uri_worker_map.c (616):
> Found a wildchar match '/*=worker1'
> [Mon May 28 17:08:16 2007] [3972:2044] [debug] jk_isapi_plugin.c (1270):
> check if [/main.jsp] is points to the web-inf directory
> [Mon May 28 17:08:16 2007] [3972:2044] [debug] jk_isapi_plugin.c (1287):
> [/main.jsp] is a servlet url - should redirect to worker1
> =============================================
> 
> ...but possibly not to the right context. Any ideas? My config files are
> shown below...
> 
> Cheers,
> Richard
> 
> workers.properties:
> ==============================================
> # Define 1 real worker using ajp13
> worker.list=worker1
> # Set properties for worker1 (ajp13)
> worker.worker1.type=ajp13
> worker.worker1.host=XXX.XXX.220.132
> worker.worker1.port=8009
> worker.worker1.mount=/ols-web /ols-web/*
> ==============================================
> 
> uriworkermap.properties:
> ==============================================
> /*=worker1
> ==============================================
> 
> isapi_redirect.properties:
> ==============================================
> # Configuration file for the Jakarta ISAPI Redirector
> 
> # The path to the ISAPI Redirector Extension, relative to the website
> # This must be in a virtual directory with execute privileges
> extension_uri=/jakarta/isapi_redirect.dll
> 
> # Full path to the log file for the ISAPI Redirector
> log_file=d:\tomcat 5.5\logs\isapi_redirect.log
> 
> # Log level (debug, info, warn, error or trace)
> log_level=debug
> 
> # Full path to the workers.properties file
> worker_file=d:\tomcat 5.5\conf\workers.properties
> 
> # Full path to the uriworkermap.properties file
> worker_mount_file=d:\tomcat 5.5\conf\uriworkermap.properties
> ==============================================
> 
> 
> Caldarale, Charles R wrote:
>>> From: rcgeorge23 [mailto:rcgeorge23@gmail.com] 
>>> Subject: Configuring Tomcat 5.5 and IIS 6
>>>
>>> I downloaded jakarta-tomcat-connectors-jk2.0.4-win32-IIS.zip, 
>> Oops.  The mod_jk2 package has been deprecated for over two years; you
>> should be using mod_jk.
>>
>>  - Chuck
>>
>>
>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>> MATERIAL and is thus for use only by the intended recipient. If you
>> received this in error, please contact the sender and delete the e-mail
>> and its attachments from all computers.

---------------------------------------------------------------------
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


RE: Configuring Tomcat 5.5 and IIS 6

Posted by rcgeorge23 <rc...@gmail.com>.
Hi Chuck,

Thanks for that. I've now downloaded and attempted to set up the jk
connector - I think I've got a little further but I'm still not seeing the
page that should be served up by Tomcat.

I've set up a simple set of config files (essentially just grabbing them
from the jakarta how-to and changing the paths), and have attempted to visit
www.mydomain.com/main.jsp however I'm still getting a 404.

I'm trying to map mydomain.com/ to the tomcat context 'ols-web' but this is
the bit that doesn't seem to be working. The isapi_redirect.log indicates
that that requests are being forwarded to tomcat, I think:

=============================================
[Mon May 28 17:08:16 2007] [3972:2044] [debug] jk_uri_worker_map.c (601):
Attempting to map context URI '/*=worker1' source 'uriworkermap'
[Mon May 28 17:08:16 2007] [3972:2044] [debug] jk_uri_worker_map.c (616):
Found a wildchar match '/*=worker1'
[Mon May 28 17:08:16 2007] [3972:2044] [debug] jk_isapi_plugin.c (1270):
check if [/main.jsp] is points to the web-inf directory
[Mon May 28 17:08:16 2007] [3972:2044] [debug] jk_isapi_plugin.c (1287):
[/main.jsp] is a servlet url - should redirect to worker1
=============================================

...but possibly not to the right context. Any ideas? My config files are
shown below...

Cheers,
Richard

workers.properties:
==============================================
# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=XXX.XXX.220.132
worker.worker1.port=8009
worker.worker1.mount=/ols-web /ols-web/*
==============================================

uriworkermap.properties:
==============================================
/*=worker1
==============================================

isapi_redirect.properties:
==============================================
# Configuration file for the Jakarta ISAPI Redirector

# The path to the ISAPI Redirector Extension, relative to the website
# This must be in a virtual directory with execute privileges
extension_uri=/jakarta/isapi_redirect.dll

# Full path to the log file for the ISAPI Redirector
log_file=d:\tomcat 5.5\logs\isapi_redirect.log

# Log level (debug, info, warn, error or trace)
log_level=debug

# Full path to the workers.properties file
worker_file=d:\tomcat 5.5\conf\workers.properties

# Full path to the uriworkermap.properties file
worker_mount_file=d:\tomcat 5.5\conf\uriworkermap.properties
==============================================


Caldarale, Charles R wrote:
> 
>> From: rcgeorge23 [mailto:rcgeorge23@gmail.com] 
>> Subject: Configuring Tomcat 5.5 and IIS 6
>> 
>> I downloaded jakarta-tomcat-connectors-jk2.0.4-win32-IIS.zip, 
> 
> Oops.  The mod_jk2 package has been deprecated for over two years; you
> should be using mod_jk.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Configuring-Tomcat-5.5-and-IIS-6-tf3823529.html#a10838586
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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


RE: Configuring Tomcat 5.5 and IIS 6

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: rcgeorge23 [mailto:rcgeorge23@gmail.com] 
> Subject: Configuring Tomcat 5.5 and IIS 6
> 
> I downloaded jakarta-tomcat-connectors-jk2.0.4-win32-IIS.zip, 

Oops.  The mod_jk2 package has been deprecated for over two years; you
should be using mod_jk.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
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