RE: webapps ROOT folder significance
Hi Is there anymore background information you can offer on this? Cheers, Allistair. > -Original Message- > From: Remy Maucherat [mailto:[EMAIL PROTECTED] > Sent: 05 December 2004 10:35 > To: Tomcat Users List > Subject: Re: webapps ROOT folder significance > > > On Sat, 4 Dec 2004 19:32:13 -, Allistair Crossley > <[EMAIL PROTECTED]> wrote: > > lol, i wasn't having a dig Remy don't be so cynical, I am > just interested, and you didn't answer my question either ;) > I mean, it's not difficult of course to redeploy on another > server and rename the WAR, I don't think this is anthing > sinister at all, sorry you had to think that, I am merely > curious why this is now the case in 5.5, when afterall it > does tie a webapp's naming to Tomcat's way of doing things. > > I figured it would be better to have a deployer which worked :) > > -- > x > Rémy Maucherat > Developer & Consultant > JBoss Group (Europe) SàRL > x > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --- QAS Ltd. Developers of QuickAddress Software http://www.qas.com";>www.qas.com Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: webapps ROOT folder significance
On Sat, 4 Dec 2004 19:32:13 -, Allistair Crossley <[EMAIL PROTECTED]> wrote: > lol, i wasn't having a dig Remy don't be so cynical, I am just interested, > and you didn't answer my question either ;) I mean, it's not difficult of > course to redeploy on another server and rename the WAR, I don't think this > is anthing sinister at all, sorry you had to think that, I am merely curious > why this is now the case in 5.5, when afterall it does tie a webapp's naming > to Tomcat's way of doing things. I figured it would be better to have a deployer which worked :) -- x Rémy Maucherat Developer & Consultant JBoss Group (Europe) SàRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: webapps ROOT folder significance
What Remy means is that you need to *create* a new file called ROOT.xml and place it in tomcat/conf/Catalina/localhost (it's not there by default) In that file, add Also check out how you can further configure this Context at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html E.g or even nested elements inside -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Sat 04/12/2004 19:20 To: Tomcat Users List Cc: Subject: Re: webapps ROOT folder significance At 09:46 AM 12/4/2004 -0800, you wrote: >Remy you really confused me. Can you elaborate a little more please ? > >What root.xml file in webapps\ROOT folder ? > >or jakarta-tomcat-5.5.3\conf\Catalina\localhost folder ? > >Do you mean a context.xml file in the catalnia\locahost folder ? > Yep. But make sure the file name is ROOT.xml, not root.xml. Jake >Please clarify. > >-Narahari > > >Remy Maucherat <[EMAIL PROTECTED]> wrote: >On Sat, 4 Dec 2004 16:25:59 -, Allistair Crossley >wrote: >> In versions prior to 5.5, you could make your own webapp the root context >by using an empty path attribute on the Context for your web application. >However, in 5.5 you cannot do this and *must* use the ROOT folder for your >web application *if* you want the web application accessible from >http://server:8080 >> >> I would be interested also to hear from the dev team, why a user cannot >package a web application with a webapp folder they desire and deploy this >as root. Afterall, is forcing the webapp folder name not binding the user to >Tomcat? > >Yes, this is all part of a grand plan to tie users to Tomcat, and take >over the world. Call Austin for help, it's the only hope for mankind. > >Actual solution: write a ROOT.xml file pointing to whatever docBase >you want for your webapp (outside of the host appBase), like: > > >-- >x >RÃmy Maucherat >Developer & Consultant >JBoss Group (Europe) SÃRL >x > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > >- >Do you Yahoo!? > All your favorites on one personal page  Try My Yahoo! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- QAS Ltd. Developers of QuickAddress Software http://www.qas.com";>www.qas.com Registered in England: No 2582055 Registered in Australia: No 082 851 474 ---
RE: webapps ROOT folder significance
lol, i wasn't having a dig Remy don't be so cynical, I am just interested, and you didn't answer my question either ;) I mean, it's not difficult of course to redeploy on another server and rename the WAR, I don't think this is anthing sinister at all, sorry you had to think that, I am merely curious why this is now the case in 5.5, when afterall it does tie a webapp's naming to Tomcat's way of doing things. Cheers, Allistair -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: Sat 04/12/2004 16:52 To: Tomcat Users List Cc: Subject: Re: webapps ROOT folder significance On Sat, 4 Dec 2004 16:25:59 -, Allistair Crossley <[EMAIL PROTECTED]> wrote: > In versions prior to 5.5, you could make your own webapp the root context by using an empty path attribute on the Context for your web application. However, in 5.5 you cannot do this and *must* use the ROOT folder for your web application *if* you want the web application accessible from http://server:8080 > > I would be interested also to hear from the dev team, why a user cannot package a web application with a webapp folder they desire and deploy this as root. Afterall, is forcing the webapp folder name not binding the user to Tomcat? Yes, this is all part of a grand plan to tie users to Tomcat, and take over the world. Call Austin for help, it's the only hope for mankind. Actual solution: write a ROOT.xml file pointing to whatever docBase you want for your webapp (outside of the host appBase), like: -- x RÃmy Maucherat Developer & Consultant JBoss Group (Europe) SÃRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- QAS Ltd. Developers of QuickAddress Software http://www.qas.com";>www.qas.com Registered in England: No 2582055 Registered in Australia: No 082 851 474 ---
Re: webapps ROOT folder significance
At 09:46 AM 12/4/2004 -0800, you wrote: >Remy you really confused me. Can you elaborate a little more please ? > >What root.xml file in webapps\ROOT folder ? > >or jakarta-tomcat-5.5.3\conf\Catalina\localhost folder ? > >Do you mean a context.xml file in the catalnia\locahost folder ? > Yep. But make sure the file name is ROOT.xml, not root.xml. Jake >Please clarify. > >-Narahari > > >Remy Maucherat <[EMAIL PROTECTED]> wrote: >On Sat, 4 Dec 2004 16:25:59 -, Allistair Crossley >wrote: >> In versions prior to 5.5, you could make your own webapp the root context >by using an empty path attribute on the Context for your web application. >However, in 5.5 you cannot do this and *must* use the ROOT folder for your >web application *if* you want the web application accessible from >http://server:8080 >> >> I would be interested also to hear from the dev team, why a user cannot >package a web application with a webapp folder they desire and deploy this >as root. Afterall, is forcing the webapp folder name not binding the user to >Tomcat? > >Yes, this is all part of a grand plan to tie users to Tomcat, and take >over the world. Call Austin for help, it's the only hope for mankind. > >Actual solution: write a ROOT.xml file pointing to whatever docBase >you want for your webapp (outside of the host appBase), like: > > >-- >x >Rémy Maucherat >Developer & Consultant >JBoss Group (Europe) SàRL >x > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > >- >Do you Yahoo!? > All your favorites on one personal page Try My Yahoo! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: webapps ROOT folder significance
Remy you really confused me. Can you elaborate a little more please ? What root.xml file in webapps\ROOT folder ? or jakarta-tomcat-5.5.3\conf\Catalina\localhost folder ? Do you mean a context.xml file in the catalnia\locahost folder ? Please clarify. -Narahari Remy Maucherat <[EMAIL PROTECTED]> wrote: On Sat, 4 Dec 2004 16:25:59 -, Allistair Crossley wrote: > In versions prior to 5.5, you could make your own webapp the root context by > using an empty path attribute on the Context for your web application. > However, in 5.5 you cannot do this and *must* use the ROOT folder for your > web application *if* you want the web application accessible from > http://server:8080 > > I would be interested also to hear from the dev team, why a user cannot > package a web application with a webapp folder they desire and deploy this as > root. Afterall, is forcing the webapp folder name not binding the user to > Tomcat? Yes, this is all part of a grand plan to tie users to Tomcat, and take over the world. Call Austin for help, it's the only hope for mankind. Actual solution: write a ROOT.xml file pointing to whatever docBase you want for your webapp (outside of the host appBase), like: -- x Rémy Maucherat Developer & Consultant JBoss Group (Europe) SàRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? All your favorites on one personal page Try My Yahoo!
Re: webapps ROOT folder significance
On Sat, 4 Dec 2004 16:25:59 -, Allistair Crossley <[EMAIL PROTECTED]> wrote: > In versions prior to 5.5, you could make your own webapp the root context by > using an empty path attribute on the Context for your web application. > However, in 5.5 you cannot do this and *must* use the ROOT folder for your > web application *if* you want the web application accessible from > http://server:8080 > > I would be interested also to hear from the dev team, why a user cannot > package a web application with a webapp folder they desire and deploy this as > root. Afterall, is forcing the webapp folder name not binding the user to > Tomcat? Yes, this is all part of a grand plan to tie users to Tomcat, and take over the world. Call Austin for help, it's the only hope for mankind. Actual solution: write a ROOT.xml file pointing to whatever docBase you want for your webapp (outside of the host appBase), like: -- x Rémy Maucherat Developer & Consultant JBoss Group (Europe) SàRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: webapps ROOT folder significance
In versions prior to 5.5, you could make your own webapp the root context by using an empty path attribute on the Context for your web application. However, in 5.5 you cannot do this and *must* use the ROOT folder for your web application *if* you want the web application accessible from http://server:8080 I would be interested also to hear from the dev team, why a user cannot package a web application with a webapp folder they desire and deploy this as root. Afterall, is forcing the webapp folder name not binding the user to Tomcat? Allistair. -Original Message- From: Savitha 'n' Narahari [mailto:[EMAIL PROTECTED] Sent: Sat 04/12/2004 06:54 To: Tomcat Users List Cc: Subject: Re: webapps ROOT folder significance BTW, I am using Tomcat 5.5.3 with jdk 1.5 with jre 1.5 also. Regards, -Narahari --- Savitha 'n' Narahari <[EMAIL PROTECTED]> wrote: > Hello: > > What is the significance of TOMCAT webapps\ROOT folder ? > > I know it contains the startup page but which server.xml entry tells it to go to the ROOT folder > by default. > > I know that some Context entry has everything got to do with it but cannot put my finger on the > correct entry. > > There is not Context entry in my conf/server.xml file. I did not see a Defaultcontext either. > What am I missing ? > > I want to create my own startup page for http://localhost:8080 but could not find how. I DONT > WANT to replace the webapps/ROOT with my own folder. > > I want to be able to change it thru some setting where http://localhost:8080 points to > webapps/narahari folder. > > Thanks for your time and if this question has been answered please pardon me. > > Regards, > -Narahari > > > - > Do you Yahoo!? > All your favorites on one personal page â Try My Yahoo! __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- QAS Ltd. Developers of QuickAddress Software http://www.qas.com";>www.qas.com Registered in England: No 2582055 Registered in Australia: No 082 851 474 ---
Re: webapps ROOT folder significance
BTW, I am using Tomcat 5.5.3 with jdk 1.5 with jre 1.5 also. Regards, -Narahari --- Savitha 'n' Narahari <[EMAIL PROTECTED]> wrote: > Hello: > > What is the significance of TOMCAT webapps\ROOT folder ? > > I know it contains the startup page but which server.xml entry tells it to go > to the ROOT folder > by default. > > I know that some Context entry has everything got to do with it but cannot > put my finger on the > correct entry. > > There is not Context entry in my conf/server.xml file. I did not see a > Defaultcontext either. > What am I missing ? > > I want to create my own startup page for http://localhost:8080 but could not > find how. I DONT > WANT to replace the webapps/ROOT with my own folder. > > I want to be able to change it thru some setting where http://localhost:8080 > points to > webapps/narahari folder. > > Thanks for your time and if this question has been answered please pardon me. > > Regards, > -Narahari > > > - > Do you Yahoo!? > All your favorites on one personal page Try My Yahoo! __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
webapps ROOT folder significance
Hello: What is the significance of TOMCAT webapps\ROOT folder ? I know it contains the startup page but which server.xml entry tells it to go to the ROOT folder by default. I know that some Context entry has everything got to do with it but cannot put my finger on the correct entry. There is not Context entry in my conf/server.xml file. I did not see a Defaultcontext either. What am I missing ? I want to create my own startup page for http://localhost:8080 but could not find how. I DONT WANT to replace the webapps/ROOT with my own folder. I want to be able to change it thru some setting where http://localhost:8080 points to webapps/narahari folder. Thanks for your time and if this question has been answered please pardon me. Regards, -Narahari - Do you Yahoo!? All your favorites on one personal page Try My Yahoo!
RE: Webapps Root Folder
No worries. Recopied list in. Allistair > -Original Message- > From: Richard [mailto:[EMAIL PROTECTED] > Sent: 19 November 2004 10:34 > To: Allistair Crossley > Subject: Re: Webapps Root Folder > > > Thanks again it worked. > Richard > > > On Fri, 19 Nov 2004 18:30:19 +0800, Richard > <[EMAIL PROTECTED]> wrote: > > Thanks Allistair trying this right now. > > > > On Fri, 19 Nov 2004 10:23:04 -, Allistair Crossley > > > > > > <[EMAIL PROTECTED]> wrote: > > > actually the best way to do it is as follows: > > > > > > create a file in your tomcat/conf/Catalina/localhost > folder called mywebappname.xml and in there add > > > > > > reloadable="true"> > > > > > > Save that, restart Tomcat. > > > > > > > > > > > > Allistair > > > > > > > -Original Message- > > > > From: Richard [mailto:[EMAIL PROTECTED] > > > > Sent: 19 November 2004 10:15 > > > > To: Allistair Crossley > > > > Subject: Re: Webapps Root Folder > > > > > > > > > > > > Is this on the conf/server.xml > > > > > > > > > > > > On Fri, 19 Nov 2004 09:55:37 -, Allistair Crossley > > > > <[EMAIL PROTECTED]> wrote: > > > > > OK, you need to set your path attribute in the Context > > > > element to empty like this > > > > > > > > > > > > > > > > > > > > And delete the ROOT webapp. > > > > > > > > > > > > > > > > > > > > Allistair > > > > > > > > > > > -Original Message- > > > > > > From: Richard [mailto:[EMAIL PROTECTED] > > > > > > Sent: 19 November 2004 09:30 > > > > > > To: Allistair Crossley > > > > > > Subject: Re: Webapps Root Folder > > > > > > > > > > > > > > > > > > no problem. v5.0.27 > > > > > > > > > > > > > > > > > > On Fri, 19 Nov 2004 09:25:52 -, Allistair Crossley > > > > > > <[EMAIL PROTECTED]> wrote: > > > > > > > And sorry, which version are running of Tomcat? (it > > > > does matter ;) ) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -Original Message- > > > > > > > > From: Richard [mailto:[EMAIL PROTECTED] > > > > > > > > Sent: 19 November 2004 09:22 > > > > > > > > To: Allistair Crossley > > > > > > > > Subject: Re: Webapps Root Folder > > > > > > > > > > > > > > > > > > > > > > > > Hi Allistair, > > > > > > > > > > > > > > > > Nope I have set Tomcat to port 80. And yes this > is the only > > > > > > > > application. > > > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > > > > > On Fri, 19 Nov 2004 09:20:08 -, Allistair Crossley > > > > > > > > <[EMAIL PROTECTED]> wrote: > > > > > > > > > Yes you can ... are you using a web server in front of > > > > > > > > Tomcat or have you setup Tomcat to handle port > 80 directly? > > > > > > > > Do you have multiple web applications or is it > just this one? > > > > > > > > > > > > > > > > > > Allistair > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -Original Message- > > > > > > > > > > From: Richard [mailto:[EMAIL PROTECTED] > > > > > > > > > > Sent: 19 November 2004 06:22 > > > > > > > > > > To: [EMAIL PROTECTED] > > > > > > > > > > Subject: Webapps Root Folder > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hello Guys, > > > > > > > > > > > > > > > > > > > > I need to remove the webapp specific part / > names on my > > > > > > > > application. > > > > > > > > > > For example > > > > > > > > > > > > > > > > > > > > http://mydomain.com/mywebapp/index.jsp > > > > > > > > > > > > > > > > > > > > and > > > > > > > > > > > > > > > > > > > > http://mydomain.com/mywebapp/serverpages/add-record.rr > > > > > > > > > > > > > > > > > > I need the user to just see http://mydomain.com/ on > > > > > their browser. > > > > > > > > > > > > > > > > > > Can I just transfer the contents of my webapps/mywebapp to > > > > > > > > > webapps/ROOT folder? > > > > > > > > > > > > > > > > > > Please Help > > > > > > > > > Thanks > > > > > > > > > Richard > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > - > > > > > > > > > To unsubscribe, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > > > For additional commands, e-mail: > > > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- > > > > > > > > QAS Ltd. > > > > > > > > Developers of QuickAddress Software > > > > > > > > http://www.qas.com";>www.qas.com > > > > > > > > Registered in England: No 2582055 > > > > > > > > Registered in Australia: No 082 851 474 > > > > > > > > --- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Webapps Root Folder
Yes you can ... are you using a web server in front of Tomcat or have you setup Tomcat to handle port 80 directly? Do you have multiple web applications or is it just this one? Allistair > -Original Message- > From: Richard [mailto:[EMAIL PROTECTED] > Sent: 19 November 2004 06:22 > To: [EMAIL PROTECTED] > Subject: Webapps Root Folder > > > Hello Guys, > > I need to remove the webapp specific part / names on my application. > For example > > http://mydomain.com/mywebapp/index.jsp > > and > > http://mydomain.com/mywebapp/serverpages/add-record.rr > > I need the user to just see http://mydomain.com/ on their browser. > > Can I just transfer the contents of my webapps/mywebapp to > webapps/ROOT folder? > > Please Help > Thanks > Richard > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --- QAS Ltd. Developers of QuickAddress Software http://www.qas.com";>www.qas.com Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Webapps Root Folder
Hello Guys, I need to remove the webapp specific part / names on my application. For example http://mydomain.com/mywebapp/index.jsp and http://mydomain.com/mywebapp/serverpages/add-record.rr I need the user to just see http://mydomain.com/ on their browser. Can I just transfer the contents of my webapps/mywebapp to webapps/ROOT folder? Please Help Thanks Richard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]