tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jolet, John" <John.Jo...@medic.com>
Subject RE: having to restart tomcat for new classes -More
Date Thu, 10 Jan 2002 14:03:11 GMT
interesting point...i'm also using the 1.4 beta jdk....

-----Original Message-----
From: Jiger Java [mailto:jigerjava@hotmail.com]
Sent: Wednesday, January 09, 2002 11:26 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: having to restart tomcat for new classes -More


Hi Craig,
          I just wanted to ask why do u have to restart the entire app when 
even one class changes.
   You must have seen my past 3-4 days mails & am to facing a similar 
problem, I am not sure if this is a JDK 1.4 beta3 related problem but 
whenever I recompile any of my class which triggers context restart because 
of which then entire tomcat becomes unstable & I start getting funny error 
like
java.lang.NoClassDefFound : java/lang/ClassCastException

or linkage error & what not. I am FORCED to restart my tomcat server as u 
will agree this is not possible on a production server.

Can u just explain how can we prevent classloading errors & points to keep 
in mind so that even if entire Context is being restarted does not affect 
our app.

Thanks & Awaiting your reply,
Jiger



>From: "Craig R. McClanahan" <craigmcc@apache.org>
>Reply-To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
>To: Tomcat Users List <tomcat-user@jakarta.apache.org>
>Subject: RE: having to restart tomcat for new classes
>Date: Wed, 9 Jan 2002 12:22:01 -0800 (PST)
>MIME-Version: 1.0
>Received: from [192.18.49.131] by hotmail.com (3.2) with ESMTP id 
>MHotMailBE05F18D0055400438E0C01231839CB10; Wed, 09 Jan 2002 12:22:38 -0800
>Received: (qmail 3170 invoked by uid 97); 9 Jan 2002 20:22:06 -0000
>Received: (qmail 3159 invoked from network); 9 Jan 2002 20:22:06 -0000
>>From tomcat-user-return-6986-jigerjava Wed, 09 Jan 2002 12:23:48 -0800
>Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm
>Precedence: bulk
>List-Unsubscribe: <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>List-Subscribe: <mailto:tomcat-user-subscribe@jakarta.apache.org>
>List-Help: <mailto:tomcat-user-help@jakarta.apache.org>
>List-Post: <mailto:tomcat-user@jakarta.apache.org>
>List-Id: "Tomcat Users List" <tomcat-user.jakarta.apache.org>
>Delivered-To: mailing list tomcat-user@jakarta.apache.org
>In-Reply-To: <A4437F9E534DD511A2ED00B0D0AA4C568A0333@austtx1.medic.com>
>Message-ID: <20020109122057.T97765-100000@icarus.apache.org>
>X-Spam-Rating: localhost 1.6.2 0/1000/N
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>
>
>
>On Wed, 9 Jan 2002, Jolet, John wrote:
>
> > Date: Wed, 9 Jan 2002 15:04:31 -0500
> > From: "Jolet, John" <John.Jolet@medic.com>
> > Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> > To: 'Tomcat Users List' <tomcat-user@jakarta.apache.org>
> > Subject: RE: having to restart tomcat for new classes
> >
> > cool, but that still begs the question....do YOU have to do "something" 
>to
> > make new classes in an existing context "go"?
> >
>
>Yes ... you have to reload the application (either automatically or
>manually via the Manager app).  Restarting the entire Tomcat server also
>works, because it implicitly restarts all the apps.
>
>Craig
>
>
> > -----Original Message-----
> > From: Craig R. McClanahan [mailto:craigmcc@apache.org]
> > Sent: Wednesday, January 09, 2002 1:55 PM
> > To: Tomcat Users List
> > Subject: RE: having to restart tomcat for new classes
> >
> >
> >
> >
> > On Wed, 9 Jan 2002, Jolet, John wrote:
> >
> > > Date: Wed, 9 Jan 2002 13:20:28 -0500
> > > From: "Jolet, John" <John.Jolet@medic.com>
> > > Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> > > To: 'Tomcat Users List' <tomcat-user@jakarta.apache.org>
> > > Subject: RE: having to restart tomcat for new classes
> > >
> > > what manager?
> > >
> >
> > http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html
> >
> > Craig
> >
> >
> >
> > > -----Original Message-----
> > > From: Simon [mailto:maillist-general@sohowit.com]
> > > Sent: Wednesday, January 09, 2002 11:57 AM
> > > To: Tomcat Users List
> > > Subject: Re: having to restart tomcat for new classes
> > >
> > >
> > > Dear,
> > >
> > > Not sure if this help?
> > > 1) Set reloadable=true in your context?
> > > 2) Use the manager to reload ?
> > >
> > > Best regrads,
> > > Simon
> > > --------------------------------
> > >
> > >
> > >
> > > --
> > > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> > >
> > > --
> > > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> >
> > --
> > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> >
> >
>
>
>--
>To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message