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