Hi All, This problem has been fixed. It is a syntax issue. For those who might be interested, the following is the actual problem and the solution:
<CFOBJECT ACTION="CREATE" TYPE="Java" CLASS="java/util/Properties" NAME="JUtilProp"> The above code works fine with CF4.5 but will cause an error at CF5.0 To fix , change it to: <CFOBJECT ACTION="CREATE" TYPE="Java" CLASS="java.util.Properties" NAME="JUtilProp"> This piece of code works well with both CF4.5 and Cf5.0 Thanks to all ! Sima -----Original Message----- From: Sima Lee Sent: Thursday, October 25, 2001 4:51 PM To: CF-Talk Subject: RE: <cfobject> problem Hi, Thanks for your response. Yes we did the right setting in CF Administrator. The strange thing is if the java class is in the .jar file the <cfobject> tag does not work, if the class stays alone this tag works fine. I did a search in CF-talk archives and found early in July somebody mentioned that they had experienced a syntax issue with <cfobject> in CF5.0. But I cannot find any detailed information about the issue and how to fix it. If anybody had the same experienced please help me out! Thanks Sima -----Original Message----- From: cf refactoring [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 4:10 PM To: CF-Talk Subject: Re: <cfobject> problem Did you transfer over your Server >> Java Settings in CF Administrator from your old machine to the new? That's what your problem sounds like --- Sima Lee <[EMAIL PROTECTED]> wrote: > Hi All, > > I am trying to figure out a problem related to > <cfobject>. When in CF4.5 > everything works well. > > After upgraded from CF4.5 to CF5.0, a <cfobject> > generates a > "java.lang.ClassNotFoundException" error . > > > The java class which is used in the <cfobject> is > contained in a .jar > file. If use a java class which is not in a .jar > file , the <cfobject> > seems working OK. > > > > Any help will be greatly appreciated! > > > Sima === I-Lin Kuo Macromedia CF5 Advanced Developer Sun Certified Java 2 Programmer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists