Re: gabbly - perfect for CFTalking about CF-TALK
On Tuesday 14 March 2006 20:04, Rick Root wrote: I think the usability of such an app would be horrendous :) EMail is perfectly fine, for 99% of the time, tbh. -- Tom Chiverton Advanced ColdFusion Programmer ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235417 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFIDE Error
Nope, vanilla - brand new install. -Original Message- From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: 14 March 2006 20:14 To: CF-Talk Subject: RE: CFIDE Error Have you installed the CF 7.0.1 Updater on this machine by chance? -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 11:24 AM To: CF-Talk Subject: RE: CFIDE Error Thanks for the reply...I am not sure any of these are the causeit's a difficult one to try and catch...I know CF is working and running AOK as I can browse to a test page and get the desired results - it just seems to be accessing the CFIDE! This is on a Apache Tomcat 5.5.12 Server, Apache 2.0.55 with mod_jk/1.2.15, ColdFusion 7. This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235418 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: UTF8 MX7 and MySql5
cftalk_list wrote: I add data to a record that incluses curly quotes and other stuff, look at the data in the table and it looks fine. The characters are there. doesn't count and in fact pretty much never counts and very often confuses people as to what's really happening--stick to what you see in cf delivered pages. what encoding does the db use? how was the data added? I'm not 100% sure that the database (mysql 5)uses utf-8. The data was added by a simple form on a cfm page to cfquery. Now, when I display the data using coldfusion I get little boxes. which usually means a rendering issue (as opposed to ?s which means your data went bye-bye). this could result from something as simple as the wrong font to a minor encoding issue. That is interesting. I was getting the question marks, until I figured out the connection string to use utf8 on my datasource. Now the squares. Curiously, all works fine on my development windows CFMX7 and mysql5 setup. what's different between the 2 servers? Development server is windows, production server is Linux. On my develpment server, I've using a regular ODBC datasource and the linux system is using the newest jdbc connector. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235419 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: UTF8 MX7 and MySql5
Jeff F wrote: what encoding does the db use? how was the data added? I'm not 100% sure that the database (mysql 5)uses utf-8. The data was added by a simple form on a cfm page to cfquery. if you plan on using unicode, its usually easier if you use utf-8/unicode on the db end of things too. how the data was entered is important, when things go wrong like this very often the encoding used to enter the data is not the same as that used to return it. or its stored in a mangled form that only the original mangler can understand. That is interesting. I was getting the question marks, until I figured out the connection string to use utf8 on my datasource. Now the squares. getting closer then. what's different between the 2 servers? Development server is windows, production server is Linux. On my develpment server, I've using a regular ODBC datasource and the linux system is using the newest jdbc connector. ODBC? that will mangle your unicode data pretty good, use JDBC instead. possibly the issue. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235420 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFIDE Error
It seems to be failing on the following code - both in the CFIDE launch and in on page I code to use it.. cfapplication name=cfadmin sessionmanagement=Yes sessiontimeout=#createTimeSpan(0,6,0,0)# Any ideas? -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 15 March 2006 09:51 To: CF-Talk Subject: RE: CFIDE Error Nope, vanilla - brand new install. -Original Message- From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: 14 March 2006 20:14 To: CF-Talk Subject: RE: CFIDE Error Have you installed the CF 7.0.1 Updater on this machine by chance? -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 11:24 AM To: CF-Talk Subject: RE: CFIDE Error Thanks for the reply...I am not sure any of these are the causeit's a This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235421 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFIDE Error
Seems to be the session management stuff which is hosing it? Maybe something within Tomcat or Apache not allowing it to be used? Lost... :-) -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 15 March 2006 11:19 To: CF-Talk Subject: RE: CFIDE Error It seems to be failing on the following code - both in the CFIDE launch and in on page I code to use it.. cfapplication name=cfadmin sessionmanagement=Yes sessiontimeout=#createTimeSpan(0,6,0,0)# Any ideas? -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 15 March 2006 09:51 To: CF-Talk Subject: RE: CFIDE Error Nope, vanilla - brand new install. -Original Message- From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: 14 March 2006 20:14 To: CF-Talk Subject: RE: CFIDE Error Have you installed the CF 7.0.1 Updater on this machine by chance? -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 11:24 AM To: CF-Talk Subject: RE: CFIDE Error Thanks for the reply...I am not sure any of these are the causeit's a This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235422 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: UTF8 MX7 and MySql5
ODBC? that will mangle your unicode data pretty good, use JDBC instead. possibly the issue. I changed my local development machine to use the JDBC also, and now it too displays the squares. It must be something with the connector? My data seems to be ok. If I dump the sql, I can see the curly quotes ok. It appears to be with the way CF displays the data. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235423 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: UTF8 MX7 and MySql5
Have you tried including cfprocessingdirective pageencoding=utf-8 / at the top of the page? Yes. That appears to do nothing. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235424 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: UTF8 MX7 and MySql5
Jeff F wrote: I changed my local development machine to use the JDBC also, and now it too displays the squares. It must be something with the connector? or the original data. what's the db encoding? My data seems to be ok. If I dump the sql, I can see the curly quotes ok. once again, that doesn't count. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235425 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFIDE Error
How about trying a different version of Tomcat? I assume you get the same error when accessing Tomcat directly (not via apache)? It does still seem like a class path problem. Any other errors in the other Tomcat/Catalina logs? -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, 15 March 2006 10:24 PM To: CF-Talk Subject: RE: CFIDE Error Seems to be the session management stuff which is hosing it? Maybe something within Tomcat or Apache not allowing it to be used? Lost... :-) -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 15 March 2006 11:19 To: CF-Talk Subject: RE: CFIDE Error It seems to be failing on the following code - both in the CFIDE launch and in on page I code to use it.. cfapplication name=cfadmin sessionmanagement=Yes sessiontimeout=#createTimeSpan(0,6,0,0)# Any ideas? -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 15 March 2006 09:51 To: CF-Talk Subject: RE: CFIDE Error Nope, vanilla - brand new install. -Original Message- From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: 14 March 2006 20:14 To: CF-Talk Subject: RE: CFIDE Error Have you installed the CF 7.0.1 Updater on this machine by chance? -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 11:24 AM To: CF-Talk Subject: RE: CFIDE Error Thanks for the reply...I am not sure any of these are the causeit's a This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235426 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFIDE Error
I am gonna re-install. See what happends... -Original Message- From: Andrew Stevens [mailto:[EMAIL PROTECTED] Sent: 15 March 2006 12:06 To: CF-Talk Subject: RE: CFIDE Error How about trying a different version of Tomcat? I assume you get the same error when accessing Tomcat directly (not via apache)? It does still seem like a class path problem. Any other errors in the other Tomcat/Catalina logs? -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, 15 March 2006 10:24 PM To: CF-Talk Subject: RE: CFIDE Error Seems to be the session management stuff which is hosing it? Maybe something within Tomcat or Apache not allowing it to be used? Lost... :-) -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 15 March 2006 11:19 To: CF-Talk Subject: RE: CFIDE Error It seems to be failing on the following code - both in the CFIDE launch and in on page I code to use it.. cfapplication name=cfadmin sessionmanagement=Yes sessiontimeout=#createTimeSpan(0,6,0,0)# Any ideas? -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 15 March 2006 09:51 To: CF-Talk Subject: RE: CFIDE Error Nope, vanilla - brand new install. -Original Message- From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: 14 March 2006 20:14 To: CF-Talk Subject: RE: CFIDE Error Have you installed the CF 7.0.1 Updater on this machine by chance? -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 11:24 AM To: CF-Talk Subject: RE: CFIDE Error Thanks for the reply...I am not sure any of these are the causeit's a This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235427 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Strange, strange CFC Error: Null Pointer
I am getting the strangest CFC error on the code below (and all cfc's I have on this site). They work in development but not in production. Any ideas what is going on? Code: cfcomponent name=test cffunction access=remote name=out cfdump var=#server# /cffunction /cfcomponent URL: http://www.mountvernonsquare.org/test.cfc?method=out Error: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. Cheers, Sam ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235428 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
What's wrong with this jvm.config file?
Morning all. I am trying to do some performance mods to my jvm.config file. Problem is, I cannot get CF to start once I make changes to the file. Server: Dual Xeon 3.06 w/ 2GBs of ram. Win 2003 Server. CFMX 6.1 Professional. Original JVM. Am I leaving anything? Any edits you'd like to suggest? See below... # Arguments to VM java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xmx768m -Xms256 -Dsun.io.useCanonCaches=false -Xbootclasspath/a:{application.home}/ .../lib/webchartsJava2D.jar -XX:MaxPermSize=128m -XX:PermSize=64m -XX+UseCon cMarkSweepGC -XX:NewSize=48m -XX:+UseParNewGC -Djavax.xml.parsers.SAXParserF actory=com.macromedia.crimson.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers. DocumentBuilderFactory=com.macromedia.crimson.jaxp.DocumentBuilderFactoryImp l -XX:+DisableExplicitGC Thanks, Che ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235429 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
save cfquery select statement to var
Hello, I have a pretty large cfquery with 30 or so cfif's building the where clause. What I want do is save the actual select statement generated by that cfquery so that I can then plug it in to bcp in sql server to extract the data. I have tried to wrap cfsave content both inside and outside the cfquery - inside I get an error, outside I get an empty var. Any ideas on how I can do this, I know someone else has to of needed to do this before. Thanks a lot Jeremy ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235430 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: save cfquery select statement to var
What version of cf are you using? If it is cf 7+, you can use the results attribute of cfquery to get the sql statement that ran. If not cf 7+, you are going to have to use the (undocumented) service factory to do it. On 3/15/06, Jeremy Bunton [EMAIL PROTECTED] wrote: Hello, I have a pretty large cfquery with 30 or so cfif's building the where clause. What I want do is save the actual select statement generated by that cfquery so that I can then plug it in to bcp in sql server to extract the data. I have tried to wrap cfsave content both inside and outside the cfquery - inside I get an error, outside I get an empty var. Any ideas on how I can do this, I know someone else has to of needed to do this before. Thanks a lot Jeremy ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235431 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: save cfquery select statement to var
Also, a follow up, what you *can* do is create the query in a cfsave content outside of the query, saving it to a variable, and then just put that variable in the cfquery tags. Then you will be able to access that variable later on as well. If you aren't using cf 7, this may be your best option. On 3/15/06, Ryan Guill [EMAIL PROTECTED] wrote: What version of cf are you using? If it is cf 7+, you can use the results attribute of cfquery to get the sql statement that ran. If not cf 7+, you are going to have to use the (undocumented) service factory to do it. On 3/15/06, Jeremy Bunton [EMAIL PROTECTED] wrote: Hello, I have a pretty large cfquery with 30 or so cfif's building the where clause. What I want do is save the actual select statement generated by that cfquery so that I can then plug it in to bcp in sql server to extract the data. I have tried to wrap cfsave content both inside and outside the cfquery - inside I get an error, outside I get an empty var. Any ideas on how I can do this, I know someone else has to of needed to do this before. Thanks a lot Jeremy ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235432 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: What's wrong with this jvm.config file?
Che, You've specified 2 Garbage collectors. When you make changes to this file and you want to switch GC params, don't use the CF Admin to do it. It will automatically insert the extraparams in there. Get rid of the switch: -XX:UseParNewGC and restart. I have a blog about this issue at: http://mkruger.cfwebtools.com/index.cfm?mode=aliasalias=jvm.gc Hope this helps! -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:16 AM To: CF-Talk Subject: What's wrong with this jvm.config file? Morning all. I am trying to do some performance mods to my jvm.config file. Problem is, I cannot get CF to start once I make changes to the file. Server: Dual Xeon 3.06 w/ 2GBs of ram. Win 2003 Server. CFMX 6.1 Professional. Original JVM. Am I leaving anything? Any edits you'd like to suggest? See below... # Arguments to VM java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xmx768m -Xms256 -Dsun.io.useCanonCaches=false -Xbootclasspath/a:{application.home}/ /lib/webchartsJava2D.jar -XX:MaxPermSize=128m -XX:PermSize=64m -XX+UseCo n cMarkSweepGC -XX:NewSize=48m -XX:+UseParNewGC -Djavax.xml.parsers.SAXParserF actory=com.macromedia.crimson.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers. DocumentBuilderFactory=com.macromedia.crimson.jaxp.DocumentBuilderFactoryImp l -XX:+DisableExplicitGC Thanks, Che ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235433 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: save cfquery select statement to var
Great, yes I am using cf 7. I'll take a look at that. Thanks Jeremy -Original Message- From: Ryan Guill [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:27 AM To: CF-Talk Subject: Re: save cfquery select statement to var What version of cf are you using? If it is cf 7+, you can use the results attribute of cfquery to get the sql statement that ran. If not cf 7+, you are going to have to use the (undocumented) service factory to do it. On 3/15/06, Jeremy Bunton [EMAIL PROTECTED] wrote: Hello, I have a pretty large cfquery with 30 or so cfif's building the where clause. What I want do is save the actual select statement generated by that cfquery so that I can then plug it in to bcp in sql server to extract the data. I have tried to wrap cfsave content both inside and outside the cfquery - inside I get an error, outside I get an empty var. Any ideas on how I can do this, I know someone else has to of needed to do this before. Thanks a lot Jeremy ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235434 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: save cfquery select statement to var
That's a good idea also. I think the result attribute will be the ticket though. Thanks Jeremy -Original Message- From: Ryan Guill [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:28 AM To: CF-Talk Subject: Re: save cfquery select statement to var Also, a follow up, what you *can* do is create the query in a cfsave content outside of the query, saving it to a variable, and then just put that variable in the cfquery tags. Then you will be able to access that variable later on as well. If you aren't using cf 7, this may be your best option. On 3/15/06, Ryan Guill [EMAIL PROTECTED] wrote: What version of cf are you using? If it is cf 7+, you can use the results attribute of cfquery to get the sql statement that ran. If not cf 7+, you are going to have to use the (undocumented) service factory to do it. On 3/15/06, Jeremy Bunton [EMAIL PROTECTED] wrote: Hello, I have a pretty large cfquery with 30 or so cfif's building the where clause. What I want do is save the actual select statement generated by that cfquery so that I can then plug it in to bcp in sql server to extract the data. I have tried to wrap cfsave content both inside and outside the cfquery - inside I get an error, outside I get an empty var. Any ideas on how I can do this, I know someone else has to of needed to do this before. Thanks a lot Jeremy ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235435 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: What's wrong with this jvm.config file?
Thanks Mark. I am not using the admin to edit this file. I was hand editing it. Any recommendations as to which GC to use? I know there are a few. I really have no clue! ~Che -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:29 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Che, You've specified 2 Garbage collectors. When you make changes to this file and you want to switch GC params, don't use the CF Admin to do it. It will automatically insert the extraparams in there. Get rid of the switch: -XX:UseParNewGC and restart. I have a blog about this issue at: http://mkruger.cfwebtools.com/index.cfm?mode=aliasalias=jvm.gc Hope this helps! -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:16 AM To: CF-Talk Subject: What's wrong with this jvm.config file? Morning all. I am trying to do some performance mods to my jvm.config file. Problem is, I cannot get CF to start once I make changes to the file. Server: Dual Xeon 3.06 w/ 2GBs of ram. Win 2003 Server. CFMX 6.1 Professional. Original JVM. Am I leaving anything? Any edits you'd like to suggest? See below... # Arguments to VM java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xmx768m -Xms256 -Dsun.io.useCanonCaches=false -Xbootclasspath/a:{application.home}/ ./lib/webchartsJava2D.jar -XX:MaxPermSize=128m -XX:PermSize=64m -XX+UseC o n cMarkSweepGC -XX:NewSize=48m -XX:+UseParNewGC -Djavax.xml.parsers.SAXParserF actory=com.macromedia.crimson.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers. DocumentBuilderFactory=com.macromedia.crimson.jaxp.DocumentBuilderFactoryImp l -XX:+DisableExplicitGC Thanks, Che ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235436 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: What's wrong with this jvm.config file?
Che, If you have steady traffic the ..MarkSweepGC that you've specified is good. A lot depends on the site and it's level of activity and memory usage. There are a ton of GC options and there's no subsititue for testing and tweaking :) -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:35 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Thanks Mark. I am not using the admin to edit this file. I was hand editing it. Any recommendations as to which GC to use? I know there are a few. I really have no clue! ~Che -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:29 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Che, You've specified 2 Garbage collectors. When you make changes to this file and you want to switch GC params, don't use the CF Admin to do it. It will automatically insert the extraparams in there. Get rid of the switch: -XX:UseParNewGC and restart. I have a blog about this issue at: http://mkruger.cfwebtools.com/index.cfm?mode=aliasalias=jvm.gc Hope this helps! -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:16 AM To: CF-Talk Subject: What's wrong with this jvm.config file? Morning all. I am trying to do some performance mods to my jvm.config file. Problem is, I cannot get CF to start once I make changes to the file. Server: Dual Xeon 3.06 w/ 2GBs of ram. Win 2003 Server. CFMX 6.1 Professional. Original JVM. Am I leaving anything? Any edits you'd like to suggest? See below... # Arguments to VM java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xmx768m -Xms256 -Dsun.io.useCanonCaches=false -Xbootclasspath/a:{application.home}/ ../lib/webchartsJava2D.jar -XX:MaxPermSize=128m -XX:PermSize=64m -XX+Use C o n cMarkSweepGC -XX:NewSize=48m -XX:+UseParNewGC -Djavax.xml.parsers.SAXParserF actory=com.macromedia.crimson.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers. DocumentBuilderFactory=com.macromedia.crimson.jaxp.DocumentBuilderFactoryImp l -XX:+DisableExplicitGC Thanks, Che ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235437 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: save cfquery select statement to var
Yeah, if you have cf7, that is definately the best way. Just use the result attribute and you should be able to get values of cfqueryparams and all. Only down side is that you will lose all formatting i believe. On 3/15/06, Jeremy Bunton [EMAIL PROTECTED] wrote: That's a good idea also. I think the result attribute will be the ticket though. Thanks Jeremy -Original Message- From: Ryan Guill [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:28 AM To: CF-Talk Subject: Re: save cfquery select statement to var Also, a follow up, what you *can* do is create the query in a cfsave content outside of the query, saving it to a variable, and then just put that variable in the cfquery tags. Then you will be able to access that variable later on as well. If you aren't using cf 7, this may be your best option. On 3/15/06, Ryan Guill [EMAIL PROTECTED] wrote: What version of cf are you using? If it is cf 7+, you can use the results attribute of cfquery to get the sql statement that ran. If not cf 7+, you are going to have to use the (undocumented) service factory to do it. On 3/15/06, Jeremy Bunton [EMAIL PROTECTED] wrote: Hello, I have a pretty large cfquery with 30 or so cfif's building the where clause. What I want do is save the actual select statement generated by that cfquery so that I can then plug it in to bcp in sql server to extract the data. I have tried to wrap cfsave content both inside and outside the cfquery - inside I get an error, outside I get an empty var. Any ideas on how I can do this, I know someone else has to of needed to do this before. Thanks a lot Jeremy ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235438 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Strange, strange CFC Error: Null Pointer
What version of CF Server? -Original Message- From: Sam Farmer [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:10 AM To: CF-Talk Subject: Strange, strange CFC Error: Null Pointer I am getting the strangest CFC error on the code below (and all cfc's I have on this site). They work in development but not in production. Any ideas what is going on? Code: cfcomponent name=test cffunction access=remote name=out cfdump var=#server# /cffunction /cfcomponent ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235439 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: What's wrong with this jvm.config file?
Ok. Thanks. One last thing... Where might I find some of these GC options online? ~Che -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:50 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Che, If you have steady traffic the ..MarkSweepGC that you've specified is good. A lot depends on the site and it's level of activity and memory usage. There are a ton of GC options and there's no subsititue for testing and tweaking :) -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:35 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Thanks Mark. I am not using the admin to edit this file. I was hand editing it. Any recommendations as to which GC to use? I know there are a few. I really have no clue! ~Che -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:29 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Che, You've specified 2 Garbage collectors. When you make changes to this file and you want to switch GC params, don't use the CF Admin to do it. It will automatically insert the extraparams in there. Get rid of the switch: -XX:UseParNewGC and restart. I have a blog about this issue at: http://mkruger.cfwebtools.com/index.cfm?mode=aliasalias=jvm.gc Hope this helps! -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:16 AM To: CF-Talk Subject: What's wrong with this jvm.config file? Morning all. I am trying to do some performance mods to my jvm.config file. Problem is, I cannot get CF to start once I make changes to the file. Server: Dual Xeon 3.06 w/ 2GBs of ram. Win 2003 Server. CFMX 6.1 Professional. Original JVM. Am I leaving anything? Any edits you'd like to suggest? See below... # Arguments to VM java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xmx768m -Xms256 -Dsun.io.useCanonCaches=false -Xbootclasspath/a:{application.home}/ .../lib/webchartsJava2D.jar -XX:MaxPermSize=128m -XX:PermSize=64m -XX+Us e C o n cMarkSweepGC -XX:NewSize=48m -XX:+UseParNewGC -Djavax.xml.parsers.SAXParserF actory=com.macromedia.crimson.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers. DocumentBuilderFactory=com.macromedia.crimson.jaxp.DocumentBuilderFactoryImp l -XX:+DisableExplicitGC Thanks, Che ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235440 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Strange, strange CFC Error: Null Pointer
Sam, I had the exact same problem after I updated to the CF HotFix2. I had to completely uninstall CF, then reinstall before it would work again. It's not your code. M!ke -Original Message- From: Sam Farmer [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:10 AM To: CF-Talk Subject: Strange, strange CFC Error: Null Pointer I am getting the strangest CFC error on the code below (and all cfc's I have on this site). They work in development but not in production. Any ideas what is going on? Code: cfcomponent name=test cffunction access=remote name=out cfdump var=#server# /cffunction /cfcomponent URL: http://www.mountvernonsquare.org/test.cfc?method=out Error: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. Cheers, Sam ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235441 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
OT - how to create a desktop shortcut from a website
I have a need for user to be able to create a desktop short cut - or icon that will launch a specific site from there desktop. I can easily bookmark the page, but what I really what to do is allow the user to click on an icon or link on a website and that will create the shortcut on there desktop. If I could also assign an graphic as the Icon that would be the ultimate solution. Any help or pointing me in the correct direction would be great. Thanks in advance. Matt Friedman - remember - life is to short to drink cheap beer ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235442 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: What's wrong with this jvm.config file?
Some good starting links: http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html http://java.sun.com/docs/hotspot/gc/index.html http://www.petefreitag.com/articles/gctuning/ -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 10:02 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Ok. Thanks. One last thing... Where might I find some of these GC options online? ~Che -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:50 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Che, If you have steady traffic the ..MarkSweepGC that you've specified is good. A lot depends on the site and it's level of activity and memory usage. There are a ton of GC options and there's no subsititue for testing and tweaking :) -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:35 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Thanks Mark. I am not using the admin to edit this file. I was hand editing it. Any recommendations as to which GC to use? I know there are a few. I really have no clue! ~Che -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:29 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Che, You've specified 2 Garbage collectors. When you make changes to this file and you want to switch GC params, don't use the CF Admin to do it. It will automatically insert the extraparams in there. Get rid of the switch: -XX:UseParNewGC and restart. I have a blog about this issue at: http://mkruger.cfwebtools.com/index.cfm?mode=aliasalias=jvm.gc Hope this helps! -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:16 AM To: CF-Talk Subject: What's wrong with this jvm.config file? Morning all. I am trying to do some performance mods to my jvm.config file. Problem is, I cannot get CF to start once I make changes to the file. Server: Dual Xeon 3.06 w/ 2GBs of ram. Win 2003 Server. CFMX 6.1 Professional. Original JVM. Am I leaving anything? Any edits you'd like to suggest? See below... # Arguments to VM java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xmx768m -Xms256 -Dsun.io.useCanonCaches=false -Xbootclasspath/a:{application.home}/ .../lib/webchartsJava2D.jar -XX:MaxPermSize=128m -XX:PermSize=64m -XX+Us e C o n cMarkSweepGC -XX:NewSize=48m -XX:+UseParNewGC -Djavax.xml.parsers.SAXParserF actory=com.macromedia.crimson.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers. DocumentBuilderFactory=com.macromedia.crimson.jaxp.DocumentBui lderFactoryImp l -XX:+DisableExplicitGC Thanks, Che ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235443 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT - how to create a desktop shortcut from a website
Short of installing on the OS level I don't think it's possible to force a desktop shortcut. !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Matt Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:14 AM To: CF-Talk Subject: OT - how to create a desktop shortcut from a website I have a need for user to be able to create a desktop short cut - or icon that will launch a specific site from there desktop. I can easily bookmark the page, but what I really what to do is allow the user to click on an icon or link on a website and that will create the shortcut on there desktop. If I could also assign an graphic as the Icon that would be the ultimate solution. Any help or pointing me in the correct direction would be great. Thanks in advance. Matt Friedman ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235444 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT - how to create a desktop shortcut from a website
Or you might be able to use a COM object to do it. Here's a link for doing it in ASP. http://www.knowdotnet.com/articles/createshortcutondesktop.html !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Matt Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:14 AM To: CF-Talk Subject: OT - how to create a desktop shortcut from a website I have a need for user to be able to create a desktop short cut - or icon that will launch a specific site from there desktop. I can easily bookmark the page, but what I really what to do is allow the user to click on an icon or link on a website and that will create the shortcut on there desktop. If I could also assign an graphic as the Icon that would be the ultimate solution. Any help or pointing me in the correct direction would be great. Thanks in advance. Matt Friedman - remember - life is to short to drink cheap beer ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235445 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: What's wrong with this jvm.config file?
Thanks Steve! -Original Message- From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 10:21 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Some good starting links: http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html http://java.sun.com/docs/hotspot/gc/index.html http://www.petefreitag.com/articles/gctuning/ -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 10:02 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Ok. Thanks. One last thing... Where might I find some of these GC options online? ~Che -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:50 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Che, If you have steady traffic the ..MarkSweepGC that you've specified is good. A lot depends on the site and it's level of activity and memory usage. There are a ton of GC options and there's no subsititue for testing and tweaking :) -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:35 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Thanks Mark. I am not using the admin to edit this file. I was hand editing it. Any recommendations as to which GC to use? I know there are a few. I really have no clue! ~Che -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:29 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Che, You've specified 2 Garbage collectors. When you make changes to this file and you want to switch GC params, don't use the CF Admin to do it. It will automatically insert the extraparams in there. Get rid of the switch: -XX:UseParNewGC and restart. I have a blog about this issue at: http://mkruger.cfwebtools.com/index.cfm?mode=aliasalias=jvm.gc Hope this helps! -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:16 AM To: CF-Talk Subject: What's wrong with this jvm.config file? Morning all. I am trying to do some performance mods to my jvm.config file. Problem is, I cannot get CF to start once I make changes to the file. Server: Dual Xeon 3.06 w/ 2GBs of ram. Win 2003 Server. CFMX 6.1 Professional. Original JVM. Am I leaving anything? Any edits you'd like to suggest? See below... # Arguments to VM java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xmx768m -Xms256 -Dsun.io.useCanonCaches=false -Xbootclasspath/a:{application.home}/ .../lib/webchartsJava2D.jar -XX:MaxPermSize=128m -XX:PermSize=64m -XX+Us e C o n cMarkSweepGC -XX:NewSize=48m -XX:+UseParNewGC -Djavax.xml.parsers.SAXParserF actory=com.macromedia.crimson.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers. DocumentBuilderFactory=com.macromedia.crimson.jaxp.DocumentBui lderFactoryImp l -XX:+DisableExplicitGC Thanks, Che ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235446 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT - how to create a desktop shortcut from a website
Well, you'd need to look into writing a small executable (e.g. ActiveX/COM) for the user to download that would install the icon with the appropriate Internet shortcut. Then you have to deal with getting past people's spam/install/popup blockers. -Original Message- From: Matt Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 10:14 AM To: CF-Talk Subject: OT - how to create a desktop shortcut from a website I have a need for user to be able to create a desktop short cut - or icon that will launch a specific site from there desktop. I can easily bookmark the page, but what I really what to do is allow the user to click on an icon or link on a website and that will create the shortcut on there desktop. If I could also assign an graphic as the Icon that would be the ultimate solution. Any help or pointing me in the correct direction would be great. Thanks in advance. Matt Friedman - remember - life is to short to drink cheap beer ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235447 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Asynchronous vs linear file processing
Just an FYI... I was so inspired by Michael Dinowitz's talk at CFObjective (and an internal office debate) that I took the time yesterday to do some time comparison's between file processing the old fashioned way (one line at a time) vs performing file processing utilizing an asynchronous gateway. Here are the results... The Test Configure a CF Event gateway pointing to a cfc that performs record insertion, calling it asyncTest Read in an incoming flat file containing 236 records. For each row in the file, insert a record into a table. For each insert, the datetime stamp at that very instant will also be inserted into a field in the row so that we know exactly when it was inserted. Upon processing completion, by taking the difference in time between the first row inserted and the last (min(time) and max(time)), we can see how long it took to complete the process. The Results Processing the old fashioned way: one line at a time. 3 runs were executed. The average time for inserting 236 rows in this manner was 20.7 seconds. The page was returned to the user in 21990 ms. Processing each row asynchronously: each individual row was handed off to an asynchronous gateway. 3 runs were executed. The average time for inserting 236 rows in this manner was 1.7 seconds (12 times faster!) . The page was returned to the user between 67 ms and 90 ms. Of interest to note is the fact that setting the server's simultaneous gateway thread count to 260 did not increase the throughput of the thread executions any more than having it set at 30. Just wanted to share that inspiring info. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235448 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: OT - how to create a desktop shortcut from a website
This might sound a little ridiculous, but why not have Drag this icon to your desktop image and put a link to the site you want on it. To name the file it creates, set the alt attributes of the image tag. Do you know what the majority of your users has for an OS? Browser? !k -Original Message- From: Matt Friedman [mailto:[EMAIL PROTECTED] Sent: March 15, 2006 9:14 AM To: CF-Talk Subject: OT - how to create a desktop shortcut from a website I have a need for user to be able to create a desktop short cut - or icon that will launch a specific site from there desktop. I can easily bookmark the page, but what I really what to do is allow the user to click on an icon or link on a website and that will create the shortcut on there desktop. If I could also assign an graphic as the Icon that would be the ultimate solution. Any help or pointing me in the correct direction would be great. Thanks in advance. Matt Friedman - remember - life is to short to drink cheap beer ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235449 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Asynchronous vs linear file processing
This is very cool. I just wish we had Enterprise on our production server so I could do this on more than my developer install. :\ One of the first things I did when CF7 was released was try this asynchronous processing, and I was very impressed. Of interest to note is the fact that setting the server's simultaneous gateway thread count to 260 did not increase the throughput of the thread executions any more than having it set at 30. It seems that could be a limitation of your server. If you had a big beefy server, like a super computer, I'm sure it would better take advantage of those extra threads. [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235450 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Oracle SQL Developer
Actually, I still fire up sql plus for some things - updating passwords, for example is so much easier if just done from a command line. Of course, for things like moving data between schemas, TOAD wins hands down. On 3/14/06, Jochem van Dieten [EMAIL PROTECTED] wrote: Munson, Jacob wrote: Right. But before this came out, you had what...SQL+ or whatever it's called? Everybody, if you like doing SQL work from a command line, raise your hand. /me raises hand I haven't used SQL+ in ages, but do recent versions support tab autocomplete, shell integration, variable sbstitution etc.? Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235451 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Asynchronous vs linear file processing
Thanks Doug. I'll contact you off list for the files to look over and to talk about an article. I've mentioned to Macromedia in the past (and will have to mention to Adobe) that the async processing is such a great tool that every version of CF should have it. Even if pro is limited to 10 threads, it's still a massive tool. What type of hardware did you run this on and what was the memory config? Just an FYI... I was so inspired by Michael Dinowitz's talk at CFObjective (and an internal office debate) that I took the time yesterday to do some time comparison's between file processing the old fashioned way (one line at a time) vs performing file processing utilizing an asynchronous gateway. Here are the results... The Test Configure a CF Event gateway pointing to a cfc that performs record insertion, calling it asyncTest Read in an incoming flat file containing 236 records. For each row in the file, insert a record into a table. For each insert, the datetime stamp at that very instant will also be inserted into a field in the row so that we know exactly when it was inserted. Upon processing completion, by taking the difference in time between the first row inserted and the last (min(time) and max(time)), we can see how long it took to complete the process. The Results Processing the old fashioned way: one line at a time. 3 runs were executed. The average time for inserting 236 rows in this manner was 20.7 seconds. The page was returned to the user in 21990 ms. Processing each row asynchronously: each individual row was handed off to an asynchronous gateway. 3 runs were executed. The average time for inserting 236 rows in this manner was 1.7 seconds (12 times faster!) . The page was returned to the user between 67 ms and 90 ms. Of interest to note is the fact that setting the server's simultaneous gateway thread count to 260 did not increase the throughput of the thread executions any more than having it set at 30. Just wanted to share that inspiring info. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235452 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CF on MacTel?
Anyone out there running CFMX on a Mactel machine yet? I'm thinking about aquiring one of these McBooks... I tried posting this on the CF-Mac list but it doesn't look like it made it on or that the list is very active. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235453 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Asynchronous vs linear file processing
I've mentioned to Macromedia in the past (and will have to mention to Adobe) that the async processing is such a great tool that every version of CF should have it. Even if pro is limited to 10 threads, it's still a massive tool. I'll second that! :) --- [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235454 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Strange, strange CFC Error: Null Pointer
Thanks M!ke. I've passed the info on to my host. On 3/15/06, Dawson, Michael [EMAIL PROTECTED] wrote: Sam, I had the exact same problem after I updated to the CF HotFix2. I had to completely uninstall CF, then reinstall before it would work again. It's not your code. M!ke -Original Message- From: Sam Farmer [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:10 AM To: CF-Talk Subject: Strange, strange CFC Error: Null Pointer I am getting the strangest CFC error on the code below (and all cfc's I have on this site). They work in development but not in production. Any ideas what is going on? Code: cfcomponent name=test cffunction access=remote name=out cfdump var=#server# /cffunction /cfcomponent URL: http://www.mountvernonsquare.org/test.cfc?method=out Error: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. Cheers, Sam ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235455 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Maths with evaluate
So I was thinking that evaluate should not make any difference to mathematical calculations, but I have been shown this by some mathematical guy and the only calculation that is correct is the evaluated one, is there a way to do this without evaluate() or not: cfset a=336.6 cfset b=448.8 cfset c=785.4 cfset d=a+b cfset e=evaluate(a+b) cfoutput #a# + #b# - #c# = #a+b-c# br ( #a# + #b# ) - #c# = #d-c# br eval( #a# + #b# ) - #c# = #e-c# br /cfoutput cheers Martin ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235456 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Maths with evaluate
Change your d value to this and it works also: cfset d=val(a+b) --Ferg Martin Thorpe wrote: So I was thinking that evaluate should not make any difference to mathematical calculations, but I have been shown this by some mathematical guy and the only calculation that is correct is the evaluated one, is there a way to do this without evaluate() or not: cfset a=336.6 cfset b=448.8 cfset c=785.4 cfset d=a+b cfset e=evaluate(a+b) cfoutput #a# + #b# - #c# = #a+b-c# br ( #a# + #b# ) - #c# = #d-c# br eval( #a# + #b# ) - #c# = #e-c# br /cfoutput cheers Martin ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235457 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Maths with evaluate
Is there any advantage to using val() over evaluate()? Change your d value to this and it works also: cfset d=val(a+b) --Ferg Martin Thorpe wrote: ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235458 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: What's wrong with this jvm.config file?
The dun documentation is the most complete. Robi Sen is the king of the JVM in the CF world, you can start on his site and search for jvm. Here's a link to the sun doc. http://www.robisen.com/index.cfm?mode=entryentry=67789980-55DC-F2B1-FDEDE3B 28F0E7A62 It references this chart which I find quite useful (though I don't know how accurate it is) http://www.folgmann.de/en/j2ee/gc.html -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:02 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Ok. Thanks. One last thing... Where might I find some of these GC options online? ~Che -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:50 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Che, If you have steady traffic the ..MarkSweepGC that you've specified is good. A lot depends on the site and it's level of activity and memory usage. There are a ton of GC options and there's no subsititue for testing and tweaking :) -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:35 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Thanks Mark. I am not using the admin to edit this file. I was hand editing it. Any recommendations as to which GC to use? I know there are a few. I really have no clue! ~Che -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:29 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Che, You've specified 2 Garbage collectors. When you make changes to this file and you want to switch GC params, don't use the CF Admin to do it. It will automatically insert the extraparams in there. Get rid of the switch: -XX:UseParNewGC and restart. I have a blog about this issue at: http://mkruger.cfwebtools.com/index.cfm?mode=aliasalias=jvm.gc Hope this helps! -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:16 AM To: CF-Talk Subject: What's wrong with this jvm.config file? Morning all. I am trying to do some performance mods to my jvm.config file. Problem is, I cannot get CF to start once I make changes to the file. Server: Dual Xeon 3.06 w/ 2GBs of ram. Win 2003 Server. CFMX 6.1 Professional. Original JVM. Am I leaving anything? Any edits you'd like to suggest? See below... # Arguments to VM java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xmx768m -Xms256 -Dsun.io.useCanonCaches=false -Xbootclasspath/a:{application.home}/ /lib/webchartsJava2D.jar -XX:MaxPermSize=128m -XX:PermSize=64m -XX+U s e C o n cMarkSweepGC -XX:NewSize=48m -XX:+UseParNewGC -Djavax.xml.parsers.SAXParserF actory=com.macromedia.crimson.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers. DocumentBuilderFactory=com.macromedia.crimson.jaxp.DocumentBuilderFactoryImp l -XX:+DisableExplicitGC Thanks, Che ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235459 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Maths with evaluate
That's very interesting. I've seen similar problems before, and it appears that things like this shine some light on weaknesses in ColdFusion's dynamic typing. I'm eagerly waiting for one of the CF geniuses to give insight on this. :) -Original Message- From: Martin Thorpe [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:14 AM So I was thinking that evaluate should not make any difference to mathematical calculations, but I have been shown this by some mathematical guy and the only calculation that is correct is the evaluated one, is there a way to do this without evaluate() or not: cfset a=336.6 cfset b=448.8 cfset c=785.4 cfset d=a+b cfset e=evaluate(a+b) cfoutput #a# + #b# - #c# = #a+b-c# br ( #a# + #b# ) - #c# = #d-c# br eval( #a# + #b# ) - #c# = #e-c# br /cfoutput This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235460 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Problem with CFContent or CFHeader and https
Hi, We are running CF5 on Win 2k (IIS) and we recently noticed a problem. We have some apps that push out files to the web browser. The lines of code we use to do this are something like CFHEADER NAME=content-disposition VALUE=inline;filename=report.csv CFCONTENT TYPE=application/unknown FILE=#TheReportPath# DELETEFILE=NO RESET=NO We have found that for text files this works fine when the application is being accessed through http. However, if we use https to access the application we get an error that the file could not be downloaded because IE was unable to open the internet site. Anyone know how we would be able to download these files with SSL encryption turned on (HTTPS) Thanks Ricki ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235461 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: What's wrong with this jvm.config file?
Whoops... forgot the co-king Pete Freitag http://www.petefreitag.com/articles/gctuning/ -Mark -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 10:44 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? The dun documentation is the most complete. Robi Sen is the king of the JVM in the CF world, you can start on his site and search for jvm. Here's a link to the sun doc. http://www.robisen.com/index.cfm?mode=entryentry=67789980-55DC-F2B1-FDEDE3B 28F0E7A62 It references this chart which I find quite useful (though I don't know how accurate it is) http://www.folgmann.de/en/j2ee/gc.html -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:02 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Ok. Thanks. One last thing... Where might I find some of these GC options online? ~Che -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:50 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Che, If you have steady traffic the ..MarkSweepGC that you've specified is good. A lot depends on the site and it's level of activity and memory usage. There are a ton of GC options and there's no subsititue for testing and tweaking :) -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:35 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Thanks Mark. I am not using the admin to edit this file. I was hand editing it. Any recommendations as to which GC to use? I know there are a few. I really have no clue! ~Che -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 9:29 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Che, You've specified 2 Garbage collectors. When you make changes to this file and you want to switch GC params, don't use the CF Admin to do it. It will automatically insert the extraparams in there. Get rid of the switch: -XX:UseParNewGC and restart. I have a blog about this issue at: http://mkruger.cfwebtools.com/index.cfm?mode=aliasalias=jvm.gc Hope this helps! -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:16 AM To: CF-Talk Subject: What's wrong with this jvm.config file? Morning all. I am trying to do some performance mods to my jvm.config file. Problem is, I cannot get CF to start once I make changes to the file. Server: Dual Xeon 3.06 w/ 2GBs of ram. Win 2003 Server. CFMX 6.1 Professional. Original JVM. Am I leaving anything? Any edits you'd like to suggest? See below... # Arguments to VM java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xmx768m -Xms256 -Dsun.io.useCanonCaches=false -Xbootclasspath/a:{application.home}/ ./lib/webchartsJava2D.jar -XX:MaxPermSize=128m -XX:PermSize=64m -XX+ U s e C o n cMarkSweepGC -XX:NewSize=48m -XX:+UseParNewGC -Djavax.xml.parsers.SAXParserF actory=com.macromedia.crimson.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers. DocumentBuilderFactory=com.macromedia.crimson.jaxp.DocumentBuilderFactoryImp l -XX:+DisableExplicitGC Thanks, Che ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235462 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Object Maze
I am working on some code right now that is a maze of objects. Objects that call Objects that call Objects and that inherit from more objects. To me it looks like spaghetti code only instead of a bunch of includes it is objects. The application isn't rocket science but lets say it a mid-large application. Are there any type of recommendations for things like how many objects do you keep drilling down into from a controller page. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235463 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: What's wrong with this jvm.config file?
Thanks. Still can't get it to fire up... where should I look for errors? Also, can the jvm.config file have returns from a text editor? or should i turn line wraps off? ~Che -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 11:59 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Whoops... forgot the co-king Pete Freitag http://www.petefreitag.com/articles/gctuning/ -Mark -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 10:44 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? The dun documentation is the most complete. Robi Sen is the king of the JVM in the CF world, you can start on his site and search for jvm. Here's a link to the sun doc. http://www.robisen.com/index.cfm?mode=entryentry=67789980-55DC-F2B1-FDEDE3B 28F0E7A62 It references this chart which I find quite useful (though I don't know how accurate it is) http://www.folgmann.de/en/j2ee/gc.html -Mark ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235464 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Object Maze
I am working on some code right now that is a maze of objects. Objects that call Objects that call Objects and that inherit from more objects. To me it looks like spaghetti code only instead of a bunch of includes it is objects. The application isn't rocket science but lets say it a mid-large application. Are there any type of recommendations for things like how many objects do you keep drilling down into from a controller page. Nope. The purpose of an object is for it to be a black box, so if a calling page creates or references one it should have no idea what is inside that object -- what other objects it references or inherits from. This encapsulation means that if you don't like the way the object is currently constructed, you can change its internal componentns -- you can add new objects or remove what you perceive to be redundant objects without affecting the calling page one iota. This is the reason that you're also not supposed to reach through an object to manipulate one of its internals. Factories and service locators are sort of an exception because their sole purpose is to create, maintain and return objects which the factory ultimately doesn't utilize or care about. What you're looking at may be well formed OO or it may indeed be spaghetti if the original author did a bad job of encapsulating his objects. The real test for non-spaghetti in an OO application is that each object can be used by another object or calling page without knowing anything about its internal structure. Beyond that there's a fair amount of debate about when to create another sub-object. s. isaac dealey 434.293.6201 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235465 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Homesite+ Regex
I've always found doing regular expressions find/replace in homesite to be tedious to the point of it not working. If I do an extended find in homesite 5.5+ with the following regular expression, nothing comes up. ^\s+$ that's a pretty simple find all lines containing only whitespace expression, but it doesn't seem to work and I don't know why. Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235466 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Homesite+ Regex
Rick Root wrote: I've always found doing regular expressions find/replace in homesite to be tedious to the point of it not working. If I do an extended find in homesite 5.5+ with the following regular expression, nothing comes up. ^\s+$ that's a pretty simple find all lines containing only whitespace expression, but it doesn't seem to work and I don't know why. Hell, I figured it out. Homesite isn't doing the regex line by line so doing ^\s+$ looks at the whole document. I ended up using this in the extended replace dialog instead: [[:space:]]+ (without the quotes but with the linefeeds) Worked great, helped me take out all my empty lines. Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235467 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Asynchronous vs linear file processing
It would be interesting to see metrics on large real world numbers such as 5-10K. This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wed Mar 15 16:07:31 2006 Subject: Re: Asynchronous vs linear file processing Thanks Doug. I'll contact you off list for the files to look over and to talk about an article. I've mentioned to Macromedia in the past (and will have to mention to Adobe) that the async processing is such a great tool that every version of CF should have it. Even if pro is limited to 10 threads, it's still a massive tool. What type of hardware did you run this on and what was the memory config? Just an FYI... I was so inspired by Michael Dinowitz's talk at CFObjective (and an internal office debate) that I took the time yesterday to do some time comparison's between file processing the old fashioned way (one line at a time) vs performing file processing utilizing an asynchronous gateway. Here are the results... The Test Configure a CF Event gateway pointing to a cfc that performs record insertion, calling it asyncTest Read in an incoming flat file containing 236 records. For each row in the file, insert a record into a table. For each insert, the datetime stamp at that very instant will also be inserted into a field in the row so that we know exactly when it was inserted. Upon processing completion, by taking the difference in time between the first row inserted and the last (min(time) and max(time)), we can see how long it took to complete the process. The Results Processing the old fashioned way: one line at a time. 3 runs were executed. The average time for inserting 236 rows in this manner was 20.7 seconds. The page was returned to the user in 21990 ms. Processing each row asynchronously: each individual row was handed off to an asynchronous gateway. 3 runs were executed. The average time for inserting 236 rows in this manner was 1.7 seconds (12 times faster!) . The page was returned to the user between 67 ms and 90 ms. Of interest to note is the fact that setting the server's simultaneous gateway thread count to 260 did not increase the throughput of the thread executions any more than having it set at 30. Just wanted to share that inspiring info. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235468 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
subversion with a staging server
So we've been using subversion for a little while with a dev server and a production server, and things have been great. We make changes on dev, commit them into subversion, and update on production (we have the code tree checked out on both). Now we're planning to add a staging server to the mix. So code would get developed on the dev server, committed and updated to the staging server, and then when it passes QA, committed and updated on the production server. I am not too sure how to do this, since we have the same code tree checked out on both dev and production. I don't want changes meant for the staging server to accidentally go to production, until they are ready. Is anyone using subversion in this configuration? (dev, staging, production). How do you have things set up and how do you manage deployments? Russ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235469 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CSS issue with tmt_tabs (Massimo's tab component)
So i'm switching a new form I'm developing from jComponents tabs to Massimo's tab component... and it works great.. but one issue i'm having is CSS related with IE... Take a look at this lovely multi-page form: https://www.it.dev.duke.edu/tools/report_request/test.html In IE, there is space between the tabs and the panel. If you click through, it disappears the first time you hit tab 6. The problem doesn't seem to occur in Firefox (go figure) I've tried several different doctype declarations - including no doctype declaration at all, and they all react pretty much the same way in IE. Can anyone eyeball it and see if they can figure out what's happening? Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235470 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CSS issue with tmt_tabs (Massimo's tab component)
I think this may have to do with the way IE treats CSS images. It doesn't cache them, so each time you would click on an image he may be reloading the rest. I have a tab component and while mine don't disappear on click, they do disappear when moused over. Do a google search for css mouse flicker. bob ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235471 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Homesite+ Regex
Also, I don't think homesite supports \s. IIRC, it's regex engine is equivalent to CF5's engine. --Ben Rick Root wrote: Rick Root wrote: I've always found doing regular expressions find/replace in homesite to be tedious to the point of it not working. If I do an extended find in homesite 5.5+ with the following regular expression, nothing comes up. ^\s+$ that's a pretty simple find all lines containing only whitespace expression, but it doesn't seem to work and I don't know why. Hell, I figured it out. Homesite isn't doing the regex line by line so doing ^\s+$ looks at the whole document. I ended up using this in the extended replace dialog instead: [[:space:]]+ (without the quotes but with the linefeeds) Worked great, helped me take out all my empty lines. Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235472 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: subversion with a staging server
On 3/15/06, Russ [EMAIL PROTECTED] wrote: So we've been using subversion for a little while with a dev server and a production server, and things have been great. We make changes on dev, commit them into subversion, and update on production (we have the code tree checked out on both). Good start! Now we're planning to add a staging server to the mix. So code would get developed on the dev server, committed and updated to the staging server, and then when it passes QA, committed and updated on the production server. I am not too sure how to do this, since we have the same code tree checked out on both dev and production. I don't want changes meant for the staging server to accidentally go to production, until they are ready. I'd recommend now that the process is starting to get more complex, implementing some build management into the workflow -- and probably the best place to start is with Ant. Probably the simplest way to handle things for the first pass is to continue doing what you do now, using a checkedout branch on the *staging* server in lieu of production -- same thing you're used to -- then you can create a production build by 1) *tag* the svn code when it passes QA - easiest way is to create a tags directory and then copy the code into a named tag. You probably want to move the dev code to a trunk directory, so the dir structure is myapp/ tags/ trunk/ so then you'd copy the QA'ed trunk to /myapp/tags/REL-1.0 or similar Even better, you'd tag the code as it goes to QA (QA-1.0) and then developers can make changes against that codebase without affecting the main line. 2) *export* the tagged release to the production server. That gets it up there without all the .svn files, and since there's an extra copy of the base files in the .svn directories, might save a lot of space as far as media in the repository goes. And it removes the temptation of making changes directly in production. Plus it means your repository is connected in a write-only way to the prod server. You can automate all of this with Ant scripts, or more sophisticated apps like CruiseControl for continuous build on the development/integration side shamelessplugI'm talking about this in my preconference class at CFUnited this summer/shamelessplug Is anyone using subversion in this configuration? (dev, staging, production). How do you have things set up and how do you manage deployments? It's very common. I'd run out and et Pragmatic Version Control with Subversion and possibly Pragmatic Project Automation, both from the Pragmatic Bookshelf. The SVN books is especially relevant here. -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235473 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CSS issue with tmt_tabs (Massimo's tab component)
Robert Everland III wrote: I think this may have to do with the way IE treats CSS images. It doesn't cache them, so each time you would click on an image he may be reloading the rest. I have a tab component and while mine don't disappear on click, they do disappear when moused over. Do a google search for css mouse flicker. I'm not having a problem with tabs disappearing (okay I've seen that happen once or twice, but I'm less concerned about that). The problem is I've got space between my tabs and the panel below them. Curiously, there's also space above the tabs between my page title div. I looked at all my relevant css to see if I had some weird margins or paddings, but I can't find anything. https://www.it.dev.duke.edu/tools/report_request/test.html Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235474 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Homesite+ Regex
Ben Doom wrote: Also, I don't think homesite supports \s. IIRC, it's regex engine is equivalent to CF5's engine. I noticed that too. It also doesn't support non-greedy matching, which really makes it nearly worthless in that regard. Luckily I don't do too much regex find/replace in homesite. Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235475 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CSS issue with tmt_tabs (Massimo's tab component)
Do you zero out all margins and set them explicitly? If not, you should since all Browser's internal style sheets set different margins for elements. I wasn't able to look at all of your styles, but that could be a problem. Of course another problem is the HTML 4.01 transitional which is not guaranteed to sniff standards compliant on all browsers. Try HTML 4.01 strict instead. Sandra Clark Training in Cascading Style Sheets and Accessibility -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 1:28 PM To: CF-Talk Subject: Re: CSS issue with tmt_tabs (Massimo's tab component) Robert Everland III wrote: I think this may have to do with the way IE treats CSS images. It doesn't cache them, so each time you would click on an image he may be reloading the rest. I have a tab component and while mine don't disappear on click, they do disappear when moused over. Do a google search for css mouse flicker. I'm not having a problem with tabs disappearing (okay I've seen that happen once or twice, but I'm less concerned about that). The problem is I've got space between my tabs and the panel below them. Curiously, there's also space above the tabs between my page title div. I looked at all my relevant css to see if I had some weird margins or paddings, but I can't find anything. https://www.it.dev.duke.edu/tools/report_request/test.html Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235476 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF on MacTel?
You should be able to deploy in J2EE mode using war/ear deployment. Anyone out there running CFMX on a Mactel machine yet? I'm thinking about aquiring one of these McBooks... I tried posting this on the CF-Mac list but it doesn't look like it made it on or that the list is very active. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235477 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CSS issue with tmt_tabs (Massimo's tab component)
Sandra Clark wrote: Do you zero out all margins and set them explicitly? If not, you should since all Browser's internal style sheets set different margins for elements. Nope, I didn't do that... I added margin: 0 to my top level body, div, and td styles with no effect. But then I noticed a form tag that appeared above my tabs but below my title div... I set the margin on the form tag to 0 and it fixed it! I wasn't able to look at all of your styles, but that could be a problem. Of course another problem is the HTML 4.01 transitional which is not guaranteed to sniff standards compliant on all browsers. Try HTML 4.01 strict instead. I had tried that one too =) Thanks all Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235478 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Cfschedule question
Hi there, I have created a cfschedule that runs daily. It queries a list of customers and sends them a followup email. The template that runs is send_email.cfm - what is the best way to protect this template from being executed by mistake - as we only want one followup email sent to customers. Regards Mike ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235479 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Cfschedule question
Set a flag in the database when you send them the email, then only check for customers without that flag. On 3/15/06, Mike | NZSolutions Ltd [EMAIL PROTECTED] wrote: Hi there, I have created a cfschedule that runs daily. It queries a list of customers and sends them a followup email. The template that runs is send_email.cfm - what is the best way to protect this template from being executed by mistake - as we only want one followup email sent to customers. Regards Mike ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235480 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: subversion with a staging server
I agree with what John Paul recommends, but in case you're reeling from lots of new concepts, just consider tagging your code (you just give the whole app a friendly name like phase1 to mark a snapshot of the code) then only checkout (or export) that tag rather than the latest code. Once 'phase1' has been QA'd you can checkout (or export) that tag to production. Export provides a version of the code without the hidden SVN folders. I expect you have just been doing 'Update' on each server with is certainly nice and convenient, but probably no longer sufficient. Good Luck! -- Mike T Blog http://www.socialpoints.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235481 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Asynchronous vs linear file processing
Jacob, in his CFObjective talk, Michael did address the situation of performing asynchronous processing when Enterprise isn't available (or even MX for that matter)...there are ways to do it, at least in a pseudo sort of way. Basically it involves creating a gateway template and scheduling it to run every x minutes. In between scheduled executions, you queue up the data to be processed asynchronously in a structure within the server scope and when your gateway template comes along it bites off a certain number of items to process (you wouldn't want to necessarily do all of them at once in case a LOT of data was queued). Every x minutes it comes back, biting off and processing another chunk until your queue is empty. Something along those lines, anyway. This is very cool. I just wish we had Enterprise on our production server so I could do this on more than my developer install. :\ One of the first things I did when CF7 was released was try this asynchronous processing, and I was very impressed. Of interest to note is the fact that setting the server's simultaneous gateway thread count to 260 did not increase the throughput of the thread executions any more than having it set at 30. It seems that could be a limitation of your server. If you had a big beefy server, like a super computer, I'm sure it would better take advantage of those extra threads. [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235482 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
XML feed from Yahoo Orders
I've been trying to capture an https post from Yahoo and decode the XML document. Parsing the XML poses no problem, but when I try to view the HTTP header using GetHttpRequestData() all I get is an empty string. Has anyone solved this problem? Thanks Rick Bierregaard ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235483 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: subversion with a staging server
i do this similarly with CVS. We tag the code base with a Remedy HD#, the HD# represents a bug and/or request to promote code. The code manager updates the staging code based on this tag. Once tested and approved, updates prod code with that tag. One day when we grow up, we will use ANT to do this. ;) DK On 3/15/06, Michael Traher [EMAIL PROTECTED] wrote: I agree with what John Paul recommends, but in case you're reeling from lots of new concepts, just consider tagging your code (you just give the whole app a friendly name like phase1 to mark a snapshot of the code) then only checkout (or export) that tag rather than the latest code. Once 'phase1' has been QA'd you can checkout (or export) that tag to production. Export provides a version of the code without the hidden SVN folders. I expect you have just been doing 'Update' on each server with is certainly nice and convenient, but probably no longer sufficient. Good Luck! -- Mike T Blog http://www.socialpoints.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235484 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: XML feed from Yahoo Orders
Parsing the XML poses no problem, but when I try to view the HTTP header using GetHttpRequestData() all I get is an empty string. You have to use GetHttpsRequestData() instead of GetHttpRequestData(). Just kidding! Sorry, I couldn't resist. We now return you to your scheduled programming. - [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235485 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: multiple uploads and cffile and cfmx instances
I was wondering if anyone ever encountered this problem which I had posted quite a while ago. If so, any luck resolving it? Some additional info: I tried to use just a single file input in the form. This worked really weirdly. Most times, it would upload part of the file. So if it was an image, it would upload about 25-75% of it and the image showed up cut off at the bottom. About 5 times of tryin to do this, after some time, the dreaded '500 unexpected end of part' error shows up. Thanks, George On 12/13/05, George Abraham [EMAIL PROTECTED] wrote: All, This is a bit of strange bug that we noticed recently. Out infrastructure is on CFMX 7.01 Enterprise with 6 instances of CFMX running on the same IIS server with about 20 websites. I was testing a multiple upload Java applet that was working fine on my small CFMX developer test box. After transferring it to a staging site on the infrastructure, I noticed that the multiple uploads were not working. So I changed the applet to a bunch ofHTML inputs (type=file) to see what happened then. The same error happens. The error is this: JRun Servlet error: 500 unexpected end of part I tried everything that I could think of to see if there was a problem in the code. Everytime there was a single upload, it worked. But multiple uploads all crashed. I then transferred the code to another CFMX instance on the same server. And it worked fine without a hitch. So we tried to wipe out the buggy CFMX instance, installed another instance with the same name as that instance and it failed yet again on the multiple uploads. Anybody have any ideas? Thanks, George ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235486 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Basic Verity question
I'm confused about the types of Verity query options: Simple, Explicit, Natural, Internet or Internet_basic. If I want to create an engine that would interpret search criteria such as, say, latest college basketball scores not as a literal phrase but intuitively... What type would I use? Thanks in advance. Les ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235487 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problem with CFContent or CFHeader and https
Ricki Stern wrote: We are running CF5 on Win 2k (IIS) and we recently noticed a problem. We have some apps that push out files to the web browser. The lines of code we use to do this are something like CFHEADER NAME=content-disposition VALUE=inline;filename=report.csv CFCONTENT TYPE=application/unknown FILE=#TheReportPath# DELETEFILE=NO RESET=NO We have found that for text files this works fine when the application is being accessed through http. However, if we use https to access the application we get an error that the file could not be downloaded because IE was unable to open the internet site. Does it work from Firefox? Can you replicate the problem from telnet (use -z ssl for the encryption)? Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235488 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: subversion with a staging server
snip I am not too sure how to do this, since we have the same code tree checked out on both dev and production. I don't want changes meant for the staging server to accidentally go to production, until they are ready. I'd recommend now that the process is starting to get more complex, implementing some build management into the workflow -- and probably the best place to start is with Ant. Probably the simplest way to handle things for the first pass is to continue doing what you do now, using a checkedout branch on the *staging* server in lieu of production -- same thing you're used to -- then you can create a production build by 1) *tag* the svn code when it passes QA - easiest way is to create a tags directory and then copy the code into a named tag. You probably want to move the dev code to a trunk directory, so the dir structure is myapp/ tags/ trunk/ so then you'd copy the QA'ed trunk to /myapp/tags/REL-1.0 or similar Even better, you'd tag the code as it goes to QA (QA-1.0) and then developers can make changes against that codebase without affecting the main line. We don't currently have releases... we have a large application which serves several clients (An ASP). We make changes to individual client's code as well as to the shared code. We make changes and deployments daily. I'm not sure if we can copy it into a tag everytime we make a change... 2) *export* the tagged release to the production server. That gets it up there without all the .svn files, and since there's an extra copy of the base files in the .svn directories, might save a lot of space as far as media in the repository goes. And it removes the temptation of making changes directly in production. Plus it means your repository is connected in a write-only way to the prod server. You can automate all of this with Ant scripts, or more sophisticated apps like CruiseControl for continuous build on the development/integration side This would be nice... but the problem I have with export is that it downloads all the code instead of just updating the files that have changed. Also our codebase is about 20k files (including subversion files), so it's probably about half that. My guess is that it will take quite a while to export that. This is not even counting the media files. Also when you check out things you can see if anyone's made any changes to production directly (Which happens sometimes, and needs to be dealt with). If we're exporting things it won't even be possible. In the perfect scenario, we would have something like this: All the changes to dev are done through webdav or something and are stored in a dev repository. Once changes have been tested on dev, they are committed into a staging repository and the changes are updated on the staging server. Once it has passed QA, it is checked in from staging into the production repository and then updated on production. As far as I know though, there is no way to have a working copy tied to more then one repository (or branch) at the same time. Is anyone using subversion in this configuration? (dev, staging, production). How do you have things set up and how do you manage deployments? It's very common. I'd run out and et Pragmatic Version Control with Subversion and possibly Pragmatic Project Automation, both from the Pragmatic Bookshelf. The SVN books is especially relevant here. Thanks John, I will check those books out. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235489 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Asynchronous vs linear file processing
Of interest to note is the fact that setting the server's simultaneous gateway thread count to 260 did not increase the throughput of the thread executions any more than having it set at 30. It seems that could be a limitation of your server. If you had a big beefy server, like a super computer, I'm sure it would better take advantage of those extra threads. Or that the task wasn't even using all 30 original threads. It is conceivable that the task was efficient enough that by the time a dozen or so records where being processed the first threads where finished and available to be used for subsequent records. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235490 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CFMX 7: GetPageContext().forward() form scope bug, again?
I'm trying to use the GetPageContext().forward() method in CFMX 7 and it doesn't seem to be passing any scope other than the Request. The Form scope is coming up blank. I know this was an issue in CFMX 6, but then was fixed. However, I'm running the following templates on my CFMX 7 Developer Edition (which might be the problem) and the FORM scope is coming up blank: -- forward_1.cfm -- form action=forward_2.cfm method=post input type=text name=myField value=Some data / input type=Submit /form -- forward_2.cfm -- cfscript Request.test = forward info; GetPageContext().forward(forward_3.cfm); /cfscript -- forward_3.cfm -- cfdump var=#request# label=request cfdump var=#form# label=form When I run this code, the form scope dump comes up blank. If I change the action attribute to point to the forward_3.cfm template, I get the expect results. I'm trying to fix some code that was using CFHTTP to call a local template, but I need the form scope information. Does this code run for anyone else? -Dan ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235491 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problem with CFContent or CFHeader and https
we have the same issue, and always end up writing the file then providing a download link for https sites. if anyone has a better solution I'm keen to hear it. On 3/15/06, Jochem van Dieten [EMAIL PROTECTED] wrote: Ricki Stern wrote: We are running CF5 on Win 2k (IIS) and we recently noticed a problem. We have some apps that push out files to the web browser. The lines of code we use to do this are something like CFHEADER NAME=content-disposition VALUE=inline;filename=report.csv CFCONTENT TYPE=application/unknown FILE=#TheReportPath# DELETEFILE=NO RESET=NO We have found that for text files this works fine when the application is being accessed through http. However, if we use https to access the application we get an error that the file could not be downloaded because IE was unable to open the internet site. Does it work from Firefox? Can you replicate the problem from telnet (use -z ssl for the encryption)? Jochem -- Mike T Blog http://www.socialpoints.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235492 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Problem with CFContent or CFHeader and https
Michael Traher wrote: we have the same issue, and always end up writing the file then providing a download link for https sites. if anyone has a better solution I'm keen to hear it. Do you have a URL where I can test? Jochem ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235493 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Dynamic Form Selects and Posting Troubles
Hi all, I've been pulling out my hair on this one over the last two days and I'm stumped. On a form page I have a series of drop down select boxes, dynamically produced and named. The name of each select (moduleID) is a three-digit number. So I could have FORM.133, FORM.147, FORM.155 and so on. The permission ID value is numeric 1 thru 5. I pull the recordset from a db and create the fieldnames and drop downs, like so (which works): cfloop query=qUsers cfset FORM[moduleID] = qUsers.permissionID /cfloop It would look like FORM.155 = 3 (moduleID) = (permissionID) table border=0 cellspacing=0 cellpadding=3 cfloop query=qUsers tr tdstrong#moduleName#/strong/td td select name=#moduleID# option value=1 cfif FORM[moduleID] EQ 1selected/cfif (1) No Access/option cfif qUsers.moduleID NEQ 133 option value=2 cfif FORM[moduleID] EQ 2selected/cfif (2) View Only/option option value=3 cfif FORM[moduleID] EQ 3selected/cfif (3) View-Edit/option option value=4 cfif FORM[moduleID] EQ 4selected/cfif (4) View-Add-Edit/option /cfif option value=5 cfif FORM[moduleID] EQ 5selected/cfif (5) Complete Access/option /select /td /tr /cfloop /table Next I want to send the form fields to a cfc for db posting. So in my cfinvoke I loop through the FORM vars, like so: (Notice that I'm forced to prepend an A in front of the cfinvokeargument name - the cfc throws an error if arguments have names beginning with numbers) cfloop query=qUsers cfinvokeargument name=A#moduleID# value=#FORM[moduleID]# /cfloop It would look like A155 = 3 (moduleID) = (permissionID) Here's the real problem, trying to update an existing table with this data. In the CFC, the qPermissionCount gives me a count of how many rows have unique module numbers (in this case 3). cfquery name=qPermissionCount datasource=#REQUEST.dsnSQL# username=#REQUEST.dsnUID# password=#REQUEST.dsnPWD# SELECT U.userID, P.* FROM #SESSION.companyInfo.companyTablePrefix#_Users_List U, #SESSION.companyInfo.companyTablePrefix#_Users_List_UserModulesPermissions P WHERE U.userID = cfqueryparam cfsqltype=cf_sql_char value=#ARGUMENTS.userID# AND U.userID = P.userID /cfquery Now, I can't seem to figure out how to loop for 3 records, and match up the FORM.A155 with the db record of 155 in order to update the permission level (1 thru 5). It's the SET that's the problem. Notice that the ARGUMENTS.a101 could be any number from A101 to A160. I can find which three numbers are being updated from the qPermissionCount recordset. cfquery name=updOBJ2 datasource=#REQUEST.dsnSQL# username=#REQUEST.dsnUID# password=#REQUEST.dsnPWD# UPDATE #SESSION.companyInfo.companyTablePrefix#_Users_List_UserModulesPermissions SET permissionID = cfqueryparam cfsqltype=cf_sql_integer value=#ARGUMENTS.A101# WHERE userID = cfqueryparam cfsqltype=cf_sql_char value=#ARGUMENTS.userID# AND moduleID = cfqueryparam cfsqltype=cf_sql_integer value=#qPermissionCount.moduleID# /cfif /cfquery Thanks, Mark ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235494 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Dynamic Form Selects and Posting Troubles
I your updOBJ2 query, you are using ARGUMENTS.A101, but I don't see where that is getting created. It looks like you are dealing with dynamic variable name problems, but in that query you have the variable name hard coded. Or am I missing something? -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 3:24 PM Now, I can't seem to figure out how to loop for 3 records, and match up the FORM.A155 with the db record of 155 in order to update the permission level (1 thru 5). It's the SET that's the problem. Notice that the ARGUMENTS.a101 could be any number from A101 to A160. I can find which three numbers are being updated from the qPermissionCount recordset. cfquery name=updOBJ2 datasource=#REQUEST.dsnSQL# username=#REQUEST.dsnUID# password=#REQUEST.dsnPWD# UPDATE #SESSION.companyInfo.companyTablePrefix#_Users_List_UserModule sPermissions SET permissionID = cfqueryparam cfsqltype=cf_sql_integer value=#ARGUMENTS.A101# WHERE userID = cfqueryparam cfsqltype=cf_sql_char value=#ARGUMENTS.userID# AND moduleID = cfqueryparam cfsqltype=cf_sql_integer value=#qPermissionCount.moduleID# /cfif /cfquery This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235495 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CFUNITED-06 interview 11: Raymond Camden - Introduction to ColdFusion Components
In this issue of ColdFusion conference and training news: * Fusetalk Forum on CFUNITED! * CFLive - Ray Camden Thursday 12:30pm EST via breeze * Only 16 days left on timely bird price - ends 3/31/06 * Interview with Raymond Camden - Introduction to ColdFusion Components CFUNITED is the premier ColdFusion Conference near Washington DC 6/28-7/1/06 (Four whole days!) Check out speakers and topics at http://www.cfunited.com/ - Michael Smith TeraTech, Inc [CFUNITED] is, by far, the single best conference for ColdFusion Developers and JRun/ColdFusion server Administrators. Not only do you get to meet and greet all of the top names in the field, you get to see where ColdFusion stands today, and see where it is going tomorrow. - Damon G. (previous year Attendee) Have 3 years of CF and love helping other developers? http://www.teratech.com/index.cfm?go=About.JobDetailJobID=7 Conference and training news * Upcoming TeraTech classes Cost $59 - $349 see http://www.teratech.com/training/ for more details and registration CF101 - Welcome to ColdFusion May 2 2006 CF102 - Intro to ColdFusion May 9 2006 CF201 - Intermediate ColdFusion May 16 2006 FB101 - Intro to FuseboxMay 23 2006 FB201 - Intermediate FuseboxJun 6 2006 * Pre-conference classes Cost $449 see http://www.cfunited.com/classes06.cfm for more details and registration Register before March 31st and enter to win a free memory stick! Location: Bethesda North Marriott and Conference Center CU210 Leader of the Pack (strategies for building better software) - Simon Horwith - Monday 6/26 CU211 Fundamentals of Relational Database - Kurtis D. Leatham - Monday 6/26 CU212 ColdFusion Server Administration: JRun J2EE Deployment - Adam Wayne Lehman - Monday 6/26 CU213 Testing ColdFusion - John Paul Ashenfelter - Monday 6/26 CU214 Ajax intensive for ColdFusion Developers - Rob Gonda - Tuesday 6/27 CU215 XML, XPath, and XSLT for ColdFusion Developers - Jeff Peters - Tuesday 6/27 CU216 Domain Modeling - Hal Helms - Tuesday 6/27 CU217 Beyond Basic SQL for CF - Nate Nelson - Tuesday 6/27 CFUNITED NEWS! * Fusetalk Forum now on CFUNITED! Start talking to other register conference attendees today. If you are registered as an attendee, login into http://www.cfunited.com/login.cfm -- Our Common Interest page is coming soon too! * Over 300 people are already registered for CFUNITED-06 and the main hotel is full! (That is more people than the same time last year). * We have an over flow hotel: Bethesda Marriott (Located about 1.5 miles from the conference center - there will be a shuttle to the conference center all day) 5151 Pooks Hill Road Bethesda MD 20814 To make reservations call: 1.800.228.9290 Use the group code: CFU See http://www.cfunited.com/travel.cfm for more details. *CFLive Hear CFUNITED speakers from your office via breeze talks every Thursday 12:30pm - 1pm EST. Learn new tips and ask questions live. Ray Camden on Intro to CFCs and Verity Searching Secrets Thu, Mar 16, 2006 at 12:30 PM US/Eastern To sign up for this week's talk go to: http://coldfusion.meetup.com/17/events/4874951/ Future talks 3/23/06 Hal Helms Duck Typing in CFCs, Practical Design Patterns, Variables and Conditions, Celebrity Death Match 3/30/06 Jeremy Kadlec SQL Server tips 4/6/06 Sean Corfield Managing CFCs with Factories, Objects and Persistence 4/13/06 John Paul Ashenfelter Agile Programming 4/20/06 Simeon Bateman CFEclipse 5/4/06 Steve Ritler Farcry CMS 5/11/06 Maxim Porges Secrets of Top Notch Teams * Only 3 months until CFUNITED (103 days). * Only 16 days left on timely bird price - ends Friday 3/31/06 * Can't afford to come for 4 days? Or can't take time off work during the week? Come to our Saturday only CFUNITED event. * Full time students and umemployed programmers substantial discounts available - email liz (at) teratech.com for your discount code. ** And now our CFUNITED spotlight interview. Michael Smith: This time we are talking with Raymond Camden about his CFUNITED-06 talk Introduction to ColdFusion Components. So why should a developer come to your session Raymond? Raymond Camden: ColdFusion Components are really the main way a developer can take his or her code to the next level of development. In this extended session I will cover both the syntax as well as show numerous examples and suggestions for using CFCs. MS: How will my code be better if I use CFCs? RC: Beginning developers tend to rebuild code they have used before. They do this because their earlier code wasn't properly abstracted, so it's not reusable. CFCs are one way within ColdFusion to reuse code. MS: What do you mean by abstracted - that sounds complex! RC: It really isn't. Here is a simple example. The total value of a shopping cart is each line items unit price times the quantity. That is one simple business rule. However - you use this
RE: What's wrong with this jvm.config file?
Che, Take a look in the /runtime/logs folder - the *.out log will give you some hints... here's a blog on how to find stuff in the CF logs. http://mkruger.cfwebtools.com/index.cfm?mode=aliasalias=coldfusion_logs -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 11:19 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Thanks. Still can't get it to fire up... where should I look for errors? Also, can the jvm.config file have returns from a text editor? or should i turn line wraps off? ~Che -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 11:59 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? Whoops... forgot the co-king Pete Freitag http://www.petefreitag.com/articles/gctuning/ -Mark -Original Message- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 10:44 AM To: CF-Talk Subject: RE: What's wrong with this jvm.config file? The dun documentation is the most complete. Robi Sen is the king of the JVM in the CF world, you can start on his site and search for jvm. Here's a link to the sun doc. http://www.robisen.com/index.cfm?mode=entryentry=67789980-55DC-F2B1-FDEDE3B 28F0E7A62 It references this chart which I find quite useful (though I don't know how accurate it is) http://www.folgmann.de/en/j2ee/gc.html -Mark ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235497 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Dynamic Form Selects and Posting Troubles
The ARGUMENTS.a155, etc. are all being passed properly to the CFC. In this sense the ARGUMENTS.A155 = 3 I've got that placed in the SET permission ID = because that's that value I want to update. Looping the update is where I'm having trouble. Thanks, Mark -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 5:41 PM To: CF-Talk Subject: RE: Dynamic Form Selects and Posting Troubles I your updOBJ2 query, you are using ARGUMENTS.A101, but I don't see where that is getting created. It looks like you are dealing with dynamic variable name problems, but in that query you have the variable name hard coded. Or am I missing something? -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 3:24 PM Now, I can't seem to figure out how to loop for 3 records, and match up the FORM.A155 with the db record of 155 in order to update the permission level (1 thru 5). It's the SET that's the problem. Notice that the ARGUMENTS.a101 could be any number from A101 to A160. I can find which three numbers are being updated from the qPermissionCount recordset. cfquery name=updOBJ2 datasource=#REQUEST.dsnSQL# username=#REQUEST.dsnUID# password=#REQUEST.dsnPWD# UPDATE #SESSION.companyInfo.companyTablePrefix#_Users_List_UserModule sPermissions SET permissionID = cfqueryparam cfsqltype=cf_sql_integer value=#ARGUMENTS.A101# WHERE userID = cfqueryparam cfsqltype=cf_sql_char value=#ARGUMENTS.userID# AND moduleID = cfqueryparam cfsqltype=cf_sql_integer value=#qPermissionCount.moduleID# /cfif /cfquery This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235498 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Dynamic Form Selects and Posting Troubles
The part that's got me confused is that you say Notice that the ARGUMENTS.a101 could be any number from A101 to A160. That leads me to believe that you want that variable name to be dynamic, based on the 3 records returned from your other query. But in your code you've got it hard coded to ARGUMENTS.A155 instead of a dynamic variable name. Or is that what you're trying to figure out how to do (the dynamic variable name)? -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 4:31 PM The ARGUMENTS.a155, etc. are all being passed properly to the CFC. In this sense the ARGUMENTS.A155 = 3 I've got that placed in the SET permission ID = because that's that value I want to update. Looping the update is where I'm having trouble. -Original Message- From: Munson, Jacob Sent: Wednesday, March 15, 2006 5:41 PM I your updOBJ2 query, you are using ARGUMENTS.A101, but I don't see where that is getting created. It looks like you are dealing with dynamic variable name problems, but in that query you have the variable name hard coded. Or am I missing something? [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235499 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Dynamic Form Selects and Posting Troubles
Sorry I haven't explained this properly. The first time an update occurs, there could be 3 arguments (let's say A133, A150, A120). The second time an update occurs, there could be 8 arguments (A133, A121, A123, A145, and so on). The ARGUMENTS value that is passed contains a permissionsID, which will always be 1 through 5. The var name of A133 is actually a reference to the actual module ID number contained in the db. So, yes, I am trying to figure out how to have a dynamic var name instead of the fixed ARGUMENTs.A155 using a loop. Thanks, Mark -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 6:46 PM To: CF-Talk Subject: RE: Dynamic Form Selects and Posting Troubles The part that's got me confused is that you say Notice that the ARGUMENTS.a101 could be any number from A101 to A160. That leads me to believe that you want that variable name to be dynamic, based on the 3 records returned from your other query. But in your code you've got it hard coded to ARGUMENTS.A155 instead of a dynamic variable name. Or is that what you're trying to figure out how to do (the dynamic variable name)? -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 4:31 PM The ARGUMENTS.a155, etc. are all being passed properly to the CFC. In this sense the ARGUMENTS.A155 = 3 I've got that placed in the SET permission ID = because that's that value I want to update. Looping the update is where I'm having trouble. -Original Message- From: Munson, Jacob Sent: Wednesday, March 15, 2006 5:41 PM I your updOBJ2 query, you are using ARGUMENTS.A101, but I don't see where that is getting created. It looks like you are dealing with dynamic variable name problems, but in that query you have the variable name hard coded. Or am I missing something? [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235500 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: HTTP proxy/redirector to a unique virtual host ....
Yes, Apache has this built in with the mod_proxy, mod_proxy_html and the rewrite modules. You would need to use ProxyPreserveHost On In order to get the virtual host stuff to work. Other then that it's a couple of fairly simple statements. The rewrite module is optional, but will let you use regular expressions to define what urls you want to redirect. Russ -Original Message- From: Alberto Paris [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 4:45 PM To: [EMAIL PROTECTED] Subject: HTTP proxy/redirector to a unique virtual host Hi, Does anyone on the list knows of any kind of software (for Windows, Linux, or anything) that I can set up as an HTTP/HTTPS proxy/redirector to receive requests on a specific TCP port, and then redirects them to another IP, AND to a scpecific Virtual Host ? Something like what 'stunnel' does, but I also need the capability of directing the traffic to a specific virtual host on the destination web server . Any help will be greatly appreciated Regards, Alberto Paris [EMAIL PROTECTED] Colombia _ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement - This List Sponsored by: SpiDynamics ALERT: How A Hacker Launches A Web Application Attack! Step-by-Step - SPI Dynamics White Paper Learn how to defend against Web Application Attacks with real-world examples of recent hacking methods such as: SQL Injection, Cross Site Scripting and Parameter Manipulation https://download.spidynamics.com/1/ad/web.asp?Campaign_ID=70130003gRl -- ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235501 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Basic Verity question
http://livedocs.macromedia.com/coldfusion/7/htmldocs/1323.htm and the pages after it describe this in detail. For your example you'd use Internet: http://livedocs.macromedia.com/coldfusion/7/htmldocs/1326.htm On 3/16/06, Les Irvin [EMAIL PROTECTED] wrote: I'm confused about the types of Verity query options: Simple, Explicit, Natural, Internet or Internet_basic. If I want to create an engine that would interpret search criteria such as, say, latest college basketball scores not as a literal phrase but intuitively... What type would I use? -- CFAJAX docs and other useful articles: http://jr-holmes.coldfusionjournal.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235502 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
createobject(java)
Hi I am using a remote server and getting this error ' Security: The requested template has been denied access to createobject(java)' Is this something the administrators of the server have locked down and if so is there are work around for this Mark ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235503 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cflocation/ie 6 bug - possible workaround
Thanks Robert. Will forward the TechNote url to our sys admin. - Catherine Catherine, I had the same problem last year. It was fixed after installing JRun4 Updater 6. http://www.macromedia.com/go/5c9389c8 Robert -Original Message- From: Catherine Alleva [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 4:38 PM To: CF-Talk Subject: Re: cflocation/ie 6 bug - possible workaround Having the same problem..or similar. cflocation only works with IE 6 once in a while. I noticed the problem about a month ago. I tried the keep-alive fix but it didn't work. Still having the same problem. Only thing that seems to work is replacing all the cflocations with meta tags or cfheaders. Catherine Alleva ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235504 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Weird error
Hi, I have this weird error in a template (CF 5). I would say it works 99.9% of the time, but once in a while I get this: Error resolving parameter STAT ColdFusion was unable to determine the value of the parameter. blah blah blah... template = F:\\INDEX.CFM queryString = p=partenairesstat=P How may stat be not defined if it is passed in the queryString? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235505 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Weird error
could the stat var that it is having an issue with be scoped in another scope from URL? Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235506 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
cfldap and filter help...
Hello, I'm trying to create a filter and I having some trouble. I would like to search on two attributes but use one of them twice and I can't seem to do it. Here is my filter and it won't work, can someone please help. Thanks, - Charles filter=((objectClass=asdCollection)(asdPubPrefix=LLNL) (asdPubPrefix=CMP_SMSG)) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235507 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: createobject(java)
Yes, this means that the createobject tag is sandboxed out of createing java objects. This is for security on a shared server. You can ask them to change it, but if they can't/won't, you can't create Java objects. On 3/16/06, Mark Flewellen [EMAIL PROTECTED] wrote: Hi I am using a remote server and getting this error ' Security: The requested template has been denied access to createobject(java)' Is this something the administrators of the server have locked down and if so is there are work around for this -- CFAJAX docs and other useful articles: http://jr-holmes.coldfusionjournal.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235508 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Weird error
I have also seen this if the page is being fetched at the very moment the cf server is going down. Check the cf cerver logs to see if a restart was happening at that time. On 3/15/06, Claude Schneegans [EMAIL PROTECTED] wrote: Hi, I have this weird error in a template (CF 5). I would say it works 99.9% of the time, but once in a while I get this: Error resolving parameter STAT ColdFusion was unable to determine the value of the parameter. blah blah blah... template = F:\\INDEX.CFM queryString = p=partenairesstat=P How may stat be not defined if it is passed in the queryString? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235509 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CFOpenChat Beta Release
CFAJAXChat has been renamed to CFOpenChat and version 0.90b is now available for download www.opensourcecf.com/cfopenchat/ Thanks! Rick Root ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235510 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfldap and filter help...
((objectClass=asdCollection)(|(asdPubPrefix=LLNL)(asdPubPrefix=CMP_SMSG )) This means asdCollection and either LLNL or CMP_SMSG. M!ke -Original Message- From: Charles Heizer [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 7:14 PM To: CF-Talk Subject: cfldap and filter help... Hello, I'm trying to create a filter and I having some trouble. I would like to search on two attributes but use one of them twice and I can't seem to do it. Here is my filter and it won't work, can someone please help. Thanks, - Charles ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235511 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Weird error
could the stat var that it is having an issue with be scoped in another scope from URL? If stat was defined in another scope, then it should not be declared undefined anyway. When the scope is not specified, CF is supposed to look in all scopes, including URL, so stat should be defined here (stat=P) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235512 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
re: CFOpenChat Beta Release
Thanks Rick ~Dave the disruptor~ From: Rick Root [EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:42 PM To: CF-Talk cf-talk@houseoffusion.com Subject: CFOpenChat Beta Release CFAJAXChat has been renamed to CFOpenChat and version 0.90b is now available for download www.opensourcecf.com/cfopenchat/ Thanks! Rick Root ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235513 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfldap and filter help...
Thanks! - Charles On Mar 15, 2006, at 6:23 PM, Dawson, Michael wrote: ((objectClass=asdCollection)(|(asdPubPrefix=LLNL) (asdPubPrefix=CMP_SMSG )) This means asdCollection and either LLNL or CMP_SMSG. M!ke -Original Message- From: Charles Heizer [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 7:14 PM To: CF-Talk Subject: cfldap and filter help... Hello, I'm trying to create a filter and I having some trouble. I would like to search on two attributes but use one of them twice and I can't seem to do it. Here is my filter and it won't work, can someone please help. Thanks, - Charles ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235514 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54