Still more, Re: This is weird (cross-posted to Tomcat and Debian Lists): Tomcat 8.5 is going to /var/lib/tomcat7/webapps/ROOT

2017-09-07 Thread James H. H. Lampert
I also stuck a similar named trivial static context into /var/lib/tomcat7/webapps (with a different directory name: "foobar" in Tomcat 8, "bozbar" in Tomcat 7). In theory, Tomcat 8.5 should be able to see the foobar context, but not the bozbar context; this is also true in practice. So it's

RE: More, Re: This is weird (cross-posted to Tomcat and Debian Lists): Tomcat 8.5 is going to /var/lib/tomcat7/webapps/ROOT

2017-09-07 Thread Caldarale, Charles R
> From: James H. H. Lampert [mailto:jam...@touchtonecorp.com] > Subject: More, Re: This is weird (cross-posted to Tomcat and Debian Lists): > Tomcat 8.5 is going to /var/lib/tomcat7/webapps/ROOT > If I remember right, Linux file systems can have not only symbolic links > to

More, Re: This is weird (cross-posted to Tomcat and Debian Lists): Tomcat 8.5 is going to /var/lib/tomcat7/webapps/ROOT

2017-09-07 Thread James H. H. Lampert
Just for grins, I put a trivial static context (nothing more than a directory containing a simple "index.html" file) into /var/lib/tomcat8/webapps. Tomcat 8.5 found it. So it's only the root context that's somehow getting redirected. But on the other hand, if I rename var

Re: This is weird (cross-posted to Tomcat and Debian Lists): Tomcat 8.5 is going to /var/lib/tomcat7/webapps/ROOT

