On Thu, 1 Aug 2002, Margaret Fisk wrote:

> It is set to false.  What does the Context path do?

It isn't really "the Context path", it's the Context tag, and it has a
path attribute.  reloadable is also an attribute in the Context tag.
The Context tag tells Tomcat about a certain context (i.e. web
application), and defines certain parameters/attributes for it.  The
path is the URL prefix that maps to that context.  You probably don't
need to worry about that now, but you should set reloadable to true if
you want Tomcat to reload servlets without having to restart Tomcat.
When it's set, Tomcat should notice when a servlet has been updated
(via the timestamp) and reload it.

Now, I believe that this only applies to the servlet class itself, not
any auxiliary libraries, jars, or class files.  So what you can try
doing is touch'ing the servlet class file to update its timestamp, and
that may cause Tomcat to reload the whole app, I'm not sure.  (touch
is a UNIXism -- not sure of the equivalent on Windows.)


> -----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
> >
> > __________________________________________________________________________
> > _
> > 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
>
> ___________________________________________________________________________
> 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
>

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

___________________________________________________________________________
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