I know you are right. The suggestion *.jsp in uri.workers.properties well lets just say it took me 12 hours to fix Tomcat after I tried that.
Now what you are suggesting in your IMHO doesn't that mean I will be accessing the files there as http://localhost:8080. That's not really what I want. I would much prefer to have http://localhost/mypage.jsp where mypage.jsp is physically located in C:\Inetpub\wwwroot and convince IIS to hand the request off to Tomacat to handle the request. AND not have Tomacat think it can handle anything else other than what it was designed to handle. Right now Tomacat will interfere with IIS if I make it capable of handling requests such as http://localhost/mypage.jsp Thanks. -- George Hester _________________________________ "Andrew Conrad" <[EMAIL PROTECTED]> wrote in message news:001d01c234b5$0551d850$6400a8c0@js78711... > Hey George, > > The redirect statements you put in your wmp.p redirects ALL REQUESTS to > Tomcat. > > To only redirect *.jsp requests, you need to replace the previous > statements and insert > > /*.jsp=$(default.worker) > > > BTW, you are going to notice that you will have to do some tinkering > with your website to make IIS and Tomcat work together. IMHO, I would > create a webapp and redirect all requests to the webapp, similar to how > the examples webapp works. That way you simplify the redirect process > for yourself and the web site structure is easier to follow > > > - Andrew > > > -----Original Message----- > > From: news [mailto:[EMAIL PROTECTED]] On Behalf Of George Hester > > Sent: Thursday, July 25, 2002 6:47 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Little trouble with IIS 5 and Tomacat 4.0.4 > > > > > > Well gues what Ignacio? You have shown me why I lost my ASP > > sessions using JRun 4. When I did as you suggested I was > > able to do http://localhost/mypage.jsp. Worked great. Then > > in about 20 minutes I guess it was Exchange Internet > > Messaging closed down. I thought crap but OK. Then I > > noticed my ASP Web Site had no longer worked. This > > http://localhost/default.asp is giving a Tomcat Error. So > > what is happening? Well of course there is no default.asp in > > C:\Program Files\Apache Tomcat 4.0\webapps\ROOT and I doubt I > > could put one there. If I can then it is going to take a > > major overhaul of my Server. If I can't then I am going to > > have to remove your suggestion. Aren't puters wonderful? > > > > -- > > George Hester > > _________________________________ > > "Ignacio J. Ortega" <[EMAIL PROTECTED]> wrote in message > > 80F5674514B4D311BAFC0040F6A45EEE2EB825@ntserver">news:80F5674514B4D311BAFC0040F6A45EEE2EB825@ntserver... > > > 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:tomcat-user-> [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]>
