Hi -
You're welcome.
web.xml belongs in WEB-INF, not WEB-INF/classes.
John
On Fri, 18 Jul 2003 18:51:01 +0200, Fischer, Ilona <[EMAIL PROTECTED]> wrote:
John and Ralph: thanks for help! :o)
aliases: in principle-> it works :o) but there was an error on tomcat- start:
"Missing application web.xml, using defaults only". Our application web.xml
is located in %docroot%/WEB-INF/classes. Why Tomcat dosn't find them if i
call the alias? The Rest of the application works fine.....
JkMount: now i understand the whole thing is a little bit better. It's a pitty that the documentation is so "sparing of words"
Greeting :o) Ilona
-----Urspr�ngliche Nachricht----- Von: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 18. Juli 2003 17:26 An: Tomcat Users List Betreff: RE: 2 newbie questions: Apache-tomcat
If you go this way you you have to be carefull with the alias directive. (If you let tomcat serve everything,
you don't need the alias, but that's quite uncommon)
If you have static resources that are directly delivered through apache, apache has to alias just this resources, not the the ones that are delivered through tomcat.
(Otherwise tomcat cant match the url against /help.
Another thing is, that you create a new context for the alias. If help is just one part of a webapp this can have some impact on the application.
Another option is to use the alias in apache as it is, and setup tomcat to match the alias url.
<Context path="/other">
and have a file like <AppRoot>/other/directory/help/index.html
Or <Context path=""> and have a file like <AppRoot>/<webapp>/other/directory/help/index.jsp
-----Original Message----- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 4:53 PM To: Tomcat Users List Subject: Re: 2 newbie questions: Apache-tomcat
in server.xml:
<Context path="/help" docBase="/other/directory/help"> </Context>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
