Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 89981 invoked from network); 15 Aug 2000 19:07:10 -0000 Received: from adsl-63-207-22-118.dsl.snfc21.pacbell.net (HELO boing.corp.commonobject.com) (63.207.22.118) by locus.apache.org with SMTP; 15 Aug 2000 19:07:10 -0000 Received: from cypress.corp.commonobject.com (dhcp2-228.corp.commonobject.com [10.1.2.228]) by boing.corp.commonobject.com (8.10.1/8.10.1) with SMTP id e7FJ7Bf01504 for ; Tue, 15 Aug 2000 12:07:11 -0700 Message-ID: <021201c006ec$46413160$e402010a@corp.commonobject.com> From: "Kelly Wilson" To: References: <3999900E.8DF65437@tcd.ie> <01f201c006ea$72d2b7a0$e402010a@corp.commonobject.com> <39999271.DBAB8E8F@tcd.ie> Subject: Re: Restart tomcat when recompiling servlet Date: Tue, 15 Aug 2000 12:09:02 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hmmm... Tomcat does not include any of my WEB-INF/classes directories in the classpath automatically. Are you sure we're talking about the same "classpath" here? I'm referring to the CLASSPATH environment variable, not the directories specified in server.xml in which Tomcat looks for servlets. Somewhere in the documentation it explains that if a class is located in the classpath, the default Java class loader is used, which doesn't support automatic class reloading. Thus, it wouldn't make much sense for Tomcat to automatically add all those directories to the classpath, or automatic class loading wouldn't work. -- Kelly ----- Original Message ----- From: "Oscar Sanchez Vilar" To: Sent: Tuesday, August 15, 2000 11:56 AM Subject: Re: Restart tomcat when recompiling servlet > Hi, > > The servlet class file is in my Web-inf/classes directory (as it should be) > which is automatically included in the classpath by jakarta making it > available. Being there, I expected jakarta to reload it! > > Oscar > > Kelly Wilson wrote: > > > Is the servlet class in question in your classpath? If it is, it will not > > be automatically reloaded, regardless of whether or not "reloadable" is set > > to true. > > > > -- Kelly > > > > ----- Original Message ----- > > From: "Oscar Sanchez Vilar" > > To: > > Sent: Tuesday, August 15, 2000 11:46 AM > > Subject: Restart tomcat when recompiling servlet > > > > > Hello list > > > > > > I have a web application configured to be reloadable, but some times > > > when I rebuild the application and a servlet recompilation is involved, > > > the new version of the servlet is not instantiated, keeping the old one, > > > and then I have to stop jakarta, stop apache, and restart again. Is that > > > normal? > > > > > > Tanks, > > > > > > Oscar > > > > > > > > > >