Re: CFHTTP and SSL v3
Okay, I have a bit of a critical issue as Authorize.Net is apparently disabling any use of SSL v2.0 and requiring the use of v3.0 (and only giving us about a month to get ready!) To my knowledge, only ColdFusion 8 even supports this, and not sure what the support is in Railo and BlueDragon. Is there any reasonably easy way to do this in CF7 (or even CF6)? I have a LOT of customers still on CF7 and AuthNet is by far the most popular gateway, and I need to find them a solution, as upgrading to CF8 may not be a viable solution for many of them. --- Mary Jo Sminkey CFWebstore, ColdFusion-based Ecommerce http://www.cfwebstore.com We have some legacy ecomm apps that still use cf 5.0 with authorize.net will the move to cfmx 8 solve this new ssl 3.0 requirement issue by authorize.net . i have been trying hard to find if cfmx 8.0 supports ssl 3.0 with cfhttp and also what do i use for the cert and certpassword attributes for the tag, our apps use verisign,comodo and geotrust certs. Thx. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319465 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Binary output in CFContent ?
Thanks for the ideas. All I am after is when a user who will be authenticated by CF with the GAL I.E. cfset user = listLast(cgi.REMOTE_USER,\) If they have not read a document, on the docdisplay,.cfm page it will display next to the document listing 'not read', if they have opened the word doc and read it (could this be done by embedding a link to a cfm page in the word doc which would pass the users details to the database, and would set the status to 'viewed') i.e. ID, Name, LoginID, Document, Status, Date Then on the docdisplay.cfm page, next to the document it will display 'viewed' for that user.? Does this make sense, and is this the best way of implementing this? The problem I am having is in the link from the word doc to the cfm page to set the status and time etc, how could I do this? i.e. what parameters would I need to pass from the link in the word doc to the cfm page? Hope this makes sense? -Original Message- From: Robbie Byrd [mailto:rb...@mdimediagroup.com] Sent: 16 February 2009 20:47 To: cf-talk Subject: Re: Binary output in CFContent ? Hmmm Well, this is telling the browser to actually download the document. My only thought would be to do an inline word document with a frameset and have a frame at the top with your checkbox. I'm not exactly sure that's what you're looking for or even the most portable solution, but it might work. Thanks I am using the following cfset user = listLast(cgi.REMOTE_USER,\) cfheader name=content-disposition value=attachment;filename=testdoc.doc cfcontent type=application/msword file=#ExpandPath(.)#\testdoc.doc deletefile=no to display word docs, but what would be the best approach to check that the document has been opened and read by the user. Once read the user has to click a checkbox or link? that they have read the document. (Similar to an e-learning course website) In the document listing page, next to this document it will display 'Read' with this information stored in the database for that user. If the user has opened the doc and not clicked the checkbox it will display 'Doc Opened' next to that document on the webpage, and if they have not opened it, it will display 'Not Read'. Any ideas on the right approach for this? Or am I making this more complicated than it should be? I have set up a DB table with the following fields ID, Name, LoginID, Document, Status, Date For example when opening the doc via cfcontent how would I create a query to set the document name in the database, so it knows that users have either 'opened', 'read' or 'not read' the document and what would be the best way of setting the status of the document i.e. Opened, Read or Not Read? in the database to display next to the document listing cfquery name=LOOKUP datasource=DS SELECT Max(docid) NewdocID FROM docstatus /cfquery cfif lookup.newdocid is cfset docid = 1 cfelse cfset docid = lookup.newdocid + 1 /cfif cfquery datasource=DS name=insert INSERT INTO docstatus (docid, name, loginid, documents, status, date) VALUES ( cfqueryparam cfsqltype=cf_sql_number value=#linkid#, cfqueryparam cfsqltype=cf_sql_date value=#user#, cfqueryparam cfsqltype=cf_sql_varchar value=#loginid#, ??? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319466 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Binary output in CFContent ?
Thanks for the ideas. All I am after is when a user who will be authenticated by CF with the GAL I.E. cfset user = listLast(cgi.REMOTE_USER,\) If they have not read a document, on the docdisplay,.cfm page it will display next to the document listing 'not read', if they have opened the word doc and read it (could this be done by embedding a link to a cfm page in the word doc which would pass the users details to the database, and would set the status to 'viewed') i.e. ID, Name, LoginID, Document, Status, Date Then on the docdisplay.cfm page, next to the document it will display 'viewed' for that user.? Does this make sense, and is this the best way of implementing this? The problem I am having is in the link from the word doc to the cfm page to set the status and time etc, how could I do this? i.e. what parameters would I need to pass from the link in the word doc to the cfm page? Hope this makes sense? -Original Message- From: Robbie Byrd [mailto:rb...@mdimediagroup.com] Sent: 16 February 2009 20:47 To: cf-talk Subject: Re: Binary output in CFContent ? Hmmm Well, this is telling the browser to actually download the document. My only thought would be to do an inline word document with a frameset and have a frame at the top with your checkbox. I'm not exactly sure that's what you're looking for or even the most portable solution, but it might work. Thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319467 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Saving beans to a databse
If you're using the Rooibos bean, then there's a getsnapshot() or getMemento() method that gives a struct containing all the current values. (to see what's in it, then do this; cfdump var=#beanname.getsnapshot()# / and you'll see the current state of the bean.You can serialise this using wddx which makes that struct into a XML packet you can put in a text field. Then you can get it back again by reading it out of the database and turning it back into a struct with WDDX2CF() function. Or what's much better, quicker and neater, is you can persist the bean into the database using a DAO's save() method and get it back again next time your user logs in using the DAO's read() method. (For an example of what's in my DAOs see the tutorial on my site at http://afpwebworks.com/Index.cfm?pid=111419 ) Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On Wed, Feb 18, 2009 at 6:13 PM, David Mineer min...@gmail.com wrote: I have a siteoptions bean which holds session variables that are unique to each user. I use roobies cfc bean generator to create a bean which gives me get and set access to variables which essetially match the form on my website that I use to collect the information. How can I store this information in the database to persist it between visits for my users? The obvious answer would be to have a matching table in the database which has a corresponding field for each form field. I could use transfer for this and it would work great and I understand that. But would that be a good thing? Or is there I way I can take the bean and just save it to the database as one object, easily retrievable for the next session. I guess now that I think about it, either way I will have to have a db table, so there goes that advantage. But if the bean were to grow or change The db wouldn't have to if I was able to save the whole object. Anyone have any thoughts on these ramblings? -- David Mineer Jr - The critical ingredient is getting off your butt and doing something. It's as simple as that. A lot of people have ideas, but there are few who decide to do something about them now. Not tomorrow. Not next week. But today. The true entrepreneur is a doer. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319468 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Looping
On Tuesday 17 Feb 2009, Priya Koya wrote: I tried using Session but it didnt work... sigh* Why not ? -- Tom Chiverton Helping to advantageously market cross-platform information *http://www.catb.org/~esr/faqs/smart-questions.html This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.co ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319469 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
special characters in mysql
hi guys, i have the following textg to insert into a mysql db... Mastering macrons in te reo MÄori.Keke or kÄkÄ? Cake or armpit? the data is being turned into... Mastering macrons in te reo M?ori. Keke or k?k?? Cake or armpit? i have just attempted to change the column charset to utf8, butthis appears to have made no difference. can anyone see what i may be doing wrong? thanks heaps mike ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319470 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: special characters in mysql
aha, i see it has done the same on this site. basically the characters have accents on them. mike ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319471 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: special characters in mysql
In MS SQL Server, solution is to use nvarchar instead of varchar and ntext instead of text. Not sure about MySQL... On Wed, Feb 18, 2009 at 6:42 AM, Mike Little m...@nzsolutions.co.nz wrote: aha, i see it has done the same on this site. basically the characters have accents on them. mike ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319472 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: special characters in mysql
from what i can see ntext is not supported in mysql john. i am using mysql 4.1 by the way. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319473 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: special characters in mysql
http://forums.mysql.com/read.php?103,2074,2233#msg-2233 On Wed, Feb 18, 2009 at 6:52 AM, Mike Little m...@nzsolutions.co.nz wrote: from what i can see ntext is not supported in mysql john. i am using mysql 4.1 by the way. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319474 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: special characters in mysql
Since it sounds like you've already got the column set to receive UTF-8, you'll need to ensure that you're also coding the data going into the database and being displayed. Drop this in your application file or at the top of your global index file or wherever: this codes the characters when displayed: cfcontent type=text/html; charset=UTF-8 this codes the data when a form gets submitted: cfset setEncoding(form, UTF-8) In other words, you need to ensure it's going into the DB in the same way it's getting referenced when you try to display it. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319475 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: special characters in mysql
MySQL 4.1 does support unicode, not sure if it uses nvarchar/ntext/etc though. Here is some info on the improvements between 4.0 and 4.1 http://dev.mysql.com/tech-resources/articles/4.1/unicode.html ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319476 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cflayout annoying issue
MS, The Ext Viewport doesn't work in this fashion (that's the underlying component of cflayout). The Viewport will only take up the viewable area of the browser, with the 'center' view always taking up the remaining space (only area that doesn't require explicit dimensions). What you need is straight HTML and CSS. I would suggest you look at the Three Column Layout (flanking menus) in The Layout Reservoir of BlueRobot.com You don't need Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com MS wrote: Hi all Quick cflayout question. I have a normal layout (positions = TOP, LEFT, CENTER, RIGHT, BOTTOM) page. Problem: if the center inside the CENTER cflayoutarea is larger than the screen, I'm getting a scroll bar just in that CENTER cflayoutarea. Instead, the whole page should expand to accommodate the height of CENTER. I tried playing with height:100% everywhere and I can't do the trick. cflayout cflayoutarea position=top Top /cflayoutarea cflayoutarea position=left Left /cflayoutarea cflayoutarea position=center BIG CONTENT (in height) BIG CONTENT (in height) BIG CONTENT (in height) ** I want this to expand and cause scrollbars to appear on the whole page, not just on this DIV /cflayoutarea cflayoutarea position=right Right /cflayoutarea /cflayout Hope it makes sense. Cheers, MS ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319477 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Saving beans to a databse
There are object-based databases out there, but they don't work with CFCs natively (or I've never seen an adapter that would allow this). There are ways to serialize a CFC and save it to the database, but this usually opens up a ton of issues such as, the main two being that it saves the entire object, including all dependent objects, and that if you change the object later you have an awful synchronization issue since your serialized objects are now all invalid; etc. Basically you'll need to use one of the CFC-based ORM options like Transfer or Reactor, generate a DAO, or write your own by hand. On Wed, Feb 18, 2009 at 2:13 AM, David Mineer min...@gmail.com wrote: I have a siteoptions bean which holds session variables that are unique to each user. I use roobies cfc bean generator to create a bean which gives me get and set access to variables which essetially match the form on my website that I use to collect the information. How can I store this information in the database to persist it between visits for my users? The obvious answer would be to have a matching table in the database which has a corresponding field for each form field. I could use transfer for this and it would work great and I understand that. But would that be a good thing? Or is there I way I can take the bean and just save it to the database as one object, easily retrievable for the next session. I guess now that I think about it, either way I will have to have a db table, so there goes that advantage. But if the bean were to grow or change The db wouldn't have to if I was able to save the whole object. Anyone have any thoughts on these ramblings? -- David Mineer Jr - The critical ingredient is getting off your butt and doing something. It's as simple as that. A lot of people have ideas, but there are few who decide to do something about them now. Not tomorrow. Not next week. But today. The true entrepreneur is a doer. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319478 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Apache Coldfusion 8 issues
I am trying to run Coldfusion 8 (Single Instance) on IIS and Apache. Currently my IIS sites are running fine, but when I try to load my apache site the page only shows the coldfusion code and does not actually execute the code. I am using Apache to get subversion installed for one of our major sites. This seems to be the last piece to get my whole version control system in place. My Web Server Configuration looks like this [ localhost:coldfusion ] Internet Information Server (IIS) : CFMX8 [ localhost:coldfusion ] Apache : C:\Program Files\Apache Software Foundation\Apache2.2\conf My apache httpd.conf has this entry put in # JRun Settings LoadModule jrun_module D:/ColdFusion8/runtime/lib/wsconfig/3/mod_jrun22.so IfModule mod_jrun22.c JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ignoresuffixmap false JRunConfig Serverstore D:/ColdFusion8/runtime/lib/wsconfig/3/jrunserver.store JRunConfig Bootstrap 127.0.0.1:51012 #JRunConfig Errorurl url optionally redirect to this URL on errors #JRunConfig ProxyRetryInterval 600 number of seconds to wait before trying to reconnect to unreachable clustered server #JRunConfig ConnectTimeout 15 number of seconds to wait on a socket connect to a jrun server #JRunConfig RecvTimeout 300 number of seconds to wait on a socket receive to a jrun server #JRunConfig SendTimeout 15 number of seconds to wait on a socket send to a jrun server AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf /IfModule My URL I am using to test is (this only shows code) http://ampserver2003.ampi.lan:81/svn/Ameridose/branches/Marketing%20Upda te/trunk/Extranet/index.cfm If any one has done this, I could use some help. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319479 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Saving beans to a databse
I saw this on RIAForge today. It may do what you want. http://cfobjectcache.riaforge.org/ -- Gerald Guido http://www.myinternetisbroken.com To invent, you need a good imagination and a pile of junk. -- Thomas A. Edison ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319480 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache Coldfusion 8 issues
I ran onto something similar to this last week. I uninstalled/reinstalled CF and it worked fine. It was a fresh install on a dev box so this may not be an option for you. Just throwing it out there. G! On Wed, Feb 18, 2009 at 9:13 AM, Chad McCue c...@advmediaproductions.comwrote: I am trying to run Coldfusion 8 (Single Instance) on IIS and Apache. Currently my IIS sites are running fine, but when I try to load my apache site the page only shows the coldfusion code and does not actually execute the code. I am using Apache to get subversion installed for one of our major sites. This seems to be the last piece to get my whole version control system in place. My Web Server Configuration looks like this [ localhost:coldfusion ] Internet Information Server (IIS) : CFMX8 [ localhost:coldfusion ] Apache : C:\Program Files\Apache Software Foundation\Apache2.2\conf My apache httpd.conf has this entry put in # JRun Settings LoadModule jrun_module D:/ColdFusion8/runtime/lib/wsconfig/3/mod_jrun22.so IfModule mod_jrun22.c JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ignoresuffixmap false JRunConfig Serverstore D:/ColdFusion8/runtime/lib/wsconfig/3/jrunserver.store JRunConfig Bootstrap 127.0.0.1:51012 #JRunConfig Errorurl url optionally redirect to this URL on errors #JRunConfig ProxyRetryInterval 600 number of seconds to wait before trying to reconnect to unreachable clustered server #JRunConfig ConnectTimeout 15 number of seconds to wait on a socket connect to a jrun server #JRunConfig RecvTimeout 300 number of seconds to wait on a socket receive to a jrun server #JRunConfig SendTimeout 15 number of seconds to wait on a socket send to a jrun server AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf /IfModule My URL I am using to test is (this only shows code) http://ampserver2003.ampi.lan:81/svn/Ameridose/branches/Marketing%20Upda te/trunk/Extranet/index.cfmhttp://ampserver2003.ampi.lan:81/svn/Ameridose/branches/Marketing%20Upda%0Ate/trunk/Extranet/index.cfm If any one has done this, I could use some help. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319481 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: special characters in mysql
Mike Little wrote: can anyone see what i may be doing wrong? what db driver (ie JDBC or ODBC, should be JDBC driver)? what ver of cf (should be something newer than cf5)? can you post the input code? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319482 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Saving beans to a databse
Looking at the code, it looks like it is using JSON to serialize the object, via CFJSON. But I don't see how that's going to work with CFCs, since the serializer will see it as a structure, and when it is deserialized later, you'll end up with a structre, not a CFC. A further quick review of the code gives me some reservations about the locking strategies employed and the fact that the cache is based soley on a hardcoded timeout value rather than something like usage metrics. If you're interested in reviewing a pretty complex caching system, have a look at how Transfer is doing it. Even if you don't use Transfer, Mark's created some pretty robust cache machinery. On Wed, Feb 18, 2009 at 9:17 AM, Gerald Guido gerald.gu...@gmail.comwrote: I saw this on RIAForge today. It may do what you want. http://cfobjectcache.riaforge.org/ -- Gerald Guido http://www.myinternetisbroken.com To invent, you need a good imagination and a pile of junk. -- Thomas A. Edison ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319483 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Online OO courses
I'd recommend any of these: http://www.amazon.com/Object-Technology-Managers-David-Taylor/dp/0201309947 http://www.amazon.com/Head-First-Object-Oriented-Analysis-Design/dp/0596008678 http://www.amazon.com/Fundamentals-Object-Oriented-Design-Addison-Wesley-Technology/dp/020169946X http://www.amazon.com/Design-Patterns-Explained-Perspective-Object-Oriented/dp/0321247140 http://www.amazon.com/Pragmatic-Programmer-Journeyman-Master/dp/020161622X http://www.amazon.com/Code-Complete-Practical-Handbook-Construction/dp/0735619670 On Tue, Feb 17, 2009 at 6:19 PM, Gerald Guido gerald.gu...@gmail.com wrote: Brian, I know this is a passion of yours. Would you be so kind as to provide some recommendations in terms of books, AV materials and/or other resources? I forgot all about this... I highly recommend the offerings of the Stanford Engineering Everywhere program http://see.stanford.edu/see/courses.aspx I am taking this class and it is GREAT!! It is taught by Mehran Sahami, a former Senior Research Scientist at Google. http://see.stanford.edu/see/courseinfo.aspx?coll=824a47e1-135f-4508-a5aa-866adcae They provide everything but the text books... i.e video lectures,class materials, homework assignments and a custom version of Eclipse. HTH G ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319484 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: special characters in mysql
With Mysql 5 and CF 8 I needed to add this connection string to the datasource: jdbc:mysql:// 127.0.0.1:3306/utf8demo?allowMultiQueries=truecharacterEncoding=UTF8characterSetResults=UTF8 Also the charset I used in MySql was: utf8 the colation was: utf8_general_ci; After that I was able to insert all the funny accents, Russian charsets and Asian charsets. Paul. On Wed, Feb 18, 2009 at 9:39 AM, Paul Hastings p...@sustainablegis.comwrote: Mike Little wrote: can anyone see what i may be doing wrong? what db driver (ie JDBC or ODBC, should be JDBC driver)? what ver of cf (should be something newer than cf5)? can you post the input code? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319485 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Apache and subversion issue
I am getting closer to what I need. I have my apache server running coldfusion code but only on files within the htdocs folder. It will not execute anything that is in a folder that uses subversion like the second example. Is there anything specific I need to set? http://10.10.10.2:81/index.cfm http://10.10.10.2:81/index.cfm //This executes the coldfusion code fine http://10.10.10.2:81/svn/Ameridose/branches/Marketing%20Project/Extranet /index.cfm http://10.10.10.2:81/svn/Ameridose/branches/Marketing%20Project/Extrane t/index.cfm //This only prints out the coldfusion code, does not execute it. Here is some code from my httpd.conf # JRun Settings LoadModule jrun_module D:/ColdFusion8/runtime/lib/wsconfig/2/mod_jrun22.so IfModule mod_jrun22.c JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ignoresuffixmap false JRunConfig Serverstore D:/ColdFusion8/runtime/lib/wsconfig/2/preserver.store JRunConfig Bootstrap 127.0.0.1:51012 #JRunConfig Errorurl url optionally redirect to this URL on errors #JRunConfig ProxyRetryInterval 600 number of seconds to wait before trying to reconnect to unreachable clustered server #JRunConfig ConnectTimeout 15 number of seconds to wait on a socket connect to a jrun server #JRunConfig RecvTimeout 300 number of seconds to wait on a socket receive to a jrun server #JRunConfig SendTimeout 15 number of seconds to wait on a socket send to a jrun server AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf /IfModule Location /svn DAV svn SVNParentPath C:\Program Files\Apache Software Foundation\Apache2.2\htdocs SVNListParentPath on /Location ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319486 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache and subversion issue
Alias /svn C:\Program Files\Apache Software Foundation\Apache2.2\htdocs On Wed, Feb 18, 2009 at 12:07, Chad McCue c...@advmediaproductions.com wrote: C:\Program Files\Apache Software Foundation\Apache2.2\htdocs ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319487 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Apache and subversion issue
Can you be a little more specific. -Original Message- From: Maureen Barger [mailto:m...@cornell.edu] Sent: Wednesday, February 18, 2009 12:13 PM To: cf-talk Subject: Re: Apache and subversion issue Alias /svn C:\Program Files\Apache Software Foundation\Apache2.2\htdocs On Wed, Feb 18, 2009 at 12:07, Chad McCue c...@advmediaproductions.com wrote: C:\Program Files\Apache Software Foundation\Apache2.2\htdocs ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319488 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Online OO courses
Brian, Thank you for taking the time to do this. Much appreciated. G! On Wed, Feb 18, 2009 at 11:04 AM, Brian Kotek brian...@gmail.com wrote: I'd recommend any of these: http://www.amazon.com/Object-Technology-Managers-David-Taylor/dp/0201309947 http://www.amazon.com/Head-First-Object-Oriented-Analysis-Design/dp/0596008678 http://www.amazon.com/Fundamentals-Object-Oriented-Design-Addison-Wesley-Technology/dp/020169946X http://www.amazon.com/Design-Patterns-Explained-Perspective-Object-Oriented/dp/0321247140 http://www.amazon.com/Pragmatic-Programmer-Journeyman-Master/dp/020161622X http://www.amazon.com/Code-Complete-Practical-Handbook-Construction/dp/0735619670 -- Gerald Guido http://www.myinternetisbroken.com To invent, you need a good imagination and a pile of junk. -- Thomas A. Edison ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319489 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF posts and CF-talk
I tried to dig up some old posts/follow-ups here, with phrase and/or {myUserId} to no avail. What gives? tks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319490 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF posts and CF-talk
How are you searching and what criteria? On Wed, Feb 18, 2009 at 12:23 PM, Don L do...@yahoo.com wrote: I tried to dig up some old posts/follow-ups here, with phrase and/or {myUserId} to no avail. What gives? tks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319491 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Clustering with Synchronization/Mirroring
We have a setup consisting of 2 CF8 servers running in parallel (the 2 instances are clustered together using CF8 Ent/JRun4) and we have one app. deployed on each of the two servers. Each request is served by either one of the 2 servers. Although clustering is working great, we would like have a facility that when a server generates a file on one server it gets automatically pushed to the other parallel server. Is that possible with ColdFusion clustering or we to invest on additional software/perhaps proprietrary ones? Naturally, the two folders (one on each of the parallel servers) need to contain the same content, so ideally when one gets generated on one server it is immediately replicated on the other server. Can you give some tips/assistance about this problem? Kindest Regards, Joseph. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319492 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: SQL Server 2005 Datasource failing
I checked that TCP/IP is enabled and it was. I found an article that talked about making sure SQL Server 2000 was at least sp3a, so I updated to sp4. Now CF8 on a remote box verifies the connection, but BD7 does not (BD7 is on the same box as CF8). I get the error: Login failed for user '[user name]'. (Msg 18456, Level 14, State 1, Line 0) I have checked and rechecked the user name / password in BD7 and they are correct. I am getting closer, but still need BD7 to verify. Also, BD7 seems to require the server name to be with a forward slash as follows: [server name]/[instance name] whereas CF8 uses a back-slash. If I used a back-slash BD7 returns Verifying [data source]... [server name]\[instance name] Is TCP/IP enabled on your SQL 2005 instance? By default, TCP/IP connections are disabled in SQL 2005. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319493 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFHTTP and SSL v3
Mary Jo, I'm confused SSL 3.0 does not necessarily need a client cert - does it? The connection would still use the public key right? Are you saying that Auth.net is requiring you to specify the client cert as a part of the handshake? -Mark Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Mary Jo Sminkey [mailto:mary...@cfwebstore.com] Sent: Tuesday, February 17, 2009 8:11 PM To: cf-talk Subject: Re: CFHTTP and SSL v3 You should be able to bypass CFHTTP and use the java libs directly. I took a gander at the Java samples on the auth.net site for AIM integration and here's what I came up with. It seems to work fine on CF 7 and It handles the SSL all right and returns values. But I'm still trying to figure out how to test and see if it's SSL 3.0 or not (I suspect not). Well, that looks promising indeed...but I'm not seeing anything in there that is providing the client certificate, which is what is necessary for SSL 3.0. In CF8, it's provided with the ClientCert and ClientCertPassword attributes of the cfhttp tag. But as for how to test and know if this is working, you've got me stumped! I see nothing in the Authorize.Net settings, or anything whatsoever in the documentation that tells where to get the certificate, how to test it, etc. --- Mary Jo Sminkey CFWebstore, ColdFusion-based Ecommerce http://www.cfwebstore.com ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319494 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF posts and CF-talk
How are you searching and what criteria? On Wed, Feb 18, 2009 at 12:23 PM, D I tried to dig up some old posts/follow-ups here, with phrase and/or {myUserId} to no avail. What gives? tks. Well, like a month or two ago, I posted a question about Adobe's key staff member on ColdFusion including tech and biz, couldn't find it any more, tried Adobe staff AND Don L. | Adobe AND Don L. | Don L.etc. with no luck. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319495 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF posts and CF-talk
Did you try the search in the upper left hand corner? It's CF-Talk specific. The search in the upper right has an option for all of HoF, but not as specific as the left one. Also, use don l. in quotes as one criteria. On Wed, Feb 18, 2009 at 2:11 PM, Don L do...@yahoo.com wrote: How are you searching and what criteria? On Wed, Feb 18, 2009 at 12:23 PM, D I tried to dig up some old posts/follow-ups here, with phrase and/or {myUserId} to no avail. What gives? tks. Well, like a month or two ago, I posted a question about Adobe's key staff member on ColdFusion including tech and biz, couldn't find it any more, tried Adobe staff AND Don L. | Adobe AND Don L. | Don L.etc. with no luck. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319496 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Clustering with Synchronization/Mirroring
If you're on Windows 2003 R2 you can use NFS replication for this. -Helge -Original Message- From: Joseph Bugeja [mailto:jbug...@rs2group.com] Sent: 18. februar 2009 19:17 To: cf-talk Subject: Clustering with Synchronization/Mirroring We have a setup consisting of 2 CF8 servers running in parallel (the 2 instances are clustered together using CF8 Ent/JRun4) and we have one app. deployed on each of the two servers. Each request is served by either one of the 2 servers. Although clustering is working great, we would like have a facility that when a server generates a file on one server it gets automatically pushed to the other parallel server. Is that possible with ColdFusion clustering or we to invest on additional software/perhaps proprietrary ones? Naturally, the two folders (one on each of the parallel servers) need to contain the same content, so ideally when one gets generated on one server it is immediately replicated on the other server. Can you give some tips/assistance about this problem? Kindest Regards, Joseph. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319497 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Clustering with Synchronization/Mirroring
That's going to highly depend on your server architecture. We have Windows 2003 R2 Enterprise. The NFS clustering in that release has been fantastic, and has only failed one time in about a year. It's multi-point sync (a - b, b - a) and can do partial file changes as well. This also requires that the machines be part of an active directory domain. Matthew Williams Geodesic GraFX Joseph Bugeja wrote: We have a setup consisting of 2 CF8 servers running in parallel (the 2 instances are clustered together using CF8 Ent/JRun4) and we have one app. deployed on each of the two servers. Each request is served by either one of the 2 servers. Although clustering is working great, we would like have a facility that when a server generates a file on one server it gets automatically pushed to the other parallel server. Is that possible with ColdFusion clustering or we to invest on additional software/perhaps proprietrary ones? Naturally, the two folders (one on each of the parallel servers) need to contain the same content, so ideally when one gets generated on one server it is immediately replicated on the other server. Can you give some tips/assistance about this problem? Kindest Regards, Joseph. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319498 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF posts and CF-talk
Did you try the search in the upper left hand corner? It's CF-Talk specific. The search in the upper right has an option for all of HoF, but not as specific as the left one. Also, use don l. in quotes as one criteria. On Wed, Feb 18, 2009 at 2:11 PM, D yeah, i missed the top left search box for cf-talks only, called me right-eyed, got it, thks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319499 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Question about next/prev browsing
If I have a table with 60,000 records - should I use query caching for the next/prev browsing, or should I pull the next/prev page of records every time the user presses the next/prev buttons? I'm leaning towards the latter as it just seems to make more sense memory-wise. Thanks, Mike ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319500 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF posts and CF-talk
I have to reorganize the site. desperately. On Wed, Feb 18, 2009 at 2:37 PM, Don L do...@yahoo.com wrote: Did you try the search in the upper left hand corner? It's CF-Talk specific. The search in the upper right has an option for all of HoF, but not as specific as the left one. Also, use don l. in quotes as one criteria. On Wed, Feb 18, 2009 at 2:11 PM, D yeah, i missed the top left search box for cf-talks only, called me right-eyed, got it, thks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319501 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF posts and CF-talk
yeah, otherwise those right-eyed people will have the ACLU all over you. On Wed, Feb 18, 2009 at 11:48 AM, Michael Dinowitz mdino...@houseoffusion.com wrote: I have to reorganize the site. desperately. On Wed, Feb 18, 2009 at 2:37 PM, Don L do...@yahoo.com wrote: Did you try the search in the upper left hand corner? It's CF-Talk specific. The search in the upper right has an option for all of HoF, but not as specific as the left one. Also, use don l. in quotes as one criteria. On Wed, Feb 18, 2009 at 2:11 PM, D yeah, i missed the top left search box for cf-talks only, called me right-eyed, got it, thks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319502 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Question about next/prev browsing
I'd do it at the DB level, easy to implement in Oracle not sure about the others. On Wed, Feb 18, 2009 at 11:48 AM, Mike Soultanian msoul...@csulb.eduwrote: If I have a table with 60,000 records - should I use query caching for the next/prev browsing, or should I pull the next/prev page of records every time the user presses the next/prev buttons? I'm leaning towards the latter as it just seems to make more sense memory-wise. Thanks, Mike ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319503 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Clustering with Synchronization/Mirroring
At one location, we NFS mounted our webroot to our web server boxes, and coldfusion machines, which worked well. I have also worked in a high-traffic environment, where the preference was to perform scheduled implementations on all boxes. In this case, we would deploy the whole code base to each server, and then verify that they were in sync before putting them back in service. The idea here is to reduce customer impact by removing a single point of failure, (ie a SAN), as well as remove any latency of network calls off the box. It depends on what your goals are. speeves On Wed, Feb 18, 2009 at 1:25 PM, Matthew Williams mai...@geodesicgrafx.comwrote: That's going to highly depend on your server architecture. We have Windows 2003 R2 Enterprise. The NFS clustering in that release has been fantastic, and has only failed one time in about a year. It's multi-point sync (a - b, b - a) and can do partial file changes as well. This also requires that the machines be part of an active directory domain. Matthew Williams Geodesic GraFX Joseph Bugeja wrote: We have a setup consisting of 2 CF8 servers running in parallel (the 2 instances are clustered together using CF8 Ent/JRun4) and we have one app. deployed on each of the two servers. Each request is served by either one of the 2 servers. Although clustering is working great, we would like have a facility that when a server generates a file on one server it gets automatically pushed to the other parallel server. Is that possible with ColdFusion clustering or we to invest on additional software/perhaps proprietrary ones? Naturally, the two folders (one on each of the parallel servers) need to contain the same content, so ideally when one gets generated on one server it is immediately replicated on the other server. Can you give some tips/assistance about this problem? Kindest Regards, Joseph. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319504 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Whitespace in flash form
I've got a whole bunch of whitespace in my flash form, between a text bit and a repeater. Code: cfformgroup type=page label=Interests style=padding:0px; cfformitem type=text style=padding:0px;Check any of the following classes that you would be interested in taking. These are courses that have been suggested by our other students./cfformitem cfformgroup type=repeater query=suggestionList startrow=0 style=padding:0px; cfinput type=checkbox name=suggestedID label={suggestionList.currentItem.category + ': ' + suggestionList.currentItem.suggestion} checked=false style=padding:0px; /cfformgroup /cfformgroup (Obviously this is wrapped in a cfform tag with other stuff.) There's about four or five line breaks between the text item and the checkboxes. I've searched searched but haven't found anything on this problem (or maybe my mad Google skilz are failing me today). I've tried cfprocessingdirective suppresswhitespace=yes but of course that didn't work, as I expected. I also tried setting padding to zero with inline styles; still no dice. Any ideas? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319505 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Question about next/prev browsing
If you're going for pulling it fresh from the DB on every hit, you've got at least couple good options. 1) cache it in ColdFusion - just use the cachedWithin attribute of cfquery, it's easy, it works great. Set it to a day or 5 minutes or 1 minute or even 10 seconds if you're concerned about the data being out of date. This is generally good practice anyway, to prevent cheap DoS hack attempts - you know, the one where you just hold down the F5 key on your competitor's site to tick them off. 2) Cache it in the browser - paginate them with javascript. Slow load time, fast interaction once loaded. And remember, for server-side paging (next/prev buttons, etc), you should use my CFC - http://paginationcfc.riaforge.org/ nathan strutz [Blog and Family @ http://www.dopefly.com/] [AZCFUG Manager @ http://www.azcfug.org/] On Wed, Feb 18, 2009 at 12:48 PM, Mike Soultanian msoul...@csulb.eduwrote: If I have a table with 60,000 records - should I use query caching for the next/prev browsing, or should I pull the next/prev page of records every time the user presses the next/prev buttons? I'm leaning towards the latter as it just seems to make more sense memory-wise. Thanks, Mike ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319506 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Deploying cfusion-ear to JBoss ... unable to find class path derby.jar
I am experimenting with deploying ColdFusion to a JBoss server using a J2EE EAR file. I followed the instructions exactly as found in the LiveDocs (http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=installj2 ee_15.html) just to make sure I had everything right. However, when I start up the JBoss server, I am getting the error below on the derby.jar file. I can see that the path to the referenced JAR file is valid, so I am at a bit of a loss here. Can anybody throw a few ideas my way on what might be wrong here? Thanks. _ 15:16:55,235 ERROR [ProfileServiceBootstrap] Failed to load profile: org.jboss.deployers.spi.DeploymentException: Unable to find class path entry ClassPathEntryImpl{path=cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/derby.ja r} from derbynet.jar at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(Dep loymentException.java:49) at org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder.applyContextIn fo(VFSStructureBuilder.java:184) at org.jboss.deployers.structure.spi.helpers.AbstractStructureBuilder.populateC ontext(AbstractStructureBuilder.java:73) at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determ ineStructure(AbstractStructuralDeployers.java:89) at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDep loyerImpl.java:853) at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployer Impl.java:303) at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployer Impl.java:260) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(P rofileServiceBootstrap.java:303) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(Profile ServiceBootstrap.java:205) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405) at org.jboss.Main.boot(Main.java:209) at org.jboss.Main$1.run(Main.java:547) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: Child not found cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/derby.jar for delegatinghand...@1435160963[path=cfusion-ear/cfusion-war/WEB-INF/cfusion/li b/derbynet.jar context=file:/E:/Scratch/appsvr/server/default/deploy/ real=file:/E:/Scratch/appsvr/server/default/deploy/cfusion-ear/cfusion-war/W EB-INF/cfusion/lib/derbynet.jar], available children: [zipentryhand...@213982037[path=cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/ derbynet.jar/META-INF context=file:/E:/Scratch/appsvr/server/default/deploy/ real=file:/E:/Scratch/appsvr/server/default/deploy/cfusion-ear/cfusion-war/W EB-INF/cfusion/lib/derbynet.jar/META-INF], zipentryhand...@1508470781[path=cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/ derbynet.jar/org context=file:/E:/Scratch/appsvr/server/default/deploy/ real=file:/E:/Scratch/appsvr/server/default/deploy/cfusion-ear/cfusion-war/W EB-INF/cfusion/lib/derbynet.jar/org]] at org.jboss.virtual.VirtualFile.findChild(VirtualFile.java:431) at org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder.applyContextIn fo(VFSStructureBuilder.java:180) ... 11 more ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319507 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Drawing a dynamic trapezoid.
Chapter 42 of the CF Dev Guide, Creating and Manipulating CF Images http://livedocs.adobe.com/coldfusion/8/htmldocs/Images_01.html#130281 On Tue, Feb 17, 2009 at 12:04 PM, Terry Troxel te...@it-werks.com wrote: I see a bunch of image functions, is that what you were referring to Raymond? I am relatively new to CF8 and loving it, but it is real easy to get lost in all the new toys. If you could point me to a specific place in the documentation I would really appreciate it. -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: Tuesday, February 17, 2009 8:47 AM To: cf-talk Subject: Re: Drawing a dynamic trapezoid. Have you looked at CF8's drawing features? On Tue, Feb 17, 2009 at 9:49 AM, Terry Troxel te...@it-werks.com wrote: Is there anyway to draw in cf8 a trapezoid that will resize based upon fields in a database ie left leg height, right leg height, bottom leg width? I have no skills in Flash or Java if that is where you would direct me to. Terry ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319508 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: SQL Server 2005 Datasource failing
For those who are interested this was solved at: http://forums.newatlanta.com/messages.cfm?threadid=D0F5E9DE-C84B-43EC-8C34667F8FB9077B Thanks to those who helped! Stan ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319509 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFHTTP and SSL v3
I'm confused SSL 3.0 does not necessarily need a client cert - does it? The connection would still use the public key right? Are you saying that Auth.net is requiring you to specify the client cert as a part of the handshake? Mark, I checked with AuthNet and you're right, they are not requiring a client cert. So it looks like this will be a bit less of a concern, assuming that CFHTTP is using the same protocol as the underlying web server (most of which are going to be at least v3.0). It may however still be a problem on some older CF versions, I would expect CF5 might have problems with it. In corresponding with AuthNet, they did say that they will try to roll out the requirement on the test server first so we can check our sites and make sure they are still working, but I don't have a date from them yet on when they expect to be able to do that. --- Mary Jo Sminkey CFWebstore, ColdFusion-based Ecommerce http://www.cfwebstore.com ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319510 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion Hosts
I use Dailyrazor.com for personal stuff and hosting.com for business.. On Wed, Feb 11, 2009 at 10:47 PM, Robert Bailey cft...@tropicalbean.comwrote: I am trying to find a decent CF8 hosting company that offers SQL Server. The company I am working with now (remotely) does not have a dev server, so I am looking for something that is going to have very little traffic, simply just allowing him to review. No email is needed, etc Thanks! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319511 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: FireFox getElementById issue
I'm not a javascript expert..but try script = Javascript instead of script = Javascript1.2 On Mon, Feb 16, 2009 at 11:44 AM, Austin Band cfusio...@yahoo.com wrote: Hello, I need a little help. I have javascript that works with IE but not FireFox. The code: script = Javascript1.2 function addItemsToParent(){ var MemberList= ; var list = document.getElementById(MemberName).value; for(var i=0; ilist.options.length; ++i) if(list.options[i].selected){ MemberList = MemberList + ,+list.options[i].value; } opener.document.MemberName.value = MemberList; self.close(); } /script The error returned in Error Console is that the list is null. This works correctly in IE. The goal is to select a name and it displays in the textbox ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319512 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: FireFox getElementById issue
script type=text/javascript and... are you sure there is only one element with that specific ID? really really sure? On Wed, Feb 18, 2009 at 10:15 PM, Joel Polsky polskystud...@gmail.comwrote: I'm not a javascript expert..but try script = Javascript instead of script = Javascript1.2 On Mon, Feb 16, 2009 at 11:44 AM, Austin Band cfusio...@yahoo.com wrote: Hello, I need a little help. I have javascript that works with IE but not FireFox. The code: script = Javascript1.2 function addItemsToParent(){ var MemberList= ; var list = document.getElementById(MemberName).value; for(var i=0; ilist.options.length; ++i) if(list.options[i].selected){ MemberList = MemberList + ,+list.options[i].value; } opener.document.MemberName.value = MemberList; self.close(); } /script The error returned in Error Console is that the list is null. This works correctly in IE. The goal is to select a name and it displays in the textbox ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319513 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4