Re: Changing ROOT context

2007-09-20 Thread Waseem Azhar
Sorry I overlooked some previous conversation. On 9/18/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Waseem Azhar [mailto:[EMAIL PROTECTED] Subject: Re: Changing ROOT context Just open your server.xml add line Context path= docBase=your-app-name debug=99 reloadable=true

Re: Changing ROOT context

2007-09-18 Thread Waseem Azhar
will... Somehow it keeps looking for the ROOT dir. How can I change ROOT to myroot, and let http://localhost:8080/test.txt be the url? Resources [1] http://tomcat.apache.org/tomcat-6.0-doc/config/context.html -- View this message in context: http://www.nabble.com/Changing-ROOT-context

RE: Changing ROOT context

2007-09-18 Thread Caldarale, Charles R
From: Waseem Azhar [mailto:[EMAIL PROTECTED] Subject: Re: Changing ROOT context Just open your server.xml add line Context path= docBase=your-app-name debug=99 reloadable=true/ Please read the doc before responding. Putting Context elements in server.xml has been strongly discouraged

Changing ROOT context

2007-09-16 Thread FastGorilla
in context: http://www.nabble.com/Changing-ROOT-context-tf4461140.html#a12721557 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

Re: Changing ROOT context

2007-09-16 Thread David Smith
Have you thought about renaming $CATALINA_HOME/webapps/myroot to $CATALINA_HOME/webapps/ROOT ? The servlet spec is very clear that the ROOT webapp is a special webapp accepting all requests that do not match any other web application context. --David FastGorilla wrote: Hi, I have a

Re: Changing ROOT context

2007-09-16 Thread Filip Hanik - Dev Lists
have you tried to create a file called ROOT.xml in conf/Catalina/localhost containing your Context tag? (of course, remove webapps/ROOT first) Filip FastGorilla wrote: Hi, I have a problem with changing the default ROOT context to something else (myroot). Specs -Windows Vista

RE: Changing ROOT context

2007-09-16 Thread Caldarale, Charles R
From: FastGorilla [mailto:[EMAIL PROTECTED] Subject: Changing ROOT context How can I change ROOT to myroot, and let http://localhost:8080/test.txt be the url? You can't - the default context must be named ROOT. Just rename your webapp, as others have suggested. - Chuck

Re: Changing ROOT context

2007-09-16 Thread StrongGorilla
-ROOT-context-tf4461140.html#a12724720 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

RE: Changing ROOT context

2007-09-16 Thread StrongGorilla
Strange that is it possible when I define to context in server.xml, but not possible when I define it in conf/catalina/localhost/ROOT.xml Caldarale, Charles R wrote: From: FastGorilla [mailto:[EMAIL PROTECTED] Subject: Changing ROOT context How can I change ROOT to myroot, and let

Re: Changing ROOT context

2007-09-16 Thread StrongGorilla
@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/Changing-ROOT-context-tf4461140.html#a12724882 Sent from the Tomcat - User mailing list archive at Nabble.com

RE: Changing ROOT context

2007-09-16 Thread Caldarale, Charles R
From: StrongGorilla [mailto:[EMAIL PROTECTED] Subject: RE: Changing ROOT context Strange that is it possible when I define to context in server.xml, but not possible when I define it in conf/catalina/localhost/ROOT.xml I suspect that the webapp was deployed twice, once as the default

RE: Changing ROOT context

2007-09-16 Thread Caldarale, Charles R
From: StrongGorilla [mailto:[EMAIL PROTECTED] Subject: Re: Changing ROOT context I downloaded the Servlet Spec 2.5 pdf, but it says nothing about ROOT. Correct; the name ROOT is Tomcat's way of denoting the default context, replacing the older path= mechanism. - Chuck