Sounds Interesting!

What does that mean :)?.......to create a "context"?

What would happen if someone deleted that line?

Steve

Steve Russell

Web Developer III
ValueOptions - Lifescape
703-205-6589
[EMAIL PROTECTED]


-----Original Message-----
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 12:34 PM
To: [EMAIL PROTECTED]
Subject: RE: Hidden Gotcha - How To Avoid A 404 - Integrating IIS,
Tomcat, & U sing C:\Inetpub\wwwroot\test



        Your problem was related to the line in the default server.xml file:
        <ContextInterceptor className="org.apache.tomcat.context.AutoSetup"
/>
which will create a context for each directory or WAR in the webapps
directory.

        Randy

> -----Original Message-----
> From: Russell, Steve [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 10, 2001 11:05 AM
> To: '[EMAIL PROTECTED]'
> Subject: Hidden Gotcha - How To Avoid A 404 - Integrating 
> IIS, Tomcat, &
> U sing C:\Inetpub\wwwroot\test
> 
> 
> Hi;
> 
> I just spent some time doing some hair pulling.  I figured it 
> out and I
> thought I would post what I learned here so that it would 
> make it into the
> archives.
> 
> Here is what I did:
> I integrated Tomcat 3.2 with IIS 5 on windows 2000.
> 
> I made a "test.jsp" page that worked in C:\Inetpub\wwwroot & any
> subdirectory there of.
> 
> However, I kept getting a 404 for "test.jsp" when I put it in
> C:\Inetpub\wwwrooot\test\
> 
> It turns out that Tomcat has a C:\Tomcat\webapps\test\
> 
> It doesn't appear in server.xml, but when I added
> 
>         <Context path="/test" 
> docBase="C:/InetPub/wwwroot/test" debug="0"
> reloadable="true"/> 
> 
> to server.xml and rebooted tomcat the problem went away
> 
> Good Luck
> 
> Steve Russell
> 
> Web Developer III
> ValueOptions - Lifescape
> 703-205-6589
> [EMAIL PROTECTED]
> 
> 
> -----Original Message-----
> From: Russell, Steve [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 10, 2001 9:22 AM
> To: '[EMAIL PROTECTED]'
> Subject: If Anyone Is Interested ......Potential For 
> IIS-Tomcat Install
> Pr ogram
> 
> 
> Hi;
> 
> At my boss's request I PHP enabled our development server.
> 
> I went to:
> http://www.php.net
> 
> They had an install program there for integrating PHP with 
> IIS.  It was very
> nice.  No exxhageration, it took me less then 5min to get 
> everything going (
> I'm still having fun and games getting Tomcat & IIS to play nice ).
> 
> Anyway, I thought I would mention it as it shows that there 
> is potential to
> control IIS programmatically,....at least enough to write an 
> install for
> smooshing tomcat & IIS together.
> 
> Since PHP is an open source thing I'm sure if there was some web
> server/windows/tomcat savvy programmer out there into writing 
> an install
> s/he could contact the appropriate folks to get some leads on help.
> 
> A legion of people who have pulled their hair out to get 
> tomcat & IIS set up
> will be your best friends :)
> 
> Steve
> 
> Steve Russell
> 
> Web Developer III
> ValueOptions - Lifescape
> 703-205-6589
> [EMAIL PROTECTED]
> 
> 
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the sender by email, delete and destroy this message and its 
> attachments.
> 
> 
> **********************************************************************
> 

Reply via email to