Hi,

We would like to run IIS with Tomcat.  I have been struggling to make
IIS to work with Tomcat.  After I followed the instructions to
configure IIS a few times, I though I have successfully configured the
IIS to work with Tomcat.  It works for only one application that I
created, the examples come with Tomcat don't even work.

Following are what I did.  When I ran in a browser through IIS server
only fadd_test worked:

On IIS:
I created four virtual directories:

1. jakarta points to isapi_redirect.dll
2. fadd_test points to fadd_app directory under
c:\tomcat\webapps\fadd_app
3. faddapp point to the same directory as #2
4. examples point to the c:\tomcat\webapps\examples

==== uriworkermap.properties =======

/examples=$(default.worker)
/examples/*=$(default.worker)

/fadd_test=$(default.worker)
/fadd_test/*=$(default.worker)

/faddapp=$(default.worker)
/faddapp/*=$(default.worker)

===== server.xml =====

        <Context path="/fadd_test" docBase="fadd_app" reloadable="true">

          <Logger className="org.apache.catalina.logger.FileLogger"
                     prefix="localhost_fadd_log." suffix=".txt"
                  timestamp="true"/>
        </Context>

        <Context path="/faddapp" docBase="fadd_app" reloadable="true">
          <Logger className="org.apache.catalina.logger.FileLogger"
                     prefix="localhost_fadd_log." suffix=".txt"
                  timestamp="true"/>
        </Context>

        <!-- Tomcat Examples Context -->
        <Context path="/examples" docBase="examples" debug="0"
                 reloadable="true" crossContext="true">
                           .
                           .
                           .
          <ResourceLink name="linkToGlobalResource"
                    global="simpleValue"
                    type="java.lang.Integer"/>
        </Context>

==== Run the application in IE browser=====

http://dbmon.nws.noaa.gov/examples
The page cannot be displayed

http://dbmon.nws.noaa.gov/faddapp
the index.html appeared when I pressed a bottom to run a servlet it
returned
HTTP Error 405
405 Method Not Allowed

http://dbmon.nws.noaa.gov/fadd_test
Worked as I expected

Thanks,
Ling


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to