Can I just follow up a point that was made earlier on as I am having a
similar issue:

I am using tomcat 4.1:
I have defaultContext and all works fine. 
If I try to add a context as below to server.xml on a fedora box:

if i do the same on a windows box, it works fine and the context works like
a dream.
The default web.xml looks fine (install default ) and there is nothing weird
in the app web.xml (it works fine with just the defaultContext on the linux
box). 

<Context docBase="NBDP" path="/NBDP" reloadable="true" />

Any advice appreciated,
Richard



Chris Riekenberg-2 wrote:
> 
> Hey,
> 
> I'm using Tomcat 5.5.12. If I created a context mapping in
> /conf/server.xml to cnetext /welcome.
> 
> <Context path="/welcome" docBase="StrutsDemo" />
> 
> If I do it like this, it works. But I read, that you should not
> insert a mapping in server.xml (bad style?) You should prefer
> to insert it into
> /conf/context.xml
> or
> \conf\Catalina\localhost\<ApplicationName>.xml
> 
> 
> In both I tried this one:
> "<Context path="/welcome" docBase="StrutsDemo">
> </Context>"
> 
> But it doesn't work. Did I do something wrong?
> 
> greetz
> Christian
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Context-does-not-work-tp14839818p15138139.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to