ROOT is directory name where "ROOT" context resides ( the one that get served by default when there is no context name in the URL), so when writing a uwp.p file to redirect / to IIS you need to do :
/=$(default.worker) /*=$(default.worker) Saludos , Ignacio J. Ortega > -----Mensaje original----- > De: news [mailto:[EMAIL PROTECTED]]En nombre de George Hester > Enviado el: 25 de julio de 2002 22:24 > Para: [EMAIL PROTECTED] > Asunto: Re: Little trouble with IIS 5 and Tomacat 4.0.4 > > > Here I was thinking a little more about what you said. So I > went to C:\Program > Files\Apache Tomcat 4.0\conf\server.xml and opened it in > Notepad. I have this: > > Fo ROOT: > ___________________ > <!-- Tomcat Root Context --> > > <Context path="" docBase="ROOT" debug="0"/> > ___________________ > > For examples: > ____________________ > <!-- Tomcat Examples Context --> > <Context path="/examples" docBase="examples" debug="0" > reloadable="true" crossContext="true"> > <Logger className="org.apache.catalina.logger.FileLogger" > prefix="localhost_examples_log." suffix=".txt" > timestamp="true"/> > <Ejb name="ejb/EmplRecord" type="Entity" > home="com.wombat.empl.EmployeeRecordHome" > remote="com.wombat.empl.EmployeeRecord"/> > ___________________ > > It seems that ROOT is very sparse. examples has lots a stuff > there. examples > works as in http://localhost/examples but ROOT does not as in > http://localhost/ROOT. But this does work showing index.html > in C:\Program > Files\Apache Tomcat 4.0\webapps\ROOT\index.html > http://localhost:8080 This > tells me ROOT is not being "seen" by IIS. > > -- > George Hester > _________________________________ > "George Hester" <[EMAIL PROTECTED]> wrote in message > ahpkto$o4d$[EMAIL PROTECTED]">news:ahpkto$o4d$[EMAIL PROTECTED]... > > ROOT as in the ROOT folder that was put in C:\Program > Files\Apache Tomcat > > 4.0\webapps\ROOT upon installing Tomcat. I followed the > directions on this > > page: > > > > http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/#2 > > > > and this folder: > > > > C:\Program Files\Apache Tomcat 4.0\webapps\examples > > > > works just has he says it should. I do not recall I making > any changes to > > server.xml from what he said other then where he says: > > _____________________________ > > Edit server.xml file > > > > Open the %CATALINA_HOME%\conf\server.xml file for editing > > > > The AJP connector is not enabled by default. To enable it, > uncomment the > > following section in $CATALINA_HOME/conf/server.xml: > > (in original file, its line 74 ;) > > > > <!-- > > <Connector className="org.apache.ajp.tomcat4.Ajp13Connector" > > port="8009" minProcessors="5" maxProcessors="75" > > acceptCount="10" debug="0"/> > > --> > > > > Also note that when placing new files (e.g. jars) into > %CATALINA_HOME%\/lib > edit > > the wrapper.properties, and make sure to restart WWW > Publishing Service (IIS) > > rather than the Tomcat service in order to have the new > libs used by Tomcat. > > ______________________________________________ > > > > and as that is not specific to "examples" I figured that > was not part of the > > solution. > > > > You say it is? Can you be more descriptive? Like what I > need to do? Thanks. > > > > -- > > George Hester > > _________________________________ > > "Turner, John" <[EMAIL PROTECTED]> wrote in message > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > > > Tomcat has to be configured in addition to > uriworkermap.properties. Do you > > > have a Context in server.xml for that directory? I'm > curious, when you type > > > "ROOT" do you actually mean a directory called "ROOT" or > is that like a > > > placeholder for something else? > > > > > > John Turner > > > [EMAIL PROTECTED] > > > > > > > > > -----Original Message----- > > > From: George Hester [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, July 25, 2002 3:22 PM > > > To: [EMAIL PROTECTED] > > > Subject: Little trouble with IIS 5 and Tomacat 4.0.4 > > > > > > > > > I followed this web site to integrate IIS with Tomact: > > > > > > http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/#2 > > > > > > It works fine in the examples folder as how he has it in > the test. But I > > > don't > > > want that to be the only folder in fact I don't want that > folder at all to > > > be > > > used through IIS. I would like the ROOT folder to be > used. It seems based > > > on > > > his suggestions on how to get Tomcat and IIS to work > together I need to make > > > only one change and that is in: > > > > > > C:\Program Files\Apache Tomacat > 4.0\conf\ntiis\uriworkermap.properties and > > > that > > > is this: > > > > > > /examples=$(default.worker) > > > /examples/*=$(default.worker) > > > /ROOT=$(default.worker) > > > /ROOT/*=$(default.worker) > > > > > > But that didn't work. > > > > > > Any ideas how I get the ROOT folder to be used by IIS? > > > > > > Right now I get the correct output if I put in http://localhost/examples > > > > but if I try http://localhost/ROOT I get a Tomacat Error that nothing can be > > found here. > > > > -- > > George Hester > > _________________________________ > > > > > > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>