Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: 5.0.18: Windows XP Pro vs Windows 2000

Merrill Cornish

2004-01-24

Replies:

Remy,

>
> No, it does not. .xml files in the Host appBase will be ignored.

[Sigh...] I thought I had it. Checking back, I see that only the
balancer sample app has it context description file there.

>
> You need to put your Context elements in XML files next to the ones
> for the manager and admin, and it will work ok.

OK, I tried doing searches of the various *.xml files. Here's what I found:

balancer.xml is in:
    %CATALINA_HOME%\webapps\balancer
    %CATALINA_HOME\conf\Catalina\localhost

jsp-examples.xml is in:
    can't find it, but it got installed according to stdout.log

servlets-examples.xml is in:
    can't find it, but it got installed according to stdout.log

admin.xml is in:
    %CATALINA_HOME%\server\webapps\admin
    %CATALINA_HOME\conf\Catalina\localhost

manager.xml is in:
    %CATALINA_HOME%\server\webapps\manager
    %CATALINA_HOME\conf\Catalina\localhost
   
The %CATALINA_HOME\conf\Catalina\localhost location is mentioned in the
Tomcat docs, but I thought the server.xml location was mentioned also.
To top it all off, the book TOMCAT, THE DEFINITIVE GUIDE (the only
O'Reilly book I've ever been disappointed in) says the *.xml context
descriptions (or "fragments", is it calls them) are placed in
%CATALINA_HOME%\webapps directory.

[signed]
Confused in Austin



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.