Redeploy a war file

2008-01-21 Thread Chris Riekenberg
Hello, I would like to redeploy my web application as war file, but if I export my project from Eclipse he couldn't overwrite the old version in folder webapps. I deployed the library for struts in my project and he couldn't delete this while tomcat is running. So what can I do to make a redep

RE: Context does not work

2008-01-15 Thread Chris Riekenberg
> Yes, it's very bad style - don't do it. Unless you need some special > settings for the attributes, you don't really need a > element at all. For your case just name your .war file (or the expanded > directory under webapps) "welcome" and you'll have what you want. > Hey Chuck, thanks for t

Re: Context does not work

2008-01-15 Thread Chris Riekenberg
> A second launch means a second set of servlet instances, second set of > resources, overall a higher memory footprint and they won't share data. > > Placing this stuff in server.xml does work, but if you want to change > the config you are required to bounce the tomcat service for changes to > ta

Re: Context does not work

2008-01-15 Thread Chris Riekenberg
> So you want you make your webapp to also respond at > http://[myServer:port]/welcome. You can achieve a second launch of your > webapp just by placing welcome.xml (w/ your Context config) in > [TomcatHome]/conf/Catalina/localhost. Just know this is a second > launch, not an alias to the first r

Re: Context does not work

2008-01-15 Thread Chris Riekenberg
na/localhost/welcome.xml. In that case your webapp will > respond to http://[myServer:port]/welcome/ So if a xml file exist in /conf/Catalina/localhost which is suitable for a webapps folder, he ignore a context within this file, but if the folder doesn't exist, he will use this context? Thank you

Context does not work

2008-01-15 Thread Chris Riekenberg
Hey, I'm using Tomcat 5.5.12. If I created a context mapping in /conf/server.xml to cnetext /welcome. 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\.xm