tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Isaacs <>
Subject RE: Win2K Issue?
Date Thu, 06 Jul 2000 12:57:12 GMT
Assuming you are using Tomcat 3.1, you should be aware of the following, if you aren't already:

1) The ContextInterceptor AutoSetup (in server.xml) will automatically create a context for
web applications placed in the webapps subdirectory.  Otherwise you must add the context in
the server.xml file.

2) The tomcat-apache.conf file is written by the ApacheConfig class which is called PRIOR
to the execution of AutoSetup.  Thus, "auto-setup" contexts won't appear in the tomcat-apache.conf
file. (This has been fixed in Tomcat 3.2)

3) All, of the web applications that come with Tomcat conveniently have a context defined
in the server.xml, so the AutoSetup problem isn't an issue with them.

If it works in Tomcat but not from Apache, then the problem is likely to be in the tomcat-apache.conf
file, or whichever file you are using.  Not adding the context to server.xml is an easy way
to create the symptom you are seeing.

Hope this helps.


-----Original Message-----
From: Diego Doval []
Sent: Wednesday, July 05, 2000 6:31 PM
Subject: RE: Win2K Issue?

Hi Tim,

	we have been using Apache+Tomcat on W2K Server for about 2 months without
problems, with multiple webapps... it sounds like there is a problem in the
connector configuration to Tomcat from Apache...


> -----Original Message-----
> From: Tim Willis []
> Sent: Wednesday, July 05, 2000 3:10 PM
> To: Tomcat-List
> Subject: Win2K Issue?
> We recently set up Apache+Tomcat on a Win2k machine, and everything has
> seemed to run smoothly until today.
> The issue comes when we attempt to create an app directory structure.
> Everything, to my knowledge is set up correctly,
> webapps/myApp/WEB-INF/classes with the web.xml under the WEB-INF folder.
> Also, myApp is mounted correctly in the server.xml.
> The strange thing is this, all the examples work, but myApp doesn't unless
> we specify the 8080 port.  The only variable that is different
> from all the
> other times we've set up Apache+Tomcat, is that it is on Win2k..
> could this
> be the issue?
> We've used the exact same structureas we did on our WinNT machines, but
> Tomcat just seems to be ignoring the web.xml for myApp.
> Tim Willis
> IS Technician
> Code Rite
> --------------------------------------------------------------------------
> To unsubscribe, email:
> For additional commmands, email:

To unsubscribe, email:
For additional commmands, email:

View raw message