On Mon, 12 Jul 2004 18:05:21 +0900 I wrote
> In the deployer how-to at
>
> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html
>
> the docs state that, for eploying on startup, at least, "... a matching
> Context XML descriptor will be created unless one exists already."
>
> Under the description of context descriptors, it seems to say the files
> will be in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory.
Okay, I think I can see that this is basically an undesired result under
TC 5. (Although I kinda wish I knew why my setup is doing what is
apparently the right thing after all.)
> I dropped the xindice.war from the xml projects into the webapps
> directory, and I can access it. (I did this twice, actually. First time
> I was running Java 1.5 beta, and I dropped it live. This time it's Java
> 1.4 and I dropped it in while TC was down.) Xindice is expanded
> automagically in the webapps directory, and I can access it, do queries,
> etc.
>
> I look in my $CATALINA_HOME/conf directory, and all I see is
>
> Catalina\localhost\{ admin.xml, balancer.xml, manager.xml }
>
> ...
I finally found a place where it says the app\WEB-INF\context.xml file
is the one _I_ am supposed to write for the app if it needs one.
But it looks like the context elements can also go in
app\WEB-INF/web.xml, and the documentation seems to mention web.xml more
than context.xml, which is a little confusing. (If I were confident of
my interpretation, I'd offer some diffs.)
I thought I saw mention of the default context specification buried
somewhere in a source directory. Wish I could find it, although it may
not turn out to be useful as an example of what should go in it.
--
Joel <[EMAIL PROTECTED]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]