I put a web.xml file in there, still not autodeploying The autodeploy is something that runs in the background, correct? Should just be able to drop it down, and away it goes when it hits that deploy cycle?
-----Original Message----- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 12:31 PM To: Tomcat Users List Subject: Re: Loading context No, that is the whole point of auto-deploy...you can deploy when Tomcat is running. There are various ways to do this, as outlined in the docs, not to mention the Tomcat manager application. As I read the docs, if you have a directory within appBase that has a valid directory structure (WEB-INF, WEB-INF/web.xml, etc.) then that Context will be available to Tomcat without restarting. If I'm wrong, someone please correct me. If I'm right, and it isn't working (but "isn't working" is verified), then you should file a bug. Lately, I've been using WAR files, and they deploy just fine without restarting Tomcat. YMMV. John On Mon, 21 Jul 2003 12:26:39 -0400, Luc Foisy <[EMAIL PROTECTED] magic.com> wrote: > Ok. > When I restart the tomcat server, it will deploy an empty directory > And it will deploy contexts that do not have a web.xml file > > Is this a definate need for the autodeploy function to work? > I know my version of tomcat has the autodeploy, since it has its value > set in conf/server.xml, so that can't be it > Does there need to be an entry for this new context in the server.xml for > the autodeploy function to work? > > -----Original Message----- > From: John Turner [mailto:[EMAIL PROTECTED] > Sent: Monday, July 21, 2003 12:17 PM > To: Tomcat Users List > Subject: Re: Loading context > > > > There should be one, as explained in the docs. > > John > > > On Mon, 21 Jul 2003 12:03:42 -0400, Luc Foisy <[EMAIL PROTECTED] > magic.com> wrote: > >> no >> >> -----Original Message----- >> From: John Turner [mailto:[EMAIL PROTECTED] >> Sent: Monday, July 21, 2003 11:55 AM >> To: Tomcat Users List >> Subject: Re: Loading context >> >> >> >> There's no web.xml file? >> >> John >> >> On Mon, 21 Jul 2003 11:40:29 -0400, Luc Foisy <[EMAIL PROTECTED] >> magic.com> wrote: >> >>> I created a directory in webapps >>> webapps/portal >>> This directory contains some jsp's >>> There is also webapp/portal/WEB-INF directory ( empty ) >>> All files and directories in this "context" are owned by the tomcat >>> user ( same as the other contexts this tomcat server is running ) >>> >>> Should that work or not? >>> >>> -----Original Message----- >>> From: John Turner [mailto:[EMAIL PROTECTED] >>> Sent: Monday, July 21, 2003 11:36 AM >>> To: Tomcat Users List >>> Subject: Re: Loading context >>> >>> >>> >>> What do you mean, exactly, by "I placed a context directory into >>> webapps". You just created the directory? Is there a valid structure >>> there (WEB-INF, etc)? >>> >>> John >>> >>> On Mon, 21 Jul 2003 11:23:13 -0400, Luc Foisy <[EMAIL PROTECTED] >>> magic.com> wrote: >>> >>>> >>>> autodeploy=true ( the default ) >>>> I placed a context directory into webapps and it is not autodeploying >>>> Does it only auto deploy if the context is packed as .war? >>>> >>>> -----Original Message----- >>>> From: John Turner [mailto:[EMAIL PROTECTED] >>>> Sent: Monday, July 21, 2003 11:04 AM >>>> To: Tomcat Users List >>>> Subject: Re: Loading context >>>> >>>> >>>> >>>> See Auto Deploy: >>>> >>>> http://jakarta.apache.org/tomcat/tomcat-4.1- >>>> doc/config/host.html#Automatic%20Application%20Deployment >>>> >>>> John >>>> >>>> On Mon, 21 Jul 2003 10:58:41 -0400, Luc Foisy <[EMAIL PROTECTED] >>>> magic.com> wrote: >>>> >>>>> >>>>> How would I go about loading a new context so that it is live, >>>>> without restarting the tomcat server? >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> > > > -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
