Re: Stopping Vacation Messages on BCC'd emails
Hi Dan, I don't deal with the email server side of things, but my friendly system admin told me that we use the open source vacation mail responder, which parses the message header and blocks any email that has 'Precedence: bulk' in it, before passing the message to the email server. I believe we use 'Debian-3sarge3' based email server. The email blocking is a built in feature of the vacation mail responder. So, all you have to do is enable this feature in your system. Hope that helps! Kamru What email server are you using Kamru? Is that a custom field you built into your email server, or a built-in one? Thanks! Dan Kamru Miah wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308660 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
could not create java virtual machine
I have installed flex 3 builder numerous times, but it will not run giving the above error, any idea why ? I also do not have any option during installation to install it as an eclipse plugin rather than standalone, how do I get this option ? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308661 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Stopping Vacation Messages on BCC'd emails
Those out of office messages are a real menace.I once worked for a company where the customer service dept worked mon-fri 8.30-5pm and near the end of Friday afternoon a customer service person sent a message to a customer, set his out of office message, then flipped his computer off and went home for the holiday weekend. His message went to someone who had just done the same, so his computer automaticalyl sent back an out of office message. The CD person's account recognised the incoming message and sent his out-of-office message to the customer, which recognised the message coming in and sent his own out-of-office message which arrived at our server, which sent out our CD rep's out-of-office mesage which ok you get the idea. These two servers spent a happy 3-day weekend sending out-of-office messages to each other around the clock. When our network guy came in about 9am on Tuesday, he was greeted by an office full of grumpy people because they couldnt send or receive emails. In fact there were a lot of things that wouldnt work. The network's broken!! was the cry. My computer wont do anything!. I can't send emails! or my personal favourite .. The internet is broken!! For me as a contractor, with specific responsiblity that didnt include managing the network, i got to smile a wry smile and sit back as i watched the network guy wrestle with a server that had no disk space remaining. And every time he cleared space, it promptly filled again with another fifty bazillion messages waiting to come in. It took him till after midday before the flow of out-of-office messages finally stopped and order was restored to the network. The first decision of the next day's IT committee was to ban out-of-office messages. ColdFusion content : I was there working independently on a side project using CF4.2. It was during this project that i read my first copy of CFWACK. One ofhte best IT technical books i've ever read. 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 Mon, Jul 7, 2008 at 8:27 PM, Kamru Miah [EMAIL PROTECTED] wrote: Hi Dan, I don't deal with the email server side of things, but my friendly system admin told me that we use the open source vacation mail responder, which parses the message header and blocks any email that has 'Precedence: bulk' in it, before passing the message to the email server. I believe we use 'Debian-3sarge3' based email server. The email blocking is a built in feature of the vacation mail responder. So, all you have to do is enable this feature in your system. Hope that helps! Kamru What email server are you using Kamru? Is that a custom field you built into your email server, or a built-in one? Thanks! Dan Kamru Miah wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308662 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Installing Open BD and CF8 on the same machine?
Oooh... I suppose I could use Railo...I'd have to test my code out to make sure it all ran fine (same with OBD too I suppose). Thanks for the input guys. andy -Original Message- From: Gerald Guido [mailto:[EMAIL PROTECTED] Sent: Sunday, July 06, 2008 9:06 PM To: CF-Talk Subject: Re: Installing Open BD and CF8 on the same machine? Both OBD and Railo come with a built in server that runs on port 8080... Jetty I think. There is a script that you have to run last I remember (sh for *nix and bat file for win boxes). All you need to do after that is forward requests to port 8080. Railo (2.0 community and beta 3) comes with an cf admin area. I don't think that OBD has an admin yet. HTH G On Sun, Jul 6, 2008 at 8:51 AM, Andy Matthews [EMAIL PROTECTED] wrote: I've got a personal development machine (with CF8) at my house that mirrors my hosting company's environment. But I've also got some code which I'd like to make available to a few friends via HTTP request straight out of my house off of the same box. I tried giving my friend the IP and doing some port forwarding in my router, but then ran into the license exception error for CF8 (totally forgot about that). Anyway, so now I'm wondering if installing OBD on the same machine (an Intel based Mac Mini) is an option. I don't want to mess up my CF8 environment though. Can anyone advise me on what I could do to make these tools available remotely using CFML? Thanks in advance. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308663 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Just a little cfcase tip...
I'm glad I could help. :o) Rick -Original Message- From: Jessica Kennedy [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 12:38 AM To: CF-Talk Subject: Re: Just a little cfcase tip... well.. I feel marginally less stupid now =) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308664 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 7 and mySql connection proble
That sounds like you've got a connection / driver in place properly, but the database/schema you're referencing (MyDataSource) doesn't exist, or the user you're connecting as doesn't have rights to it. Given that you're connecting as root, I'd doubt it's the latter. If you start up MySQL from a command prompt, can you do 'use MyDataSource' to verify the database MyDataSource exists? -Joe On Jul 6, 2008, at 4:23 PM, Doug Brown wrote: I have not used mySql in a long time and have also never installed it on Windows Vista. What am I missing? Connection verification failed for data source: MyDataSource java.sql.SQLException: Syntax error or access violation message from server: Unknown database MyDataSource The root cause was that: java.sql.SQLException: Syntax error or access violation message from server: Unknown database MyDataSource Configuration Windows Vista Home premium CF 7 MySql version 5.0.26 Connect J version 3.0.17 My datasource is setup as follows Datasource Name: MyDataSource JDBC URL jdbc:mysql://localhost:3306/MyDataSource Driver Class com.mysql.jdbc.Driver Driver Name MySQL Connector USER root PASSWORD *** ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308665 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 on SLES 10.2 - where is an updated glibc ?
On Friday 04 Jul 2008, James Holmes wrote: Well, hypothetically, if I were in the beta I'd have seen that it was already reported and that Adobe were aware of it since then and I'd be under an NDA to prevent me from discussing it. Hypothetically, if I'd discovered the problem on the beta and been told it'd be fine on 'real SLES 10.x' because I was (maybe) using an older OpenSuSE, I'd have an expectation of it working out of the box. Hypothetically. -- Tom Chiverton 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. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. 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.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308666 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Where Do You Put Your Error Checking Code?
On Friday 27 Jun 2008, Ian Rutherford wrote: So for the most part you would keep your business logic out of the database and take care of that in CFCS / cfm / ajax logic before hand? Yup, with the note that business rules should never be solely in the client, because the client can't be trusted. -- Tom Chiverton 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. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. 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.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308667 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
The value returned from the CheckPassword function is not of type query.
I have the following code.. cfinvoke component=FHCcfc.Queries method=CheckPassword returnvariable=Check/cfinvoke in the cfc, I have.. cffunction name=CheckPassword returntype=query cfstoredproc procedure=CheckPassword dataSource=FoodHandlerCard cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.name# dbVarName=@Name cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.password# dbVarName=@Password cfprocresult name=Check /cfstoredproc /cffunction form.name and form.password are defined and when I put a cfdump var=#check# before the function ends, I get back a query result. So I know it's pulling up a query result. So... Me being new to CFC's, why am I getting the error that it's not returning a query when it seems to be doing so? I think it's creating the query in the function, but then it isn't returning back to the cfinvoke? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308668 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: The value returned from the CheckPassword function is not of type query.
On Mon, Jul 7, 2008 at 9:57 AM, Phillip Vector [EMAIL PROTECTED] wrote: I have the following code.. cfinvoke component=FHCcfc.Queries method=CheckPassword returnvariable=Check/cfinvoke in the cfc, I have.. cffunction name=CheckPassword returntype=query cfstoredproc procedure=CheckPassword dataSource=FoodHandlerCard cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.name# dbVarName=@Name cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.password# dbVarName=@Password cfprocresult name=Check /cfstoredproc /cffunction form.name and form.password are defined and when I put a cfdump var=#check# before the function ends, I get back a query result. So I know it's pulling up a query result. So... Me being new to CFC's, why am I getting the error that it's not returning a query when it seems to be doing so? I think it's creating the query in the function, but then it isn't returning back to the cfinvoke? correct. it's not returning anything. your cffunction needs to have a cfreturn / tag in it in order for it to return a value. in this case, cfreturn Check /, since you want the function to return the cf query object. -- A byte walks into a bar and orders a pint. Bartender asks him What's wrong? Byte says Parity error. Bartender nods and says Yeah, I thought you looked a bit off. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308669 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The value returned from the CheckPassword function is not of type query.
Doesn't the cfprocresult name=Check in the cfstoredproc handle the returning of the information? Can I safely get rid of that then? On Mon, Jul 7, 2008 at 10:02 AM, Charlie Griefer [EMAIL PROTECTED] wrote: On Mon, Jul 7, 2008 at 9:57 AM, Phillip Vector [EMAIL PROTECTED] wrote: I have the following code.. cfinvoke component=FHCcfc.Queries method=CheckPassword returnvariable=Check/cfinvoke in the cfc, I have.. cffunction name=CheckPassword returntype=query cfstoredproc procedure=CheckPassword dataSource=FoodHandlerCard cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.name# dbVarName=@Name cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.password# dbVarName=@Password cfprocresult name=Check /cfstoredproc /cffunction form.name and form.password are defined and when I put a cfdump var=#check# before the function ends, I get back a query result. So I know it's pulling up a query result. So... Me being new to CFC's, why am I getting the error that it's not returning a query when it seems to be doing so? I think it's creating the query in the function, but then it isn't returning back to the cfinvoke? correct. it's not returning anything. your cffunction needs to have a cfreturn / tag in it in order for it to return a value. in this case, cfreturn Check /, since you want the function to return the cf query object. -- A byte walks into a bar and orders a pint. Bartender asks him What's wrong? Byte says Parity error. Bartender nods and says Yeah, I thought you looked a bit off. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308670 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: The value returned from the CheckPassword function is not of type query.
No, that line of code simply creates a variable which contains the result set returned from the proc. In order to actually return that variable, you need to use cfreturn You can create infinite variables of any given type in a method, but the one you wish to return to the caller needs to be specified by the cfreturn tag. ~Brad -Original Message- From: Phillip Vector [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 12:10 PM To: CF-Talk Subject: Re: The value returned from the CheckPassword function is not of type query. Doesn't the cfprocresult name=Check in the cfstoredproc handle the returning of the information? Can I safely get rid of that then? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308671 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: The value returned from the CheckPassword function is not of type query.
Ok.. Thanks. :) On Mon, Jul 7, 2008 at 10:13 AM, Brad Wood [EMAIL PROTECTED] wrote: No, that line of code simply creates a variable which contains the result set returned from the proc. In order to actually return that variable, you need to use cfreturn You can create infinite variables of any given type in a method, but the one you wish to return to the caller needs to be specified by the cfreturn tag. ~Brad -Original Message- From: Phillip Vector [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 12:10 PM To: CF-Talk Subject: Re: The value returned from the CheckPassword function is not of type query. Doesn't the cfprocresult name=Check in the cfstoredproc handle the returning of the information? Can I safely get rid of that then? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308672 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Paypal Sandbox server bogus?
Hi, Anyone here has an application using Paypal? I'm new to this so I don't know if the problem is with me or with Paypal: I'm testing payments through the sandbox IPN server. Last Friday, it worked fine, bit since this morning, I do not receive any notify_url call back on my server. Apparently I'm not the only one: See http://www.paypaldeveloper.com/pdn/board/message?board.id=ipnthread.id=12053 Can any one confirm his tests are working? Thanks. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308673 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
The Woes of CFThread
Is anybody using cfthread... functionality? Is it working well for you? I have been fighting for most of a month with cfthread... functionality and it is driving me batty. Run the application one time and it does all the processing, but does not output the results. Run it a second time and the system locks up and ColdFusion services must be cycled. Error trapping seems to be a crap shoot. If anything goes wrong in any of the spawned threads and all is lost. Again ColdFusion has to be cycled. UHHG ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308674 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Is there a way to do this?
Hi, all... I'm using a dynamically populated select (multiple) allowing users to select one or more cities for which they'd like to view properties. When the form which contains the form is submitted, it submits back to the same page it's on. What I'd like to have happen in the select is for the first selection to appear at the top of the select choices. e.g. First Population of Select: - any city - Athens - Atlanta - Albany - Augusta - etc. User chooses Albany. Select reappears: - Albany - Augusta - etc. Any way to control this with CF or otherwise? Thanks, Rick ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308675 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Is there a way to do this?
something like: select name=city option value=#cityID#cfif form.city is cityID selected=selected/cfif#city#/option /select you'll probably have to throw a cfparam name=form.city default= / out there for the initial form display. getting the 2nd select to display the appropriate cities will be a bit more work, and the answer will depend on how you're currently doing it. If it's javascript, you'll need to invoke the javascript function manually. something like: cfif structKeyExists(form, 'city') cfoutputscript type=text/javascriptpopulateAreas('#form.city#');/script/cfoutput /cfif But the short answer is... yes. there is a way to do this :) On Mon, Jul 7, 2008 at 11:24 AM, Rick Faircloth [EMAIL PROTECTED] wrote: Hi, all... I'm using a dynamically populated select (multiple) allowing users to select one or more cities for which they'd like to view properties. When the form which contains the form is submitted, it submits back to the same page it's on. What I'd like to have happen in the select is for the first selection to appear at the top of the select choices. e.g. First Population of Select: - any city - Athens - Atlanta - Albany - Augusta - etc. User chooses Albany. Select reappears: - Albany - Augusta - etc. Any way to control this with CF or otherwise? Thanks, Rick ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308676 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Is there a way to do this?
This can be done using JavaScript. You can Google for form manipulation code or check out something like jQuery which would make resorting or modifying the select box quite simple and wouldn't require a request to the server. On Mon, Jul 7, 2008 at 2:24 PM, Rick Faircloth [EMAIL PROTECTED] wrote: Hi, all... I'm using a dynamically populated select (multiple) allowing users to select one or more cities for which they'd like to view properties. When the form which contains the form is submitted, it submits back to the same page it's on. What I'd like to have happen in the select is for the first selection to appear at the top of the select choices. e.g. First Population of Select: - any city - Athens - Atlanta - Albany - Augusta - etc. User chooses Albany. Select reappears: - Albany - Augusta - etc. Any way to control this with CF or otherwise? Thanks, Rick ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308677 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Sybase 10
Hi All, Can anyone give me some pointers on how to connect CF7 to a Sybase database? I can't seem to find anything online that gives a step by step. TIA, DUANE BOUDREAU | SANDY BAY NETWORKS PRESIDENT AND CHIEF TECHNOLOGY OFFICER P: 902.232.2345 x222 | P: 603.879.0249 x222 | F: 866.631.6272 SMART PEOPLE. SMART SOLUTIONS. | http://www.sandybay.com/ http://www.sandybay.com __ Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308678 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Is there a way to do this?
Thanks for the replies, Charlie and Brian... Actually, I should have been more clear. I've got this code working, which re-selects all of the selected citis: cfoutput query=get_cities cfif (isDefined(form.fieldnames) and isDefined(session.city) and session.city contains #city#) or session.city is #city# option value=#city# selected#city# - #num_cities#/option cfelse option value=#city##city# - #num_cities#/option /cfif /cfoutput What I need now is to get the first selected item to display at the top of the list. Will that require javascript? jQuery, perhaps? Rick -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 2:33 PM To: CF-Talk Subject: Re: Is there a way to do this? something like: select name=city option value=#cityID#cfif form.city is cityID selected=selected/cfif#city#/option /select ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308679 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Is there a way to do this?
Rick Faircloth wrote: Thanks for the replies, Charlie and Brian... Actually, I should have been more clear. I've got this code working, which re-selects all of the selected citis: cfoutput query=get_cities cfif (isDefined(form.fieldnames) and isDefined(session.city) and session.city contains #city#) or session.city is #city# option value=#city# selected#city# - #num_cities#/option cfelse option value=#city##city# - #num_cities#/option /cfif /cfoutput What I need now is to get the first selected item to display at the top of the list. Will that require javascript? jQuery, perhaps? Rick You could, but if you are building the select in CF as above, just do something to sort the query into the desired order with the selected city first. How this could be done depends on how the data is organized, but it is 'doable'. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308680 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The value returned from the CheckPassword function is not of type query.
Well.. Wait... cfinvoke component=FHCcfc.Queries method=CreateUser returnvariable=CreateUser/cfinvoke cffunction name=CreateUser returntype=query cfstoredproc procedure=CreateUser dataSource=FoodHandlerCard cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#CreateUUID()# dbVarName=@UserID cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.FirstName# dbVarName=@FirstName cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.MiddleName# dbVarName=@MiddleName cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.LastName# dbVarName=@LastName cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.Address# dbVarName=@Address cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.City# dbVarName=@City cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.State# dbVarName=@State cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.Zip# dbVarName=@Zip cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.Phone# dbVarName=@Phone cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.Email# dbVarName=@Email cfprocparam type=IN CFSQLType=CF_SQL_INTEGER value=#form.UserType# dbVarName=@UserType cfprocparam type=IN CFSQLType=CF_SQL_INTEGER value=#form.HintType# dbVarName=@HintType cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.HintAnswer# dbVarName=@HintAnswer cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#cgi.REMOTE_ADDR# dbVarName=@IP cfprocparam type=IN CFSQLType=CF_SQL_INTEGER value=#form.EmployerID# dbVarName=@EmployerID cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#Password# dbVarName=@Password cfprocresult name=CreateUser /cfstoredproc cfreturn CreateUser /cffunction This one has a cfreturn, but I'm getting the same error.. It's an insert, so I removed the cfreturn and return variable and I still get the same error as I did when they were there... So... Is there some special way of running code in a CFC where I don't need a return variable besides removing the cfreturn and returnvariable? On Mon, Jul 7, 2008 at 10:01 AM, CF-Talk cf-talk@houseoffusion.com wrote: I have the following code.. cfinvoke component=FHCcfc.Queries method=CheckPassword returnvariable=Check/cfinvoke in the cfc, I have.. cffunction name=CheckPassword returntype=query cfset var Check = / cfstoredproc procedure=CheckPassword dataSource=FoodHandlerCard cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.name# dbVarName=@Name cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.password# dbVarName=@Password cfprocresult name=Check /cfstoredproc cfreturn Check / /cffunction form.name and form.password are defined and when I put a cfdump var=#check# before the function ends, I get back a query result. So I know it's pulling up a query result. So... Me being new to CFC's, why am I getting the error that it's not returning a query when it seems to be doing so? I think it's creating the query in the function, but then it isn't returning back to the cfinvoke? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308681 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: The value returned from the CheckPassword function is not of type query.
Your problem is your CFFUNCTION specifies the returntype attribute. When you do that you are telling ColdFusion to expect the function to return something-- and more specifically, to expect a particular type of variable to be returned. If you have a method which does not return any information to the calling code, than remove the returntype=query-- Simple as that. ~Brad -Original Message- From: Phillip Vector [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 2:23 PM To: CF-Talk Subject: Re: The value returned from the CheckPassword function is not of type query. Well.. Wait... cfinvoke component=FHCcfc.Queries method=CreateUser returnvariable=CreateUser/cfinvoke cffunction name=CreateUser returntype=query This one has a cfreturn, but I'm getting the same error.. It's an insert, so I removed the cfreturn and return variable and I still get the same error as I did when they were there... So... Is there some special way of running code in a CFC where I don't need a return variable besides removing the cfreturn and returnvariable? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308682 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Is there a way to do this?
You could do something like (not tested) select distinct city, orderby from ( select city, 2 as orderby from table where city foo_city union select city, 1 as orderby from table where city = foo_city ) order by orderby, city that would tack the prior cities onto the end On Mon, Jul 7, 2008 at 2:19 PM, Ian Skinner [EMAIL PROTECTED] wrote: Rick Faircloth wrote: Thanks for the replies, Charlie and Brian... Actually, I should have been more clear. I've got this code working, which re-selects all of the selected citis: cfoutput query=get_cities cfif (isDefined(form.fieldnames) and isDefined(session.city) and session.city contains #city#) or session.city is #city# option value=#city# selected#city# - #num_cities#/option cfelse option value=#city##city# - #num_cities#/option /cfif /cfoutput What I need now is to get the first selected item to display at the top of the list. Will that require javascript? jQuery, perhaps? Rick You could, but if you are building the select in CF as above, just do something to sort the query into the desired order with the selected city first. How this could be done depends on how the data is organized, but it is 'doable'. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308683 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The value returned from the CheckPassword function is not of type query.
if i'm understanding what you're asking... a cffunction doesn't have to return a value. just set the returntype=void and omit a cfreturn / value. however, sometimes on things like inserts/updates, it's advisable to return a boolean based on whether or not the insert/update succeeded (using cftry/cfcatch in the function) :) On Mon, Jul 7, 2008 at 12:23 PM, Phillip Vector [EMAIL PROTECTED] wrote: Well.. Wait... cfinvoke component=FHCcfc.Queries method=CreateUser returnvariable=CreateUser/cfinvoke cffunction name=CreateUser returntype=query cfstoredproc procedure=CreateUser dataSource=FoodHandlerCard cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#CreateUUID()# dbVarName=@UserID cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.FirstName# dbVarName=@FirstName cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.MiddleName# dbVarName=@MiddleName cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.LastName# dbVarName=@LastName cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.Address# dbVarName=@Address cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.City# dbVarName=@City cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.State# dbVarName=@State cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.Zip# dbVarName=@Zip cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.Phone# dbVarName=@Phone cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.Email# dbVarName=@Email cfprocparam type=IN CFSQLType=CF_SQL_INTEGER value=#form.UserType# dbVarName=@UserType cfprocparam type=IN CFSQLType=CF_SQL_INTEGER value=#form.HintType# dbVarName=@HintType cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.HintAnswer# dbVarName=@HintAnswer cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#cgi.REMOTE_ADDR# dbVarName=@IP cfprocparam type=IN CFSQLType=CF_SQL_INTEGER value=#form.EmployerID# dbVarName=@EmployerID cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#Password# dbVarName=@Password cfprocresult name=CreateUser /cfstoredproc cfreturn CreateUser /cffunction This one has a cfreturn, but I'm getting the same error.. It's an insert, so I removed the cfreturn and return variable and I still get the same error as I did when they were there... So... Is there some special way of running code in a CFC where I don't need a return variable besides removing the cfreturn and returnvariable? On Mon, Jul 7, 2008 at 10:01 AM, CF-Talk cf-talk@houseoffusion.com wrote: I have the following code.. cfinvoke component=FHCcfc.Queries method=CheckPassword returnvariable=Check/cfinvoke in the cfc, I have.. cffunction name=CheckPassword returntype=query cfset var Check = / cfstoredproc procedure=CheckPassword dataSource=FoodHandlerCard cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.name# dbVarName=@Name cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.password# dbVarName=@Password cfprocresult name=Check /cfstoredproc cfreturn Check / /cffunction form.name and form.password are defined and when I put a cfdump var=#check# before the function ends, I get back a query result. So I know it's pulling up a query result. So... Me being new to CFC's, why am I getting the error that it's not returning a query when it seems to be doing so? I think it's creating the query in the function, but then it isn't returning back to the cfinvoke? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308684 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: The value returned from the CheckPassword function is not of type query.
*slaps his hand to his head* Thanks. On Mon, Jul 7, 2008 at 12:34 PM, Charlie Griefer [EMAIL PROTECTED] wrote: if i'm understanding what you're asking... a cffunction doesn't have to return a value. just set the returntype=void and omit a cfreturn / value. however, sometimes on things like inserts/updates, it's advisable to return a boolean based on whether or not the insert/update succeeded (using cftry/cfcatch in the function) :) On Mon, Jul 7, 2008 at 12:23 PM, Phillip Vector [EMAIL PROTECTED] wrote: Well.. Wait... cfinvoke component=FHCcfc.Queries method=CreateUser returnvariable=CreateUser/cfinvoke cffunction name=CreateUser returntype=query cfstoredproc procedure=CreateUser dataSource=FoodHandlerCard cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#CreateUUID()# dbVarName=@UserID cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.FirstName# dbVarName=@FirstName cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.MiddleName# dbVarName=@MiddleName cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.LastName# dbVarName=@LastName cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.Address# dbVarName=@Address cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.City# dbVarName=@City cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.State# dbVarName=@State cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.Zip# dbVarName=@Zip cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.Phone# dbVarName=@Phone cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.Email# dbVarName=@Email cfprocparam type=IN CFSQLType=CF_SQL_INTEGER value=#form.UserType# dbVarName=@UserType cfprocparam type=IN CFSQLType=CF_SQL_INTEGER value=#form.HintType# dbVarName=@HintType cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.HintAnswer# dbVarName=@HintAnswer cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#cgi.REMOTE_ADDR# dbVarName=@IP cfprocparam type=IN CFSQLType=CF_SQL_INTEGER value=#form.EmployerID# dbVarName=@EmployerID cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#Password# dbVarName=@Password cfprocresult name=CreateUser /cfstoredproc cfreturn CreateUser /cffunction This one has a cfreturn, but I'm getting the same error.. It's an insert, so I removed the cfreturn and return variable and I still get the same error as I did when they were there... So... Is there some special way of running code in a CFC where I don't need a return variable besides removing the cfreturn and returnvariable? On Mon, Jul 7, 2008 at 10:01 AM, CF-Talk cf-talk@houseoffusion.com wrote: I have the following code.. cfinvoke component=FHCcfc.Queries method=CheckPassword returnvariable=Check/cfinvoke in the cfc, I have.. cffunction name=CheckPassword returntype=query cfset var Check = / cfstoredproc procedure=CheckPassword dataSource=FoodHandlerCard cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.name# dbVarName=@Name cfprocparam type=IN CFSQLType=CF_SQL_VARCHAR value=#form.password# dbVarName=@Password cfprocresult name=Check /cfstoredproc cfreturn Check / /cffunction form.name and form.password are defined and when I put a cfdump var=#check# before the function ends, I get back a query result. So I know it's pulling up a query result. So... Me being new to CFC's, why am I getting the error that it's not returning a query when it seems to be doing so? I think it's creating the query in the function, but then it isn't returning back to the cfinvoke? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308685 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The Woes of CFThread
On Mon, Jul 7, 2008 at 1:06 PM, Ian Skinner [EMAIL PROTECTED] wrote: Is anybody using cfthread... functionality? Is it working well for you? Yep. I have been fighting for most of a month with cfthread... functionality and it is driving me batty. cfthread is a VERY powerful tool. It also takes a lot of care to use correctly. Run the application one time and it does all the processing, but does not output the results. That is expected. The output is stored in the thread scope for the thread itself. If you use the JOIN action (Which basically means, wait for these threads to end), you can get the output and look at it. This should be documented. (And let me add - be sure you have read the docs COMPLETELY!) Run it a second time and the system locks up and ColdFusion services must be cycled. Most likely it is something in your code. Error trapping seems to be a crap shoot. Nope it isn't. Again, if you look at the thread data (if you use JOIN) you can determine if an error was thrown. Or you can use try/catch to log any errors. It is your responsibility to monitor what happens in the threads. If anything goes wrong in any of the spawned threads and all is lost. Again ColdFusion has to be cycled. Nope. See above. :) -- === Raymond Camden, VP of Software Dev, Broadchoice Email : [EMAIL PROTECTED] Blog : www.coldfusionjedi.com AOL IM : cfjedimaster Keep up to date with the community: http://www.coldfusionbloggers.org ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308686 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Is there a way to do this?
Well... the cities that populate the multiple select are returned by a query that provides each distinct city name. So the cities are not in the db, and all I have to work with is the name of the city, itself. I could pull the selected cities out of the order and place them on top of the list, but I'd rather not do that, because it might confuse the user. I want the cities to stay in the same order as the query delivers them, but with the first selected city on the top. It would be nice if there were some attribute of the select option, like option value=#city# selected top#city#/option so I could have that option with top as an attribute scroll (not animate) to that point in the list as the first selection. I may have to use some jQuery and assign an id to each option dynamically, then have jQuery find the first selected option and somehow make the list scroll to that point. Thoughts? Rick -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 3:19 PM To: CF-Talk Subject: Re: Is there a way to do this? Rick Faircloth wrote: Thanks for the replies, Charlie and Brian... Actually, I should have been more clear. I've got this code working, which re-selects all of the selected citis: cfoutput query=get_cities cfif (isDefined(form.fieldnames) and isDefined(session.city) and session.city contains #city#) or session.city is #city# option value=#city# selected#city# - #num_cities#/option cfelse option value=#city##city# - #num_cities#/option /cfif /cfoutput What I need now is to get the first selected item to display at the top of the list. Will that require javascript? jQuery, perhaps? Rick You could, but if you are building the select in CF as above, just do something to sort the query into the desired order with the selected city first. How this could be done depends on how the data is organized, but it is 'doable'. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308687 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
ONE Ring to Rule them all
I maintain 6 - 9 similar CF websites spread across three different Windows and Linux servers. Maintaining the Application.cfm files is turning into a big pain. Is there any practical way to use ONE Application.CFM file in ONE place for all of these sites? Rick Colman ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308688 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Sybase 10
Look for an ODBC driver for Sybase 10. It might require installing some sort of Sybase client software on the web server too. This seems to be the lot in life for databases operating off of the beaten path. -Original Message- From: Duane Boudreau [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 1:48 PM To: CF-Talk Subject: Sybase 10 Hi All, Can anyone give me some pointers on how to connect CF7 to a Sybase database? I can't seem to find anything online that gives a step by step. TIA, DUANE BOUDREAU | SANDY BAY NETWORKS PRESIDENT AND CHIEF TECHNOLOGY OFFICER P: 902.232.2345 x222 | P: 603.879.0249 x222 | F: 866.631.6272 SMART PEOPLE. SMART SOLUTIONS. | http://www.sandybay.com/ http://www.sandybay.com __ Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308689 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: ONE Ring to Rule them all
Not if you're on different servers. -Original Message- From: Colman, Richard [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 2:51 PM To: CF-Talk Subject: ONE Ring to Rule them all I maintain 6 - 9 similar CF websites spread across three different Windows and Linux servers. Maintaining the Application.cfm files is turning into a big pain. Is there any practical way to use ONE Application.CFM file in ONE place for all of these sites? Rick Colman ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308690 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ONE Ring to Rule them all
Use version control and an automated deployment framework. You still have 6-9 copies (can't share across servers), but you can manage them as one. cheers, barneyb On Mon, Jul 7, 2008 at 12:50 PM, Colman, Richard [EMAIL PROTECTED] wrote: I maintain 6 - 9 similar CF websites spread across three different Windows and Linux servers. Maintaining the Application.cfm files is turning into a big pain. Is there any practical way to use ONE Application.CFM file in ONE place for all of these sites? Rick Colman ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308691 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ONE Ring to Rule them all
Is there any practical way to use ONE Application.CFM file in ONE place for all of these sites? For all my sites, I have a virtual directory on the same common directory. Then for all sites, /common/... refers to the same directory on the server. In particular, all my Application.cfm start with: CFINCLUDE TEMPLATE=/common/applicationCommon.cfm And this may be used for many other occasions. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308692 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ONE Ring to Rule them all
One way to do that is to put store your application variables in your SQL database (or whatever database you use). That way, in your appication.cfm / application.cfc files, you can do a query to pull out the values for various application variables such as file_upload_path, application_home, debug_setting and so forth. So long as an application variable used by one web application is defined in the table for all web applications. I am sure that is clear as mud. :-) So, here is an example: Put the following two blocks of code in your application.cfm / application.cfc files: cfquery name=application.application_wide_variables datasource=my_dsn select application_name, application_home, file_upload_path from control_center /cfquery cfset application.application_name = application.application_wide_variables.application_name Just to be sure to set up a data source by the same name (my_dsn in this example) in all of your applications. This should work On Mon, Jul 7, 2008 at 3:54 PM, Andy Matthews [EMAIL PROTECTED] wrote: Not if you're on different servers. -Original Message- From: Colman, Richard [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 2:51 PM To: CF-Talk Subject: ONE Ring to Rule them all I maintain 6 - 9 similar CF websites spread across three different Windows and Linux servers. Maintaining the Application.cfm files is turning into a big pain. Is there any practical way to use ONE Application.CFM file in ONE place for all of these sites? Rick Colman ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308693 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Hosting Announcement
http://www.dailyrazor.com Daily Razor is having a HUGE sale today (July 7). Whatever plan you choose, you will get 4X the value!! Want a plan that can host 32 websites, choose the starter plan and the 8 domains becomes 32 domains. I am not affiliated with them (just a customer), so I wouldn't mind if you mention me in the comments section, but I don't think I get any credit for referrals. This is a great increase in value. William Seiter ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308694 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Sybase 10
ColdFusion MX has a Sybase driver, however if it's a new verison of Sybase (haven't done anything with it in a few years), there should be a new JDBC driver for it, you can point to the new driver in the advanced-- connection string properties when you set up the datasource. -- Original message from Billy Cox [EMAIL PROTECTED]: -- Look for an ODBC driver for Sybase 10. It might require installing some sort of Sybase client software on the web server too. This seems to be the lot in life for databases operating off of the beaten path. -Original Message- From: Duane Boudreau [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 1:48 PM To: CF-Talk Subject: Sybase 10 Hi All, Can anyone give me some pointers on how to connect CF7 to a Sybase database? I can't seem to find anything online that gives a step by step. TIA, DUANE BOUDREAU | SANDY BAY NETWORKS PRESIDENT AND CHIEF TECHNOLOGY OFFICER P: 902.232.2345 x222 | P: 603.879.0249 x222 | F: 866.631.6272 SMART PEOPLE. SMART SOLUTIONS. | http://www.sandybay.com __ Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308695 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
flex2gateway Error
I have been trying to fix this error for almost 12 hours, now the problem is everything works fine on my own computer but when I move it to a live server i get Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://mysitename.com/flex2gateway/cfamfpolling'. Now when i go to http://mysitename.com/flex2gateway/ I get a 404 error which is not suppose to happen. I have Coldfusion Remoting turned on. I am using ColdFusion 8.0.1, Apache 2.2,Red Hat Linux and PHP. Is this a Flex problem or a Coldfusion Problem and if so does anyone know how to fix it. Thanks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308696 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: The Woes of CFThread
Raymond Camden wrote: That is expected. The output is stored in the thread scope for the thread itself. If you use the JOIN action (Which basically means, wait for these threads to end), you can get the output and look at it. This should be documented. (And let me add - be sure you have read the docs COMPLETELY!) Just to quickly address this point. The expected output is not from the threads. It's basically a simple 'I'm Done' statement after the thread loop and join. The individual threads output is files written to the server. What is wierd is that sometimes all the threads have processed as evidanced that all the expected files have been created and there are no threads shown in the CF Monitor. But the output at the end of the file is not shown and the browser is still in waiting mode. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308697 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Is there a way to do this?
Whoa, that's a dandy little query! I see you've got from table... the cities are pulled from a properties table via select distinct city from properties I guess I could use a QoQ in place of the table as the datasource. However, you mentioned that your query would tack the prior cities onto the end and I would prefer to keep the selected cities in the order they are naturally and reduce the chance of confusing the user. It may be that the only way I can do this without jQuery would be to run a query that returns the names of the cities selected and then place them on top. Then run another query to get all the cities in order. (Which seems to be what your single query does, too, Greg). Usually, I put the selected item in a single select on top and then list the rest, including the selected item again after that. Guess that would work ok. -Original Message- From: Greg Morphis [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 3:35 PM To: CF-Talk Subject: Re: Is there a way to do this? You could do something like (not tested) select distinct city, orderby from ( select city, 2 as orderby from table where city foo_city union select city, 1 as orderby from table where city = foo_city ) order by orderby, city that would tack the prior cities onto the end ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308698 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Is there a way to do this?
Rick Faircloth wrote: I want the cities to stay in the same order as the query delivers them, but with the first selected city on the top. It would be nice if there were some attribute of the select option, like option value=#city# selected top#city#/option so I could have that option with top as an attribute scroll (not animate) to that point in the list as the first selection. This is the behavior of any HTML Select control I have ever created with an element defined as 'selected'. As long as there where enough options below the selected element to fill the area of the select control. This not how it works for you? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308699 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Anyone played with WPF (Windows Presentation Framework)?
(Cross-posting from CF-Community, sorry if you get this twice) I'm starting to do some disk based programming work and have hit an interesting roadblock. We've (my bosses, actually) want to use .NET for the disk based apps, but now that I have VS 2008 I'm presented with WinForms or WPF. From the look of things, WPF is where Microsoft is headed with the UI fight. Has anyone had to make this decision? Does anyone have resources (web or email) for this? When it comes to web, I've sold them on using CF to integrate with ..NET... (*yay*) but we have to decide on the disk-based solution. I've been playing around with both and my biggest stumbling block is the actual planning out of the interface. Amazing how much having a browser to contain everything can alleviate interface nightmares! Hatton -- George Burns - Don't stay in bed, unless you can make money in bed. -- George Burns - Don't stay in bed, unless you can make money in bed. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308700 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Is there a way to do this?
You could cfparam name=form.city default=0 / select distinct city from properties where lower(city) != '#lcase(form.city)#' -- USE CFQUERYPARAM :) then select name=city multiple=true size=5 option value=0 cfif form.city eq 0selected/cfif -- select a city --/option cfoutput query=cities /cfoutput /select This would put the selected city at the top But then again you could use the union select city, orderby from ( select city, 1 as orderby from properties where city = form.city union select city 2 as orderby from properties where city != form.city ) order by orderby, city That would place your city at top On Mon, Jul 7, 2008 at 3:22 PM, Rick Faircloth [EMAIL PROTECTED] wrote: Whoa, that's a dandy little query! I see you've got from table... the cities are pulled from a properties table via select distinct city from properties I guess I could use a QoQ in place of the table as the datasource. However, you mentioned that your query would tack the prior cities onto the end and I would prefer to keep the selected cities in the order they are naturally and reduce the chance of confusing the user. It may be that the only way I can do this without jQuery would be to run a query that returns the names of the cities selected and then place them on top. Then run another query to get all the cities in order. (Which seems to be what your single query does, too, Greg). Usually, I put the selected item in a single select on top and then list the rest, including the selected item again after that. Guess that would work ok. -Original Message- From: Greg Morphis [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 3:35 PM To: CF-Talk Subject: Re: Is there a way to do this? You could do something like (not tested) select distinct city, orderby from ( select city, 2 as orderby from table where city foo_city union select city, 1 as orderby from table where city = foo_city ) order by orderby, city that would tack the prior cities onto the end ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308701 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The Woes of CFThread
So then look in your code thats running in the thread. Is there something there that can hang? Do you have a deadlock of some sort? On Mon, Jul 7, 2008 at 3:21 PM, Ian Skinner [EMAIL PROTECTED] wrote: Raymond Camden wrote: That is expected. The output is stored in the thread scope for the thread itself. If you use the JOIN action (Which basically means, wait for these threads to end), you can get the output and look at it. This should be documented. (And let me add - be sure you have read the docs COMPLETELY!) Just to quickly address this point. The expected output is not from the threads. It's basically a simple 'I'm Done' statement after the thread loop and join. The individual threads output is files written to the server. What is wierd is that sometimes all the threads have processed as evidanced that all the expected files have been created and there are no threads shown in the CF Monitor. But the output at the end of the file is not shown and the browser is still in waiting mode. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308702 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Is there a way to do this?
Thanks for that code, Greg. While you were working on that, I came up with this: select name=city multiple size=9 class=textinput01 cfif isDefined(form.fieldnames) and isDefined(session.city) cfloop index=city list=#form.city# option value=cfoutput#city#/cfoutput style=background-color:#B0E0E6 selectedcfoutput#city#/cfoutput/option /cfloop /cfif option value=any cityany city/option cfoutput query=get_cities option value=#city##city# - #num_cities#/option /cfoutput /select It puts my selected cities on top with the regular gray select background color, then as other selections are made, the selections on top turn light-blue (#B0E0E6), and the new selections are the regular gray backgrounds. Seems to work well... I'll have to see how users respond to this, however. -Original Message- From: Greg Morphis [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 4:34 PM To: CF-Talk Subject: Re: Is there a way to do this? You could cfparam name=form.city default=0 / select distinct city from properties where lower(city) != '#lcase(form.city)#' -- USE CFQUERYPARAM :) then select name=city multiple=true size=5 option value=0 cfif form.city eq 0selected/cfif -- select a city --/option cfoutput query=cities /cfoutput /select This would put the selected city at the top But then again you could use the union select city, orderby from ( select city, 1 as orderby from properties where city = form.city union select city 2 as orderby from properties where city != form.city ) order by orderby, city That would place your city at top ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308703 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Anyone played with WPF (Windows Presentation Framework)?
I've played with it just a bit. It can drop out some fairly nice interfaces and the XML is pretty well structured in the way that everything seems to make sense and skill translation from HTML+CSS is not that difficult. I decided not to use it, however, as the thing I was playing with is a wide release customer-facing desktop app, and WPF requires the .NET framework 3.5, which is like 200MB, and not that widely available. I'm considering Air vs WinForms (.net 2.0) right now. When you say disk based - you mean like System.IO file directory interaction? If that's the case, I highly recommend .NET. It tends to be remarkably fast in this category. nathan strutz http://www.dopefly.com/ On Mon, Jul 7, 2008 at 1:26 PM, C. Hatton Humphrey [EMAIL PROTECTED] wrote: (Cross-posting from CF-Community, sorry if you get this twice) I'm starting to do some disk based programming work and have hit an interesting roadblock. We've (my bosses, actually) want to use .NET for the disk based apps, but now that I have VS 2008 I'm presented with WinForms or WPF. From the look of things, WPF is where Microsoft is headed with the UI fight. Has anyone had to make this decision? Does anyone have resources (web or email) for this? When it comes to web, I've sold them on using CF to integrate with ..NET... (*yay*) but we have to decide on the disk-based solution. I've been playing around with both and my biggest stumbling block is the actual planning out of the interface. Amazing how much having a browser to contain everything can alleviate interface nightmares! Hatton -- George Burns - Don't stay in bed, unless you can make money in bed. -- George Burns - Don't stay in bed, unless you can make money in bed. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308704 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: could not create java virtual machine
Russ, do you have Java installed? Mark On Mon, Jul 7, 2008 at 9:11 PM, Russ Michaels [EMAIL PROTECTED] wrote: I have installed flex 3 builder numerous times, but it will not run giving the above error, any idea why ? I also do not have any option during installation to install it as an eclipse plugin rather than standalone, how do I get this option ? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308705 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Anyone played with WPF (Windows Presentation Framework)?
Without more information on the type of application you're planning, my suggestion would be to if at all possible keep everything in the family in either case. I'm sure some of the hardcore guys here will jump all over me, but if you're going to have a .Net frontend, than it would be a lot easier to integrate it with a .Net backend. On the same token, depending on what you need for the app, I would suggest some serious consideration into AIR for the desktop. It can offer a way easier route as far as integration with a CF backend and the applications themselves can be much more intuitive than regular desktop applications... !k -Original Message- From: Nathan Strutz [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 3:41 PM To: CF-Talk Subject: Re: Anyone played with WPF (Windows Presentation Framework)? I've played with it just a bit. It can drop out some fairly nice interfaces and the XML is pretty well structured in the way that everything seems to make sense and skill translation from HTML+CSS is not that difficult. I decided not to use it, however, as the thing I was playing with is a wide release customer-facing desktop app, and WPF requires the .NET framework 3.5, which is like 200MB, and not that widely available. I'm considering Air vs WinForms (.net 2.0) right now. When you say disk based - you mean like System.IO file directory interaction? If that's the case, I highly recommend .NET. It tends to be remarkably fast in this category. nathan strutz http://www.dopefly.com/ On Mon, Jul 7, 2008 at 1:26 PM, C. Hatton Humphrey [EMAIL PROTECTED] wrote: (Cross-posting from CF-Community, sorry if you get this twice) I'm starting to do some disk based programming work and have hit an interesting roadblock. We've (my bosses, actually) want to use .NET for the disk based apps, but now that I have VS 2008 I'm presented with WinForms or WPF. From the look of things, WPF is where Microsoft is headed with the UI fight. Has anyone had to make this decision? Does anyone have resources (web or email) for this? When it comes to web, I've sold them on using CF to integrate with ..NET... (*yay*) but we have to decide on the disk-based solution. I've been playing around with both and my biggest stumbling block is the actual planning out of the interface. Amazing how much having a browser to contain everything can alleviate interface nightmares! Hatton -- George Burns - Don't stay in bed, unless you can make money in bed. -- George Burns - Don't stay in bed, unless you can make money in bed. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308706 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: flex2gateway Error
Coldfusion gateway error. You shouldn't be getting a 404. !k -Original Message- From: Sherif Abdou [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 2:20 PM To: CF-Talk Subject: flex2gateway Error I have been trying to fix this error for almost 12 hours, now the problem is everything works fine on my own computer but when I move it to a live server i get Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://mysitename.com/flex2gateway/cfamfpolling'. Now when i go to http://mysitename.com/flex2gateway/ I get a 404 error which is not suppose to happen. I have Coldfusion Remoting turned on. I am using ColdFusion 8.0.1, Apache 2.2,Red Hat Linux and PHP. Is this a Flex problem or a Coldfusion Problem and if so does anyone know how to fix it. Thanks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308707 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Anyone played with WPF (Windows Presentation Framework)?
WFP is the future and is where MS is focusing their development efforts. WFP is highly regarded by those that are using it, except it has a high learning curve and WPF projects often require a professional graphic designer on the project. The WPF Unleashed book gets rave reviews as a good way to learn the technology. The most recent July 4th Hanselminutes podcast is a good discussion about developing in XAML. -Mike Chabot On Mon, Jul 7, 2008 at 4:26 PM, C. Hatton Humphrey [EMAIL PROTECTED] wrote: (Cross-posting from CF-Community, sorry if you get this twice) I'm starting to do some disk based programming work and have hit an interesting roadblock. We've (my bosses, actually) want to use .NET for the disk based apps, but now that I have VS 2008 I'm presented with WinForms or WPF. From the look of things, WPF is where Microsoft is headed with the UI fight. Has anyone had to make this decision? Does anyone have resources (web or email) for this? When it comes to web, I've sold them on using CF to integrate with ..NET... (*yay*) but we have to decide on the disk-based solution. I've been playing around with both and my biggest stumbling block is the actual planning out of the interface. Amazing how much having a browser to contain everything can alleviate interface nightmares! Hatton -- George Burns - Don't stay in bed, unless you can make money in bed. -- George Burns - Don't stay in bed, unless you can make money in bed. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308708 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Looking for Accomodations Software
I'm looking for a software package that will function with MySQL4.0 DB on a ColdFusion5.0 server. It would have to allow multiple accounts with user maintenance of pics of resorts' and/or hotel/motels' units, rates, and have some sort of calendar to show lodging availability of individual account units. Anyone seen anything like that? Dave Long -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308709 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 restarting itself
Bad news! The server, running in interpreted mode, was much more reliable but the CPU usage remained quite high. The machine has two 3.0ghz dual core CPUs. Now that the load is picking up ... the server can't keep up and the requests pile up and then CF crashes hard. I removed the jvm -Xint argument to re-enable hotspot compiling.. and the CPU usage is down and the server is able to keep up, but CF started crashing again. Regularly. Now I've restarted CF with hotspot compilingdisabled again (put the -Xint arg back in).. and the CPU is averaging 95%, and the requests are piling up again. CRAP! -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com/brianvanderark ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308710 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Coldfusion restarting itself
What does a stack trace look like when things start getting busy? How many requests a minute are you serving at peak usage? ~Brad -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 5:50 PM To: CF-Talk Subject: Re: Coldfusion restarting itself Bad news! The server, running in interpreted mode, was much more reliable but the CPU usage remained quite high. The machine has two 3.0ghz dual core CPUs. Now that the load is picking up ... the server can't keep up and the requests pile up and then CF crashes hard. I removed the jvm -Xint argument to re-enable hotspot compiling.. and the CPU usage is down and the server is able to keep up, but CF started crashing again. Regularly. Now I've restarted CF with hotspot compilingdisabled again (put the -Xint arg back in).. and the CPU is averaging 95%, and the requests are piling up again. CRAP! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308711 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Coldfusion restarting itself
Rick - Random idea, you don't have anything that is causing some code to go into an infinite loop under high load? Just figuring if you're hitting high load, and then getting multiple loops, it would cause the server to crash. Just an idea. Mark On Tue, Jul 8, 2008 at 8:49 AM, Rick Root [EMAIL PROTECTED] wrote: Bad news! The server, running in interpreted mode, was much more reliable but the CPU usage remained quite high. The machine has two 3.0ghz dual core CPUs. Now that the load is picking up ... the server can't keep up and the requests pile up and then CF crashes hard. I removed the jvm -Xint argument to re-enable hotspot compiling.. and the CPU usage is down and the server is able to keep up, but CF started crashing again. Regularly. Now I've restarted CF with hotspot compilingdisabled again (put the -Xint arg back in).. and the CPU is averaging 95%, and the requests are piling up again. CRAP! -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com/brianvanderark ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308712 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 restarting itself
Also, did you get a chance to give the 1.5 JDK a whirl like James suggested? ~Brad -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Saturday, July 05, 2008 1:45 AM To: CF-Talk Subject: Re: Coldfusion restarting itself The only other suggestion I have is to try the 1.5 JDK. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308713 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: The Woes of CFThread
So then look in your code thats running in the thread. Is there something there that can hang? Do you have a deadlock of some sort? I was thinking about that and knowing that he said the threads were writing files I was wondering about the number of threads he's spawning, the number of files being written, the size of those files, what webserver is in use (and whether or not it performs any file-locking and whether or not that file-locking might be invoked, even though I doubt it) and -- the relationship of all that information to the speed of the write-head on the drive. I wouldn't expect an overabundance of file-writing to cause the CF server to seize up completely and need to be restarted, but then I also don't know the whole configuration, am not an expert on server monitoring or hardware resources, etc. There just seem to be a large number of variables potentially affecting it. -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 617.365.5732 http://onTap.riaforge.org/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308714 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 restarting itself
What does a stack trace look like when things start getting busy? Nothing particularly unusual, just a lot of request activity. WE monitor with Fusion Reactor, and I don't see anything unusual in terms of the activity OTHER Than when I disabled hot spot compilation, the CPU usage increased dramatically - as I would expect. The increase in CPU means that things run slower. How many requests a minute are you serving at peak usage? Right now the site is pretty busy and serving 466 page requests per minute over the last 28.5 minutes. I have restricted CF to 30 active requests in the CF Administrator. Also, did you get a chance to give the 1.5 JDK a whirl like James suggested? Not yet. Personally, I'd like to avoid switching JDKs if possible. 1.6 is the Default and I'm hoping to stick with it. Random idea, you don't have anything that is causing some code to go into an infinite loop under high load? Nope, I'd definately see that in fusion reactor. The good news is that I'm doing an upgrade tonight to CF Enterprise, and I'm going to cluster 2 instances at 1.3gb of RAM each, and re-enable the hotspot compiler. I think it makes sense. I turned on iis web logging and in the last 20 hours, the web server has logged almost 2 million hits and 259,194 CFM page requests. Rick ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308715 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Coldfusion restarting itself
While Java 6 is the default, it breaks CF in a few respects: 1) The Java 6 classloader bug mans that it loads classes much slower than Java 1.5; a real problems for frameworks like Model-Glue etc. 2) JRun's internal webserver SSL doesn't work with Java 6. 3) It appears the hotspot compiler doesn't like your code either. We rolled back to the latest supported Java 1.5 JDK and we've had no problems so far (our servers are still just in the testing stage). On Tue, Jul 8, 2008 at 9:02 AM, Rick Root [EMAIL PROTECTED] wrote: Also, did you get a chance to give the 1.5 JDK a whirl like James suggested? Not yet. Personally, I'd like to avoid switching JDKs if possible. 1.6 is the Default and I'm hoping to stick with it. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308716 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 restarting itself
was switching to the 1.5 JDK difficult? Rick On Mon, Jul 7, 2008 at 9:44 PM, James Holmes [EMAIL PROTECTED] wrote: While Java 6 is the default, it breaks CF in a few respects: 1) The Java 6 classloader bug mans that it loads classes much slower than Java 1.5; a real problems for frameworks like Model-Glue etc. 2) JRun's internal webserver SSL doesn't work with Java 6. 3) It appears the hotspot compiler doesn't like your code either. We rolled back to the latest supported Java 1.5 JDK and we've had no problems so far (our servers are still just in the testing stage). On Tue, Jul 8, 2008 at 9:02 AM, Rick Root [EMAIL PROTECTED] wrote: Also, did you get a chance to give the 1.5 JDK a whirl like James suggested? Not yet. Personally, I'd like to avoid switching JDKs if possible. 1.6 is the Default and I'm hoping to stick with it. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308717 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: undefined value error... weird...
ok... hopefully no one else will encounter this error, but I found a forum that is discussing this issue... the problem isn't in the code but in the way coldfusion 8 is connecting to mysql 5 db... here is the link for those interested: http://www.adobe.com/cfusion/webforums/forum/messageview. cfm?forumid=1catid=3th readid=1303546highlight_key=ykeyword1=Maintain%20connections#4723205 Well that sucks! Yanno, I've had problems with CF8 and MySQL in the past. It's unrelated, but they emailed me an unreleased hotfix that fixed me right up. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308718 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Anyone played with WPF (Windows Presentation Framework)?
When you say disk based - you mean like System.IO file directory interaction? If that's the case, I highly recommend .NET. It tends to be remarkably fast in this category. I guess I could have been a little less vague on the projects - We have two systems that we use for our in-house business. One is a commercial app that is built on top of Microsoft Dynamics GP (an accounting package that uses MS SQL Server). The other is a collection of homebrew Visual FoxPro apps that have provided the functionality that the commercial app does not. Some of these apps are for interacting with the database to manipulate table data that the commercial app won't let us. Other apps provide additional functionality that are part of our business logic that are not addressed elsewhere. In the conversation I had with my boss today I made the comment that I don't want to get in the habit of coding for coding's sake or building throw-away apps. The oldest of the VFP apps that is still in use today was written almost 10 years ago. My stuff is going to be replacing it but it needs to have the same kind of shelf life. One of my biggest issues is in identifying the right tools to use and properly planning their use. I've been building web apps for 8 years, I know how utilities have to flow. I haven't been exposed to the Visual world and so now I'm looking at these two technologies and trying to figure out code and layout and interface all at the same time. I never knew how safe working inside a browser really was! Hatton ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308719 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Coldfusion restarting itself
Alright, I just downgraded to JVM 1.5_15 I re-enabled hotspot compilation (removed the -Xint arg) Had to delete all the existing class files in the cfclasses directory (prsumably because they were compiled under java 6)... *EXACT* same behavior. Actually worse. With hotspot compiling enabled it wouldn't stay up more than a minute, without it, it was even slower. =( Looks like we're still on for the CF Enterprise upgrade. -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com/brianvanderark ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308720 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 restarting itself
Ah, sorry to hear that. Hopefully, a clean install of Enterprise helps. On Tue, Jul 8, 2008 at 11:07 AM, Rick Root [EMAIL PROTECTED] wrote: Alright, I just downgraded to JVM 1.5_15 I re-enabled hotspot compilation (removed the -Xint arg) Had to delete all the existing class files in the cfclasses directory (prsumably because they were compiled under java 6)... *EXACT* same behavior. Actually worse. With hotspot compiling enabled it wouldn't stay up more than a minute, without it, it was even slower. =( Looks like we're still on for the CF Enterprise upgrade. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308721 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Hosting Announcement
their base rates look great. would love to hear from others using these hosting plans to reliability etc. have been pretty loyal to nz based companies so far, but lately feel they are not that interested in reseller plans etc. mike http://www.dailyrazor.com Daily Razor is having a HUGE sale today (July 7). Whatever plan you choose, you will get 4X the value!! Want a plan that can host 32 websites, choose the starter plan and the 8 domains becomes 32 domains. I am not affiliated with them (just a customer), so I wouldn't mind if you mention me in the comments section, but I don't think I get any credit for referrals. This is a great increase in value. William Seiter ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308722 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4