RE: Linkage Error - attempted duplicate class definition for name

2011-02-22 Thread Bobby Hartsfield
Well, we thought we were finally rid of this one by disabling the Save Class Files setting in the CFAdmin but we just had another report of the error. Short of a rewrite in java or the like, if anyone has any ideas at all, I'd love to hear them. .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield

secure pdf documents

2011-02-22 Thread Richard White
Hi, i am trying to secure pdf documents that exist in my application folders. i have set passwords on them using the cfpdf tag but is there a way to open them via a cfm page? i was hoping i could open and display them to the user with the app providing the password instead of the user having

ADOBE PLEASE FIX THIS! RE: Linkage Error - attempted duplicate class definition for name

2011-02-22 Thread Brook Davies
Would adobe please fix this bug!! Pretty please? http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html?#bugId= 85391 Brook -Original Message- From: Bobby Hartsfield [mailto:bo...@acoderslife.com] Sent: February-22-11 8:13 AM To: cf-talk Subject: RE: Linkage Error -

RE: ADOBE PLEASE FIX THIS! RE: Linkage Error - attempted duplicate class definition for name

2011-02-22 Thread Bobby Hartsfield
And in CF8, not just CF9! :-) .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Brook Davies [mailto:cft...@logiforms.com] Sent: Tuesday, February 22, 2011 12:37 PM To: cf-talk Subject: ADOBE PLEASE FIX THIS! RE: Linkage Error - attempted

Re: Linkage Error - attempted duplicate class definition for name

2011-02-22 Thread Dain Anderson
I wonder if there's a way to load class files into the template cache manually. If so, perhaps you could clear your cfclasses, enable trusted cache, load all class files into trusted cache, and at this point all files would be in memory, never again creating a class file that could conflict with

Re: Feedback on this approach to many sites, one codebase (MSOC)

2011-02-22 Thread Matt Robertson
Even though my own CMS can handle multiple sites running off of a single installation, I don't run it that way. The points brought up about clients wanting individual customizations and portability fit my situation. I understand if you are offering software-as-a-service things change, but for

cfselect, bind and radio button

2011-02-22 Thread Naveen Balraj
Hi All, Can you direct me to an example of how to use cfselect, bind based on the selection of a radio button. I have seen examples where you select one input from one drop down, which changes the other drop down values. But I have never seen any examples where the user selects a radio

RE: Linkage Error - attempted duplicate class definition for name

2011-02-22 Thread Bobby Hartsfield
Hi Dain, Thanks for the response and suggestion. We actually never had trusted cache enabled. We did, however, have Save Class Files enabled and were getting the error regularly. Brook Davies was also having the same issue and ended up writing some code that deleted the specific class files.

Re: Feedback on this approach to many sites, one codebase (MSOC)

2011-02-22 Thread Brian Meloche
I'm late to the thread, but like Eric and Sean have indicated, having all domains under the same application name is the way to go. We've got a big multi-tenant application here (several hundred thousand lines of code) designed that way and it works great. Reinitializing an application is quick

Re: Linkage Error - attempted duplicate class definition for name

2011-02-22 Thread Russ Michaels
When a CF file is first run it gets compiled to a class file and loaded into memory (template cache), if save class files is enabled then the compiled class file is saved to disk as well, and this file will be used in the future instead of always compiling the CFM file. This will happen if CF is

Re: Reflection and Class literal

2011-02-22 Thread Leigh
cfset class = createObject(java, java.net.InetAddress).getLocalHost.getClass() You are probably getting an instance one of the subclasses: Inet4Address or Inet6Address. addressCache is declared the parent class (InetAddress). So that may be why you cannot access it from declaredFields. Try

Re: Feedback on this approach to many sites, one codebase (MSOC)

2011-02-22 Thread Steve 'Cutter' Blades
I'm curious how this is handled in some cases. A single application would have a smaller memory footprint on the server, but I've always placed site specific variables in the application scope, keeping sessions much smaller and reducing overall memory overhead. Yes, reinitializing

Re: Feedback on this approach to many sites, one codebase (MSOC)

2011-02-22 Thread Brian Meloche
In the application scope... but you have a structure, such as: application.settings.sites[CHR][config][adminEmail] As I said, it works great for us. We don't have a tear off site structure, and a client can't ask for the code, since it would be impossible to replicate due to the business we

cfheader and foreign characters

2011-02-22 Thread Richard Steele
I'm trying to save a text file that has foreign characters. Here's my code: cfset xOutput = République cfheader charset=utf-8 name=content-disposition value=attachment; filename=test.txt #xOutput# When I open this file up it looks like this: R√©publique How can I retain the proper

Re: cfheader and foreign characters

2011-02-22 Thread Leigh
Are you supplying a content type too text/plain, text/html? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: cfheader and foreign characters

