Forum: IIS Admin |
Thema:
Apache Tomcat and IIS 6 with JK2 |
Von:
G. Guest (
10.08.2005 11:19) |
Apache Tomcat and IIS 6 with JK2
Dear Community,
please help me to solve this tough problem by installing and cofigure Apache Tomcat with IIS 6. Firstly I began to use Apache Connector 1.2 but after day try it still didnt work. So I took another tutorial http://tjworld.net/help/kb/0001_iis6-Tomcat5-JK2.html and made every step as described. And O what a bliss the jsp-examples were successful!!! After that I changed IP Adress in workers2.properties to DNS Name, restarted and - it doesnt work anymore. Everything Ive done - changed name. Ping this DNS Name goes clean. Whats wrong?
Notes:
jk2.properties exists, Tomcat default
isapi_redirector2.dll is tied to IIS, virtual directory, registry, isolation mode to IIS 5, ISAPI Filter, extensions - everything is done.
as you can see below - there is two uri's to work with - IP 192.168.120.5 (local network) IT WORKS!!! and 'intranet' DNS for the same computer (with IP 192.168.120.5) wich doesnt work..... It's annoying!
much obliged for every kind of help.
boris
My properties:
workers2.properties:
[logger]
# log levels specified here are ERROR, INFO, DEBUG
level=ERROR
[shm:]
info=Shared memory file. Required for multiprocess servers
file=C:\Program Files\Apache Software Foundation\Tomcat 5.0\work\jk2.shm
size=1000000
[channel.socket:192.168.120.5:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8009
[uri:192.168.120.5/jsp-examples/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
context=/jsp-examples
[uri:192.168.120.5/servlets-examples/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/servlets-examples
[uri:192.168.120.5/*.faces]
info=JSFaces
context=/
[uri:192.168.120.5/*.jsp]
info=JSPages
context=/
[uri:192.168.120.5/servlets/*]
info=Servlets
context=/servlets/
# working
[uri:192.168.120.5/wt/*]
info=MyJSPApplication over IP
context=/wt
# doesn't
[uri:intranet/wt/*]
info=MyJSPApplication over Name
context=/wt
# doesn't
[uri:intranet/*.jsp]
info=JSPages
context=/
# doesn't
[uri:intranet/servlets/*]
info=Servlets
context=/servlets/
# doesn't
[uri:intranet/*.faces]
info=JSFaces
context=/
[status:]
info=Status worker, displays runtime information
[uri:/jkstatus/*]
# View the status of the ISAPI connector via http://domain.org/jkstatus/
info=The Tomcat /jkstatus
handlergroup=status:
server.xml
a part of:
<Connector port="8080" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" disableUploadTimeout="true" />
<Connector port="8009" enableLookups="false" redirectPort="8443" debug="0" protocol="AJP/1.3" />
Antworten
Vorsicht bei der Eingabe: Die Zeichen ' oder -- sind nicht erlaubt!