Woops, memory does not serve me! However, "reloadable" has no application to
your problem as a restart did not fix it - restart relaods *everything*.


>From the "Tomcat" docs ...
Disable Servlet Auto-Reloading
Servlet auto-reloading is really useful for development time. However it is
very expensive (in performance degradation terms) and may put your application
in strange conflicts when classes that were loaded by a certain classloader
cannot cooperate with classes loaded by the current classloader.

So, unless you have a real need for class reloading during your deployment you
should turn off the reloadable flag in your contexts. You can disable reloading
globally by removing the ReloaderInterceptor found in the server.xml file.


--- "Mark E. Zawadzki" <[EMAIL PROTECTED]> wrote:
> A red herring.
> The setting should not matter if you have restarted. Reloadable set to true
> will allow you, under certain circumstances to reload your servlet w/o
> restarting. IMSM, this is done through the Tomcat management API.
> --- Margaret Fisk <[EMAIL PROTECTED]> wrote:
> > It is set to false.  What does the Context path do?
> >
> > -----Original Message-----
> > From: Nigh, Bill [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, August 01, 2002 10:36 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Help! Patching compiled code not taking in Tomcat server
> >
> >
> > Check the server.xml file in, probably, \conf\ directory, and look for
> > <Context path> tag relating to your app.  Check to see if the "reloadable"
> > attribute is set to "true".
> >
> >
> > Bill Nigh
> > Great Atlantic & Pacific Tea Company
> > Teaconet 320-4744
> >
> >
> > > -----Original Message-----
> > > From: Margaret Fisk [SMTP:[EMAIL PROTECTED]]
> > > Sent: Thursday, August 01, 2002 1:20 PM
> > > To:   [EMAIL PROTECTED]
> > > Subject:      Re: Help!  Patching compiled code not taking in Tomcat
> > > server
> > >
> > > I'll check for that. Thanks.
> > >
> > > -----Original Message-----
> > > From: Mark E. Zawadzki [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, August 01, 2002 10:05 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Help! Patching compiled code not taking in Tomcat server
> > >
> > >
> > > Well, if you started and stopped the server, and by infrence the JVM, all
> > > references to the old class have gone to the bit bucket in the sky and
> you
> > > should be seeing your new class - therefore the old class must be hanging
> > > around somewhere. Is it somewhere in the CLASSPATH, or did you at anytime
> > > deploy this as a .war file ?
> > > --- Margaret Fisk <[EMAIL PROTECTED]> wrote:
> > > > Yeah, I'm afraid I've tried the basics:
> > > >
> > > > 1) Stop and Start the application service
> > > > 2) Delete the Tomcat work folder (I know its just JSPs compiled there,
> > > > but...)
> > > > 3) Restarted the whole server.
> > > >
> > > > Is there any place that Tomcat logs changes so I can see if it really
> > > isn't
> > > > seeing the file?
> > > >
> > > > Thanks,
> > > > Margaret
> > > >
> > > > -----Original Message-----
> > > > From: Mark E. Zawadzki [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, August 01, 2002 9:40 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Re: Help! Patching compiled code not taking in Tomcat server
> > > >
> > > >
> > > > did you restart the server ?
> > > > --- Margaret Fisk <[EMAIL PROTECTED]> wrote:
> > > > > I'm running into what I think of as a strange problem.  Can someone
> > > give
> > > > me
> > > > > some pointers?
> > > > >
> > > > >
> > > > > I have a program build with servlets and java code using a Tomcat
> > > servlet
> > > > > engine and web server.
> > > > >
> > > > > I need to replace a single class to fix a bug.
> > > > >
> > > > > However, if I just copy in the new class, the server is not reading
> > > it.
> > > I
> > > > > have to compile the class on
> > > > > the server itself.
> > > > >
> > > > > Is there a workaround or am I somehow compiling the class incorrectly
> > > when
> > > > > I'm doing it remotely? I'm even
> > > > > compiling it using the server's environment in my classpath.
> > > > >
> > > > > Any suggestions would be greatly appreciated.
> > > > >
> > > > > Thanks in advance,
> > > > > Margaret
> > > > >
> > > > > -----Original Message-----
> > > > > From: Lance Prais [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Thursday, August 01, 2002 9:31 AM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: Simple question.
> > > > >
> > > > >
> > > > > This is a total beginners question.  If I modify a servlet.  Do I
> need
> > > to
> > > > > recompile to realize the changes?  If so, how do I do that?
> > > > >
> > > > > Thanks in advance
> > > > > Lance
> > > > >
> > > > >
> > > >
> > >
> __________________________________________________________________________
> > > _
> > > > > To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the
> > > > body
> > > > > of the message "signoff SERVLET-INTEREST".
> > > > >
> > > > > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > > > > Resources:
> > > http://java.sun.com/products/servlet/external-resources.html
> > > > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> > > > >
> > > > >
> > > >
> > >
> __________________________________________________________________________
> > > _
> > > > > To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the
> > > > body
> > > > > of the message "signoff SERVLET-INTEREST".
> > > > >
> > > > > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > > > > Resources:
> > > http://java.sun.com/products/servlet/external-resources.html
> > > > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> > > > >
> > > >
> > > >
> > > > =====
> > > > Mark Zawadzki Performance Engineer/DBA/Programmer
> > > > extraordinaire'[EMAIL PROTECTED]
> [EMAIL PROTECTED]"Programming
> > > > today is a race between software engineers striving to build bigger and
> > > > better idiot-proof programs, and the universe trying to build bigger
> and
> > > > better idiots. So far, the universe is winningRobert Cringle
> (columnist,
> > > > author, host of "Triumph of the Nerds")
> > > >
> > > > __________________________________________________
> > > > Do You Yahoo!?
> > > > Yahoo! Health - Feel better, live better
> > > > http://health.yahoo.com
> > > >
> > > >
> > >
> __________________________________________________________________________
> > > _
> > > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > > body
> > > > of the message "signoff SERVLET-INTEREST".
> > > >
> > > > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > > > Resources: http://java.sun.com/products/servlet/external-resources.html
> > > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> > > >
> > > >
> > >
> __________________________________________________________________________
> > > _
> > > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > > body
> > > > of the message "signoff SERVLET-INTEREST".
> > > >
> > > > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > > > Resources: http://java.sun.com/products/servlet/external-resources.html
> > > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> > > >
> > >
> > >
> > > =====
> > > Mark Zawadzki Performance Engineer/DBA/Programmer
> > > extraordinaire'[EMAIL PROTECTED]  [EMAIL PROTECTED]"Programming
> > > today is a race between software engineers striving to build bigger and
> > > better idiot-proof programs, and the universe trying to build bigger and
> > > better idiots. So far, the universe is winningRobert Cringle (columnist,
> > > author, host of "Triumph of the Nerds")
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Health - Feel better, live better
> > > http://health.yahoo.com
> > >
> > >
> __________________________________________________________________________
>
=== message truncated ===


=====
Mark Zawadzki Performance Engineer/DBA/Programmer extraordinaire’[EMAIL PROTECTED]  
[EMAIL PROTECTED]"Programming today is a race between software engineers 
striving to build bigger and better idiot-proof programs, and the universe trying to 
build bigger and better idiots. So far, the universe is winningRobert Cringle 
(columnist, author, host of "Triumph of the Nerds")

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to