2017-09-07 Thread James H. H. Lampert
Pete Helgren (on the Tomcat List) wrote: Longshotsomething in .profile of the user the Tomcat instance is running under? Neither the "tomcat7" nor "tomcat8" users have .profile files. This is interesting. I got rid of the Tomcat 8.5 catalina.out files on both boxes (the one where everythi

Re: This is weird (cross-posted to Tomcat and Debian Lists): Tomcat 8.5 is going to /var/lib/tomcat7/webapps/ROOT

2017-09-07 Thread Pete Helgren
server is going to /var/lib/tomcat7/webapps/ROOT when it should be going to /var/lib/tomcat8/webapps/ROOT. On the other box (Tomcat 8.5 installed on top of Tomcat 8.0, alongside Tomcat 7), the Tomcat 8.5 server is correctly finding /var/lib/tomcat8/webapps/ROOT. On both boxes, Tomcat 8.5 is

This is weird (cross-posted to Tomcat and Debian Lists): Tomcat 8.5 is going to /var/lib/tomcat7/webapps/ROOT

2017-09-07 Thread James H. H. Lampert
ow pulling the root context from Tomcat 7: the Tomcat 8.5 server is going to /var/lib/tomcat7/webapps/ROOT when it should be going to /var/lib/tomcat8/webapps/ROOT. On the other box (Tomcat 8.5 installed on top of Tomcat 8.0, alongside Tomcat 7), the Tomcat 8.5 server is correctly finding

Re: Trouble accessing content in webapps/ROOT

2010-04-16 Thread Pid *
ed? > > Thanks, - Dave > > > > Konstantin Kolinko wrote: >> >> 2010/4/15 laredotornado : >>> >>> Hi, >>> >>> I'm using Tomcat 6.0.26 with Apache 2.2 on Mac 10.6.3. I want to >>> use >>> http://localhost/ t

Re: Trouble accessing content in webapps/ROOT

2010-04-15 Thread laredotornado
>> http://localhost/ to access content in my $CATALINA_HOME/webapps/ROOT/ >> directory.  However, when I visit http://localhost/index.jsp, I just get >> the >> raw page with all the uncompiled, JSP code.  Below is the directive I'm >> using in my httpd.conf file.

Re: Trouble accessing content in webapps/ROOT

2010-04-15 Thread Konstantin Kolinko
2010/4/15 laredotornado : > > Hi, > > I'm using Tomcat 6.0.26 with Apache 2.2 on Mac 10.6.3.  I want to use > http://localhost/ to access content in my $CATALINA_HOME/webapps/ROOT/ > directory.  However, when I visit http://localhost/index.jsp, I just get the > raw pa

Trouble accessing content in webapps/ROOT

2010-04-15 Thread laredotornado
Hi, I'm using Tomcat 6.0.26 with Apache 2.2 on Mac 10.6.3. I want to use http://localhost/ to access content in my $CATALINA_HOME/webapps/ROOT/ directory. However, when I visit http://localhost/index.jsp, I just get the raw page with all the uncompiled, JSP code. Below is the directiv

Re: Using own index.html in $CATALINA_HOME/webapps/ROOT directory

2007-09-13 Thread jhayden
6.0\ > > 1. %CATALINA_HOME%/conf/web.xml > 2. %CATALINA_HOME%/webapps/ROOT/WEB-INF/web.xml > > I have Tomcat 6 installed, i tried to do that, and works for me, You > most comment web.xml in opction 1. and verify web.xml in option 2 for > . > > I got 404 e

Re: Using own index.html in $CATALINA_HOME/webapps/ROOT directory

2007-09-01 Thread Mark Thomas
jhayden wrote: >> Is this a clean install? >> >> Mark >> >> - > Yes. Brand new. > Without changing anything in ROOT, if I comment out the index.jsp from the > web.xml file it gives me a 404 Error. As soon as I un-comment the line i

Re: Using own index.html in $CATALINA_HOME/webapps/ROOT directory

2007-09-01 Thread jhayden
.jsp from the > web.xml file it gives me a 404 Error. As soon as I un-comment the line it > works fine. Therefore its only interested in using the index.jsp? > > -- View this message in context: http://www.nabble.com/Using-own-index.html-in-%24CATALINA_HOME-webapps-ROOT-directory-tf4359

Re: Using own index.html in $CATALINA_HOME/webapps/ROOT directory

2007-08-31 Thread Victor Lutin
Hi, Well, what web.xml file you modified? CATALINA_HOME = C:\Program Files\Apache Software Foundation\Tomcat 6.0\ 1. %CATALINA_HOME%/conf/web.xml 2. %CATALINA_HOME%/webapps/ROOT/WEB-INF/web.xml I have Tomcat 6 installed, i tried to do that, and works for me, You

Re: Using own index.html in $CATALINA_HOME/webapps/ROOT directory

2007-08-31 Thread Mark Thomas
jhayden wrote: > Tried that but still getting the error. > I only left the default index.html file there and it still gives me the 404 > Error. > It appears that it only wants to use the index.jsp file? The default welcome file list is index.html. index.htm, index.jsp. In that order. Is this a cl

Re: Using own index.html in $CATALINA_HOME/webapps/ROOT directory

2007-08-31 Thread jhayden
Tried that but still getting the error. I only left the default index.html file there and it still gives me the 404 Error. It appears that it only wants to use the index.jsp file? -- View this message in context: http://www.nabble.com/Using-own-index.html-in-%24CATALINA_HOME-webapps-ROOT

Re: Using own index.html in $CATALINA_HOME/webapps/ROOT directory

2007-08-31 Thread Mark Thomas
jhayden wrote: > I want to use the ROOT directory and force the index.html to be used. > All i get is a Error 404 message. Delete the contents of ROOT (jsps, WEB-INF, etc) apart from your files. You might need to reload the ROOT web application although I am fairly sure the default configuration

Using own index.html in $CATALINA_HOME/webapps/ROOT directory

2007-08-31 Thread jhayden
_HOME/webapps/ROOT/index.jsp" What I have attempted to do is place my own static html files in the C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\ROOT directory. Basically expecting my index.html to be displayed. However it only attempts to display the index.jsp page. I

When webapps/ROOT does not exist the status code is 400 instead of 404, why?

2007-03-07 Thread fredk2
st. Escape character is '^]'. GET /test HTTP/1.1 Host: localhost HTTP/1.1 404 /test Server: Apache-Coyote/1.1 Content-Type: text/html;charset=utf-8 Content-Length: 986 Date: Thu, 08 Mar 2007 00:48:46 GMT error html from tomcat -- View this message in context: http://www.nabble.c

Re: Is there a way to remap/replace webapps/ROOT?

2006-10-16 Thread Martin Gainty
cat Users List" Sent: Monday, October 16, 2006 2:37 PM Subject: RE: Is there a way to remap/replace webapps/ROOT? David, Thanks for the quick response. I've tried your recommendation, and it does remap the webapps/ROOT to whatever the name of the xml file is. However, if I rename it

RE: Is there a way to remap/replace webapps/ROOT?

2006-10-16 Thread Rizalino DeVilleres
Charles, I posted the previous post prematurely before I had a chance to read your recommendation... and it worked!!! Thanks a lot guys for all the help... I had to remove the appbase attribute within the Host element in the server.xml... Rizalino de Villeres

RE: Is there a way to remap/replace webapps/ROOT?

2006-10-16 Thread Caldarale, Charles R
> From: Rizalino DeVilleres [mailto:[EMAIL PROTECTED] > Subject: RE: Is there a way to remap/replace webapps/ROOT? > > server.xml > appBase="/path/to/public_html" deployOnStartup="true" This says your webapps will normally be deployed in /path/to

RE: Is there a way to remap/replace webapps/ROOT?

2006-10-16 Thread Rizalino DeVilleres
David, Thanks for the quick response. I've tried your recommendation, and it does remap the webapps/ROOT to whatever the name of the xml file is. However, if I rename it public_html.xml, it looks for "/path/to/public_html/public_html" instead of just /path/to/public_html. Here

RE: Is there a way to remap/replace webapps/ROOT?

2006-10-16 Thread Caldarale, Charles R
> From: David Smith [mailto:[EMAIL PROTECTED] > Subject: Re: Is there a way to remap/replace webapps/ROOT? > > Rename ROOT.xml in conf/Catalina/localhost to newContextName.xml. > Restart tomcat. Not sure that's what he's asking for. > Rizalino DeVilleres wrote

Re: Is there a way to remap/replace webapps/ROOT?

2006-10-16 Thread David Smith
I see the following documentation about defining the default Context and where to place them but still talks about the path webapps/ROOT. http://tomcat.apache.org/tomcat-5.5-doc/config/context.html http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/138259 We basically would like that

Is there a way to remap/replace webapps/ROOT?

2006-10-16 Thread Rizalino DeVilleres
path webapps/ROOT. http://tomcat.apache.org/tomcat-5.5-doc/config/context.html http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/138259 We basically would like that path to be just public_html without changing the path on the web server's docroot. Thanks, Rizalino de Villeres

Re: incorrect 400 return code if no webapps/ROOT

2006-03-08 Thread Mark Thomas
nord ehacedod wrote: > Thanks Chuck. > > Where does this rule come from? Logic (with a bit of help from the servlet spec) > It seems an odd requirement, especially since ROOT > isn't required to do anything except exist. With > 5.5.16 it can be an empty directory. If there is no root context, t

RE: incorrect 400 return code if no webapps/ROOT

2006-03-08 Thread nord ehacedod
Thanks Chuck. Where does this rule come from? It seems an odd requirement, especially since ROOT isn't required to do anything except exist. With 5.5.16 it can be an empty directory. -- nord __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the

RE: incorrect 400 return code if no webapps/ROOT

2006-03-08 Thread Caldarale, Charles R
> From: nord ehacedod [mailto:[EMAIL PROTECTED] > Subject: incorrect 400 return code if no webapps/ROOT > > Something unusual... > > If webapps/ROOT is not present tc returns: > HTTP/1.x 400 No Host matches server name ... If you have no webapps/ROOT (or webapps/ROOT.

incorrect 400 return code if no webapps/ROOT

2006-03-08 Thread nord ehacedod
Something unusual... If webapps/ROOT is not present tc returns: HTTP/1.x 400 No Host matches server name ... in response to requests for non-existant contexts (such as http://localhost:8080/foobar/). If webapps/ROOT/ exists a 404 is sent. Tested 5.5.15 and 5.5.16 on XP and Solaris. A bug

RE: webapps/ROOT

2006-02-06 Thread Joe McTigue
me is... Regards, Joseph P. McTigue CBC Innovis, CIA Department [EMAIL PROTECTED] (614) 538-6032 -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 12:11 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: webapps/ROOT > From

RE: webapps/ROOT

2006-02-06 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: webapps/ROOT > > a) what is the standard purpose and use of the > webapps/ROOT context It's the default application for the host. > b) why would someone want to deploy their app to this location So that

webapps/ROOT

2006-02-06 Thread [EMAIL PROTECTED]
Hello. I've encountered a web application, developed by someone else, that uses the webapps/ROOT directory for its own root directory. Can someone give me some info or opinions along the lines of the following three points: a) what is the standard purpose and use of the webapps