2011-02-22 Thread Alan Rother
Do this cfprocessingdirective pageencoding=utf-8 cfset xOutput = République cfcontent type=text/html; utf-8 cfheader charset=utf-8 name=content-disposition value=attachment; filename=test.txt cfoutput#xOutput#/cfoutput On Tue, Feb 22, 2011 at 3:00 PM, Leigh cfsearch...@yahoo.com wrote:

Re: cfheader and foreign characters

2011-02-22 Thread Richard Steele
I tried this: cfheader charset=utf-8 name=content-disposition value=attachment; filename=#xFileName# cfcontent type = text/html; charset=utf-8 reset=true variable=#ToBinary( ToBase64(xOutput) )# / Still no foreign characters.

Re: cfheader and foreign characters

2011-02-22 Thread Richard Steele
Hi Alan, closer, but now I get R?publique. Any other ideas would be greatly appreciated. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: cfheader and foreign characters

2011-02-22 Thread Leigh
Should work fine with just a plain vanilla cfcontent / cfoutput cfheader charset=utf-8 name=content-disposition / cfcontent type=text/html / cfoutput#xOutput#/cfoutput ~| Order the Adobe Coldfusion Anthology

Re: cfheader and foreign characters

2011-02-22 Thread Alan Rother
That odd, it totally worked for me... http://alan.rotherfamily.net/demos/utf8/ cfprocessingdirective pageencoding=utf-8 cfset xOutput = République cfcontent type=text/plain; utf-8 cfheader charset=utf-8 name=content-disposition value=attachment; filename=test.txt cfoutput#xOutput#/cfoutput

Re: cfheader and foreign characters

2011-02-22 Thread Richard Steele
No, I get this: R?publique ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: cfheader and foreign characters

2011-02-22 Thread Richard Steele
That odd, it totally worked for me... http://alan.rotherfamily.net/demos/utf8/ cfprocessingdirective pageencoding=utf-8 cfset xOutput = République I get RÈpublique when I click your link. not République. ~| Order the Adobe

Re: cfheader and foreign characters

2011-02-22 Thread Alan Rother
What kind of computer (OS) are you on and what browser are you using? I just want to Apples to Apples this... This should be really simple... Oh and what program is the browser opening the text file in. Leigh (as always) is right, this should just work On Tue, Feb 22, 2011 at 5:07 PM, Richard

Re: cfheader and foreign characters

2011-02-22 Thread Richard Steele
That's totally it. Apple Chrome, Safari and Firefox show RÈpublique when I click your link. IE 8 and Firefox PC show République. It shows it this in both Word 2011 and Text Edit on the Mac. Plain text endcoding is set to Automatic for Plain Text in Text Edit and utf-8 for html documents.

Re: cfheader and foreign characters

2011-02-22 Thread Michael Grant
FWIW: I get RÈpublique. Mac OSX Leopard. Chrome 9.0.597 (not that this should matter since it's a d.l. not an open in the browser. Also checked FF 3.316 with same result. On Tue, Feb 22, 2011 at 7:20 PM, Alan Rother alan.rot...@gmail.com wrote: What kind of computer (OS) are you on and

Re: cfheader and foreign characters

2011-02-22 Thread Michael Grant
TextEdit 1.6 shows RÈpublique Word:MAC 2011 v14.02 shows: RΘpublique On Tue, Feb 22, 2011 at 7:27 PM, Richard Steele r...@photoeye.com wrote: That's totally it. Apple Chrome, Safari and Firefox show RÈpublique when I click your link. IE 8 and Firefox PC show République. It shows it

Re: cfheader and foreign characters

2011-02-22 Thread Richard Steele
Meant to say Firefox for the PC. Thanks again. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

RE: Feedback on this approach to many sites, one codebase (MSOC)

2011-02-22 Thread Rick Faircloth
I can see both sides on this one very clearly. To this point, all I've ever done is develop custom applications and websites. I haven't sold the exact same site in 10 or so years of development! However, I really want to get away from working just one-on-one with clients. They can be a real

get my MX7 serial number?

2011-02-22 Thread Greg Morphis
I'm upgrading a server from MX7 to 9 and I need to get what the existing serial number is. Is there a file that shows the serial number? I've emailed the owner but thought this might be fastest (if a file that has it exists) ~|

Re: get my MX7 serial number?

2011-02-22 Thread Greg Morphis
Right there in CFAdmin.. doh! Found it! On Tue, Feb 22, 2011 at 10:13 PM, Greg Morphis gmorp...@gmail.com wrote: I'm upgrading a server from MX7 to 9 and I need to get what the existing serial number is. Is there a file that shows the serial number? I've emailed the owner but thought this

Re: JVM help!

2011-02-22 Thread Carl Meyer
Did any of those suggestions with NewGen, Thread Cores or Low Pause GC help? Regards, Carl. Hi everyone, thanks for all the good feedback. Let me first tell you WHY I think its a JVM issue, then show you what results I have had. We took the exact same code, and connected it to the