A
Andy Fish
Hi,
I am trying to get tomcat 5 to work with IIS6 using jk2. In spite of
following the instructions included in the jk2 download I have still managed
to make some progress. However, I seem to have hit a brick wall.
I can get the /jkstatus page, but whenever I try and access any URL that
goes to tomcat, I get nothing - the page never returns. I have hand-cranked
the HTTP request with telnet and IIS just keeps the socket open and doesn't
return anything. I can see that the AJP is listening on 8009 but I never see
any connects to it. Requests that aren't mapped to tomcat work OK.
I have read most anything I can find on the net including all the links from
http://www.rit.edu/~ack5504/tomcat-iis6-howto/tomcat_iis6_resources.html but
to no avail. Unfortunately, the one he describes as the best guide
(http://virtualict.net/support/kb/iis6-Tomcat5-JK2.html) the link doesn't
work and all of the other guides seem to use jk1 rather than jk2
I have tried putting debugging on but all I ever get is a single message in
the log file saying "Initializing log file".
Here is a bit more background info:
I was not sure whether the vbscript program was supposed to be in addition
to, or instead of, the manual configuration. I ran it after doing all the
manual configuration and in retrospect this was probably a bad idea.
After failing to get the isapi connector to load, I noticed the jakarta
virtual root did not have read access (though it did have "scripts and
executables" execute permission) so I added it manually. I have a hunch that
the vbscript program removed this access because it was there when I made
the virtual directory in the first place..
After that, the connector loaded OK but I couldn't get the /jkstatus page -
I just got 404 on everything. so I added the DLL as a "web service
extension" (I already had IIS in isolation mode) and then the jkstatus page
started working.
any help or advice would be very welcome. The only place I can think of to
go next is to rebuild the connector from source and put my own debugging in
(yeuch) or have a go with jk1
Andy
I am trying to get tomcat 5 to work with IIS6 using jk2. In spite of
following the instructions included in the jk2 download I have still managed
to make some progress. However, I seem to have hit a brick wall.
I can get the /jkstatus page, but whenever I try and access any URL that
goes to tomcat, I get nothing - the page never returns. I have hand-cranked
the HTTP request with telnet and IIS just keeps the socket open and doesn't
return anything. I can see that the AJP is listening on 8009 but I never see
any connects to it. Requests that aren't mapped to tomcat work OK.
I have read most anything I can find on the net including all the links from
http://www.rit.edu/~ack5504/tomcat-iis6-howto/tomcat_iis6_resources.html but
to no avail. Unfortunately, the one he describes as the best guide
(http://virtualict.net/support/kb/iis6-Tomcat5-JK2.html) the link doesn't
work and all of the other guides seem to use jk1 rather than jk2
I have tried putting debugging on but all I ever get is a single message in
the log file saying "Initializing log file".
Here is a bit more background info:
I was not sure whether the vbscript program was supposed to be in addition
to, or instead of, the manual configuration. I ran it after doing all the
manual configuration and in retrospect this was probably a bad idea.
After failing to get the isapi connector to load, I noticed the jakarta
virtual root did not have read access (though it did have "scripts and
executables" execute permission) so I added it manually. I have a hunch that
the vbscript program removed this access because it was there when I made
the virtual directory in the first place..
After that, the connector loaded OK but I couldn't get the /jkstatus page -
I just got 404 on everything. so I added the DLL as a "web service
extension" (I already had IIS in isolation mode) and then the jkstatus page
started working.
any help or advice would be very welcome. The only place I can think of to
go next is to rebuild the connector from source and put my own debugging in
(yeuch) or have a go with jk1
Andy