Re: Loosing Application scope value over time
Why on earth would you do this: cfset APPLICATION = StructNew() / ??? On Thu, May 8, 2008 at 9:50 AM, Axel Schultze [EMAIL PROTECTED] wrote: Running CF 8.01 on Win2003 Server My directory structure: wwwroot/main/application.cfc cfcomponent output=false !--- Name the application and turn SESSION Management on. --- cfset this.name=Xeequa cfset this.sessionManagement=true !--- Application Start --- cffunction name=onApplicationStart output=false returnType=void cfset APPLICATION = StructNew() / cfset APPLICATION.SITE = http://www.xeequa.com/; cfset other stuff /cffunction /cfcomponent My code in: wwwroot/main/operations/file.cfm I call a custom tag CF_mailCore to=#email# from=#system# file=#APPLICATION.SITE#/lalalal THE ISSUE: == I get an error SITE is not defined in APPLICATION After restarting the server I'm OK. Over time it seems to loose the APPLICATION scope and I get the error again. It is only with the .SITE variable - all others seem to be OK. Any idea? Thanks in advance Axel ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304882 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: create variables from a string
If you genuinely don't know the column names to start with, you may as well just SELECT * from the table and use thequery.columnlist as the list of column names. It will at least speed things up my eliminating one query from the code. As for using the column names in the CSV, use the full query syntax: cfloop query=pull_data cfset myOutput = cfloop list=#columns# index=currentColumn cfset myOutput = ListAppend(myOutput,pull_data[currentColumn][pull_data.currentRow] /cfloop cffile action=APPEND file=#yopath# output=#myOutput# addnewline=yes /cfloop On Tue, May 6, 2008 at 11:23 AM, Steve Good [EMAIL PROTECTED] wrote: I'm not sure that would do what I need, or I'm not understanding. Here's a snippet of the code I'm using. I'm pulling the column names from a table and passing the list to my query and then using the list as the first row in a csv file. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304775 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: create variables from a string
Damn, missed a closing bracket: ListAppend(myOutput,pull_data[currentColumn][pull_data.currentRow]) On Tue, May 6, 2008 at 11:43 AM, James Holmes [EMAIL PROTECTED] wrote: If you genuinely don't know the column names to start with, you may as well just SELECT * from the table and use thequery.columnlist as the list of column names. It will at least speed things up my eliminating one query from the code. As for using the column names in the CSV, use the full query syntax: cfloop query=pull_data cfset myOutput = cfloop list=#columns# index=currentColumn cfset myOutput = ListAppend(myOutput,pull_data[currentColumn][pull_data.currentRow] /cfloop cffile action=APPEND file=#yopath# output=#myOutput# addnewline=yes /cfloop On Tue, May 6, 2008 at 11:23 AM, Steve Good [EMAIL PROTECTED] wrote: I'm not sure that would do what I need, or I'm not understanding. Here's a snippet of the code I'm using. I'm pulling the column names from a table and passing the list to my query and then using the list as the first row in a csv file. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304776 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFHTTP resolving URLS?
What code did you use? I've done this in the past with no problems. On Mon, May 5, 2008 at 6:08 AM, Nate Willard [EMAIL PROTECTED] wrote: I haven't been able to get it to work. Any other ideas? Thxs - Original Message From: Mike Chabot [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Saturday, May 3, 2008 8:51:32 PM Subject: Re: CFHTTP resolving URLS? If you turn off redirection in the cfhttp tag you might be able to pull the new location out of the cfhttp.responseHeader variable, such as cfhttp.responseHeader['location']. You wouldn't end up at your final destination though and would have to call cfhttp again to get the content. If you do a dump of the cfhttp variable, and the new location isn't there, then that data point isn't available. You could always use an alternative to cfhttp, such as some Java function or maybe calling a program like wget using cfexecute. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304732 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Flex3 and CF 8 connection problem
Can you post the Flex code you're using to connect? On Sat, May 3, 2008 at 4:14 PM, [EMAIL PROTECTED] wrote: Hi Mike, thanks for your questions. I put the answers down below. Uwe Quick questions. 1. Are you running CF 8.0.0 or 8.0.1 CF 8.0.0 Do you think I should install the updater ? 2. What do you get when you enter that URL in the error message directly into your Web browser. Do you get a blank white page or something else? I get a 404 error. I also noticed, that I get a 405-error using RDS and I also don't know why. 3. Is your CFC set to allow for remote access I don't know. Where is this set ? I enabled remote LC DM on as below. 4. Is Flex Remoting turned on inside of CF Admin? Yes. What are some of the things you have tried so far that didn't work? I also turned Enable Remote Adobe LiveCycle Data Management access on. I played around with the file: \WEB-INF\flex\services-config.xml without success. -Mike Chabot On Fri, May 2, 2008 at 8:22 PM, [EMAIL PROTECTED] wrote: Hi list, I try to get Flex3 to get to be working with CF8 and I can't figure out, why it is not working. I get: faultCode = Client.Error.MessageSend faultDetail = Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://www.abc.com/flex2gateway/' faultString = Send failed I google around tons of hints, but nothing worked. S.O. who knows how to get it to run under Win2k and IIS 6.x ? Uwe ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304701 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Available for some part-time work (focusing on UI and/or DB)
Hi Phillip, I didn't send you an email. Hey, this is fun! On Fri, May 2, 2008 at 5:15 AM, Phillip Vector [EMAIL PROTECTED] wrote: Hey Phillip... I sent you an email. :) Okokok.. I'll stop now. :) -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Jobs-Talk/message.cfm/messageid:3758 Subscription: http://www.houseoffusion.com/groups/CF-Jobs-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11
Re: entering a decimal number
You need to use the scale attribute of cfqueryparam: http://www.cfquickdocs.com/?getDoc=cfqueryparam Attribute, Req/Opt, Default, Description scale, Optional, 0, Number of decimal places in parameter. Applies to CF_SQL_NUMERIC and CF_SQL_DECIMAL. On Wed, Apr 30, 2008 at 8:59 PM, daniel kessler [EMAIL PROTECTED] wrote: I have an Oracle table where the estimate field is a Number. I would think that I could enter a decimal number into it but I enter 36.41 (it will always be a dollar-type number) and it becomes 36 in the db. Here is the part that refers to it in my SQL INSERT: cfqueryparam value=#Trim(Form.estimate)# cfsqltype=CF_SQL_NUMERIC So how do I set it up to accept 36.41 without clipping off the values past the decimal? I guess I could make it into a string but that seems the wrong way to go. thanks daniel ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304479 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Application variable undefined in CFC
And it still breaks encapsulation. I facade my remote calls so that the core object can work like it should, with the remote CFC passing in at instantiation the relevant things like datasource etc. The CFC containing the query shouldn't be using the Application scope directly. On Tue, Apr 29, 2008 at 1:41 PM, Andrew Scott [EMAIL PROTECTED] wrote: Again there are so many factors to take into consideration that we have not been given enough information to the problem. But it is extremely legal and legit to reference an Application scope from with a CFC! -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304383 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: APPLICATION scope unknown in Application.cfc
No, he means the pseudo constructor, before and outside of any of the methods within Application.cfc. On Tue, Apr 29, 2008 at 1:56 PM, Andrew Scott [EMAIL PROTECTED] wrote: pseudo constructor? I think, you mean defined as local variables to that component. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304384 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Application variable undefined in CFC
Since when did the Police raid your house for poor programming? On Wed, Apr 30, 2008 at 10:45 AM, Andrew Scott [EMAIL PROTECTED] wrote: Brian, Yes I would recommend to find a better way if you can, but that doesn't make it illegal. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304446 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfmail won't send
Have you checked your junk mail folder? On Sat, Apr 26, 2008 at 5:45 AM, daniel kessler [EMAIL PROTECTED] wrote: 1. No, I sent mail from another application 2. No. 3. okay, will give it a shot. I don't have access to the cfserver. It's shared hosting at the U. Since the other application worked, I'll start over and use it's cfmail block to try again. And it did help. It made me check the other application to assure that email was fine. I'll transfer info over one piece at a time to see where I goofed. thanks. It could be a bunch of stuff: 1. Your mail server may not exist (not likely) 2. You may need to pass credentials to your mail server (legitimate username and password) 3. The timeout may be too short, just get rid of it for testing. Do you have access to the webserver where CF is running? If so, log in and check the mail spool to make sure that the email is being generated and is getting to the spool. The spool is here: CFUSIONFOLDER\Mail\Spool There is also a folder is files undeliverable emails named Undelivr It is possible your CF server isnt sending any email, check and see if there is a bunch built up in there. If you have access to the CF Administrator, log in and enable Mail Logging. Then try it a bunch and check the Mail log files to see if an error is being generated. Those are the typical problems HTH =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304307 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: 8.0.1 FCKEditor file upload issue
Did you check to see if there's an equivalent servlet mapping in default-web.xml? I'm too lazy to check myself right now. On Thu, Apr 24, 2008 at 4:18 PM, Kay Smoljak [EMAIL PROTECTED] wrote: I was surprised and happy to discover in the CF 8.0.1 release notes that the file upload ability in FCKEditor can now be enabled with a couple of flags in the js config file. I tried it out (by modifying the global fckconfig.js in the CFIDE folder) and it works great. Yay for reading the release notes :) However, if I copy the entire CFIDE/scripts/ajax/fckeditor folder to a location under my local web root (in my example, /jscripts/fckeditor/) and use the basepath attribute of the CFTEXTAREA tag to specify my local version, launching the file browser brings up an error: XML request error: Not Found (404) Requested URL: -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304144 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: db connection pooling and performance
On Tue, Apr 22, 2008 at 11:37 PM, Brian Dumbledore [EMAIL PROTECTED] wrote: If all queries were on the same page, would coldfusion somehow optimize new db connections? It will get one connection from the pool and reuse it for all queries in that request. And when they are all in different pages, it would have to definitely create a new db connection for each page for sure. Almost definitely not. If you use the maintain connections setting for the datasource, the connection returns to the pool when the request is finished with it, ready to be reused. The highest number of connections to this particular DB you will see from CF in this case is the highest number of simultaneously running pages all using the same DB; each connection will be reused for subsequent requests, being retrieved from and released back to the pool. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303986 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: OT - what is this? st1:City
These are actually Microsoft Smart Tags for use in Sharepoint Web Parts: http://msdn2.microsoft.com/en-us/library/aa188446(office.10).aspx On Wed, Apr 23, 2008 at 7:04 AM, Les Mizzell [EMAIL PROTECTED] wrote: Didn't know where else to ask - and I'll probably get blasted for not knowing I just inherited a site with stuff like: st1:City st1:place St. Paul /st1:place /st1:City Some sort of accessibility code I've not seen before, right? Anybody got a link to an article? TIA ... ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304030 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Need some advice on speeding up query...
Well, apart from a DB redesign so that you can do 1 query instead of a union of 5, lets look at the first query as an example: select sa.street_number as prop_street_number, sa.street_name as prop_street_name, sa.city as prop_city, sa.public_remarks_01 as prop_public_remarks_01, sa.public_remarks_02 as prop_public_remarks_02, sa.list_price as prop_list_price, (select sap.photo_filename from smlc_acr_photos sap where sap.photo_mls_number = sa.mls_number limit 1) as prop_photo_filename Since you're joining smlc_acr_photos.photo_mls_number to smlc_acr.mls_number, put an index on each column. Hopefully smlc_acr.mls_number is a primary key and is already indexed. Repeat for the other tables. On Wed, Apr 23, 2008 at 7:21 AM, Rick Faircloth [EMAIL PROTECTED] wrote: Hi, all... Up till now, my db's have been relatively small and fairly quick when being queried. I've never had to bother with indexes or other methods of optimizing queries. However, I've now got a db of about 6400 real estate properties. I've put together a Browse Properties page, which returns 20 records at a time and displays pagination. The query is pretty slow. Would indexes or perhaps another approach to this query make it quicker? Here's the code that pulls together records from the tables containing the various property types... cfquery name=get_properties datasource=#dsn# select sa.street_number as prop_street_number, sa.street_name as prop_street_name, sa.city as prop_city, sa.public_remarks_01 as prop_public_remarks_01, sa.public_remarks_02 as prop_public_remarks_02, sa.list_price as prop_list_price, (select sap.photo_filename from smlc_acr_photos sap where sap.photo_mls_number = sa.mls_number limit 1) as prop_photo_filename from smlc_acr sa union select sc.street_number as prop_street_number, sc.street_name as prop_street_name, sc.city as prop_city, sc.public_remarks_01 as prop_public_remarks_01, sc.public_remarks_02 as prop_public_remarks_02, sc.list_price as prop_list_price, (select scp.photo_filename from smlc_com_photos scp where scp.photo_mls_number = sc.mls_number limit 1) as prop_photo_filename from smlc_com sc union select sl.street_number as prop_street_number, sl.street_name as prop_street_name, sl.city as prop_city, sl.public_remarks_01 as prop_public_remarks_01, sl.public_remarks_02 as prop_public_remarks_02, sl.list_price as prop_list_price, (select slp.photo_filename from smlc_lot_photos slp where slp.photo_mls_number = sl.mls_number limit 1) as prop_photo_filename from smlc_lots sl union select sr.street_number as prop_street_number, sr.street_name as prop_street_name, sr.city as prop_city, sr.public_remarks_01 as prop_public_remarks_01, sr.public_remarks_02 as prop_public_remarks_02, sr.list_price as prop_list_price, (select srp.photo_filename from smlc_ren_photos srp where srp.photo_mls_number = sr.mls_number limit 1) as prop_photo_filename from smlc_ren sr union select sres.street_number as prop_street_number, sres.street_name as prop_street_name, sres.city as prop_city, sres.public_remarks_01 as prop_public_remarks_01, sres.public_remarks_02 as prop_public_remarks_02, sres.list_price as prop_list_price, (select sresp.photo_filename from smlc_res_photos sresp where sresp.photo_mls_number = sres.mls_number limit 1) as prop_photo_filename from smlc_res sres /cfquery ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304034 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Need some advice on speeding up query...
Did you try the UNION ALL as suggested by Rizal? This might make it a little quicker as the DB won't have to scan for duplicates. On Wed, Apr 23, 2008 at 11:03 AM, Rick Faircloth [EMAIL PROTECTED] wrote: If I had set up the original db that's providing the data, it would have definitely been set up differently. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304037 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.0.1 - GC overhead limit exceeded?
This is definitely worth a try, as there are other good reasons to move back to 1.5. For example, the JRun web server can't serve pages via SSL on Java 6 but it works fine on Java 1.5. On Mon, Apr 21, 2008 at 9:08 PM, Cutter (CFRelated) [EMAIL PROTECTED] wrote: Jim, Have you tried to move back to the 1.5 JVM? I found many references on improved performance, even with 8.0.1, and it's been really good for us. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303853 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Element DSN.USERS is undefined in THIS
Try putting cfset THIS.DSN = StructNew() before the other variable assignments. On Sun, Apr 20, 2008 at 5:14 PM, marc -- [EMAIL PROTECTED] wrote: Hello, I have this call: cfset APPLICATION.objects.db = CreateObject('component','components.db').init(dsn_users='users',dsn_guestbook=guestbook,dsn_irama=irama,maxStringLength=25) This is the method definition: cffunction name=init access=public output=no returntype=any cfargument name=dsn_users required=false default=users cfargument name=dsn_guestbook required=false default=guestbook cfargument name=dsn_irama required=false default=irama cfargument name=maxStringLength required=false default=25 cfset this.dsn.users=#arguments.dsn_users# cfset this.dsn.guestbook=#arguments.dsn_guestbook# cfset this.dsn.irama=#arguments.dsn_irama# cfset this.maxStringLength=#arguments.maxStringLength# cfreturn this /cffunction When later I call another method in this cfc and refer to the value of this.dsn.users I get the errormessage: Element DSN.USERS is undefined in THIS Strange because: a) I set the value of this.dns. in the init method _and_ return it; b) the init method has a returnvalue of any (path.of.component or this gives same result); c) when cfdumping the variable that holds the reference to the cfc it is not empty - all the methods are there. Seems like it's lost it's instance data... Does anybody know whats wrong here? Thanks, Marc ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303814 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Element DSN.USERS is undefined in THIS
Did you reset the Application scope afterwards? On Sun, Apr 20, 2008 at 7:23 PM, marc -- [EMAIL PROTECTED] wrote: If that was the problem an error would be thrown at the line where THIS.DSN.USERS is set... Anyway, I tried it and it's not making a difference. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303819 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF and SQL Server temporary tables
That's my understanding too - CF gets a connection from the pool on the first query in a request and keeps that connection for the duration of the request, using it for all subsequent queries. On Fri, Apr 18, 2008 at 1:09 PM, Dave Watts [EMAIL PROTECTED] wrote: It's entirely possible for a CF page to change connections in the middle of processing a request, and therefore lose sight of the temp table. Actually, I don't think that's possible. My understanding is that a connection used by a page is retained by the page for the duration of its execution. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303721 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Ajax: Who's into Ajax and Business Cases
It would also be nice if people posted ajax topics in the ajax list and OT threads in CF-OT but history shows that's not likely either. On Sat, Apr 19, 2008 at 6:34 AM, Don L [EMAIL PROTECTED] wrote: P.S. 1) It would be nice if people post Ajax related topic with prefix of Ajax: for future reference. P.S. 2) I propose to the list owner, to consider to expand the ColdFusion Talk to Web App Development Talk centered on ColdFusion, I know a bit long ... -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303789 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Need built-in JWS SSL help
It's a JVM issue - I installed JDK 1.5_13 and it works fine. This isn't so bad right now, since the classloader bugs in Java 6 mean I'm not keen to use it with CF8 anyways, but when that's finally fixed and we want to go up to 6 again, this will be a real pain. On Fri, Apr 18, 2008 at 10:05 AM, Matthew Williams [EMAIL PROTECTED] wrote: Other than some occasional thoughts, no. I'm pretty sure we're going to be screwed on this one as it points more toward being a JVM issue opposed to a ColdFusion issue. Looking over some of the 1.6 info, it looks like SSL underwent some major revamping. I'm curious to see what would happen if a Verisign cert were used instead of a self signed cert... but all of the machines that I do have Verisign certs for are production servers and many bad things (TM) would befall should one of those machines have issues whilst I'm testing. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303710 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 Array help
At that point you could loop through the URL structure in a collection loop, which is even nicer. On Fri, Apr 18, 2008 at 12:46 PM, AJ Mercer [EMAIL PROTECTED] wrote: That is a horrible URL to work with Do you have any control over that? If so, try something like ?group1=20group2=16,3,17group3=2,11,18 -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303720 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Need built-in JWS SSL help
Did you ever get anywhere with this? I've just hit exactly the same problem. On Thu, Mar 6, 2008 at 11:43 PM, Matthew Williams [EMAIL PROTECTED] wrote: So, it has come to my attention that I need to start encrypting the traffic that I send to the CFadmin (and I must use the JRun admin for my sites, they're all clustered and this is the only way to ensure you're looking at the correct server). I found this article by Bruce from '05, http://www.bpurcell.org/blog/index.cfm?mode=entryentry=1064. It works great... provided I'm using an older JRE. As soon as I try this on CF8 with JRE 1.6, it bombs out with a communication error. I've got EAR files of 6.1, 7.0.2, and 8 loaded on the same JRun install. When I run 7 and 8 on JRE 1.4.2, I can view the site fine over SSL. As soon as I switch CF8 to the latest JRE, no go. This is going to become extremely problematic for my in the very near future. Anyone have thoughts? Otherwise, I'm going to be burning a service request at Adobe. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303656 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Forcing a CFC to refresh...
You need to refresh the webservice stubs, not the CFC. As people have said before, this is nothing to do with the CFC - it's actually the client end of the webservice transaction that's doing the caching. cfobject type=JAVA action=Create name=factory class=coldfusion.server.ServiceFactory cfset RpcService = factory.XmlRpcService cfset RpcService.refreshWebService(http://somesite/somecfc.cfc?wsdl;) The above assumes you can't do it any of the better ways (admin API, the CF8 way in one of the earlier posts, etc). On Wed, Apr 16, 2008 at 7:33 AM, Les Mizzell [EMAIL PROTECTED] wrote: Nic's solution is probably not going to do anything for you, because even reloading the CFC instance that is the source of the web service isn't going to cause CF itself to refresh the actual web service it has cached. Even deleting the file - refreshing the page to throw and error, and reloading the file again doesn't work. When these things get cached, they freaking get cached!!! -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303538 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: IO error on server communication
Yes, RDS is not enabled on the server. You can enable it by editing the appropriate file - I can't recall which but a search should turn it up. On Wed, Apr 16, 2008 at 10:34 AM, [EMAIL PROTECTED] wrote: I am getting this IO error on server communication when I try to browser for a file in the CF administrator. I understand this might be related to RDS and since I cannot seem to connect with RDS either I'm pretty sure RDS is the root of my problems. However I'm not sure how to fix it. Anybody run into this on CF 8.0.1 before and know how to fix 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303543 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: problem with listgetat
getemail.email isn't automatically converted to a list - it will refer to only the first record in the query. You're better off just referring to the query value directly and doing it all in a loop so it can deal with any number of email addresses (it's certainly less code): cfloop query=getemail cfset email#getemail.CurrentRow# = getemail[email][getemail.CurrentRow] /cfloop On Mon, Apr 14, 2008 at 5:32 PM, alex poyaoan [EMAIL PROTECTED] wrote: Hi everybody.. havinng a problem with listgetat and couldn't seem to find the solution.. please help my code is cfif GetEmail.RecordCount IS 1 cfset emaillist=#getemail.email# cfset email1=#trim(ListFirst(emaillist))# cfelseif getemail.Recordcount is 2 cfset emaillist=#getemail.email# cfset email1=#trim(listGetAt(emaillist, 1))# cfset email2=#trim(listGetAt(emaillist, 2))# cfelse cfset emaillist=#getemail.email# cfset email1=#trim(listGetAt(emaillist, 1))# cfset email2=#trim(listGetAt(emaillist, 2))# cfset email3=#trim(listGetAt(emaillist, 3))# I have a query getemail with one email only it goes okey if two or three it throws these error Invalid list index 2. In function ListGetAt(list, index [, delimiters]), the value of index, 2, is not a valid as the first argument (this list has 1 elements). Valid indexes are in the range 1 through the number of elements in the list. The error occurred in C:\CFusionMX7\wwwroot\devcurianet\riservate\socialMail\subscriberForm.cfm: line 60 58 :cfset emaillist=#getemail.email# 59 :cfset email1=#trim(listGetAt(emaillist, 1))# 60 :cfset email2=#trim(listGetAt(emaillist, 2))# .. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303270 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: problem with listgetat
Did you copy and paste my code exactly or try another version? On Mon, Apr 14, 2008 at 6:10 PM, alex poyaoan [EMAIL PROTECTED] wrote: getemail.email isn't automatically converted to a list - it will refer to only the first record in the query. You're better off just referring to the query value directly and doing it all in a loop so it can deal with any number of email addresses (it's certainly less code): cfloop query=getemail cfset email#getemail.CurrentRow# = getemail[email][getemail.CurrentRow] /cfloop On Mon, Apr 14, 2008 at 5:32 PM, alex poyaoan [EMAIL PROTECTED] wrote: thanks for the reply trying it and gave me the list of email but with a suffix of getemail.currentrow how could we avoid that sorry didn't get ir right maybe ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303276 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cf8 System Probe, where did restart server go?
Is this what you mean? http://livedocs.adobe.com/coldfusion/8/htmldocs/basiconfig_23.html On Tue, Apr 15, 2008 at 8:04 AM, Paul Ihrig [EMAIL PROTECTED] wrote: no thing? no one? only got 2 pages from cfwack8 book3 On Mon, Apr 14, 2008 at 9:28 AM, Paul Ihrig [EMAIL PROTECTED] wrote: ok.. did this get removed? on cfserver system probe i see Execute the program but not sure iuf this is a absolute path, or url.. should i just point it to C:\ColdFusion8\bin\cfstatt.bat thanks guys.. -paul ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303378 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: A Better Coldfusion Search Form.
And for Oracle: http://download.oracle.com/docs/cd/B19306_01/text.102/b14218/toc.htm http://download.oracle.com/docs/cd/B19306_01/text.102/b14217/toc.htm On Sun, Apr 13, 2008 at 4:16 AM, Scott Pinkston [EMAIL PROTECTED] wrote: Look up freetext or fulltext depending on the db engine. MySQL: http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html SQL Server: http://msdn2.microsoft.com/en-us/library/ms176078.aspx Hi, I'm trying to figure out how to create a dynamic search form using Coldfusion 8. Right now if I enter multiple words in my search field the results omit certain records. For example, if I put toy blue in the search field it will return results that only have TOY BLUE together and omits any records that only have TOY or only have Blue in the column being searched. Is there a way to add the following abilities to my basic search code located at the bottom of my post: - Search multiple words that are entered in the criteria input field. - The words can be separated by commas, spaces, or the word and. - Have it so you can search multiple word phrases by using quotes. !--- Search Form--- form name=myForm method=post action=results.cfm p input name=criteria type=text id=criteria input type=submit name=Submit value=Submit /p /form !--- Results Page --- cfquery name=qSearch datasource=myDatabase dbtype=ODBC SELECT itemID, itemName FROM myTable WHERE 1 = 1 cfif IsDefined(form.criteria) AND Len(Trim(form.criteria)) and (itemName LIKE '%#form.criteria#%' or itemDescription LIKE '%#form. criteria#%') /cfif /cfquery pbResults:/b/p cfoutput query=qSearch p#itemid# - #itemName#/p /cfoutput !- Any help would be greatly appreciated. Thanks -C ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303263 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFCs - Rule of thumb when to use
I'd recommend looking at ColdSpring or Litewire now. These help answer a lot of the questions about how organise and separate the CFCs and how to make them work with each other. On Wed, Apr 9, 2008 at 9:22 PM, James Buckingham [EMAIL PROTECTED] wrote: Yeh, I'd go with that. Not overkill at all and good thinking. If you also have mini app specific checks, you could extend the 'global' cfc too. And apologies for souding like a patronising git, I misread you as not having used cfcs in an app before ;) Lol, didn't take it that way at all. I just didn't want my initial post to be swamped in detail :-). I've actually been using CFC's for a few years now but I've been unclear as to if I'm using them in the right way. I appreciate that these things aren't black and white but I just want to get an opinion on my approach. In my head I know that I should be using CFCs as a tool for common/specific tasks but then I look at the example(s) below and think a) it's overkill and more code and b) I'm breaking a simple process down into two separate parts which might not be needed this way anyway! -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303023 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: reply form with human verification
http://cfformprotect.riaforge.org/ Accessible, unobtrusive and generally pretty good apparently. On Tue, Apr 8, 2008 at 7:18 AM, bill turner [EMAIL PROTECTED] wrote: Hi All, I need to create a reply or comment form whereby individuals can respond to article postings. This would be similar to a blog, I guess, except that these are actually articles of some substance. The idea is that the article will be posted, then readers can write comments, criticism, etc. of the article. Then, the next view of the article will show the comment. For the most part I have no problem figuring out how this would work except for two things: 1) How do we assure that only humans are responding? Many sites post an image with hard to read number/letter sequences and ask that you type in what you see. Is something like this necessary? If so, how do we generate the images, then verify the response? 2) How do we handle html in the response? Perhaps we only allow a limited subset of html, such as bold, italicize, and a few others? If so, what should be allowed? Does anyone know of examples where embedded html is validated? -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302925 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfcontent gives my domainname instead of jpeg
ToString converts the binary into a text encoding so that it can be sent to the browser. Without it you're probably getting the result of an error handler, as binary data can't be directly output without converting to a string and this will be causing an exception. On Tue, Apr 8, 2008 at 9:47 PM, marc -- [EMAIL PROTECTED] wrote: Hi Adrian, that (ToString) works. With it I get the picture, without it I get my domainname as a pict. Is there some logic behind this? If I save the result.FileContent (a binary stream) to a txt file there is all kind of text but not the domainname. Somehow it is there so that it gets displayed in the browser. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302951 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Updating a session error
Don't use evaluate! quantity=#evaluate(form.#theField#)# should be quantity=form[theField] On Wed, Apr 9, 2008 at 12:44 AM, Jeff F [EMAIL PROTECTED] wrote: Hi Everyone, I have a form passing one field to this: cfloop list=#form.FIELDNAMES# index=theField cfif thefield neq 'Update' cfset session.GoogleCart.UpdateCartItem(item=#theField#,quantity=#evaluate(form.#theField#)#) /cfif /cfloop If that field theField has any spaces, it fails. No spaces and everything is ok. I'm not sure what's going on, suggestions?? please?? -jeff ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302954 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Adobe CF Customer Support Experience
Yeah, we guessed. On Mon, Apr 7, 2008 at 11:16 PM, Hemant Khandelwal [EMAIL PROTECTED] wrote: A quick update, we have resolved this issue with Don, and it turned out there was an error in the code example that he submitted and that was what was causing the issue. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302848 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Can you guys give me your thoughts on this?
I do something similar, but I have date_added and date_removed columns (each with a corresponding user column), so I know that if date_removed IS NULL then I have the latest version of the record. It provides full auditing in that we know when a record was added, when it was removed and by whom. On Tue, Apr 8, 2008 at 2:38 AM, Jim Davis wrote: I've done this before using the same table. Basically I added two new columns: EditDate (the date of the change) and EditUser (the user ID of the one making the change). -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302919 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Updater 1 killed my servers
Yes, did that twice and it broke both times. There was an error in the ANT script execution and Adobe are looking at the problem. On Tue, Apr 8, 2008 at 1:40 PM, George Lu [EMAIL PROTECTED] wrote: I've just installed the update 8.0.1 successfully on the Windows Server (2003). You will need to stop all instances before the installation. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302920 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: using LIKE in query of queries
Try the lower() function - that might work in the QoQ. On Sun, Apr 6, 2008 at 3:41 PM, Mike Little [EMAIL PROTECTED] wrote: hey william, you are right. it does appear to be case sensitive. darn. Does the product have a product_title of 'Table' or 'table'? I haven't checked in a while, but it might be case-sensitive. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302802 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Updater 1 killed my servers
I installed CF8 Updater 1 to my CF8 multiserver install. Now every instance of CF is dead, reporting: 500 ROOT CAUSE: coldfusion.runtime.CfJspPage$NoSuchTemplateException: Could not find the ColdFusion Component or Interface /opt/jrun4/servers/cfusion/cfusion.ear/cfusion.war/WEB-INF/cftags/component.cfc. and so on for each instance name. I've confirmed that the file is indeed in the right place and that it has permissions for read for the cf user, and the file is empty as it should be. I followed the install procedure pretty carefully - any ideas what went wrong? This happens even when connecting directly to an instance's internal server on, for example, port 8301, so it's not an Apache connector issue. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302827 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Updater 1 killed my servers
Please let us know how it goes. We're on SLES 10.1 Linux. On Mon, Apr 7, 2008 at 10:58 AM, George Lu [EMAIL PROTECTED] wrote: It sounds scary to me. I've just downloaded the Windows version. On 07/04/2008, James Holmes [EMAIL PROTECTED] wrote: I installed CF8 Updater 1 to my CF8 multiserver install. Now every instance of CF is dead, reporting: 500 ROOT CAUSE: coldfusion.runtime.CfJspPage$NoSuchTemplateException: Could not find the ColdFusion Component or Interface /opt/jrun4/servers/cfusion/cfusion.ear/cfusion.war/WEB-INF/cftags/component.cfc. and so on for each instance name. I've confirmed that the file is indeed in the right place and that it has permissions for read for the cf user, and the file is empty as it should be. I followed the install procedure pretty carefully - any ideas what went wrong? This happens even when connecting directly to an instance's internal server on, for example, port 8301, so it's not an Apache connector issue. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302829 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 8 updater 1 (8.0.1) released
Thanks for the heads up! On Fri, Apr 4, 2008 at 5:15 PM, Tom Chiverton wrote: http://www.adobe.com/support/coldfusion/downloads_updates.html#cf8 -- Tom Chiverton Helping to completely drive frictionless data on: http://thefalken.livejournal.com -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302695 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 8.0.1 updater ZIP file
It's not actually a zip file, it's a shell script that contains a self extracting zip file. It's been misnamed. Just set the permissions on it to execute and execute it, rather than unzipping it. On Sat, Apr 5, 2008 at 3:58 AM, Brian Love [EMAIL PROTECTED] wrote: Kris: Thanks for the suggestion, I will have to try this as well. Of course, I first attempted this on my server using the unzip command, and get the following message: Archive: coldfusion-801-lin_updater.zip warning [coldfusion-801-lin_updater.zip]: 69730304 extra bytes at beginning or within zipfile (attempting to process anyway) Appears to me that there is something wrong with the file. I also ran md5sum against the zip file, and it matched perfectly, so the downloaded file is not corrupted. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302778 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 + AIR
On Thu, Apr 3, 2008 at 9:35 PM, Steve Good [EMAIL PROTECTED] wrote: If you have Volume 3 issue 3 of the fusion quarterly, there are a whole bunch of examples for connecting Flex 3 and AIR to webservices. I think it was Vol 2 Issue 2; I particularly recommend the article by James Holmes on this, in that issue (and the follow-up in Issue 3). :-) -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302586 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: JRun 4 updates for ColdFusion Servers
CF is only supported on 1.5_07 according to this: http://www.adobe.com/products/coldfusion/pdfs/cf8_systemsupportmatrix.pdf On Fri, Apr 4, 2008 at 11:22 AM, AJ Mercer [EMAIL PROTECTED] wrote: what is a good version of JRE 1.5 to use? I downloaded Sun's 1.5 update 15 But Jrun wont start now :-( -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302688 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFLDAP parameter parenthesis
I'd also be tempted to replace the AD team... On Fri, Apr 4, 2008 at 4:20 AM, Jeff Becker [EMAIL PROTECTED] wrote: After a bit of digging, I think I was able to find an answer to this. http://www.faqs.org/rfcs/rfc2254.html gave me some good info on LDAP search strings. Search the above link for String Search Filter Definition Turns out I needed to replace special chars (*,(,),\,NUL) with their respective ASCII value Taken from the above, all the examples below are good search strings. (o=Parens R Us \28for all your parenthetical needs\29) (cn=*\2A*) (filename=C:\5cMyFile) (bin=\00\00\00\04) (sn=Lu\c4\8di\c4\87) -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302691 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ooutput a byte array to browser
If the file is on the filesystem, you can just use cfcontent to send it to the user. On Wed, Apr 2, 2008 at 7:18 AM, kurt schroeder [EMAIL PROTECTED] wrote: I need to out put an excel file with charts to the user when she clicks on a link. My method for this will be to oout put a byte array after i read the file Binary However, I have no idea how to just write the byte array out!!! There and may examples of writting to file, but i need to write to screen. I have done this in asp.net. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302468 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 cluster testing for load balancing and failover
The multiserver monitor is in the cfusion instance you removed from IIS. Regardless, you probably want to look in the individual server monitors to see how many requests each is handling. hit a page on the site, see which server is shows in, hit it again, it should show in the other server. Take one instance down, all the requests should come from one instance. Bring it back, you should see both serving requests again. On Tue, Apr 1, 2008 at 10:01 AM, George Lu [EMAIL PROTECTED] wrote: I've installed CF8 using multiserver configuration and created a cluster and added two instances on the same physical box. Then I've used wsconfig.exe to connect the cluster to IIS and remove 'cfusion' from IIS (with help from MrBuzzy). Now I can consider the cluster is successfully installed. However, how can I test the load balancing and failover? If I run CF Admin on one of the instances, how can I add servers (server name? port?) in Multiserver Monitor? -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302402 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 cluster testing for load balancing and failover
Go to Highest Hit Counts (after restarting the server instances to clear it out) and hit a specific page only. That way it will the the only page to show and you can check the number of hits. On Tue, Apr 1, 2008 at 11:24 AM, George Lu [EMAIL PROTECTED] wrote: Well, I can still access the cfusion instance from here: servername:8300/cfide/administrator. I've launched the server monitor from each instance. I hit the index page. What I can see is it created a session under Active sessions and nothing under other stats items. On 01/04/2008, James Holmes [EMAIL PROTECTED] wrote: The multiserver monitor is in the cfusion instance you removed from IIS. Regardless, you probably want to look in the individual server monitors to see how many requests each is handling. hit a page on the site, see which server is shows in, hit it again, it should show in the other server. Take one instance down, all the requests should come from one instance. Bring it back, you should see both serving requests again. On Tue, Apr 1, 2008 at 10:01 AM, George Lu [EMAIL PROTECTED] wrote: I've installed CF8 using multiserver configuration and created a cluster and added two instances on the same physical box. Then I've used wsconfig.exe to connect the cluster to IIS and remove 'cfusion' from IIS (with help from MrBuzzy). Now I can consider the cluster is successfully installed. However, how can I test the load balancing and failover? If I run CF Admin on one of the instances, how can I add servers (server name? port?) in Multiserver Monitor? -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302404 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Question about cfeed
Firefox is using its own XSLT to show you the feed - it's displaying the description, not the content. IE is showing the feed with the XSLT that comes with the feed, which shows the content. On Sat, Mar 29, 2008 at 3:58 PM, Steve Sequenzia [EMAIL PROTECTED] wrote: Hey Ray, Thanks for the response. Yeah it is strange if you look at the feed directly in FF it shows it truncated but in IE it shows all the full articles. Also, other readers like Goolge Reader show the full article not the truncated version. Any ideas why this would be different? I will checkout ColdFusionBloggers.org and look at the code. Thanks! Eh? When I viewed http://feeds.feedburner.com/Techcrunch directly, I saw this for the first entry: Update: More details of the scheme are here. Musicians themselves may just be crazy, but the music labels are dangerously stupid, and need to be stopped before they can do any further damage to the music industry. Case in point: Warner Music, fully aware that the days of charging for recorded music are coming to an [...] Notice the [...]. This is exactly what I saw in your app as well. Also, I am wondering if it is possible to read some feeds ever so often and insert the results in a DB. I Check out cfschedule and Scheduled Tasks. Also don't forget that the entire code base to ColdFusionBloggers.org is available for download. You can use that for help. I also have code that works around a lot of CFFEEDs issues. On Thu, Mar 27, 2008 at 11:40 PM, Steve Sequenzia [EMAIL PROTECTED] wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302286 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Question about cfeed
That's the correct CFFEED behaviour, according to the docs (http://www.cfquickdocs.com/cf8/?getDoc=cffeed): Column, Atom entry, RSS item CONTENT, content element value, description item value So, for an RSS feed, the content column should contain the description item, which it does. You'll have to parse the XML to get the content item. On Sun, Mar 30, 2008 at 4:41 AM, Steve Sequenzia [EMAIL PROTECTED] wrote: @James Actually when I look at the dump of the cffeed the content is the truncated version. So I guess I am confused because IE shows the entire article but when I use cffeed it only shows the truncated version. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302293 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: VMware- ColdFusion Developer (Palo Alto)
And people have the nerve to say CF is dead. It's really good to see companies like VMWare providing opportunities in CF. On Sat, Mar 29, 2008 at 3:38 AM, Trish Austin [EMAIL PROTECTED] wrote: ColdFusion Developer, EIS Palo Alto. **LOCAL PEOPLE ONLY PLEASE** Please send your resume to [EMAIL PROTECTED] About VMware VMware (NYSE:VMW) is transforming computing through virtualization. The Web Application Developer will support the all of the EIS solutions with both new and sustaining development. The successful candidate will be a detail-oriented web application developer with experience writing design specifications, architecting, developing, and modifying ColdFusion web applications, conducting system testing, and tuning/troubleshooting and maintaining ColdFusion Application Servers in a Windows or Linux environment. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Jobs-Talk/message.cfm/messageid:3731 Subscription: http://www.houseoffusion.com/groups/CF-Jobs-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11
Re: CF7 and log4j
You will have to use a classloader to use a version other than that supplied with CF 7. On Thu, Mar 27, 2008 at 4:11 PM, vishnu prasad [EMAIL PROTECTED] wrote: hi last post is not displaying in Houseoffusion , it display the message The page you are looking for does not exist at this location. some one has replied but i cant see the msg, hence positing it again . Hi Cfgurus we are facing a problem in CF7 server when we access the third party Java API which uses the log4j 1.29 version -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302140 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Windows CF8 VPS?
Viviotech (http://www.viviotech.net/hosting_vps.cfm). Your budget will buy a very decent CF8 box if you do the management. On Fri, Mar 28, 2008 at 8:43 AM, Jason Durham wrote: I'm currently evaluating HostMySite's entry level CF VPS and am dissatisfied with the performance and support. Can anybody recommend another VPS host? I'm looking to spend about $1500 annually and be able to run MS SQL or MySQL on the box. -- 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;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302237 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Memory discrepancy
It appears that 1.2GB isn't adequate. If you are on CF 8 Enterprise (or you can copy the code to a CF 8 Developer server) you can use the memory monitor to closely profile the memory usage on the server and find what's chewing up the heap. On Tue, Mar 25, 2008 at 11:14 PM, Alex DeMarco [EMAIL PROTECTED] wrote: OK... Well my instance ran out of memeory Java.lang. out of memeory: Java Heap Which is set at 1.2g Which should be more then adaquate. -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302001 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Images in the database good or bad?
Exactly - people who work in GIS will tell you a lot (if you ask) about the power of DB systems that can do spatial analysis (Oracle, for example). On Mon, Mar 24, 2008 at 10:53 PM, Dawson, Michael [EMAIL PROTECTED] wrote: Lets say you get to be the size of myspace.com or flickr.com they cannot be storing all of those images in a database would they? It is very possible... TerraServer: http://terraserver-usa.com/about.aspx?n=AboutTerraServiceOverview http://research.microsoft.com/displayArticle.aspx?id=272 The images on TerraServer are made up of individual 200 x 200 pixel tiles that have been resampled from the USGS aerial images. The tiles are then organized in a database table by theme, resolution, and location. m!ke ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301909 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Round Up
Ceiling actually: http://www.cfquickdocs.com/#Ceiling Round might round down; the OP wants to round up always. On Sun, Mar 23, 2008 at 9:04 PM, Will Tomlinson [EMAIL PROTECTED] wrote: is there any function or easy to always round up a number, please? Jenny Round() http://livedocs.adobe.com/coldfusion/6/CFML_Reference/functions-pt274.htm Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301833 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Round Up
Sorry, the link shoudl be http://www.cfquickdocs.com/#Ceiling?getDoc=Ceiling On Sun, Mar 23, 2008 at 8:08 PM, James Holmes [EMAIL PROTECTED] wrote: Ceiling actually: http://www.cfquickdocs.com/#Ceiling Round might round down; the OP wants to round up always. On Sun, Mar 23, 2008 at 9:04 PM, Will Tomlinson [EMAIL PROTECTED] wrote: is there any function or easy to always round up a number, please? Jenny Round() http://livedocs.adobe.com/coldfusion/6/CFML_Reference/functions-pt274.htm Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301834 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SSL (HTTPS) Web Service
If the server certificate is self-signed, you might need to import the root Certificate Authority into your CF server keystore. On Thu, Mar 20, 2008 at 10:45 PM, Ian Skinner [EMAIL PROTECTED] wrote: Is there some trick to consuming a web service over HTTPS(SSL) in ColdFusion. I keep getting a Cannot generate stub objects for web service invocation. error when I try to do so. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301640 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SSL (HTTPS) Web Service
http://www.talkingtree.com/blog/index.cfm/2004/7/1/keytool http://www.coldfusionmuse.com/index.cfm/2005/01/29/keystore http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19139 On Thu, Mar 20, 2008 at 11:36 PM, Ian Skinner [EMAIL PROTECTED] wrote: James Holmes wrote: If the server certificate is self-signed, you might need to import the root Certificate Authority into your CF server keystore. I was afraid somebody was going to say something like that. Much of that is Greek to me. Any good step-by-step, fool-proof how to on just how one would do this just to play with a web service in development? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301646 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Memory discrepancy
Server monitor is reporting the used heap space but not the perm space. As time goes on more and more classes have been compiled and are being stored in the perm space. Hotspot-optimized code also lives in the perm space, which also accumulates over time. http://www.javaperformancetuning.com/news/qotm043.shtml On Fri, Mar 21, 2008 at 12:55 AM, Alex DeMarco [EMAIL PROTECTED] wrote: We are running CFMX 8 in a Jrun4 (updater7) instance using java 1.6 under Win2k3. When I run the Server Monitor or even Jprofiler on the instance for example they both report 125,000 in use. However, when I look at Windows Task Manager the Jrun process reports around 225,000. Why the difference? One of the things we have noticed is that over time the amount windows reports grows. Yet internally it does not. Anyone seen this behavior? Any ideas what is going on? thanks in advance! - Alex ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301649 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Memory discrepancy
The growth is in the perm space. It's part of the JRun JVM process memory (reported by Task Manager) but not part of the JVM heap (reported by Server Monitor). It's not exactly external to CF - it's part of how CF (or any Java app) works. CF creates a lot of classes to do what it does, which all use perm space. On Fri, Mar 21, 2008 at 6:13 AM, Alex DeMarco [EMAIL PROTECTED] wrote: Server monitor is reporting the used heap space but not the perm space. As time goes on more and more classes have been compiled and are being stored in the perm space. Hotspot-optimized code also lives in the perm space, which also accumulates over time. http://www.javaperformancetuning.com/news/qotm043.shtml On Fri, Mar 21, 2008 at 12:55 AM, Alex DeMarco [EMAIL PROTECTED] wrote: So if the internal monitor is not showing the memory growth but Windows Task manager is then is the growth external to CFMX? But something else in the Jrun instance? - Alex ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301712 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Brain not working... how do I get these values?
Can you name the file fields independently (i.e. do they have to be the same name)? On Fri, Mar 21, 2008 at 11:45 AM, Rick Faircloth [EMAIL PROTECTED] wrote: Ok. so I'm trying, for the first time, to set up unlimited file inputs for users. I'm using a jQuery plug-in, which works fine. What I can't figure out is how to get the values for the image fields so I can loop over them in the cffile and query actions. -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301723 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Brain not working... how do I get these values?
Call them file_x_ where x is the number of this field, while keeping a running tally (using JS) of fields in a hidden form field hid_filecount (all of which gets submitted in the form). Then you can loop through input file_1, file_2 etc through to x, which is the value of hid_filecount. On Fri, Mar 21, 2008 at 12:41 PM, Rick Faircloth [EMAIL PROTECTED] wrote: Well, at first I did work out a way (with some help!) to us JS to generate the additional file fields and give each one a unique name, however, I realized that since the user is generating the inputs and the input's name, I would have to automatically generate some CFML to correspond to the generated file fields for processing. For example, with a comma-delimited list of file field names, I could use a loop with for=1 to len(comma-delimited list) (pseudo code) and loop through the file names for cffile processing and inserting into a db. However, with uniquely name fields being created by the user, how would I let CF know how many fields it needed to process? If I know how many file fields a user created, I would know exactly what the field names would be, because the JS increments the names starting with image-upload-1, then image-upload-2, etc. So, how would I handle the processing not knowing the number of fields being passed by the form to CF? Rick -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 11:25 PM To: CF-Talk Subject: Re: Brain not working... how do I get these values? Can you name the file fields independently (i.e. do they have to be the same name)? On Fri, Mar 21, 2008 at 11:45 AM, Rick Faircloth [EMAIL PROTECTED] wrote: Ok. so I'm trying, for the first time, to set up unlimited file inputs for users. I'm using a jQuery plug-in, which works fine. What I can't figure out is how to get the values for the image fields so I can loop over them in the cffile and query actions. -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301725 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 8 Performance Problems?
Is debugging or server monitoring switched on for the CF8 server? On Thu, Mar 20, 2008 at 5:05 AM, Annie x [EMAIL PROTECTED] wrote: Has anyone ran into any issues with CF 8 performance? We have a large application that we stress-tested on one of our CF 6 boxes. We then moved the code to our newer (larger and more powerful) CF 8 box, tested for compatibility issues (none found), and stress-tested it there. Its performance is much, much worse. -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301616 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF 8 Instance Clustering: for performance? or failover?
It depends on the number of queued threads and the default stack size. Some platforms have a 512k default stack, for example. Queue 100 threads and that's 50MB, because the thread is assigned the stack when it's queued, not when it's executed. As a comparison point, we often have a few hundred concurrent requests (which means 20 less than a few hundred queued threads). Regardless though, I agree that anyone expecting twice the available memory in two instances is going to be disappointed. On Tue, Mar 18, 2008 at 5:09 PM, Dave Watts [EMAIL PROTECTED] wrote: Sort of. Sessions certainly take up the same room in both if you're using session replication and you'd expect that over time the same set of classes are going to be created and take up perm space. But since the threads are spread between each instance there's (approximately) half the stack space being used in each JVM. The amount of stack space is a trivial fraction of the entire JVM. So, in essence, you'd have nearly identical memory consumption in both instances. -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301476 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF 8 Instance Clustering: for performance? or failover?
Sort of. Sessions certainly take up the same room in both if you're using session replication and you'd expect that over time the same set of classes are going to be created and take up perm space. But since the threads are spread between each instance there's (approximately) half the stack space being used in each JVM. On Tue, Mar 18, 2008 at 9:47 AM, Dave Watts [EMAIL PROTECTED] wrote: And if you cluster two instances, you're storing the same stuff in both GB of RAM, right? -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301465 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Weired Error
Yes, the facists are conspiring to prevent your cfwindow from working because it's a risk to national security. This will help: http://zapatopi.net/afdb/ On Tue, Mar 18, 2008 at 10:30 AM, Don L [EMAIL PROTECTED] wrote: Hi, My cf8-based app runs fine with me and most beta users (the app uses multiple cfwindows for one page), however, one important beta user often encounters errors like Error retrieving markup for element {xyzwindow_body}: Access Forbidden and he reported that it's consistent. It bothers me. On web server end, I'm using IIS server. Could it because his organization's network security setup is unusual? Could it because some unknown software is runing on my server that prevents my app from running its proper cause? My own preliminary analysis based on evidence would suggest that this is more likely the case and if this is true, it BOTHERS me DEEPLY, I came to this country for freedom... and absolutely don't want to subject myself to fascists... and I have been living and working here for eighteen long years now... of course I have feeling for this country, it PAINS me to have to think of an alternative... Am I nuts to come to this conclusion? Could it because my ISP (Cox) has some process running that unintentionally creates problem? Could it because his organization's network setup with extra layers of firewalls etc. that seriously slows loading while CF8 has time-out limit for each cfwindow rendering but then why Access Forbidden err msg? -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301468 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Hostmysite down?
On Fri, Mar 14, 2008 at 11:45 PM, Jamie Price [EMAIL PROTECTED] wrote: In short: Yes, Virginia, there is a webhost that cares about customer service and meeting expectations. ;-) Unless you expect shared CF hosting on Linux. -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301256 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: File download not working
Did you recently turn off caching in IE, or do you prevent caching in the page higher up (with no-cache headers etc)? On Fri, Mar 14, 2008 at 6:01 AM, Dave [EMAIL PROTECTED] wrote: I'd seen the content-description in a few examples figured I'd give it a try. I've also see the attachment formatted with colon and semi-colon as well as simply attachment=filename. I started with a semi-colon and no content-description with the same end. It is working under firefox, just not IE7. -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301223 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Help Adobe plan the future of ColdFusion (along that line)
Sure, but not Java. Flex does this really well and fits better with CF as an adobe product: http://www.adobe.com/devnet/coldfusion/articles/multifile_upload.html On Thu, Mar 13, 2008 at 7:42 AM, Azadi Saryev [EMAIL PROTECTED] wrote: yes +1 to better file upload. start with built-in tag-based multiple file upload. a nice built-in java applet for selecting multiple files or whole folders to upload will be nice, too... especially one that can be called with a tag and an upload progress bar -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301119 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Naming Forms randomly
In this code: cfset session.cart[#prodID#].quantity=session.cart[#form.prodID#].quantity+1 the # symbols are completely unnecessary. cfset session.cart[prodID].quantity=session.cart[form.prodID].quantity+1 will work just the same. On Wed, Mar 12, 2008 at 9:33 AM, Phillip Perry [EMAIL PROTECTED] wrote: Well, I figured it out -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301034 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: FW: Help Adobe plan the future of Flex or ColdFusion
You're lucky. I answered the first couple of screens and got: You are missing information in the URL. Please verify the URL is correct. On Wed, Mar 12, 2008 at 2:41 PM, Don L [EMAIL PROTECTED] wrote: Half way through, the survey app had a show-stopper, namely, for future features including faster server performance and rules etc. (weight range from 1 to 3). I picked server performance as 1 and 3 for everything else but the app complained about Duplicated answers; select each number only once, that's nuts, of course there're duplicate answers for 7 questions out of 3 answers. It's a show stopper, time wasted. -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301039 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFLDAP finds cn but can't find password or certain attributes
Is the working admin username just a name like admin or a DN like cn=admin,dc=something...? On Tue, Mar 11, 2008 at 11:35 AM, david reiter [EMAIL PROTECTED] wrote: Hi - The error message (which occurred in the line reading filter=cn=#FORM.UserLogin#) is below: Authentication failed:[LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece ] Does this help identify the problem? Thanks very much! David The next thing to check is if the admins have denied the ability to query the directory. They would be the only ones to tell you that. Or, if you have admin access, you can open Active Directory Users Computers and check the permissions of the domain root level. (Right-click, Properties, Security) See if domain users have been denied any type of access to attributes or querying the directory. By default, all users can query the directory, but I'm pretty sure this can be changed. When you try the CFLDAP code that fails, catch the exception and display the error message and details. It may give you a clue. You should get something such as NOT_WILLING_TO_RESPOND. m!ke attributes Thanks, Michael. I don't think the syntax is the problem because it works when I replace #FORM.UserLogin# with the admin account username and #FORM.UserPassword# with the admin password. I assume it's an AD because the password name is unicodePwd - their admin isn't sure (believe it or not). I gather client IS departments aren't always fully cooperative with vendors. You're right - I don't need to know the user's password, I just need to authenticate with it. But even the simple CFLDAP query that retrieves the cn won't execute if I use the user's credentials - it only works if I use the administrative name and pw. I tried a single query as you suggest, and it throws an error every time, citing the line with password=#FORM.UserPassword# as the error source in the CFLDAP query. This works: cfldap action=QUERY name=find_user start=DC=XXX,DC=,DC=XXX attributes=cn,givenName,sn,department scope=subtree filter=cn=#FORM.UserLogin# server=[server IP address] username=[admin account name] password=[admin password] This doesn't: cfldap action=QUERY name=authenticate start=DC=XXX,DC=,DC=XXX attributes=cn,givenName,sn,department scope=subtree filter=cn=#FORM.UserLogin# server=[server IP address] username=#FORM.UserLogin# password=#FORM.UserPassword# ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300916 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Slow machine - JRun?
If you are seeing a lot of paging the following things are among those relevent: - How much physical RAM do you have on this box? - How much memory is allocated to the ColdFusion JVM (heap, stack and perm space)? - What else is the box running (e.g. is the DB on the machine)? On Sun, Mar 9, 2008 at 12:47 AM, Mik Muller [EMAIL PROTECTED] wrote: Steve, Well, we swapped machines this morning and now JRun's I/O Other is cranking more than ever. We've been up for about six hours and we're nearing 19 million I/O, and Page Faults are at 1.25 million, despite CPU Usage being very low. One thing I'm noticing is PF Usage is at 2.13 GB. Our Page File is split up into two files... 2048 MB on C: and 6120 MB on F: -- could the problem be that we've overrun the first, local, page file and all the IO is the machine managing virtual memory between C: and the F: drive on the SAN? -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300811 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Slow machine - JRun?
And now that I've taken the five seconds to look at your pics that I should have spent before posting, I can answer these for myself (sorry). It seems Windows is being really helpful by sticking JRUN in the swapfile and running it all from there. It's also paging a fair amount of SQL server, apparently, so maybe this is where your 2GB of swap is coming from. I'd make sure the swap file is all on one volume and isn't fragmented - I'd also recommend putting the DB on a different box. On Sun, Mar 9, 2008 at 11:06 PM, James Holmes [EMAIL PROTECTED] wrote: If you are seeing a lot of paging the following things are among those relevent: - How much physical RAM do you have on this box? - How much memory is allocated to the ColdFusion JVM (heap, stack and perm space)? - What else is the box running (e.g. is the DB on the machine)? On Sun, Mar 9, 2008 at 12:47 AM, Mik Muller [EMAIL PROTECTED] wrote: Steve, Well, we swapped machines this morning and now JRun's I/O Other is cranking more than ever. We've been up for about six hours and we're nearing 19 million I/O, and Page Faults are at 1.25 million, despite CPU Usage being very low. One thing I'm noticing is PF Usage is at 2.13 GB. Our Page File is split up into two files... 2048 MB on C: and 6120 MB on F: -- could the problem be that we've overrun the first, local, page file and all the IO is the machine managing virtual memory between C: and the F: drive on the SAN? -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300812 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 Problems
I simply expected from HMS a shared linux CF server that stayed functional most of the time. They were unable to provide this - to the point where they no longer offer shared Linux CF hosting. I'll leave it to your judgement as to whether I expected too much. They recommended I move to VPS, so I did - with Viviotech. On Sun, Mar 9, 2008 at 10:48 PM, Jim Davis [EMAIL PROTECTED] wrote: On Thu, Mar 6, 2008 at 10:19 AM, Richard White [EMAIL PROTECTED] wrote: we have had severe problems with host my site hosting company, can anyone recommend a really good coldfusion 8 and mysql hosting site. I think most of the problems that we see talked about here are with the hostee, not the hoster. It's not that the host they're on is bad but rather that it's bad for them. Another common scenario is that the host itself is fine but the service option chosen is wrong for the needs. -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300827 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 Problems
I moved from HMS to Viviotech and I've been happy. On Fri, Mar 7, 2008 at 4:57 AM, Richard White [EMAIL PROTECTED] wrote: its not been the problem for us getting through to them, its once we get through to them thats the problem. every issue we have had with them has been in relation to them telling us something that we later find out is wrong. whether its to do with doing something on our server or whether its to do with some information about our account. -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300693 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: File Upload H2
What do cfserver.log and your other logs say about the server when it crashes? On Fri, Mar 7, 2008 at 7:45 AM, Ryan J. Heldt [EMAIL PROTECTED] wrote: Is a 2MB file really all that ColdFusion can handle. I know we've done uploads of other files (like images and PDFs) that are far bigger and doesn't cause a problem. I guess to answer your question, I do have smaller files that seem to upload just fine. -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300697 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC Best practices question
I'll second this. When you use ColdSpring, you end up having it passed in as an init() parameter and then put it in the VARIABLES scope, so it's available to all methods inside your object. On Thu, Mar 6, 2008 at 7:29 AM, Charlie Griefer [EMAIL PROTECTED] wrote: I think you're starting to see where ColdSpring (or Lightwire) might come in handy :) On Wed, Mar 5, 2008 at 2:24 PM, Gerald Guido [EMAIL PROTECTED] wrote: I have seen it set in the init and set to the variables scope. and then called from individual functions. So if the passed object is local to *only one* function should I pass it to just that one function? Or if it used multiple times in the object I should store it as part of the object (in the init function) in the variables scope so it can be avalible to multiple functions. -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300588 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfhttp, pulling from secure site
Ben Nadel recently took his session maintainer stuff and put it into a CFC: http://www.bennadel.com/blog/1171-CFHTTPSession-cfc-For-Multi-CFHttp-Requests-With-Maintained-Session.htm This should make things simpler. On Thu, Mar 6, 2008 at 2:30 PM, Gilbert Midonnet [EMAIL PROTECTED] wrote: Yes, we'll have permission. :-) I'm trying to get a handle of this project in order to give a time estimate. We need to push and pull data from 3rd Party sites. Gil -Original Message- From: William Seiter [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 12:24 AM To: CF-Talk Subject: RE: cfhttp, pulling from secure site Assuming you 'have their permission' to do this... Take a look at the cf_httpx custom tag. It has a lot of features that mirror cfhttp, but added features like sessions and cookie keeping. What I have found in the past is, you may have to use a session sniffer to show you what is sent to each page in their system and what is returned. You might be surprised how many pages are 'loaded' before you are actually logged into their service. For one solution that I had to create I ended up using both cfhttp and cf_httpx to make it work. It was just plain difficult. Good luck, William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer / ColdFusion Programmer http://William.Seiter.com -Original Message- From: Gilbert Midonnet [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 9:20 PM To: CF-Talk Subject: cfhttp, pulling from secure site I've been doing some reading regarding pulling and pushing data to 3rd party sites. While the broad concepts seem simple implementing them are more complicated. (What else is new?) I'm trying to pull data from several password protected sites and am unable (for instance American Express). Any ideas? thx ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300616 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ongoing problem with newsletter-eMail-actions: CF is hanging
Do you mean that FusionReactor or another monitoring tool shows 2GB free in your JVM or that the box has 2GB free? These are very different things. On Thu, Mar 6, 2008 at 4:17 PM, [EMAIL PROTECTED] wrote: Hi Jochem, thank you. CPU and memory is just fine. CPU ist under 10-15% and memory is plenty: about 2GB on each machine. I guess the newletter coding (and a coding fault inside) + the increased access are bringing CF to a halt. Uwe -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300620 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC, OOP I have another acronym for you.. WTF?
You have of course been deleting and re-creating the APPLICATION.userGateway object after you've been making these changes, right? On Tue, Mar 4, 2008 at 10:59 PM, Greg Morphis [EMAIL PROTECTED] wrote: Naaa.. I mean we do have an error template but it normally fires with errors.. If I misspell something on a .cfm page, it displays all the error info. I've just noticed that when there's something wrong within a CFC it just stops.. For example if I have a cfoutput#session.user.emplid#/cfoutput cfset qGroupsX = application.userGateway.getGroupsForUser(emplid = '0012345') !--- error in here somewhere --- cfdump var=#application# / The output gets displays but no dump.. I have a login page that created the application.userGateway so it could check security because the onApplicationStart in the .cfc doesn't seem to fire before the login (not sure why). Anyways.. I wonder if that was causing the error.. I wrapped it in a cfif structkeyexists(application,userGateway) ... create the application.userGateway /cfif But I want to test... could 2 creates cause the problem? I would really like some better error messages instead of CF just stopping (only happens in errors within the CFC) what it's doing... On Tue, Mar 4, 2008 at 3:31 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 03 Mar 2008, Greg Morphis wrote: No, no aborts.. and yeah.. it returns something.. Something's wrong because like I said CF stops processing.. Do you have a per-application or server wide exception handler that could be swallowing the error it looks like it must be throwing ? -- Tom Chiverton Helping to authoritatively conquer guinine m-commerce on: http://thefalken.livejournal.com 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300393 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: LinkedIn CF group
+1 On Wed, Mar 5, 2008 at 9:08 AM, RobG wrote: I'm game. Just joined. On Tue, Mar 4, 2008 at 3:01 PM, James Wolfe [EMAIL PROTECTED] wrote: I'm not sure what purpose it serves, but I created a LinkedIn CF group if anyone cares http://www.linkedin.com/groupInvitation?groupID=63526sharedKey=59CB6255962F -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300474 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Need query help
No, that'll get one or the other - he wants ones that are both. Aliasing will work, something like this: SELECT tblgroups.groupid, tblgroups.groupimage, tblgroups.groupname, tblgroups.groupcity, tblgroups.state, tblgroups.voicingid, tblgroups.groupcontactperson, tblgroups.country, tblgroups.region, x1.groupid as groupid1, x1.grouptype as grouptype1, x2.groupid as groupid2, x2.grouptype as grouptype2, gt1.grouptype, gt2.grouptype FROM tblgroups, tblgrouptypes gt1, tblgrouptypes gt2, tblgrouptypes_x x1, tblgrouptypes_x x2 WHERE tblgroups.groupid = x1.groupid AND x1.grouptype = tg1.grouptype, AND tblgroups.groupid = x2.groupid AND x2.grouptype = tg2.grouptype AND (x1.grouptype = 'College' AND x2.grouptype = 'Jewish') ORDER BY tblgroups.groupsortname On Tue, Mar 4, 2008 at 8:36 AM, ColdFusion [EMAIL PROTECTED] wrote: Try changing your AND statement to an OR statement: AND (tblgrouptypes_x.grouptype = 'College' OR tblgrouptypes_x.grouptype = 'Jewish') -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2008 5:39 PM To: CF-Talk Subject: Need query help Hey, I've got groups that can have one or more types associated with them. I have a linking table that I'm querying and filtering. But I'm not getting the results I need. Example: A group can be both 'College' and 'Jewish', as listed in the many linking table - tblgrouptypes_x.grouptype In my query below, I'm looking for groups that are both 'College' and 'Jewish', but getting no results. Even though I know there is one in there. Seems simple enough. SELECT tblgroups.groupid, tblgroups.groupimage, tblgroups.groupname, tblgroups.groupcity, tblgroups.state, tblgroups.voicingid, tblgroups.groupcontactperson, tblgroups.country, tblgroups.region, tblgrouptypes_x.groupid, tblgrouptypes_x.grouptype, tblgrouptypes.grouptype FROM tblgroups, tblgrouptypes, tblgrouptypes_x WHERE tblgroups.groupid = tblgrouptypes_x.groupid AND tblgrouptypes_x.grouptype = tblgrouptypes.grouptype AND (tblgrouptypes_x.grouptype = 'College' AND tblgrouptypes_x.grouptype = 'Jewish') ORDER BY tblgroups.groupsortname And ideas would be appreciated. Thanks, Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300356 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cffile misbehaving?
Exactly - it depends on what the client is willing to send. In IE7 my test code gives me the full client path where it belongs in the CFFILE struct (including my username, since I uploaded from the My Documents folder in my account). Firefox displays the behaviour the OP described (no client directory details). I'll let you figure out which browser you prefer to use... On Mon, Mar 3, 2008 at 2:03 PM, Claude Schneegans [EMAIL PROTECTED] wrote: Hence it seems that it would have had to know where to get the file from (i.e. the client's directory and file path). The server does not get the file, the client sends the file, therefore the server does not need to know the directory name. The server gets the file name, but this is just because the browser is kind enough to send it with the file. In theory, the server wouldn't even need the original file name. This is how the HTTP protocol goes, nothing you can do about 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300297 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Difference between CFAjax and mxAjax
Yes. CFAJAX is no longer maintained and used a port of a Java Library, DWR, for data exchange. mxAjax employs popular libraries like Prototype, Scriptaculous, JSON and some other bits and allows CFCs to be used. It has more features and, most importantly, Arjun is still maintaining it. If you are trying to choose between them, mxAjax is definitely the way to go. On Sat, Mar 1, 2008 at 9:20 PM, Ali [EMAIL PROTECTED] wrote: Hi: Is there any difference between these two ajax frameworks for CF? Thanks Benign -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300241 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Best WYGIWYG Browser based html text editors for Coldfusion
All of these HTML editors are client side technology and will work essentially independently of the serverside tech. The only wysiwyg editor that you could really say is for CF only is the FCK based one that comes in CF8, since you can bring it up with a CF tag. If you want to know about file upload integration with the editors, try CFFM (which has FCK and TinyMCE integration). On Sat, Mar 1, 2008 at 10:18 PM, Ali [EMAIL PROTECTED] wrote: Hi: I searched for an html editor for my site and found pleny. But none were specificly designed for CF and I need to use your experience to choose the right one. I saw FCKeditor and it claimes to be the best. But I wonder if there is a better one JUST FOR CF or not? I mean an HTML editor that has some features for CF that others don't. Or works better for CF. Thanks Benign ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300245 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: An effort to make cold fusion 8 standard edition more efficie nt
Have you seriously looked at what Ext offers? On Sat, Mar 1, 2008 at 3:34 AM, Claude Schneegans [EMAIL PROTECTED] wrote: 3. Use something else that's not integrated. 4. develop your own ;-) -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300228 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How is CF8 working on shared servers?
In fact, you don't even need the Application name - you can use a blank application name and dump out (and then change) every single application on the box, regardless of sandboxing. If the host doesn't restrict creatobject(java...) then all bets are off. If the host lets JSP run inside CF then there is no security. With shared hosting, security and functionality are opposing goals between which a tradeoff must be made. Unfortunately not all hosts understand CF enough to know where to strike the balance. On Thu, Feb 28, 2008 at 1:36 AM, Jim Davis [EMAIL PROTECTED] wrote: None of the shared information is really, truly safe. If you have the application name then you can see all the information stored in it for example. A good host will use various means to prevent people from getting access to each other's folders with a shared process like CF running then it's more likely that a bug or misconfiguration can allow such access. Once you have that kind of access it's very likely that you'll be able to get database access and perhaps dangerous information. -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300035 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: auto-fill forms, a B2B application
CFHTTP can do all of this. On Wed, Feb 27, 2008 at 3:19 PM, Gilbert Midonnet [EMAIL PROTECTED] wrote: I've had an interesting request. I need to be able to auto-fill forms on a third-party's server. Yes we have permission and no, there is no XML alternative. We need to push data to another server. This is a B2B application. The client company currently gets data from their customers. They have staff members go to their vendor sites and input much the same information into the vendor's forms. What's wanted is that after the customers fill in the form the data is then pushed over to the vendors WITHOUT any human interaction. The key concept here is NO HUMAN INTERACTION with the third-party site. So the third party site will have to be contacted, go through a login screen and fill-out data over multiple screens. I don't see how this can be done, but what do I know? Can it be done? Thx Gil ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299939 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Guru Disputes?
I think at this point you need a lawyer to go over the contract under which you did the work. On Wed, Feb 27, 2008 at 11:46 AM, William Seiter [EMAIL PROTECTED] wrote: From Guru.com Client and Contractor don't agree on something. In my case, the money has been in Guru's escrow account and the client has been non-responsive since I finished the project. Now the Client wants all of their money back from the Escrow account. -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Jobs-Talk/message.cfm/messageid:3661 Subscription: http://www.houseoffusion.com/groups/CF-Jobs-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11
Re: Memory leak detection
Deploy your app to a CF8 developer edition server and turn on the memory monitor. This will drill down into applications, sessions and requests by memory usage and show you exactly where it's all going. On Mon, Feb 25, 2008 at 10:23 PM, Richard Steele [EMAIL PROTECTED] wrote: Our CF application continues to require more and more memory throughout the day until the cf services require a restart The java garbage collection isn't reclaiming as much memory as it should be. After the cf restart, I can watch (using FusionReactor) the used memory increase over time. Garbage collection clears it a bit from time-to-time, but the minimum used memory increases throughout the day until the application hangs. The problem was showing up when we running the application in CF 7. Now we're running on CF 8 and it is still experiencing this behavior. I can't seem to find a java profiler that works on jrun. Borland OptimizeIT doesn't appear to be around anymore. Any ideas as to how to find out what is causing this problem would be greatly appreciated. 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299819 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Open Flash Chart - any cfc helpers?
Perhaps people generally use CFCHART instead? On Feb 18, 2008 5:56 AM, John Skrotzki [EMAIL PROTECTED] wrote: I am surprised no one has created a cfc helper for integrating open flash chart to the coldfusion server. Is there one out there? Is there another good open source flash chart that can integrate with cf? -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299239 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: AutoSuggest from a database query
mxAjax will do this: http://www.indiankey.com/mxajax/examples/mxAutocomplete1.cfm On Feb 16, 2008 6:53 PM, Ali [EMAIL PROTECTED] wrote: Hi: I know about CF autosuggest ability in a cfinput tag but I need to use an autosuggest in normal input tag (not cftinput) and I want to read the suggestion list from a database query. As a matter of fact I want to have something like the following code but with FORM/INPUT not CFFOMR/CFINPUT. What do you suggest? Something easy please. I am a newbie. Thanks Ali cfquery name=User datasource=#Request.DSN# SELECT * FROM Tbl_Users WHERE UserName LIKE '%#FORM.Search#%' /cfquery cfform name=form1 method=post action= div align=center cfinput type=text size=20 name=Search class=registrationForm_SRTL autosuggest=#ValueList(User.UserName)# br cfinput name=Submit type=submit class=registrationForm_SRTL value=ÌÓÊÌæ /div /cfform -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299187 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Huh? EMBED and OBJECT Tags Get Modified During CFFILE WRITE?
Jochem already answered this for you - the Enable Global Script Protection setting is enabled and this is replacing your embed and object tags because it thinks they are unsafe. On Feb 14, 2008 5:02 PM, K Simanonok [EMAIL PROTECTED] wrote: So what could be changing my EMBED and OBJECT tags to InvalidTag? Karl Simanonok wrote: The webserver is running Windows 2003 Server and CF is version 7,0,0,91690 (MX 7) Enterprise version, the webserver is IIS 6.0. Anybody have any idea what setting somewhere (no doubt for security) is changing all my EMBED and OBJECT tags to InvalidTag when CFFILE WRITE occurs? Enable Global Script Protection: http://livedocs.adobe.com/coldfusion/8/htmldocs/basiconfig_05.html#1215023 -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298976 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 Ajax features and javascript disabled
ExtJS 2 has good features for creating these controls out of existing markup on the page - so if JS is disabled, the display is the standard HTML (divs etc) that would have formed the cool looking stuff. On Thu, Feb 14, 2008 at 10:17 PM, Will Swain [EMAIL PROTECTED] wrote: Hi, What are people doing to allow for javascript being disabled/older browsers when implementing some of the cf8 ajaxy goodness in their apps. I'm thinking primarily the layout stuff like cfpod and tabbed layouts but anything really? I'm using these tags more and more, and liking the results alot, but this is a concern. Thoughts anyone? -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298993 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Strange happenings in a login. CFMX 6.1
You are checking a session variable before you've enabled the session with the cfapplication tag: /PowerCo/login/Application.cfm - cfsilent cfset Variables.inLogin = true / cfset Variables.pageTitle = Login / /cfsilent cfif isDefined(Session.loggedIn) and Session.loggedIn cflocation addtoken=No url=/PowerCo/main.cfm / /cfif cfinclude template=..\Application.cfm / Move the include to the top. On Feb 13, 2008 11:15 PM, DURETTE, STEVEN J (ATTASIAIT) [EMAIL PROTECTED] wrote: The reason I have two Application.cfms is that the /PowerCo/Application.cfm is the full on Application.cfm that sets almost everything I need, the /PowerCo/Login/Application.cfm sets variables/checks that are specific to that directory, then calls the /PowerCo/Application.cfm. I have an Application.cfm in every subdirectory, they all set directory specific variables, then call the Application.cfm from the directory above. It stops at the /PowerCo/Application.cfm. Again, this has never been a problem in the past, and only the login screen is doing this weird have to login more than once thing. -- 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298874 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: How to stop bots indexing my dev sites
We restrict the dev site/server by IP address, so only local connections are permitted by the webserver. VPN access is used to access a dev server off-site. On Feb 14, 2008 12:56 AM, Rick Faircloth [EMAIL PROTECTED] wrote: Hi, all. I usually put up a client's site while it is development so they can view progress, make comments, etc. I recently completed a client's site and began to perform search engine optimization on it. Once I started reviewing rankings, I found that my development site was ranking higher for the content than my client's main site! Not good! I thought about using the meta tag for robots not to follow or index the site, but realized I'd have to take that out of the file every time I uploaded the site to my client's domain. I guess I could check the cgi.server_name and skip the meta tag with conditional cf code if it's in the development domain. Other ideas? 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298943 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: OT: How to stop bots indexing my dev sites
If you can't give them a VPN client, the I agree that a simple password enforced by the webserver is the way to go. This way your site doesn't have to change when you move it to prod. On Feb 14, 2008 12:12 PM, Rick Faircloth [EMAIL PROTECTED] wrote: I like to let me clients look in on the site during development and test features along the way. (They get training and I get testing that way. They are also giving tacit approval to the design and development by being in on the process.) Restricting the IP wouldn't be a good solution since they may want to view the site at the office, or at home, friends, etc. Seems like a login to the development site would be the easiest way to go. Thoughts? Thanks, Rick -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 8:16 PM To: CF-Talk Subject: Re: OT: How to stop bots indexing my dev sites We restrict the dev site/server by IP address, so only local connections are permitted by the webserver. VPN access is used to access a dev server off-site. On Feb 14, 2008 12:56 AM, Rick Faircloth [EMAIL PROTECTED] wrote: Hi, all. I usually put up a client's site while it is development so they can view progress, make comments, etc. I recently completed a client's site and began to perform search engine optimization on it. Once I started reviewing rankings, I found that my development site was ranking higher for the content than my client's main site! Not good! I thought about using the meta tag for robots not to follow or index the site, but realized I'd have to take that out of the file every time I uploaded the site to my client's domain. I guess I could check the cgi.server_name and skip the meta tag with conditional cf code if it's in the development domain. Other ideas? 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;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298953 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: JVM out of memory error / Jrun stuck at 25% CPU
Increase the MaxPermSize as well. CF can fill this while the heap still has space. On Feb 14, 2008 3:56 PM, Duncan [EMAIL PROTECTED] wrote: Hi All, We are having some terrible server issues at the moment, and now we need some outside ideas, as we have run out! The symptoms of which are as follows. About every 3/4 hours jrun (CF7) locks up and hangs at 25%, SQLServer 2005 stops doing anything. The server has plenty of RAM (3.5Gb), and is usually sitting at about 50% usage. The waiting requests number goes up and up, and CF doesn't seem to time out the requests running fast enough. We have this set up to timeout after 30 seconds. Server is Windows 2003 Server, Xeon 3.00GHz. Performance monitor suggests that CF easily copes with the load, only a few timeouts, but always 2-4 simultaneous requests runnnig. Current Java Args are: Java VM Arguments: -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -XX:+UseParallelGC -Xms512m -Xmx512m - Dsun.io.useCanonCaches=false -XX:MaxPermSize=128m In CF Admin we have 8 simultaneous requests, caching 5000 templates, Save Class files ON. We have been using VisualGC to see what the JVM is doing with its memory. We have since upped the Xms and Xmx to 850 and have thus far been up for 2h 15m. SQL is running at a limited 1Gb memory. My questions are this: In VisualGC we are seeing that the OldGeneration goes up and up, and doesn't seem to fall very much - is that normal? VisualGC shows that we have 20800 class files loaded, but only 9500 are actually unloaded. Again - is this normal? We have done lots of the usual things, defrag disks, optimise queries and tweak code, and made some progress, but its still happening. What else can we look for / do to try and resolve this? Thanks in advance, I hope you can save my hair before I pull it all out! -- Duncan I Loxton [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298969 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4