You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Se...@agsea.com on 2007/05/10 01:06:30 UTC

Tomcat 6.0 on Windows Server 2003 IIS 6.0 connector not functioning

I can't access Tomcat content through IIS.  The troubleshooting steps
on the IIS How-to were insufficient to identify my problem.

What am I missing?

A few bits of relevant information:

The isapi log file does not get created.
I've verified that the registry settings are correct for the redirector.
I also tried using isapi_redirect.properties, with no success.
The ISAPI filter on the default web site shows loaded (green arrow), high
priority.
The urimappings reference the worker in the workers.properties file.
The port for the work matches in the workers file and the server.xml file.
Directory browsing is enabled for both the website and the jakarta
directory.
The Catalina log shows it is listening on the right port, but Jk running
ID=0

Thanks!

Various relevant files and log entries:

Problem:
http://localhost:8080/examples      works
http://localhost/examples           doesn't work

Info:

ISAPI information:
isapi_redirect.dll v1.2.22.0

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\1.0]
"extension_uri"="/jakarta/isapi_redirect.dll"
"log_file"="C:\\Program Files\\Apache Software Foundation\\Tomcat 6.0
\\logs\\isapi.log"
"log_level"="debug"
"worker_file"="C:\\Program Files\\Apache Software Foundation\\Tomcat 6.0
\\conf\\workers.properties"
"worker_mount_file"="C:\\Program Files\\Apache Software Foundation\\Tomcat
6.0\\conf\\uriworkermap.properties"


workers.properties:

worker.list=ajp13w

worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009


uriworkermap.properties:

/servlets-examples*=ajp13w          #tried leaving off trailing slash as
suggested in archives
/examples/*=ajp13w

!/servlets-examples/*.jpeg=ajp13w


server.xml
...
  <Service name="Catalina">
    <Connector port="8080" protocol="HTTP/1.1"
               maxThreads="150" connectionTimeout="20000"
               redirectPort="8443" />
    <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
               maxThreads="150" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" />
    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
...

On IIS:
Default Web Site and Jakarta Virtual Directory:
Directory browsing enabled
Anonymous access enabled
Jakarta virtual directory allows scripts and executables

IIS Log:
#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query
s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus
sc-win32-status
2007-05-09 22:23:17 W3SVC1 127.0.0.1 GET /examples/ - 80 - 127.0.0.1
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+SV1;+.NET+CLR+1.1.4322)
404 0 2

Catalina log:
May 9, 2007 3:23:09 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 9, 2007 3:23:09 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/94  config=null

Sean McKellips
Systems Administrator
Associated Grocers
206-767-8725 phone
206-764-7879 fax
sean_mckellips@agsea.com


NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.  Any
unauthorized review, use, disclosure or distribution is prohibited.  If you
are not the intended recipient, please contact the sender by reply email
and destroy all copies of the original message.  Thank you.


---------------------------------------------------------------------
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: RES: RES: Tomcat 6.0 on Windows Server 2003 IIS 6.0 connector not functioning

Posted by gbarnas <gb...@yahoo.com>.
Sean:

I've recently struggled through the same 404 issues on my test server, where
I'm preparing to move an app from an old Win2K/Apache/Tomcat environment to
W2K3/IIS6/Tomcat6 system.

I now have .jsp files being served up from within my IIS web structure as
well as the Tomcat /examples, all from the IIS port 80 interface. This
required creating a Virtual Directory in IIS for the /examples folder in
Tomcat, and a <Context> definition in Tomcat to reference the .JSPs in the
IIS folder.

The entire process is documented, with sample config files and screenshots,
and available on my web server at  
http://gw.innotechcg.com:2080/downloads/IntegrateTomcatIIS.zip 
http://gw.innotechcg.com:2080/downloads/IntegrateTomcatIIS.zip  . This is
the first draft of the document, and it covers everything from installing
Java to configuring the server.xml file. Presentation is generic, and geared
toward working examples, so the concepts can be grasped and applied to other
configurations. I'd love feedback on whether it helped, accuracy, and even
additional concepts to add to it.

Regards,

Glenn


That's one I haven't heard before.  I'll have to keep an eye out
for that in the future, but it isn't the case here.  I also did not
download any of the versions I'm using directly on the server,
so I should have been safe from that.

Thanks for the suggestion.

Sean McKellips
Systems Administrator
Associated Grocers
206-767-8725 phone
206-764-7879 fax
sean_mckellips@agsea.com
-- 
View this message in context: http://www.nabble.com/Tomcat-6.0-on-Windows-Server-2003-IIS-6.0-connector-not-functioning-tf3718810.html#a10705958
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