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 > docBase="y

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 docBase="your-app-name" debug="99" reloadable="true"/> Please read the doc before responding. Putting elements in server.

Re: Changing ROOT context

2007-09-18 Thread Waseem Azhar
Just open your server.xml add line in the next line of your host configuration example : Thats it! you would found your application the default app , you can access it as http://your-host-name/ Cheers. -Azhar On 9/16/07, FastGorilla <[EMAIL PROTECTED]> wrote: > > > Hi, > > I have a prob

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=

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

Re: Changing ROOT context

2007-09-16 Thread StrongGorilla
Hi David, I downloaded the Servlet Spec 2.5 pdf, but it says nothing about "ROOT". http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html David Smith-2 wrote: > > Have you thought about renaming $CATALINA_HOME/webapps/myroot to > $CATALINA_HOME/webapps/ROOT ? The servlet spec i

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

Re: Changing ROOT context

2007-09-16 Thread StrongGorilla
Yes, I have tried $CATALINA_HOME/conf/catalina/localhost/ROOT.xml Filip Hanik - Dev Lists wrote: > > have you tried to create a file called ROOT.xml in > conf/Catalina/localhost containing your tag? > (of course, remove webapps/ROOT first) > Filip > > FastGorilla wrote: >> Hi, >> >> I have

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 THIS COMMU

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 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 -Tomcat 6.0.

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 problem