Cool Eric--thanks.  Wasn't aware of the WEB-INF/classes trick.

Matt

On Apr 5, 2005 12:50 PM, Knipp, Eric <[EMAIL PROTECTED]> wrote:
>  
> There are two ways to handle this. 
>   
> 1.  Restart CF everytime you recompile your class.  I think this way sucks
> =). 
> 2.  Place your class into the WEB-INF/classes directory for the CF server
> instance you're working with.  CF will dynamically reload anything in here
> if it has a newer timestamp.  This is the recommended method for
> development. 
>   
> Thanks, 
>   
> Eric 
>  
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
> Dirk Meilinger
> Sent: Tuesday, April 05, 2005 12:15 PM
> To: [email protected]
> Subject: Java Class Cached?
> 
>  
> Hey All, 
>   
> I am making my first foray into creating some custom java classes that I
> want to invoke via CF.  I setup a classpath entry in the admin and placed my
> first .class stub in the folder, and CF happily served up my first object
> instantiation.  
>   
> I made a few changes to the .class and copied over the new file, but CF
> refuses to recognize the "new" version of the class, continuing to insist
> that the new method I have created doesn't exist.  I am assuming that there
> is a cached version of my old .class file that it is passing to me.  Is
> there an "easy" way, save bouncing the CF (MX7) server, for me to do
> iterative integration testing with my .class files ? 
>   
> Thanks ! 
>   
> Dirk 
> 
> ________________________________
> 
> 
>  
> 
>  CONFIDENTIALITY NOTICE: The information contained in this e-mail and
> attached document(s) may contain confidential information that is intended
> only for the addressee(s). If you are not the intended recipient, you are
> hereby advised that any disclosure, copying, distribution or the taking of
> any action in reliance upon the information is prohibited. If you have
> received this e-mail in error, please immediately notify the sender and
> delete it from your system. 


-- 
Matt Woodward
[EMAIL PROTECTED]
http://www.mattwoodward.com
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe: 
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: 
   http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to