tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <Allistair.Cross...@QAS.com>
Subject RE: Tomcat 5.5.4 / Context not responding - Test example webapp
Date Fri, 12 Nov 2004 13:06:30 GMT
OK, so how would I make this test web application the root application. How is the root web
application determined when there are several web applications that use the .xml configuration
method?

I have removed path="" from the test.xml but the result is the same, blank page. Am I supposed
to call the root application ROOT?

Thanks for your time :) Allistair.

> -----Original Message-----
> From: Remy Maucherat [mailto:remy.maucherat@gmail.com]
> Sent: 12 November 2004 12:32
> To: Tomcat Users List
> Subject: Re: Tomcat 5.5.4 / Context not responding - Test 
> example webapp
> 
> 
> On Fri, 12 Nov 2004 12:10:09 -0000, Allistair Crossley
> <allistair.crossley@qas.com> wrote:
> > To demonstrate this problem, I have reduced it to a small web app.
> > 
> > 1. Install 5.5.4 and delete tomcat/webapps/ROOT
> > 2. Create file test.xml and save it to 
> tomcat/conf/Catalina/localhost with the content
> > 
> > <Context path="" docBase="/test"></Context>
> > 
> > 3. Create folder tomcat/webapps/test
> > 4. Create in that folder (3) file called test.jsp with content
> > 
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> > <html>
> > <head>
> > <title>Hello 5.5.4</title>
> > <meta http-equiv="Content-Type" content="text/html; 
> charset=iso-8859-1">
> > </head>
> > 
> > <body>
> >         <%= "Hello 5.5.4" %>
> > </body>
> > </html>
> > 
> > 5. Start tomcat
> > 6. Request http://yourserver:8080/test/test.jsp
> 
> You mean http://yourserver:8080/test.jsp, I suppose.
> 
> > You should get a blank page. Not good!
> 
> ... but expected.
> "path" is no longer an allowed attribute of Context when using a
> context file (in server.xml, it is of course still allowed).
> 
> -- 
> xxxxxxxxxxxxxxxxxxxxxxxxx
> Rémy Maucherat
> Developer & Consultant
> JBoss Group (Europe) SàRL
> xxxxxxxxxxxxxxxxxxxxxxxxx
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com">www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message