Tomcat 5.0 : howto make a webapp the ROOT webapp the proper way

2005-11-08 Thread Francis Galiegue
Hello everyone, We have a problem here. Tomcat 5.0.x (x being 27 or 30), packages from jpackage, BEA 1.4.2 JVM used. Prior to today, the relevant parts (I think so, at least, not being at all an expert with Tomcat) of the /etc/tomcat5/server.xml were as such: Host name=localhost debug=0

Re: Tomcat 5.0 : howto make a webapp the ROOT webapp the proper way

2005-11-08 Thread sudip shrestha
I had the similar problem before.. http://www.mail-archive.com/users@tomcat.apache.org/msg00057.html Just remove the context elment from the server.xml file. Tomcat 5 docs don't recommend putting context in server.xml. If you do so, it will create webAppName.xml file in your

Re: Tomcat 5.0 : howto make a webapp the ROOT webapp the proper way

2005-11-08 Thread David Smith
To answer the question, yes. Any webapp in the webapps folder named ROOT will become the root app. --David Caldarale, Charles R wrote: From: Francis Galiegue [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 5.0 : howto make a webapp the ROOT webapp the proper way Will renaming the directory

Re: Tomcat 5.0 : howto make a webapp the ROOT webapp the proper way

2005-11-08 Thread MC Moisei
That implies that I can have more than one application in ROOT folder...that would require some URL filtering in each app. Also if I look under webapps/ROOT folder there is a WEB-INF in there... Are you basically saying that instead of naming my application someapp I'd have to name it ROOT ?

Re: Tomcat 5.0 : howto make a webapp the ROOT webapp the proper way

2005-11-08 Thread Paul Singleton
Francis Galiegue wrote: ... Host name=localhost debug=0 appBase=external-webapps autoDeploy=false deployXML=false deployOnStartup=true unpackWARs=true xmlValidation=false xmlNamespaceAware=false [...] Context docBase=/var/lib/tomcat5/webapps/one2team path= id=o2t Valve

Re: Tomcat 5.0 : howto make a webapp the ROOT webapp the proper way

2005-11-08 Thread Michael Neel
Not tried this myself, but it sounds like a *nix system (/etc)? Have you tried making ROOT a symlink to your app? On 11/8/05, Francis Galiegue [EMAIL PROTECTED] wrote: Hello everyone, We have a problem here. Tomcat 5.0.x (x being 27 or 30), packages from jpackage, BEA 1.4.2 JVM used. Prior

Re: Tomcat 5.0 : howto make a webapp the ROOT webapp the proper way

2005-11-08 Thread David Smith
No. Only one. I was saying that any one webapp named ROOT could be in that role. I'll be more specific next time. If you want to name it something else and avoid the double initialization, you'll have to store it outside of the webapps folder and write a custom ROOT.xml file in