jakarta-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Dunne <richarddunne1...@yahoo.com>
Subject Re: tomcat config
Date Fri, 16 Mar 2007 18:05:22 GMT
Re-installed tomcat again and started the server, typed http://localhost:8080, everything ok.
 For some reason the server is not processing the jsp file within the context docBase folder.
 After moving the file to the root of tomcat I could view .html files only, not jsp.  

Richard.


----- Original Message ----
From: Will Glass-Husain <wglass@forio.com>
To: Jakarta General List <general@jakarta.apache.org>
Sent: Friday, March 16, 2007 1:16:20 PM
Subject: Re: tomcat config


That's the "master" context.xml which defines general settings for all
webapps.

When I set up a new webapp, I make a file called "xx.xml" where xx is the
name of the webapp, stick the context xml for that webapp in there, then put
it in /usr/tomcat/conf/Catalina/localhost/.

It's an alternative to the old method of directly editing server.xml.  See
"A word on Contexts"
http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html

Always, always restart Tomcat after you edit this info.

WILL

On 3/16/07, Richard Dunne <richarddunne1971@yahoo.com> wrote:
>
> Context.xml is in the same directory as server.xml
> c:\ApacheTomcat\apache-tomcat-6.0.10\conf
> Never loolked at that file before it has
> <WatchedResource>WEB-INF/web.xml</WatchedResource>
> <Manager pathname="" />
>
> Richard
>
> ----- Original Message ----
> From: Will Glass-Husain <wglass@forio.com>
> To: Jakarta General List <general@jakarta.apache.org>
> Sent: Friday, March 16, 2007 3:37:51 AM
> Subject: Re: tomcat config
>
>
> Where is the context XML.  Is it in a file named "Projects.xml" in the
> conf/Catalina/localhost directory?
>
> WILL
>
> On 3/15/07, Richard Dunne <richarddunne1971@yahoo.com> wrote:
> >
> > Appreciate the idea, no joy though.
> >
> >
> > ----- Original Message ----
> > From: David Fisher <dfisher@jmlafferty.com>
> > To: Jakarta General List <general@jakarta.apache.org>
> > Sent: Thursday, March 15, 2007 9:48:49 PM
> > Subject: Re: tomcat config
> >
> >
> > Try <Context path="Projects" docBase="c:\Projects" debug="0"/>
> >
> > Make sure that <Context .../> is inside of <Host name="localhost"
> > debug="0" appBase="webapps" ... </Host>
> >
> > Also, at least this is so for tomcat 4.1.31//
> >
> > Good luck/
> >
> > Dave
> >
> >
> > On Mar 15, 2007, at 2:19 PM, Richard Dunne wrote:
> >
> > > After subscribing to apache mailing list, I tried mailing
> > > users@tomcat.apache.org and got a delivery failure message.  I have
> > > a query re: tomcat configuration.  If this is not the correct list,
> > > apologies, perhaps someone can point me in the right direction.  I
> > > have installed tomcat 5 on my machine and got the page which states
> > > that "if you are seeing this page then your installation of apache
> > > tomcat was successful".  On that assumption I tried to access a
> > > file called index.jsp in a folder called Projects located at c:\  I
> > > entered the following line in server.xml:   <Context path="/
> > > Projects" docBase="c:\Projects" debug="0"/>
> > > I typed http://localhost:8080/Projects hoping to see index.jsp, but
> > > got a http error instead.
> > >
> > > Any ideas what may be causing the error?
> > >
> > > Richard.
> > >
> > >
> > >
> > > ______________________________________________________________________
> > > ______________
> > > Be a PS3 game guru.
> > > Get your game face on with the latest PS3 news and previews at
> > > Yahoo! Games.
> > > http://videogames.yahoo.com/platform?platform=120121
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: general-help@jakarta.apache.org
> >
> >
> >
> >
> >
> ____________________________________________________________________________________
> > Food fight? Enjoy some healthy debate
> > in the Yahoo! Answers Food & Drink Q&A.
> > http://answers.yahoo.com/dir/?link=list&sid=396545367
>
>
>
>
> --
> Forio Business Simulations
>
> Will Glass-Husain
> 415 440-7500x89
> wglass@forio.com
> www.forio.com
>
>
>
>
> ____________________________________________________________________________________
> Now that's room service!  Choose from over 150,000 hotels
> in 45,000 destinations on Yahoo! Travel to find your fit.
> http://farechase.yahoo.com/promo-generic-14795097




-- 
Forio Business Simulations

Will Glass-Husain
415 440-7500x89
wglass@forio.com
www.forio.com


 
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message