Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Tomcat and IIS - where do I put the jsp files?

0 views
Skip to first unread message

John

unread,
Sep 18, 2002, 8:57:51 PM9/18/02
to
Do I put the jsp files in the jakarta folder? In one of the Tomcat folders?
All I get is text, no jsp, e.g. <% out.print("Hello"); %> does not display.
I believe this is my problem since I have checked my steps 5 times. I
followed the steps at
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-iis-howto.html. I
tried them at home on XP and at work on 2K and the same thing. Here are the
details:

Operating system:
Win 2K

Paths used:
c:\j2sdk1.4.0
f:\tomcat4

Tomcat version:
jakarta-tomcat-4.0.1.exe

PATH:
C:\j2sdk1.4.0\bin;%PATH%;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sys
tem32\Wbem;
CATALINA_HOME: f:\tomcat4
JAVA_HOME: C:\j2sdk1.4.0


tc4ntiis.zip extracted into f:\tomcat4
Note one file replaced "tomcat-util.jar"

Edit file wrapper.properties:
wrapper.tomcat_home=f:\tomcat4
wrapper.java_home=c:\j2sdk1.4.0

Type this:

F:\tomcat4\conf\jk>jk_nt_service -i tomcat -a wrapper.properties

C:\tomcat4\conf\jk>jk_nt_service -s tomcat


Edit file worker.properties:
Add any web sites that IIS needs to serve to Tomcat
NOTE: I did nothing since I have no web site

Edit file iis_redirect.reg:
"log_file"="F:\\tomcat4\\logs\\iis_redirect.log"
"worker_file"="F:\\tomcat4\\conf\\ntiis\\workers.properties"
"worker_mount_file"="F:\\tomcat4\\conf\\ntiis\\uriworkermap.properties"

Checked registry changes

add a New Virtual Directory called jakarta...
Then the ISAPI filter:
File Name: Jakarta Redirect
Executable: F:\tomcat4\bin\native\isapi_redirect.dll

Edit file server.xml:
Delete first and last line below ("<<!--" and "-->"):
<!--
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="0"/>
-->

Test by putting a "test.jsp" file into this location:
E:\Inetpub\wwwroot

The file contains the jsp: <% out.print("Hello"); %>

Then type in the browser:
http://localhost/test.jsp

This does not display. Any idea why?

Thanks
jhcha...@hotmail.com


0 new messages