RE: Mx hanging no available threads
Hmmm, we have been doing some very intensive metrics on servers like these and what you are seeing it more than likely caused by Garbage Collection. What are the specs of the machines you are seeing this on? N -Original Message- From: gabriel l smallman [mailto:[EMAIL PROTECTED] Sent: 28 November 2004 16:39 To: CF-Talk Subject: Mx hanging no available threads I just update my jvm to 1.4.2_6 and installed new drivers. After running perfectly for about 4 days she hung up. I took a look in the default-err.log to find a bunch of these java.lang.RuntimeException: Request timed out waiting for an available thread to run. You may want to consider increasing the number of active threads in the thread pool. at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:125) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:448 ) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Has anyone encountered issues like this before? gabe ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185497 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: PostgreSQL database size
Office wrote: I have a large 60GB data set of land parcel and related information for NZ which has to be imported from some kind of txt files. One table is apparently 5 GB. The data then needs to be transformed and then accessed via cold fusion on an in house server. PostgreSQL should be able to handle this without a problem on suitable hardware. Don't forget to check out the PostGIS project, it plugs GIS features right into PostgreSQL. I've seen reviews claiming that MySQL and PostgreSQL fall over at the 100GB limit Links? so kind of curious about the truth in that. There are hundreds of people running terrabyte databases on PostgreSQL. I notice that Macromedia don't include PostgreSQL as a supported database fof Coldfusion MX6.1 Server but Bluedragon do. http://www1.oli.tudelft.nl/jochemd/index.cfm?PageID=16 Jochem ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185498 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
CFScheduler and java mail exceptions....
Morning all I've got a scheduled task that distributes about 1400 e-mails to our users. Recently though it's only been sending about 1000 of these e-mails: the remaining 400 do not send (have to send manually). There is nothing in the application.log, but the following is in MailSent.log (x400 lines): Information,scheduler-4,11/29/04,09:48:35,,Moved undelivered mail: Mail56511.cfmail to C:\CFusionMX/Mail/Undelivr directory And the following is in the exception.log (x400 times): Error,scheduler-4,11/29/04,09:48:35,,220 tmcmon02-lgn.penmail.bt.com NTMail (v4.30.0013/NT2289.01.57849cd5) ready for ESMTP transfer javax.mail.MessagingException: 220 tmcmon02-lgn.penmail.bt.com NTMail (v4.30.0013/NT2289.01.57849cd5) ready for ESMTP transfer at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:879) at com.sun.mail.smtp.SMTPTransport.helo(SMTPTransport.java:511) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:243) at javax.mail.Service.connect(Service.java:234) at coldfusion.mail.MailSpooler.getConnection(MailSpooler.java:871) at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:744) at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:674) at coldfusion.mail.MailSpooler.deliverStandard(MailSpooler.java:947) at coldfusion.mail.MailSpooler.run(MailSpooler.java:912) at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201) at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:70) Any ideas as to what I should be looking at to get this fixed? Cheers rob ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185499 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: Multiple sites using one IP
Paul Campano wrote: Right now I have a number of CF sites on my WIN2K box that's running CFMX. Each site currently has it's own IP. I've heard that some people configure their servers to use one IP for many websites. How would I do this? http://www.google.com/search?q=IIS+multiple+websites+on+1+IP Jochem ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185500 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: Mx hanging no available threads
With the metrics you've been doing, have you come to a conclusion as to how to avoid this? Are there better garbage collection flags to set up with CFMX than what's running by default? I've seen a death of my server, but it's ended up manifesting itself in arbitrary requests returning Jrun Connection Protocol Error, (some threads return that, others work just fine)... ultimately leading to a Cannot connect to the Jrun Server (when cfmx just dies out)... I have a pretty heavy load on the machine (600k hits a day or thereabouts) Any ideas would be appreciated... Dov Katz -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 4:26 AM To: CF-Talk Subject: RE: Mx hanging no available threads Hmmm, we have been doing some very intensive metrics on servers like these and what you are seeing it more than likely caused by Garbage Collection. What are the specs of the machines you are seeing this on? N -Original Message- From: gabriel l smallman [mailto:[EMAIL PROTECTED] Sent: 28 November 2004 16:39 To: CF-Talk Subject: Mx hanging no available threads I just update my jvm to 1.4.2_6 and installed new drivers. After running perfectly for about 4 days she hung up. I took a look in the default-err.log to find a bunch of these java.lang.RuntimeException: Request timed out waiting for an available thread to run. You may want to consider increasing the number of active threads in the thread pool. at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:125) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java :448 ) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.jav a:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Has anyone encountered issues like this before? gabe ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185501 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: Bug fix follow-up application
Hi, I like the look of this application, it appears to do almost everything that I to need. I have had no problems installing it and getting it running. For someone relatively new to Coldfusion the source code is very impressive informative. Just one thing, I need to make a little change to get it to completely fullfill my needs but I cannot seem to get any debug information displayed for these pages even though I have debugging switched on. Is there a setting on one of the pages that prevents this? Andy McShane Head of Development Scout7 Ltd, 324a Lichfield Road, Mere Green, Sutton Coldfield West Midlands United Kingdom B74 2UW Telephone: +44 (0)121 323 2640 Mobile : 07866 430783 Fax: +44 (0)121 323 2010 Email: mailto:[EMAIL PROTECTED] Website: www.scout7.com -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: 27 November 2004 15:10 To: CF-Talk Subject: Re: Bug fix follow-up application Paatrick, if James' suggestion doesn't help, you may want to contact me directly at [EMAIL PROTECTED] I have an update to Lighthouse coming out soon, but have yet to set up a forum for it like my other products. On Thu, 25 Nov 2004 10:22:30 -0500, CFDEV [EMAIL PROTECTED] wrote: Thanks.. It looks good.. I installed it on my developper machine without any problem but when I put it on our dev server which is confgirued differently with virtual directory in IIS, I map the tracker and put the apps in a folder I can and when I try to make it works it's kinda of in an infinity loop on index.cfm Any ideas? Thanks Patrick -Original Message- From: Jon Austin [mailto:[EMAIL PROTECTED] Sent: November 24, 2004 19:22 To: CF-Talk Subject: Re: Bug fix follow-up application Check out 'lighthouse' by Ray Camden. http://www.camdenfamily.com/morpheus/blog/ On Wed, 24 Nov 2004 16:41:14 -0500, CFDEV [EMAIL PROTECTED] wrote: Does anyone knows a good open source project of following bugs for software developement? preferably an application that is written in CF. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185502 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: Mx hanging no available threads
I didn't see this mentioned yet so I thought I'd mention that running a CF Application in a J2EE environment using a server cluster tends to do wonderful things for garbage collection. Essentially, one server in the cluster ends-up handling the garbage collection, thus allowing the other cluster members to continue servicing HTTP Requests without a significant performance degradation. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com Katz, Dov B (IT) wrote: With the metrics you've been doing, have you come to a conclusion as to how to avoid this? Are there better garbage collection flags to set up with CFMX than what's running by default? I've seen a death of my server, but it's ended up manifesting itself in arbitrary requests returning Jrun Connection Protocol Error, (some threads return that, others work just fine)... ultimately leading to a Cannot connect to the Jrun Server (when cfmx just dies out)... I have a pretty heavy load on the machine (600k hits a day or thereabouts) Any ideas would be appreciated... Dov Katz -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 4:26 AM To: CF-Talk Subject: RE: Mx hanging no available threads Hmmm, we have been doing some very intensive metrics on servers like these and what you are seeing it more than likely caused by Garbage Collection. What are the specs of the machines you are seeing this on? N -Original Message- From: gabriel l smallman [mailto:[EMAIL PROTECTED] Sent: 28 November 2004 16:39 To: CF-Talk Subject: Mx hanging no available threads I just update my jvm to 1.4.2_6 and installed new drivers. After running perfectly for about 4 days she hung up. I took a look in the default-err.log to find a bunch of these java.lang.RuntimeException: Request timed out waiting for an available thread to run. You may want to consider increasing the number of active threads in the thread pool. at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:125) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java :448 ) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.jav a:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Has anyone encountered issues like this before? gabe ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185503 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: Bug fix follow-up application
Hi, I like the look of this application, it appears to do almost everything that I to need. I have had no problems installing it and getting it running. For someone relatively new to Coldfusion the source code is very impressive informative. Just one thing, I need to make a little change to get it to completely fullfill my needs but I cannot seem to get any debug information displayed for these pages even though I have debugging switched on. Is there a setting on one of the pages that prevents this? Andy McShane Head of Development Scout7 Ltd, 324a Lichfield Road, Mere Green, Sutton Coldfield West Midlands United Kingdom B74 2UW Telephone: +44 (0)121 323 2640 Mobile : 07866 430783 Fax: +44 (0)121 323 2010 Email: mailto:[EMAIL PROTECTED] Website: www.scout7.com Please ignore this, Monday morning blues!. Trying to debug code on my local machine that is actually running on a different machine, doh! ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185504 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: Mx hanging no available threads
I have a couple machines with high load like you mention. I have just updated them all the latest jvm 1.4.2_6 And the new drivers mm suggests. 1 machine has run flawlessly for about 1 week, before it was tanking like every other day. The other had one blip after 4 days and now is looking good. I suspect from reading a lot of messages about this it is not an easy fix. I would try the updates and if you still have trouble its time to start the jrun logging and garbage collecting logging and get greasy under the hood. I have seen a lot of people tinkering with the jvm arguments, it appears that depending on your application they might be able to be optimized to fit your load. If you haven't don't those 2 updates I would do so asap, let me know how it goes gabe -Original Message- From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 7:14 AM To: CF-Talk Subject: RE: Mx hanging no available threads With the metrics you've been doing, have you come to a conclusion as to how to avoid this? Are there better garbage collection flags to set up with CFMX than what's running by default? I've seen a death of my server, but it's ended up manifesting itself in arbitrary requests returning Jrun Connection Protocol Error, (some threads return that, others work just fine)... ultimately leading to a Cannot connect to the Jrun Server (when cfmx just dies out)... I have a pretty heavy load on the machine (600k hits a day or thereabouts) Any ideas would be appreciated... Dov Katz -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 4:26 AM To: CF-Talk Subject: RE: Mx hanging no available threads Hmmm, we have been doing some very intensive metrics on servers like these and what you are seeing it more than likely caused by Garbage Collection. What are the specs of the machines you are seeing this on? N -Original Message- From: gabriel l smallman [mailto:[EMAIL PROTECTED] Sent: 28 November 2004 16:39 To: CF-Talk Subject: Mx hanging no available threads I just update my jvm to 1.4.2_6 and installed new drivers. After running perfectly for about 4 days she hung up. I took a look in the default-err.log to find a bunch of these java.lang.RuntimeException: Request timed out waiting for an available thread to run. You may want to consider increasing the number of active threads in the thread pool. at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:125) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java :448 ) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.jav a:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Has anyone encountered issues like this before? gabe ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185505 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
CF and Gantt charts
Dear list, I'd quite like to display Gantt charts in my project management application. Is there a way to do this? Would I need to use this Macromedia Flex thing I'm reading about? Kind regards, Chris. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185506 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: Mx hanging no available threads
That is quite cool, I assume the license for the j2ee edition is a bit more then the 1200 for the standard license? gabe -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 7:33 AM To: CF-Talk Subject: Re: Mx hanging no available threads I didn't see this mentioned yet so I thought I'd mention that running a CF Application in a J2EE environment using a server cluster tends to do wonderful things for garbage collection. Essentially, one server in the cluster ends-up handling the garbage collection, thus allowing the other cluster members to continue servicing HTTP Requests without a significant performance degradation. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com Katz, Dov B (IT) wrote: With the metrics you've been doing, have you come to a conclusion as to how to avoid this? Are there better garbage collection flags to set up with CFMX than what's running by default? I've seen a death of my server, but it's ended up manifesting itself in arbitrary requests returning Jrun Connection Protocol Error, (some threads return that, others work just fine)... ultimately leading to a Cannot connect to the Jrun Server (when cfmx just dies out)... I have a pretty heavy load on the machine (600k hits a day or thereabouts) Any ideas would be appreciated... Dov Katz -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 4:26 AM To: CF-Talk Subject: RE: Mx hanging no available threads Hmmm, we have been doing some very intensive metrics on servers like these and what you are seeing it more than likely caused by Garbage Collection. What are the specs of the machines you are seeing this on? N -Original Message- From: gabriel l smallman [mailto:[EMAIL PROTECTED] Sent: 28 November 2004 16:39 To: CF-Talk Subject: Mx hanging no available threads I just update my jvm to 1.4.2_6 and installed new drivers. After running perfectly for about 4 days she hung up. I took a look in the default-err.log to find a bunch of these java.lang.RuntimeException: Request timed out waiting for an available thread to run. You may want to consider increasing the number of active threads in the thread pool. at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:125) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.jav a :448 ) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.ja v a:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Has anyone encountered issues like this before? gabe ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185507 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: PostgreSQL database size
Jochem van Dieten wrote: PostgreSQL should be able to handle this without a problem on suitable hardware. Don't forget to check out the PostGIS project, it plugs GIS features right into PostgreSQL. yeah, it's pretty slick. i've been a long-long time user of commercial GIS database products (mainly arcSDE) and to be able to use cf to run spatial queries is pretty freaking fantastic: !--- find the province this point lies within --- cfquery name=findProvince datasource=postGIS SELECT provinceName FROM provinces WHERE CONTAINS(the_geom, GeometryFromText('POINT(100.65 13.85)') /cfquery and to top it off it can output results as SVG. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185508 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: Mx hanging no available threads
It is a twin 2.8 2 gigs of ram Win 2.3k Heap is set to min=750, max=1024 I suspected that and have noticed a lot of people tinkering with the collection items in the jvm arguments. I tried to follow the best practice I found on the forums boards from mm but was unable to get the mx server to restart after the updates. Have you guys been playing with arguments for better GC performance? gabe -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 4:26 AM To: CF-Talk Subject: RE: Mx hanging no available threads Hmmm, we have been doing some very intensive metrics on servers like these and what you are seeing it more than likely caused by Garbage Collection. What are the specs of the machines you are seeing this on? N -Original Message- From: gabriel l smallman [mailto:[EMAIL PROTECTED] Sent: 28 November 2004 16:39 To: CF-Talk Subject: Mx hanging no available threads I just update my jvm to 1.4.2_6 and installed new drivers. After running perfectly for about 4 days she hung up. I took a look in the default-err.log to find a bunch of these java.lang.RuntimeException: Request timed out waiting for an available thread to run. You may want to consider increasing the number of active threads in the thread pool. at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:125) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:448 ) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Has anyone encountered issues like this before? gabe ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185509 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: Mx hanging no available threads
you need the Enterprise license... I'm not sure what the pricing is off the top of my head, but yes, it's more than a standard license (and well-worth it if you need those features). ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com gabriel l smallman wrote: That is quite cool, I assume the license for the j2ee edition is a bit more then the 1200 for the standard license? gabe -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 7:33 AM To: CF-Talk Subject: Re: Mx hanging no available threads I didn't see this mentioned yet so I thought I'd mention that running a CF Application in a J2EE environment using a server cluster tends to do wonderful things for garbage collection. Essentially, one server in the cluster ends-up handling the garbage collection, thus allowing the other cluster members to continue servicing HTTP Requests without a significant performance degradation. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com Katz, Dov B (IT) wrote: With the metrics you've been doing, have you come to a conclusion as to how to avoid this? Are there better garbage collection flags to set up with CFMX than what's running by default? I've seen a death of my server, but it's ended up manifesting itself in arbitrary requests returning Jrun Connection Protocol Error, (some threads return that, others work just fine)... ultimately leading to a Cannot connect to the Jrun Server (when cfmx just dies out)... I have a pretty heavy load on the machine (600k hits a day or thereabouts) Any ideas would be appreciated... Dov Katz -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 4:26 AM To: CF-Talk Subject: RE: Mx hanging no available threads Hmmm, we have been doing some very intensive metrics on servers like these and what you are seeing it more than likely caused by Garbage Collection. What are the specs of the machines you are seeing this on? N -Original Message- From: gabriel l smallman [mailto:[EMAIL PROTECTED] Sent: 28 November 2004 16:39 To: CF-Talk Subject: Mx hanging no available threads I just update my jvm to 1.4.2_6 and installed new drivers. After running perfectly for about 4 days she hung up. I took a look in the default-err.log to find a bunch of these java.lang.RuntimeException: Request timed out waiting for an available thread to run. You may want to consider increasing the number of active threads in the thread pool. at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:125) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.jav a :448 ) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.ja v a:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Has anyone encountered issues like this before? gabe ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185510 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: CF and Gantt charts
Gantt charts are a bit beyond what you can do with CFCHART. I've recently presented about (at mini MAX) and written a prototype Gantt chart custom tag API. There will also be an article about it in the January issue of CFDJ. I plan to make the code available after I've tidied it up a bit (remember - I just built a prototype though it is very flexible for one) but if you want to email me off-list, I'll gladly send you a copy toplay with. Due to the cost and time requirements, I implemented SVG for the API. I would have prefered Flash Gantt Charts, but there was no time to develop a generic Flash SWF to render them. In the future, a Flash SWF that parses SVG XML could easily be written to use the API. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com Christian Kavanagh wrote: Dear list, I'd quite like to display Gantt charts in my project management application. Is there a way to do this? Would I need to use this Macromedia Flex thing I'm reading about? Kind regards, Chris. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185511 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: Opening files on your system
Christian Kavanagh wrote: Yeah? So is there a native way in CF for the user to browse to a file on their machine (or LAN), and select it? Try using an INPUT TYPE=FILE, and use some javascript to copy it's value to an INPUT TYPE=HIDDEN on submit. You could also clear the file input with javascript, and that might avoid the unnecessary file upload. Also, loading the file on click: is there a way to do that in CF, or should I be looking at that as a browser function? a href=#related_file_1##related_file_1#/a Just tested that, it works quite nicely in IE, which converted it to a file:// url. However, Firefox did not. Perhaps you could manufacture a valid file:// url somehow.. I tried a few different things in firefox but they didn't work. Or maybe you don't care about non-IE browsers. Good luck! Hope this helps. Rick ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185512 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
Dilbert tag
Since going to Windows 2003 with IIS v6 and CFX6.1 I cannot get the Dilbert tag created by B. Peter Amiri to save a .gif file to my server. The same tag works on CF5 and Win 2000 Webserver. Does anyone know what the problem is? Jim Watkins Vice President of Technology Institutional Services ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185513 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: Mx hanging no available threads
You can always do such things, but without extensive testing of your total setup you might end up with two machines being collapsed. That mentioned dual Xeon 2.8 and those 2 gigs of ram should be sufficient for the average medium volume website unless it contains a lot of crappy code. I don't think you end up happy with an extra instance, I'd suggest you look at the logs and performance counters to see what happens with your server. Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185514 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: Mx hanging no available threads
Hey Simon, Yeah you mentioned this the other night in London but things went a bit awry before I could ask you something ;-) OK, with this theory, is this machine which does the Garbage Collection nominated? If it was, you could simply get a chunky machine to do all that. N -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED] Sent: 29 November 2004 12:33 To: CF-Talk Subject: Re: Mx hanging no available threads I didn't see this mentioned yet so I thought I'd mention that running a CF Application in a J2EE environment using a server cluster tends to do wonderful things for garbage collection. Essentially, one server in the cluster ends-up handling the garbage collection, thus allowing the other cluster members to continue servicing HTTP Requests without a significant performance degradation. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com Katz, Dov B (IT) wrote: With the metrics you've been doing, have you come to a conclusion as to how to avoid this? Are there better garbage collection flags to set up with CFMX than what's running by default? I've seen a death of my server, but it's ended up manifesting itself in arbitrary requests returning Jrun Connection Protocol Error, (some threads return that, others work just fine)... ultimately leading to a Cannot connect to the Jrun Server (when cfmx just dies out)... I have a pretty heavy load on the machine (600k hits a day or thereabouts) Any ideas would be appreciated... Dov Katz -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 4:26 AM To: CF-Talk Subject: RE: Mx hanging no available threads Hmmm, we have been doing some very intensive metrics on servers like these and what you are seeing it more than likely caused by Garbage Collection. What are the specs of the machines you are seeing this on? N -Original Message- From: gabriel l smallman [mailto:[EMAIL PROTECTED] Sent: 28 November 2004 16:39 To: CF-Talk Subject: Mx hanging no available threads I just update my jvm to 1.4.2_6 and installed new drivers. After running perfectly for about 4 days she hung up. I took a look in the default-err.log to find a bunch of these java.lang.RuntimeException: Request timed out waiting for an available thread to run. You may want to consider increasing the number of active threads in the thread pool. at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:125) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java :448 ) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.jav a:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Has anyone encountered issues like this before? gabe ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185515 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: Mx hanging no available threads
Well, we ran lots of custom build Memory management tools to monitor our memory consumption and also ran JVMStat to monitor how well it performs when it does do a Garbage Collection. -Original Message- From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED] Sent: 29 November 2004 12:14 To: CF-Talk Subject: RE: Mx hanging no available threads With the metrics you've been doing, have you come to a conclusion as to how to avoid this? Are there better garbage collection flags to set up with CFMX than what's running by default? I've seen a death of my server, but it's ended up manifesting itself in arbitrary requests returning Jrun Connection Protocol Error, (some threads return that, others work just fine)... ultimately leading to a Cannot connect to the Jrun Server (when cfmx just dies out)... I have a pretty heavy load on the machine (600k hits a day or thereabouts) Any ideas would be appreciated... Dov Katz -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 4:26 AM To: CF-Talk Subject: RE: Mx hanging no available threads Hmmm, we have been doing some very intensive metrics on servers like these and what you are seeing it more than likely caused by Garbage Collection. What are the specs of the machines you are seeing this on? N -Original Message- From: gabriel l smallman [mailto:[EMAIL PROTECTED] Sent: 28 November 2004 16:39 To: CF-Talk Subject: Mx hanging no available threads I just update my jvm to 1.4.2_6 and installed new drivers. After running perfectly for about 4 days she hung up. I took a look in the default-err.log to find a bunch of these java.lang.RuntimeException: Request timed out waiting for an available thread to run. You may want to consider increasing the number of active threads in the thread pool. at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:125) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java :448 ) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.jav a:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Has anyone encountered issues like this before? gabe ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185516 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: Mx hanging no available threads
Can you post your JVM Arguments here, so we can take a better look. -Original Message- From: gabriel l smallman [mailto:[EMAIL PROTECTED] Sent: 29 November 2004 13:44 To: CF-Talk Subject: RE: Mx hanging no available threads It is a twin 2.8 2 gigs of ram Win 2.3k Heap is set to min=750, max=1024 I suspected that and have noticed a lot of people tinkering with the collection items in the jvm arguments. I tried to follow the best practice I found on the forums boards from mm but was unable to get the mx server to restart after the updates. Have you guys been playing with arguments for better GC performance? gabe -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 4:26 AM To: CF-Talk Subject: RE: Mx hanging no available threads Hmmm, we have been doing some very intensive metrics on servers like these and what you are seeing it more than likely caused by Garbage Collection. What are the specs of the machines you are seeing this on? N -Original Message- From: gabriel l smallman [mailto:[EMAIL PROTECTED] Sent: 28 November 2004 16:39 To: CF-Talk Subject: Mx hanging no available threads I just update my jvm to 1.4.2_6 and installed new drivers. After running perfectly for about 4 days she hung up. I took a look in the default-err.log to find a bunch of these java.lang.RuntimeException: Request timed out waiting for an available thread to run. You may want to consider increasing the number of active threads in the thread pool. at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:125) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:448 ) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Has anyone encountered issues like this before? gabe ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185517 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: Powerpoint Penetration
Does anyone have any numbers on the market penetration of MS Office / Powerpoint? -Adam ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185518 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: Powerpoint Penetration
Well, Office is undoubtedly got the market and I would assume that logicall you can assume Powerpoint is as well.. -Original Message- From: Adrocknaphobia [mailto:[EMAIL PROTECTED] Sent: 29 November 2004 14:57 To: CF-Talk Subject: OT: Powerpoint Penetration Does anyone have any numbers on the market penetration of MS Office / Powerpoint? -Adam ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185519 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: Powerpoint Penetration
Well, Office is undoubtedly got the market and I would assume that logicall you can assume Powerpoint is as well.. That's a poor assumption to make. In my experience most corporate users have Office installed but not the Powerpoint software. Partly that's because PowerPoint isn't part of standard office, partly because most staff don't have a need for it so it doesn't get purchased/installed for them. I'd recommend searching the MS site for stats. - Regards, Bob Haroche O n P o i n t S o l u t i o n s www.OnPointSolutions.com ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185520 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: Powerpoint Penetration
i dug around on MS for some stats but couldn't find any. In the UK lots of companies are ditching MS Office in preference of Star office/Open office - they still maintain compatibility and plus there's an MS Powerpoint viewer if you don't have it installed, jb. On Mon, 29 Nov 2004 07:18:30 -0800, Bob Haroche [EMAIL PROTECTED] wrote: Well, Office is undoubtedly got the market and I would assume that logicall you can assume Powerpoint is as well.. That's a poor assumption to make. In my experience most corporate users have Office installed but not the Powerpoint software. Partly that's because PowerPoint isn't part of standard office, partly because most staff don't have a need for it so it doesn't get purchased/installed for them. I'd recommend searching the MS site for stats. - Regards, Bob Haroche O n P o i n t S o l u t i o n s www.OnPointSolutions.com ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185521 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: Powerpoint Penetration
Adrocknaphobia wrote: Does anyone have any numbers on the market penetration of MS Office / Powerpoint? No. The only anecdote I have is that I replaced it with OpenOffice more then a year ago, and that I have recently discovered S5 which I like even more for simple presentations: http://www.meyerweb.com/eric/tools/s5/ Jochem ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185522 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: MX Methodologies (Mach2?? Fusebox??)
Thanks Sean, And thanks to everyone else that has posted in this thread. I really like Fusebox 4, and have been able to start converting my apps to that. Now that I have the hang of that, I am able to at least read the Mach-II code and understand it a little better. Thanks for all the links and info you posted, it's all beginning to make a lot more sense now. I think I might check out the books you recommend on your site. Ali On Thu, 18 Nov 2004 16:56:43 -0400, Ali Awan [EMAIL PROTECTED] wrote: I'm still pretty fuzzy on the whole thing. I still can't figure out how to define listeners and events, in a way that makes sense for the applications I write and work on. Perhaps the story of my migration from FB3 to Mach II will help you? http://www.corfield.org/index.cfm?event=machiirewrite For now I'll probably stick to Fusebox 4, and troll the lists you mentioned to see if I get struck by lightning and it all makes sense to me :) Well, that's certainly a good approach if you're not really comfortable with the whole OO thing... and I think Fusebox 4.1 is a great framework to use, BTW. -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 1 invite If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185523 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: MX Methodologies (Mach2?? Fusebox??)
It might help to note that many of the same principles of OO development with CFCs can be applied using Fusebox 4 as well as Mach-II. People are starting to build fully abstracted object models with CFCs. When they're built correctly, you can take that object model and use it with Mach-II or Fusebox 4 (or both) without much effort. The only thing that changes is the bridge between the framework and the object model. In Mach-II, this bridge is the Listener. In Fusebox, it is often a set of application-scoped manager CFCs that take calls from the framework and feed them to your business model CFCs. I guess the point is, you can start honing your OO skills within Fusebox 4 and then whenever you feel like it give Mach-II a try. On Mon, 29 Nov 2004 10:32:40 -0400, Ali Awan [EMAIL PROTECTED] wrote: Thanks Sean, And thanks to everyone else that has posted in this thread. I really like Fusebox 4, and have been able to start converting my apps to that. Now that I have the hang of that, I am able to at least read the Mach-II code and understand it a little better. Thanks for all the links and info you posted, it's all beginning to make a lot more sense now. I think I might check out the books you recommend on your site. Ali On Thu, 18 Nov 2004 16:56:43 -0400, Ali Awan [EMAIL PROTECTED] wrote: I'm still pretty fuzzy on the whole thing. I still can't figure out how to define listeners and events, in a way that makes sense for the applications I write and work on. Perhaps the story of my migration from FB3 to Mach II will help you? http://www.corfield.org/index.cfm?event=machiirewrite For now I'll probably stick to Fusebox 4, and troll the lists you mentioned to see if I get struck by lightning and it all makes sense to me :) Well, that's certainly a good approach if you're not really comfortable with the whole OO thing... and I think Fusebox 4.1 is a great framework to use, BTW. -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 1 invite If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185524 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: MX Methodologies (Mach2?? Fusebox??)
Did you check out the OnTap framework? http://www.fusiontap.com/docs/index.cfm Ali Awan wrote: Thanks Sean, And thanks to everyone else that has posted in this thread. I really like Fusebox 4, and have been able to start converting my apps to that. Now that I have the hang of that, I am able to at least read the Mach-II code and understand it a little better. Thanks for all the links and info you posted, it's all beginning to make a lot more sense now. I think I might check out the books you recommend on your site. Ali ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185525 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
unable to create new native thread?
I'm getting this error unable to create new native thread not the java.lang.OutOfMemoryError: unable to create new native thread. Maybe they are the same? Regardless, I can't figure out what is causing it or how to fix it. I made sure the server is patched but I still get the error. -- Phillip B. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185526 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: Mx hanging no available threads
as far as I know, no, you can't designate one server instance to do this - though it'd be nice... in practice it's something the cluster manager handles. But I've seen it first-hand in practice and have seen the stats shown in MM presentations as well. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com Robertson-Ravo, Neil (RX) wrote: Hey Simon, Yeah you mentioned this the other night in London but things went a bit awry before I could ask you something ;-) OK, with this theory, is this machine which does the Garbage Collection nominated? If it was, you could simply get a chunky machine to do all that. N -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED] Sent: 29 November 2004 12:33 To: CF-Talk Subject: Re: Mx hanging no available threads I didn't see this mentioned yet so I thought I'd mention that running a CF Application in a J2EE environment using a server cluster tends to do wonderful things for garbage collection. Essentially, one server in the cluster ends-up handling the garbage collection, thus allowing the other cluster members to continue servicing HTTP Requests without a significant performance degradation. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com Katz, Dov B (IT) wrote: With the metrics you've been doing, have you come to a conclusion as to how to avoid this? Are there better garbage collection flags to set up with CFMX than what's running by default? I've seen a death of my server, but it's ended up manifesting itself in arbitrary requests returning Jrun Connection Protocol Error, (some threads return that, others work just fine)... ultimately leading to a Cannot connect to the Jrun Server (when cfmx just dies out)... I have a pretty heavy load on the machine (600k hits a day or thereabouts) Any ideas would be appreciated... Dov Katz -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 4:26 AM To: CF-Talk Subject: RE: Mx hanging no available threads Hmmm, we have been doing some very intensive metrics on servers like these and what you are seeing it more than likely caused by Garbage Collection. What are the specs of the machines you are seeing this on? N -Original Message- From: gabriel l smallman [mailto:[EMAIL PROTECTED] Sent: 28 November 2004 16:39 To: CF-Talk Subject: Mx hanging no available threads I just update my jvm to 1.4.2_6 and installed new drivers. After running perfectly for about 4 days she hung up. I took a look in the default-err.log to find a bunch of these java.lang.RuntimeException: Request timed out waiting for an available thread to run. You may want to consider increasing the number of active threads in the thread pool. at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:125) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java :448 ) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.jav a:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Has anyone encountered issues like this before? gabe ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185527 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: Mx hanging no available threads
Hmmm, yeah it would be nice, in fact it would be better than nicebut in stats shmatsreal-world examples of Java output graphs showing true Garbage Collection metrics is what we need ;-) -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED] Sent: 29 November 2004 16:51 To: CF-Talk Subject: Re: Mx hanging no available threads as far as I know, no, you can't designate one server instance to do this - though it'd be nice... in practice it's something the cluster manager handles. But I've seen it first-hand in practice and have seen the stats shown in MM presentations as well. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com Robertson-Ravo, Neil (RX) wrote: Hey Simon, Yeah you mentioned this the other night in London but things went a bit awry before I could ask you something ;-) OK, with this theory, is this machine which does the Garbage Collection nominated? If it was, you could simply get a chunky machine to do all that. N -Original Message- From: Simon Horwith [mailto:[EMAIL PROTECTED] Sent: 29 November 2004 12:33 To: CF-Talk Subject: Re: Mx hanging no available threads I didn't see this mentioned yet so I thought I'd mention that running a CF Application in a J2EE environment using a server cluster tends to do wonderful things for garbage collection. Essentially, one server in the cluster ends-up handling the garbage collection, thus allowing the other cluster members to continue servicing HTTP Requests without a significant performance degradation. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com Katz, Dov B (IT) wrote: With the metrics you've been doing, have you come to a conclusion as to how to avoid this? Are there better garbage collection flags to set up with CFMX than what's running by default? I've seen a death of my server, but it's ended up manifesting itself in arbitrary requests returning Jrun Connection Protocol Error, (some threads return that, others work just fine)... ultimately leading to a Cannot connect to the Jrun Server (when cfmx just dies out)... I have a pretty heavy load on the machine (600k hits a day or thereabouts) Any ideas would be appreciated... Dov Katz -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 4:26 AM To: CF-Talk Subject: RE: Mx hanging no available threads Hmmm, we have been doing some very intensive metrics on servers like these and what you are seeing it more than likely caused by Garbage Collection. What are the specs of the machines you are seeing this on? N -Original Message- From: gabriel l smallman [mailto:[EMAIL PROTECTED] Sent: 28 November 2004 16:39 To: CF-Talk Subject: Mx hanging no available threads I just update my jvm to 1.4.2_6 and installed new drivers. After running perfectly for about 4 days she hung up. I took a look in the default-err.log to find a bunch of these java.lang.RuntimeException: Request timed out waiting for an available thread to run. You may want to consider increasing the number of active threads in the thread pool. at jrunx.scheduler.ThreadPool$Throttle.enter(ThreadPool.java:125) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java :448 ) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.jav a:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Has anyone encountered issues like this before? gabe ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185528 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: MX Methodologies (Mach2?? Fusebox??)
I only feel it's my duty to mention that you can still develop CF Apps in a timely menner without the use of FB or MACH II that do utilize proper OO techniques... and that perform better, as well. I don't want to open a can of worms here, but thought I'd point it out. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com Brian Kotek wrote: It might help to note that many of the same principles of OO development with CFCs can be applied using Fusebox 4 as well as Mach-II. People are starting to build fully abstracted object models with CFCs. When they're built correctly, you can take that object model and use it with Mach-II or Fusebox 4 (or both) without much effort. The only thing that changes is the bridge between the framework and the object model. In Mach-II, this bridge is the Listener. In Fusebox, it is often a set of application-scoped manager CFCs that take calls from the framework and feed them to your business model CFCs. I guess the point is, you can start honing your OO skills within Fusebox 4 and then whenever you feel like it give Mach-II a try. On Mon, 29 Nov 2004 10:32:40 -0400, Ali Awan [EMAIL PROTECTED] wrote: Thanks Sean, And thanks to everyone else that has posted in this thread. I really like Fusebox 4, and have been able to start converting my apps to that. Now that I have the hang of that, I am able to at least read the Mach-II code and understand it a little better. Thanks for all the links and info you posted, it's all beginning to make a lot more sense now. I think I might check out the books you recommend on your site. Ali On Thu, 18 Nov 2004 16:56:43 -0400, Ali Awan [EMAIL PROTECTED] wrote: I'm still pretty fuzzy on the whole thing. I still can't figure out how to define listeners and events, in a way that makes sense for the applications I write and work on. Perhaps the story of my migration from FB3 to Mach II will help you? http://www.corfield.org/index.cfm?event=machiirewrite For now I'll probably stick to Fusebox 4, and troll the lists you mentioned to see if I get struck by lightning and it all makes sense to me :) Well, that's certainly a good approach if you're not really comfortable with the whole OO thing... and I think Fusebox 4.1 is a great framework to use, BTW. -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 1 invite If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185529 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
Corrupt form data:premature ending
All, Anyone seen the attached error before? Google not being as helpful as I want it to be. CFMX 6.1 Win2k professional All updates etc cheers Simon ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185530 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: Corrupt form data:premature ending
Attachments not allowed...stick it in the message ;-) 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 ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185531 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: MX Methodologies (Mach2?? Fusebox??)
Naturally, as with any programming decision there is a tradeoff. In my experience, unless you have a very specific performance requirement, the benefits of a framework in terms of maintainability, standardization, and team development outweigh the very small performance hit. That said, of course Simon is correct. A well-designed object model will work just fine with Fusebox, Mach-II, some other framework, or no framework at all. On Mon, 29 Nov 2004 16:55:03 +, Simon Horwith [EMAIL PROTECTED] wrote: I only feel it's my duty to mention that you can still develop CF Apps in a timely menner without the use of FB or MACH II that do utilize proper OO techniques... and that perform better, as well. I don't want to open a can of worms here, but thought I'd point it out. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com Brian Kotek wrote: It might help to note that many of the same principles of OO development with CFCs can be applied using Fusebox 4 as well as Mach-II. People are starting to build fully abstracted object models with CFCs. When they're built correctly, you can take that object model and use it with Mach-II or Fusebox 4 (or both) without much effort. The only thing that changes is the bridge between the framework and the object model. In Mach-II, this bridge is the Listener. In Fusebox, it is often a set of application-scoped manager CFCs that take calls from the framework and feed them to your business model CFCs. I guess the point is, you can start honing your OO skills within Fusebox 4 and then whenever you feel like it give Mach-II a try. On Mon, 29 Nov 2004 10:32:40 -0400, Ali Awan [EMAIL PROTECTED] wrote: Thanks Sean, And thanks to everyone else that has posted in this thread. I really like Fusebox 4, and have been able to start converting my apps to that. Now that I have the hang of that, I am able to at least read the Mach-II code and understand it a little better. Thanks for all the links and info you posted, it's all beginning to make a lot more sense now. I think I might check out the books you recommend on your site. Ali On Thu, 18 Nov 2004 16:56:43 -0400, Ali Awan [EMAIL PROTECTED] wrote: I'm still pretty fuzzy on the whole thing. I still can't figure out how to define listeners and events, in a way that makes sense for the applications I write and work on. Perhaps the story of my migration from FB3 to Mach II will help you? http://www.corfield.org/index.cfm?event=machiirewrite For now I'll probably stick to Fusebox 4, and troll the lists you mentioned to see if I get struck by lightning and it all makes sense to me :) Well, that's certainly a good approach if you're not really comfortable with the whole OO thing... and I think Fusebox 4.1 is a great framework to use, BTW. -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 1 invite If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185532 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: MX Methodologies (Mach2?? Fusebox??)
I agree On Mon, 29 Nov 2004 16:55:03 +, Simon Horwith [EMAIL PROTECTED] wrote: I only feel it's my duty to mention that you can still develop CF Apps in a timely menner without the use of FB or MACH II that do utilize proper OO techniques... and that perform better, as well. I don't want to open a can of worms here, but thought I'd point it out. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com Brian Kotek wrote: It might help to note that many of the same principles of OO development with CFCs can be applied using Fusebox 4 as well as Mach-II. People are starting to build fully abstracted object models with CFCs. When they're built correctly, you can take that object model and use it with Mach-II or Fusebox 4 (or both) without much effort. The only thing that changes is the bridge between the framework and the object model. In Mach-II, this bridge is the Listener. In Fusebox, it is often a set of application-scoped manager CFCs that take calls from the framework and feed them to your business model CFCs. I guess the point is, you can start honing your OO skills within Fusebox 4 and then whenever you feel like it give Mach-II a try. On Mon, 29 Nov 2004 10:32:40 -0400, Ali Awan [EMAIL PROTECTED] wrote: Thanks Sean, And thanks to everyone else that has posted in this thread. I really like Fusebox 4, and have been able to start converting my apps to that. Now that I have the hang of that, I am able to at least read the Mach-II code and understand it a little better. Thanks for all the links and info you posted, it's all beginning to make a lot more sense now. I think I might check out the books you recommend on your site. Ali On Thu, 18 Nov 2004 16:56:43 -0400, Ali Awan [EMAIL PROTECTED] wrote: I'm still pretty fuzzy on the whole thing. I still can't figure out how to define listeners and events, in a way that makes sense for the applications I write and work on. Perhaps the story of my migration from FB3 to Mach II will help you? http://www.corfield.org/index.cfm?event=machiirewrite For now I'll probably stick to Fusebox 4, and troll the lists you mentioned to see if I get struck by lightning and it all makes sense to me :) Well, that's certainly a good approach if you're not really comfortable with the whole OO thing... and I think Fusebox 4.1 is a great framework to use, BTW. -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 1 invite If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185533 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: MX Methodologies (Mach2?? Fusebox??)
Simon, Thanks for your input. I do believe you are right. However, the company I work for is looking to adopt a widely used methodology, so that we can implement some sort of best practices and maintain consistency amongst our developers and applications. Since I was familiar with Fusebox that seemed the natural way for me to go, and then I took a look at Mach-II and that seemed even better. Then my next logical step was to get familiar with them as much as possible and see which one to adopt and then start converting our CF5 apps over. So I turned to my respected friends an colleagues on this list to aid me in this endeavor :) So far I am quite pleased at how this discussion is turning out. Cheers! I only feel it's my duty to mention that you can still develop CF Apps in a timely menner without the use of FB or MACH II that do utilize proper OO techniques... and that perform better, as well. I don't want to open a can of worms here, but thought I'd point it out. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com Brian Kotek wrote: ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185534 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: MX Methodologies (Mach2?? Fusebox??)
Naturally, as with any programming decision there is a tradeoff. In my experience, unless you have a very specific performance requirement, the benefits of a framework in terms of maintainability, standardization, and team development outweigh the very small performance hit. That said, of course Simon is correct. A well-designed object model will work just fine with Fusebox, Mach-II, some other framework, or no framework at all. On Mon, 29 Nov 2004 16:55:03 +, Simon Horwith [EMAIL PROTECTED] wrote: I only feel it's my duty to mention that you can still develop CF Apps in a timely menner without the use of FB or MACH II that do utilize proper OO techniques... and that perform better, as well. I don't want to open a can of worms here, but thought I'd point it out. ~Simon ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185535 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: MX Methodologies (Mach2?? Fusebox??)
Sorry for the duplicate post...the listserver scolded me for not trimming previous replies so I thought the message hadn't gone through. On Mon, 29 Nov 2004 12:15:55 -0500, Brian Kotek [EMAIL PROTECTED] wrote: Naturally, as with any programming decision there is a tradeoff. In my experience, unless you have a very specific performance requirement, the benefits of a framework in terms of maintainability, standardization, and team development outweigh the very small performance hit. That said, of course Simon is correct. A well-designed object model will work just fine with Fusebox, Mach-II, some other framework, or no framework at all. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185536 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
updater versions
What's the easiest way to determine the updater status of a cfmx installation? In the system information I have: Server Product ColdFusion MX Version 6,1,0,hf54464_61 Edition Standard Which would indicate 6.1 with a hf 54464_61 (which I cannot find on the MM site). I'd like to know what updater (if any) has been run and what hot fixes (if any) have been run post updater. Is there a log somewhere? -Mark Mark A. Kruger, CFG, MSCE www.cfwebtools.com www.necfug.com http://blog.mxconsulting.com ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185537 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: ColdFusion page with .asp extension???
The .asp filter in CF is catching it everywhere, even on the site without the mapping in IIS. You'll have to disconnect CF from the site that uses real ASP. I'm not an IIS guru, so I don't know how to do it, or even if it's possible. cheers, barneyb On Sat, 27 Nov 2004 20:19:48 -0500, Johnny Le [EMAIL PROTECTED] wrote: Hi, I am using IIS 6. I have one ASP site, and now I have a ColdFusion site. However, the ColdFusion pages needs to have extension .asp. So I went to the Mappings tab in the IIS to give .asp extension the ColdFusion dll. I also went to ColdFusion's web.xml to add the .asp extension in. Everything works well. The ASP pages now process as ColdFusion pages. One problem: all the real asp pages now don't work even though I separated them as two different sites in the IIS. So my question is: Is there a way to separate the two sites? One site processes the real asp pages. The other site processes the ColdFusion .asp pages? Thanks. Johnny -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/blog/ ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185538 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-looking for some packages
Looking for some asp based community type packages to bolt on to our website. Looking for soemthing that offers polls and surveys, blogs, submit questions, search engine capabilities, calander of events, quiz and tests. This may not be something in an all enclusive package so if you know of pieces of the package that can be easily put together I would appreciate it as well. Eric ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185539 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: CF and Gantt charts
In the future, a Flash SWF that parses SVG XML could easily be written to use the API. Is any such thing available anywhere? I'd LOVE to be able to display SVG in Flash format, and have been looking for this type of thing for at least a couple years, but to no avail. cheers, barneyb On Mon, 29 Nov 2004 13:50:45 +, Simon Horwith [EMAIL PROTECTED] wrote: Gantt charts are a bit beyond what you can do with CFCHART. I've recently presented about (at mini MAX) and written a prototype Gantt chart custom tag API. There will also be an article about it in the January issue of CFDJ. I plan to make the code available after I've tidied it up a bit (remember - I just built a prototype though it is very flexible for one) but if you want to email me off-list, I'll gladly send you a copy toplay with. Due to the cost and time requirements, I implemented SVG for the API. I would have prefered Flash Gantt Charts, but there was no time to develop a generic Flash SWF to render them. In the future, a Flash SWF that parses SVG XML could easily be written to use the API. ~Simon Simon Horwith -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/blog/ ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185540 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
Best way to access CFC's?
Starting to update a site by converting code to CFC's, anyone have any thoughts on what is the best or most efficient way to access a CFC? Is it better to use CFInvoke or should I use CreateObject? Which method is better and why? ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185541 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: MX Methodologies (Mach2?? Fusebox??)
Are you converting them to just learn the methodology so that you can apply it to new applications or for some other reason? Just curious as to why the need to convert already running applications. -- Aaron Rouse http://www.happyhacker.com/ On Mon, 29 Nov 2004 12:22:15 -0400, Ali Awan [EMAIL PROTECTED] wrote: Then my next logical step was to get familiar with them as much as possible and see which one to adopt and then start converting our CF5 apps over. So I turned to my respected friends an colleagues on this list to aid me in this endeavor :) ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185542 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
CF 6.1 on Linux
I just installed 6.1 on a Mandrake 10 server. This isn't the first mandrake server I have done this on. The install went fine, all of the files appear to be in order, but when I give the command to start cf, I get this Error: could not find libjava.so Error: could not find JRE Error: could not find Java 2 Runtime Environment. So I went to /opt/coldfusionmx/runtime/jre/lib/i386/ and libjava.so is there, along with all of the other java related files. So then I checked /opt/coldfusionmx/runtime/bin/jvm.config for its java.home setting, and that is set to java.home=/opt/coldfusionmx/runtime/jre And that appears to be fine. Is there something else I can check for? Thanks, JB ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185543 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
Browser Session spawn
Application: An application where you can administer a number of companies and their users. The issues: You login to Company1 and click on User1 opening a different window. Now you need to open User2 from Company2. So in the Company1 browser you go to Company2 while leaving User1 window open. Now you open up User2 with its own set of session variables. So you now have: Original window has Company2 session variables. AND User1 window has its own session variables AND User2 window has its own session variables. Should I not be able to use any one of those windows sessions independently of each other? User1 window is of course trying to use User2 session variables. And we cant have User1 accessing any of User2's session variables. Can someone let me know how I can get CF server to dole out another session to a spawned window that will allow 2 even 3 sessions on the same box. Is this at all possible? Thanks in advance, GCruz ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185544 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: Best way to access CFC's?
On Mon, 29 Nov 2004 12:39:35 -0400, Andy Mcshane [EMAIL PROTECTED] wrote: Starting to update a site by converting code to CFC's, anyone have any thoughts on what is the best or most efficient way to access a CFC? Is it better to use CFInvoke or should I use CreateObject? Which method is better and why? They're effectively the same thing, except you'd use createObject if you're a cfscript fan and the tag-based cfinvoke if you're not. If you are new or relatively new to CFCs, be sure to check out this document which is a community-driven best practices document for working with them: http://www.dintenfass.com/cfcbestpractices/ Regards, Dave. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185545 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
Disabled server options question
Hello, I'm currently working on a small project with CF 6.1, the server is a shared hosting environment. Is there any server variable that would show me if any functions or tags are disabled? Or is the phone call the only way to go? Thanks, -- Yves Arsenault ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185546 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: updater versions
On Mon, 29 Nov 2004 11:32:03 -0600, Mark A Kruger [EMAIL PROTECTED] wrote: What's the easiest way to determine the updater status of a cfmx installation? In the system information I have: Server Product ColdFusion MX Version 6,1,0,hf54464_61 Edition Standard Which would indicate 6.1 with a hf 54464_61 (which I cannot find on the MM site). I'd like to know what updater (if any) has been run and what hot fixes (if any) have been run post updater. Is there a log somewhere? Well, the latest version is 6,1,0,83762 (officially: ColdFusion MX with Updater 1). You can log in to the Administrator and click on the System Information link along the top navigation bar to get more details. Your version has a hotfix in the classpath. Before we upgraded to U1, we had a version like yours (because of a session replication hotfix that was distributed to us). However, if you install U1, then you should remove all previous hotfixes from your /servers/lib directory and any other places in your classpath because the rollup contains them. After that, you should check out the URL below to apply the 3 new hotfixes issues since the U1 release (though I would be extremely careful about the 10/19 hotfix -- it only applies if you're using JRun 4 Updater 3): http://www.macromedia.com/support/coldfusion/ts/documents/tn17883.htm Hope this helps? Regards, Dave. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185547 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
Error page when CFMX is down?
Is there any way to have the ColdFusion MX server or IIS display a generic error page if the ColdFusion task is not started or is not responding? I'm not really sure it is, but I wanted to check with the experts first before dismissing the idea. Thanks. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185548 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
Licensing a CF app
Hi, I have a client whose application we have developed over the past three years. It operates as a web-based services for his customers, taking data entry and displaying calculated analysis of the data. He now has a customer who, for security reasons, wishes to have a private installation of the application running on the customer's own network. My client has asked me if there is any way we can secure his application, meaning Can we make it like a compiled desktop app that can't work without a license key, and can be timed out after a year -- both so it cannot be copied and so, if the customer does not pay his yearly licensing fee, the application could be disabled. Since this a ColdFusion app, I know that there is no way to truly secure it in the manner he wishes. But I wondered if anyone on the list had any similar experiences, or any thoughts on securing it to some extent. -- Thanks, Tom Tom McNeer MediumCool A Marketing, Creative and Construction Company for the World Wide Web 530 Means St NW, Suite 110 Atlanta, GA 30318 404-589-0560 FAX 404-589-0510 http://www.mediumcool.com ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185549 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: MX Methodologies (Mach2?? Fusebox??)
But I though FuseBox 4 and FuseDoc files were supposed to make your apps faster, particularly because you put your queries in a file that ends with .QRY. Not to mention putting your HTML in .DSP files..this will really start to heat up the compartmentalization factor in your application architecture. -- Alex Simon Horwith wrote: I only feel it's my duty to mention that you can still develop CF Apps in a timely menner without the use of FB or MACH II that do utilize proper OO techniques... and that perform better, as well. I don't want to open a can of worms here, but thought I'd point it out. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185550 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: Licensing a CF app
Check out New Atlanta's blue dragon, I believe you can do it with this currently. I think the new version of Coldfusion will let you create compiled versions of an application that you can licence Regards Mark Drew On Mon, 29 Nov 2004 13:05:49 -0500, Tom McNeer [EMAIL PROTECTED] wrote: Hi, I have a client whose application we have developed over the past three years. It operates as a web-based services for his customers, taking data entry and displaying calculated analysis of the data. He now has a customer who, for security reasons, wishes to have a private installation of the application running on the customer's own network. My client has asked me if there is any way we can secure his application, meaning Can we make it like a compiled desktop app that can't work without a license key, and can be timed out after a year -- both so it cannot be copied and so, if the customer does not pay his yearly licensing fee, the application could be disabled. Since this a ColdFusion app, I know that there is no way to truly secure it in the manner he wishes. But I wondered if anyone on the list had any similar experiences, or any thoughts on securing it to some extent. -- Thanks, Tom Tom McNeer MediumCool A Marketing, Creative and Construction Company for the World Wide Web 530 Means St NW, Suite 110 Atlanta, GA 30318 404-589-0560 FAX 404-589-0510 http://www.mediumcool.com ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185551 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: Licensing a CF app
I was looking for the link: http://www.newatlanta.com/products/bluedragon/isv.cfm On Mon, 29 Nov 2004 19:24:29 +0100, Mark Drew [EMAIL PROTECTED] wrote: Check out New Atlanta's blue dragon, I believe you can do it with this currently. I think the new version of Coldfusion will let you create compiled versions of an application that you can licence Regards Mark Drew On Mon, 29 Nov 2004 13:05:49 -0500, Tom McNeer [EMAIL PROTECTED] wrote: Hi, I have a client whose application we have developed over the past three years. It operates as a web-based services for his customers, taking data entry and displaying calculated analysis of the data. He now has a customer who, for security reasons, wishes to have a private installation of the application running on the customer's own network. My client has asked me if there is any way we can secure his application, meaning Can we make it like a compiled desktop app that can't work without a license key, and can be timed out after a year -- both so it cannot be copied and so, if the customer does not pay his yearly licensing fee, the application could be disabled. Since this a ColdFusion app, I know that there is no way to truly secure it in the manner he wishes. But I wondered if anyone on the list had any similar experiences, or any thoughts on securing it to some extent. -- Thanks, Tom Tom McNeer MediumCool A Marketing, Creative and Construction Company for the World Wide Web 530 Means St NW, Suite 110 Atlanta, GA 30318 404-589-0560 FAX 404-589-0510 http://www.mediumcool.com ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185552 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: Best way to access CFC's?
CFINVOKE and createObject are very different beasts. CFOBJECT and createObject are the same, but CFINVOKE creates and instance of the CFC, calls the specified method on it, and then lets the instance disappear, with no hope of holding on to it for future reuse. Here's two examples of creating an object instance: cfset i = createObject(component, test) / cfobject action=create type=component name=i class=test / And here's two examples of calling a method on a CFC, without creating an instance: cfset r = createObject(component, test).testMethod() / cfinvoke component=test method=testMethod returnvariable=r / cheers, barneyb On Mon, 29 Nov 2004 12:47:24 -0500, Dave Carabetta [EMAIL PROTECTED] wrote: On Mon, 29 Nov 2004 12:39:35 -0400, Andy Mcshane [EMAIL PROTECTED] wrote: Starting to update a site by converting code to CFC's, anyone have any thoughts on what is the best or most efficient way to access a CFC? Is it better to use CFInvoke or should I use CreateObject? Which method is better and why? They're effectively the same thing, except you'd use createObject if you're a cfscript fan and the tag-based cfinvoke if you're not. If you are new or relatively new to CFCs, be sure to check out this document which is a community-driven best practices document for working with them: http://www.dintenfass.com/cfcbestpractices/ Regards, Dave. -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/blog/ ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185553 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: MX Methodologies (Mach2?? Fusebox??)
I don't find MachII in the least bit un-performant. I also have a very large FB4 that runs hunky dory as well. I'd love to see some proof of your claims. I only feel it's my duty to mention that you can still develop CF Apps in a timely menner without the use of FB or MACH II that do utilize proper OO techniques... and that perform better, as well. I don't want to open a can of worms here, but thought I'd point it out. ~Simon Simon Horwith Member of Team Macromedia Macromedia Certified Master Instructor Editor-in-Chief, ColdFusion Developers Journal Blog - http://www.horwith.com Brian Kotek wrote: ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185554 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: Error page when CFMX is down?
You can replace the Could not connecto to JRun page with your own page by editing the wsconfig\#\jrun.ini, uncomment the errorurl line and point it to an HTML page. Other than that, if your server is not responding, you can probably have it running through some sort of hardware load balancing device and output or redirect on errors. -nathan strutz http://www.dopefly.com/ Damien McKenna wrote: Is there any way to have the ColdFusion MX server or IIS display a generic error page if the ColdFusion task is not started or is not responding? I'm not really sure it is, but I wanted to check with the experts first before dismissing the idea. Thanks. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:18 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
CF and Databases
I have a client that has access backend for his cf application, when trying to run a query for a report that checks for item status the page always times out never will load. The query works on other reports with no problem. There are about 1500 products in the field and the status id is numerical from 1-10. Now myself personally I would never use an access database for this type of work I would prefer to use mysql but I don't have that choice. So if anyone is familiar with cf/access or know of any issues that have to do with access indexing not working correctly under a cf app please let know. Web Your Business Inc., - located in Loveland, Colorado; serving the World! http://www.webyourbusiness.com/ - - http://www.aaabusinesshosting.com/ Phone: 970-593-6260 - Fax: 970-593-6267 - Toll Free: 1-877-416-8655 ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185556 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: Best way to access CFC's?
On Mon, 29 Nov 2004 10:29:26 -0800, Barney Boisvert [EMAIL PROTECTED] wrote: CFINVOKE and createObject are very different beasts. CFOBJECT and createObject are the same, but CFINVOKE creates and instance of the CFC, calls the specified method on it, and then lets the instance disappear, with no hope of holding on to it for future reuse. Unless you specify a component *reference* in cfinvoke rather than a component name: cfset t = createObject(component, test) / cfinvoke component=#t# method=testMethod returnvariable=r / -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 1 invite If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185557 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: MX Methodologies (Mach2?? Fusebox??)
that you can still develop CF Apps in a timely menner without the use of FB or MACH II that do utilize proper OO techniques... and that perform better, as well. Exact, and I would even add that utilises NO OO technique, and it will even be faster to develop, and perform even better. I recently had to add some features in a FB application, it was including more than 100 files and it took me hours to find the one I had to modify to do the job. This is how a good willing concept is finally having the oposite result it is intended to. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185558 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: MX Methodologies (Mach2?? Fusebox??)
I've had to add features to a regular CF app that took me DAYS, because the idiots that made it couldn't code to save their lives. This is how a good willing concept is finally having the oposite result it is intended to. that you can still develop CF Apps in a timely menner without the use of FB or MACH II that do utilize proper OO techniques... and that perform better, as well. Exact, and I would even add that utilises NO OO technique, and it will even be faster to develop, and perform even better. I recently had to add some features in a FB application, it was including more than 100 files and it took me hours to find the one I had to modify to do the job. This is how a good willing concept is finally having the oposite result it is intended to. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185559 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: MX Methodologies (Mach2?? Fusebox??)
Well, everyone is entitled to their opinion, but a good, solid, well-designed object oriented methodology will always beat spaghetti code. FuseBox is a methodology, but it is not OO. Let's be clear on that point. -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 1:50 PM To: CF-Talk Subject: Re: MX Methodologies (Mach2?? Fusebox??) that you can still develop CF Apps in a timely menner without the use of FB or MACH II that do utilize proper OO techniques... and that perform better, as well. Exact, and I would even add that utilises NO OO technique, and it will even be faster to develop, and perform even better. I recently had to add some features in a FB application, it was including more than 100 files and it took me hours to find the one I had to modify to do the job. This is how a good willing concept is finally having the oposite result it is intended to. -- ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185560 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: Best way to access CFC's?
Why would you do that? -Original Message- From: Sean Corfield. Unless you specify a component *reference* in cfinvoke rather than a component name: cfset t = createObject(component, test) / cfinvoke component=#t# method=testMethod returnvariable=r / -- ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185561 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: MX Methodologies (Mach2?? Fusebox??)
That may be your opinion, but the stark reality is that object-orientation has taken over the vast majority of the programming world. In my opinion, not embracing this change is basically career suicide. On Mon, 29 Nov 2004 13:49:30 -0500, Claude Schneegans [EMAIL PROTECTED] wrote: Exact, and I would even add that utilises NO OO technique, and it will even be faster to develop, and perform even better. On Mon, 29 Nov 2004 13:49:30 -0500, Claude Schneegans [EMAIL PROTECTED] wrote: that you can still develop CF Apps in a timely menner without the use of FB or MACH II that do utilize proper OO techniques... and that perform better, as well. Exact, and I would even add that utilises NO OO technique, and it will even be faster to develop, and perform even better. I recently had to add some features in a FB application, it was including more than 100 files and it took me hours to find the one I had to modify to do the job. This is how a good willing concept is finally having the oposite result it is intended to. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185562 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: Licensing a CF app
A suggestion: depends how open that client's network is, but you could include a couple of well-placed CFC calls to your own server that validate the license information you also incorporate into the code. If they remove the CFC calls, the app can bomb out - ie make the CFC do some action/return some result that is useful. You could also deploy a CFX tag (hence compiled) that processes the result, allowing you to hide any decryption / processing logic from prying eyes. Aaron - Original Message - From: Tom McNeer [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 5:05 AM Subject: Licensing a CF app Hi, I have a client whose application we have developed over the past three years. It operates as a web-based services for his customers, taking data entry and displaying calculated analysis of the data. He now has a customer who, for security reasons, wishes to have a private installation of the application running on the customer's own network. My client has asked me if there is any way we can secure his application, meaning Can we make it like a compiled desktop app that can't work without a license key, and can be timed out after a year -- both so it cannot be copied and so, if the customer does not pay his yearly licensing fee, the application could be disabled. Since this a ColdFusion app, I know that there is no way to truly secure it in the manner he wishes. But I wondered if anyone on the list had any similar experiences, or any thoughts on securing it to some extent. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185563 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: Licensing a CF app
You might check out: http://www.pcaonline.com/coral/index.cfm I don't know anything about the application, I just have the bookmark. Doug James IT Developer Hollings Cancer Center http://hcc.musc.edu Tom McNeer wrote: Hi, I have a client whose application we have developed over the past three years. It operates as a web-based services for his customers, taking data entry and displaying calculated analysis of the data. He now has a customer who, for security reasons, wishes to have a private installation of the application running on the customer's own network. My client has asked me if there is any way we can secure his application, meaning Can we make it like a compiled desktop app that can't work without a license key, and can be timed out after a year -- both so it cannot be copied and so, if the customer does not pay his yearly licensing fee, the application could be disabled. Since this a ColdFusion app, I know that there is no way to truly secure it in the manner he wishes. But I wondered if anyone on the list had any similar experiences, or any thoughts on securing it to some extent. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185564 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: Best way to access CFC's?
Sure enough. Can you tell I've never used CFOBJECT or CFINVOKE, ever? I'm curious. Why would you want to type this: cfinvoke component=#o# method=testMethod returnvariable=r cfinvokeargument ... / /cfinvoke as opposed to this: cfset r = o.testMethod( ... ) / I know you hate my i have lazy fingers argument, but where's the downside in this case? cheers, barneyb On Mon, 29 Nov 2004 10:49:44 -0800, Sean Corfield [EMAIL PROTECTED] wrote: On Mon, 29 Nov 2004 10:29:26 -0800, Barney Boisvert [EMAIL PROTECTED] wrote: CFINVOKE and createObject are very different beasts. CFOBJECT and createObject are the same, but CFINVOKE creates and instance of the CFC, calls the specified method on it, and then lets the instance disappear, with no hope of holding on to it for future reuse. Unless you specify a component *reference* in cfinvoke rather than a component name: cfset t = createObject(component, test) / cfinvoke component=#t# method=testMethod returnvariable=r / -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 1 invite If you're not annoying somebody, you're not really alive. -- Margaret Atwood -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/blog/ ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185565 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: MX Methodologies (Mach2?? Fusebox??)
Idiots can make anything hard to change though. We have our own framework here, I hate dealing with it but I also understand the reasonings behind having it. There have been times when I had to go in and resolve something someone else was attempting to do and it took me hours or even days to get the task done and all because idiots were in it prior. -- Aaron Rouse http://www.happyhacker.com/ On Mon, 29 Nov 2004 13:56:37 -0400, Kwang Suh [EMAIL PROTECTED] wrote: I've had to add features to a regular CF app that took me DAYS, because the idiots that made it couldn't code to save their lives. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185566 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: MX Methodologies (Mach2?? Fusebox??)
I'd call Fusebox a framework more than a methodology (FLiP is the methodology commonly used to support Fusebox projects). And while the framework code itself is not OO (where Mach-II is), you can easily build CFC-based object models that fully follow OO principles and leverage them in a Fusebox application. On Mon, 29 Nov 2004 10:57:45 -0800, Steve Brownlee [EMAIL PROTECTED] wrote: Well, everyone is entitled to their opinion, but a good, solid, well-designed object oriented methodology will always beat spaghetti code. FuseBox is a methodology, but it is not OO. Let's be clear on that point. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185567 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: Licensing a CF app
you can always make one of their graphics in a flash then have it call a page on yours or their server to check and see if its valid if not forward it to a disabled page. To check it can be a text file or have it do a query. On my sites i have it call a query on my site to check, so i just keep the sites up to date in 1 place -- Original Message -- From: Doug James [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 29 Nov 2004 14:04:50 -0500 You might check out: http://www.pcaonline.com/coral/index.cfm I don't know anything about the application, I just have the bookmark. Doug James IT Developer Hollings Cancer Center http://hcc.musc.edu Tom McNeer wrote: Hi, I have a client whose application we have developed over the past three years. It operates as a web-based services for his customers, taking data entry and displaying calculated analysis of the data. He now has a customer who, for security reasons, wishes to have a private installation of the application running on the customer's own network. My client has asked me if there is any way we can secure his application, meaning Can we make it like a compiled desktop app that can't work without a license key, and can be timed out after a year -- both so it cannot be copied and so, if the customer does not pay his yearly licensing fee, the application could be disabled. Since this a ColdFusion app, I know that there is no way to truly secure it in the manner he wishes. But I wondered if anyone on the list had any similar experiences, or any thoughts on securing it to some extent. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185568 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: Best way to access CFC's?
If you're component is stateful, you'll want to invoke methods on the same instance of the component instead of continually creating new instances. !--- Instantiate a component that adds two numbers --- cfset myAdder = createObject(component, addsTwoNumbers) / !--- Set first number --- cfinvoke component=#myAdder# method=setNumberOne cfinvokeargument name=number value=2 /cfinvoke !--- Set second number --- cfinvoke component=#myAdder# method=setNumberTwo cfinvokeargument name=number value=3 /cfinvoke !--- Get sum --- cfinvoke component=#myAdder# method=getSum returnVariable=sum /cfinvoke !--- Displays five --- cfoutput#sum#/cfoutput There's a few different ways to write thisI'd probably use: cfset myAdder = createObject(component, addsTwoNumbers) / cfset myAdder.SetNumberOne(2) / cfset myAdder.SetNumberTwo(3) / cfoutput#myAdder.getSum()#/cfoutput -joe On Mon, 29 Nov 2004 12:59:01 -0600, Andy Ousterhout [EMAIL PROTECTED] wrote: Why would you do that? -Original Message- From: Sean Corfield. Unless you specify a component *reference* in cfinvoke rather than a component name: cfset t = createObject(component, test) / cfinvoke component=#t# method=testMethod returnvariable=r / -- ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185569 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: unable to create new native thread?
Anyone have any idea what would be causing this? It happens about once a week so I need to try and find some sort of solution. On Mon, 29 Nov 2004 10:39:12 -0600, Phill B [EMAIL PROTECTED] wrote: I'm getting this error unable to create new native thread not the java.lang.OutOfMemoryError: unable to create new native thread. Maybe they are the same? Regardless, I can't figure out what is causing it or how to fix it. I made sure the server is patched but I still get the error. -- Phillip B. -- Phillip B. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185570 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: MX Methodologies (Mach2?? Fusebox??)
I recently had to add some features in a FB application, it was including more than 100 files and it took me hours to find the one I had to modify to do the job. I took over several FB3 apps and I must say that it has made my life much easier that they were developed using a simple framework like Fusebox than if it had been a random-bunch-of-files. Just my experience. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 Why are you wearing that stupid man suit? - Frank ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185571 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
invalid number?
I had this working fine one morning and checked it on all computers. I come in another morning and it's not working - I swear. It's giving me the error, invalid number and lists the WHERE in the query as the line culprit. I have the same query where I added the line to there WHERE: marathon_id = #cookie.vancouver_walk# AND and this seems to work fine, but I don't want to specify an ID, instead querying for everyone, so this query doesn't have it. cfset first_day = createDate(URL.yr,URL.mo,URL.day) cfset last_day = dateAdd(d,6,first_day) cfset the_num_days = 0 cfset the_num_steps = 0 cfloop index=zz from=1 to=#the_week# !-- return values for the week -- CFQUERY NAME=get_gweek_totals DATASOURCE=dpch SELECT Sum(entry) AS num_steps,Count(entry) AS num_days FROM marathon_entries WHERE entry_type = 'vancouver_walk' AND entry_data_date = #first_day# AND entry_data_date = #last_day# /CFQuery cfset first_day = dateAdd(d,7,first_day) cfset last_day = dateAdd(d,6,first_day) cfset header=Week #zz# tr td#header#/td td width=20% align=right#NumberFormat(get_gweek_totals.num_steps,',')#/td cfset g_av_steps = 0 cfif get_gweek_totals.num_days NEQ 0 cfset g_av_steps = Int((get_gweek_totals.num_steps/get_gweek_totals.num_days)) /cfif td width=20% align=right#NumberFormat(g_av_steps,',')#/td cfif get_gweek_totals.num_steps EQ cfset get_gweek_totals.num_steps = 0/cfif td width=20% align=right#NumberFormat((get_gweek_totals.num_steps * 2.25)/5280,'___._')#/td /tr cfset the_num_days = the_num_days + get_gweek_totals.num_days cfif get_gweek_totals.num_steps EQ cfset get_gweek_totals.num_steps = 0/cfif cfset the_num_steps = the_num_steps + get_gweek_totals.num_steps /cfloop -- Daniel Kessler Department of Public and Community Health University of Maryland Suite 2387 Valley Drive College Park, MD 20742-2611 301-405-2545 Phone www.phi.umd.edu ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185572 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: Licensing a CF app
Hi, I have a client whose application we have developed over the past three years. It operates as a web-based services for his customers, taking data entry and displaying calculated analysis of the data. He now has a customer who, for security reasons, wishes to have a private installation of the application running on the customer's own network. My client has asked me if there is any way we can secure his application, meaning Can we make it like a compiled desktop app that can't work without a license key, and can be timed out after a year -- both so it cannot be copied and so, if the customer does not pay his yearly licensing fee, the application could be disabled. Since this a ColdFusion app, I know that there is no way to truly secure it in the manner he wishes. But I wondered if anyone on the list had any similar experiences, or any thoughts on securing it to some extent. -- Thanks, Tom Yes, you can do this in a truly secure manner just as your customer wishes. The Tracking Tools demo(www.tracking-tools.com) is an example of an app packaged to run as a desktop app. It uses BlueDragon. Dick Applebaum and I are working on an article that describes how to do this in detail. I'll post back when it's available (later in December). -Phil ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185573 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: MX Methodologies (Mach2?? Fusebox??)
Well, we're not necessarily going to convert all our applications. I am learning the methodology, so that we have consistency in our apps and a best practices in place. I would like to use the methodology on all future apps. I may convert one or two to get a better handle on the methodology. But ideally I would prefer to learn it before I start coding. Are you converting them to just learn the methodology so that you can apply it to new applications or for some other reason? Just curious as to why the need to convert already running applications. -- Aaron Rouse http://www.happyhacker.com/ On Mon, 29 Nov 2004 12:22:15 -0400, Ali Awan [EMAIL PROTECTED] wrote: Then my next logical step was to get familiar with them as much as possible and see which one to adopt and then start converting our CF5 apps over. So I turned to my respected friends an colleagues on this list to aid me in this endeavor :) ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185574 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: Best way to access CFC's?
Why wouldn't I just state: CFSET myAdder.setNumberOne(Number=2) / This seems much more readable. Andy -Original Message- From: Joe Rinehart [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 1:16 PM To: CF-Talk Subject: Re: Best way to access CFC's? If you're component is stateful, you'll want to invoke methods on the same instance of the component instead of continually creating new instances. !--- Instantiate a component that adds two numbers --- cfset myAdder = createObject(component, addsTwoNumbers) / !--- Set first number --- cfinvoke component=#myAdder# method=setNumberOne cfinvokeargument name=number value=2 /cfinvoke !--- Set second number --- cfinvoke component=#myAdder# method=setNumberTwo cfinvokeargument name=number value=3 /cfinvoke !--- Get sum --- cfinvoke component=#myAdder# method=getSum returnVariable=sum /cfinvoke !--- Displays five --- cfoutput#sum#/cfoutput There's a few different ways to write thisI'd probably use: cfset myAdder = createObject(component, addsTwoNumbers) / cfset myAdder.SetNumberOne(2) / cfset myAdder.SetNumberTwo(3) / cfoutput#myAdder.getSum()#/cfoutput -joe On Mon, 29 Nov 2004 12:59:01 -0600, Andy Ousterhout [EMAIL PROTECTED] wrote: Why would you do that? -Original Message- From: Sean Corfield. Unless you specify a component *reference* in cfinvoke rather than a component name: cfset t = createObject(component, test) / cfinvoke component=#t# method=testMethod returnvariable=r / -- ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185575 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
Incremental CFCONTENT?
Can I pipe out parts of pages using CFCONTENT? I currently have an cache_to_file tag which I wrote to cache parts of rendered pages to file. Right now I (inefficiently) CFFILE-Read them, then #output# the contents. What I'd like to do is CFCONTENT them directly to the response output stream. Can I pipe them to the output by using CFCONTENT? My goal is to basically CFINCLUDE but i dont want to compile the include file, just pipe it to the browser, and it's part of the renderable page... Thanks! -dov My code would look like this htmlheadbody CFCONTENT file=header-static-html.txt yada yada yada CFCONTENT file=footer-static.txt yada /body/html NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185576 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: invalid number?
I figured out the problem. I had allowed the numbers to be entered with commas, making them strings. I changed all of them to items without commas and they worked. ie 2,373 became 2373. So I didn't see a convertToNumber call. Am I missing something in my headless rush through the day? I had this working fine one morning and checked it on all computers. I come in another morning and it's not working - I swear. It's giving me the error, invalid number and lists the WHERE in the query as the line culprit. I have the same query where I added the line to there WHERE: marathon_id = #cookie.vancouver_walk# AND and this seems to work fine, but I don't want to specify an ID, instead querying for everyone, so this query doesn't have it. cfset first_day = createDate(URL.yr,URL.mo,URL.day) cfset last_day = dateAdd(d,6,first_day) cfset the_num_days = 0 cfset the_num_steps = 0 cfloop index=zz from=1 to=#the_week# !-- return values for the week -- CFQUERY NAME=get_gweek_totals DATASOURCE=dpch SELECT Sum(entry) AS num_steps,Count(entry) AS num_days FROM marathon_entries WHERE entry_type = 'vancouver_walk' AND entry_data_date = #first_day# AND entry_data_date = #last_day# /CFQuery cfset first_day = dateAdd(d,7,first_day) cfset last_day = dateAdd(d,6,first_day) cfset header=Week #zz# tr td#header#/td td width=20% align=right#NumberFormat(get_gweek_totals.num_steps,',')#/td cfset g_av_steps = 0 cfif get_gweek_totals.num_days NEQ 0 cfset g_av_steps = Int((get_gweek_totals.num_steps/get_gweek_totals.num_days)) /cfif td width=20% align=right#NumberFormat(g_av_steps,',')#/td cfif get_gweek_totals.num_steps EQ cfset get_gweek_totals.num_steps = 0/cfif td width=20% align=right#NumberFormat((get_gweek_totals.num_steps * 2.25)/5280,'___._')#/td /tr cfset the_num_days = the_num_days + get_gweek_totals.num_days cfif get_gweek_totals.num_steps EQ cfset get_gweek_totals.num_steps = 0/cfif cfset the_num_steps = the_num_steps + get_gweek_totals.num_steps /cfloop -- Daniel Kessler Department of Public and Community Health University of Maryland Suite 2387 Valley Drive College Park, MD 20742-2611 301-405-2545 Phone www.phi.umd.edu ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185577 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: Best way to access CFC's?
We started off writing all our component method calls inline -- ie: component.method(argument1, argument2), but we quickly found that 1. It was sometimes hard to follow what was going on due to the squished up nature of the code. 2. Having to maintain the proper order of argument declaration was a pain in the neck. So, we switched over to using cfinvoke for almost all of our method calls. It lends a little flexibility to the developer, and helps to make the code self-documenting. We do still have some component method calls done the inline way, but they are typically argument-less methods used in cfif tags, etc.: cfif server.hcpro.isCustomerSubscribed() DO STUFF /cfif Matt Matthew Drayer Web Development Coordinator HCPro, Inc. Marblehead MA [EMAIL PROTECTED] ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185578 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: invalid number?
Look into the IN clause ID IN (cfqueryparam value=MyListOfIDs cfsqltype=cf_sql_integer list=yes) Cheers 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 - Original Message - From: daniel kessler [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, November 29, 2004 11:02 AM Subject: Re: invalid number? I figured out the problem. I had allowed the numbers to be entered with commas, making them strings. I changed all of them to items without commas and they worked. ie 2,373 became 2373. So I didn't see a convertToNumber call. Am I missing something in my headless rush through the day? I had this working fine one morning and checked it on all computers. I come in another morning and it's not working - I swear. It's giving me the error, invalid number and lists the WHERE in the query as the line culprit. I have the same query where I added the line to there WHERE: marathon_id = #cookie.vancouver_walk# AND and this seems to work fine, but I don't want to specify an ID, instead querying for everyone, so this query doesn't have it. cfset first_day = createDate(URL.yr,URL.mo,URL.day) cfset last_day = dateAdd(d,6,first_day) cfset the_num_days = 0 cfset the_num_steps = 0 cfloop index=zz from=1 to=#the_week# !-- return values for the week -- CFQUERY NAME=get_gweek_totals DATASOURCE=dpch SELECT Sum(entry) AS num_steps,Count(entry) AS num_days FROM marathon_entries WHERE entry_type = 'vancouver_walk' AND entry_data_date = #first_day# AND entry_data_date = #last_day# /CFQuery cfset first_day = dateAdd(d,7,first_day) cfset last_day = dateAdd(d,6,first_day) cfset header=Week #zz# tr td#header#/td td width=20% align=right#NumberFormat(get_gweek_totals.num_steps,',')#/td cfset g_av_steps = 0 cfif get_gweek_totals.num_days NEQ 0 cfset g_av_steps = Int((get_gweek_totals.num_steps/get_gweek_totals.num_days)) /cfif td width=20% align=right#NumberFormat(g_av_steps,',')#/td cfif get_gweek_totals.num_steps EQ cfset get_gweek_totals.num_steps = 0/cfif td width=20% align=right#NumberFormat((get_gweek_totals.num_steps * 2.25)/5280,'___._')#/td /tr cfset the_num_days = the_num_days + get_gweek_totals.num_days cfif get_gweek_totals.num_steps EQ cfset get_gweek_totals.num_steps = 0/cfif cfset the_num_steps = the_num_steps + get_gweek_totals.num_steps /cfloop -- Daniel Kessler Department of Public and Community Health University of Maryland Suite 2387 Valley Drive College Park, MD 20742-2611 301-405-2545 Phone www.phi.umd.edu ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185579 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: Best way to access CFC's?
On Mon, 29 Nov 2004 10:29:26 -0800, Barney Boisvert [EMAIL PROTECTED] wrote: CFINVOKE and createObject are very different beasts. CFOBJECT and createObject are the same, but CFINVOKE creates and instance of the CFC, calls the specified method on it, and then lets the instance disappear, with no hope of holding on to it for future reuse. Here's two examples of creating an object instance: cfset i = createObject(component, test) / cfobject action=create type=component name=i class=test / And here's two examples of calling a method on a CFC, without creating an instance: cfset r = createObject(component, test).testMethod() / cfinvoke component=test method=testMethod returnvariable=r / cheers, barneyb Yeah, sorry -- should have been more clear. As others have pointed out, you can simply create an instance into a local variable and then use that variable in the cfinvoke tag. Why would you do that? I guess just preference (I use cfscript/cfobject everywhere, so this isn't personal experience -- just pointing out that you could do it this way). Regards, Dave. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185580 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: process ColdFusion tag written inside a string
Michael, I tried this and it doesn't seem to work with cfimport, which I am using to replace how form fields behave. the string being written looks like; cfimport taglib/fv prefix= form input / /form The import statement is for routines that re-render the form elements adding additional features. Thoughts? Kevin ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185581 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
CFMX 6.1 - java.lang.NullPointerException
Hi, If any one could help on this.. it is much appreciated.. We are seeing this error happen.. about every four hours.. and then we have to restart CFMX. Redhat AS 2.1 Apache 2.0.50 CFMX 6.1 (83762) java.lang.NullPointerException at coldfusion.runtime.Cast._double(Cast.java:510) at coldfusion.runtime.Cast._int(Cast.java:322) at coldfusion.runtime.ClientScope.UpdateGlobals(ClientScope.java:112) at coldfusion.runtime.ClientScopeServiceImpl.UpdateGlobals(ClientScopeServiceImpl.java:224) at coldfusion.runtime.ClientScopeServiceImpl.PersistClientVariablesForRequest(ClientScopeServiceImpl.java:191) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:32) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.CfmServlet.service(CfmServlet.java:105) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:249) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) -- Umer Farooq Octadyne Systems [EMAIL PROTECTED] +1 (519) 772-5424 voice +1 (519) 635-2795 mobile +1 (208) 275-3824 fax LOOKING FOR A USED CAR IN IOWA VISIT: http://www.IowaMotors.com WARNING: --- The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185582 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: Best way to access CFC's?
On Mon, 29 Nov 2004 11:05:44 -0800, Barney Boisvert [EMAIL PROTECTED] wrote: I'm curious. Why would you want to type this: cfinvoke component=#o# method=testMethod returnvariable=r cfinvokeargument ... / /cfinvoke as opposed to this: cfset r = o.testMethod( ... ) / Me? I wouldn't. I don't use cfinvoke at all, I just wanted to point out that cfinvoke doesn't automatically mean creating a new instance... -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 1 invite If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185583 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: PostgreSQL database size
Thanks Paul and Jochem Thats the answer I was hoping for. We have a hosted server running PostgreSQL/PostGIS/Mapserver running at www.gis.bush.org.nz hosting by limelyte. But no inhouse experience with even installing PostgreSQL. We use MSDE2 inhouse but it has a 2GB limit. Being able to integrate CF with mapserver would be fantastic. Paul - are you querying ArcSDE with CF directly. ESRI have donated ArcSDE so where is the boundary between CF and mapserver and flash Mike NZERN -- Original Message -- From: Paul Hastings [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 29 Nov 2004 20:42:05 +0700 Jochem van Dieten wrote: PostgreSQL should be able to handle this without a problem on suitable hardware. Don't forget to check out the PostGIS project, it plugs GIS features right into PostgreSQL. yeah, it's pretty slick. i've been a long-long time user of commercial GIS database products (mainly arcSDE) and to be able to use cf to run spatial queries is pretty freaking fantastic: !--- find the province this point lies within --- cfquery name=findProvince datasource=postGIS SELECT provinceName FROM provinces WHERE CONTAINS(the_geom, GeometryFromText('POINT(100.65 13.85)') /cfquery and to top it off it can output results as SVG. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185584 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: MX Methodologies (Mach2?? Fusebox??)
On Mon, 29 Nov 2004 10:57:45 -0800, Steve Brownlee [EMAIL PROTECTED] wrote: Well, everyone is entitled to their opinion, but a good, solid, well-designed object oriented methodology will always beat spaghetti code. FuseBox is a methodology, but it is not OO. Let's be clear on that point. As Brian already pointed out, Fusebox (small 'b', by the way) is not a methodology, it is a framework. There is a methodology associated with it, called FLiP. Mind you, quite a bit of FLiP is actually framework-neutral... As a huge fan of OO - I've been doing it for nearly thirteen years now - I would also reiterate Brian's point that you can definitely use Fusebox with a full-blown OO Model as part of an MVC-based application. I'll be talking at several conferences and user groups in 2005 on the subject of frameworks - comparing Fusebox 4.x and Mach II. -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 1 invite If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185585 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: MX Methodologies (Mach2?? Fusebox??)
And you have hit upon the true issue: When it comes to CF, almost 100% of the maintanance problems with an app are a result of the people that wrote it. This is actually the case with many modern languages (I'll exempt C++ - it's a major knives and daggers language). Blaming a framework is rather short sighted. As an example, I once worked with someone that loved to name his JavaScript functions x, y and z. When he had more than three functions on a page, he'd name then x1, x2, xx, etc. Lovely. I especially enjoyed when he'd do stuff like: x = x(); y = z(); xx1 = x2(); Now then, is that the fault of JavaScript, or the idiot programmer (I use that word loosely in his case)? Obviously, it was him. To blame the language is disingeneous. Same with blaming certain frameworks. Idiots can make anything hard to change though. We have our own framework here, I hate dealing with it but I also understand the reasonings behind having it. There have been times when I had to go in and resolve something someone else was attempting to do and it took me hours or even days to get the task done and all because idiots were in it prior. -- Aaron Rouse http://www.happyhacker.com/ On Mon, 29 Nov 2004 13:56:37 -0400, Kwang Suh [EMAIL PROTECTED] wrote: I've had to add features to a regular CF app that took me DAYS, because the idiots that made it couldn't code to save their lives. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185586 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: Best way to access CFC's?
Do you know that you can name your arguments in the compenent.method(arg2=1, arg1=2)? -Original Message- From: Matthew Drayer We started off writing all our component method calls inline -- ie: component.method(argument1, argument2), but we quickly found that 1. It was sometimes hard to follow what was going on due to the squished up nature of the code. 2. Having to maintain the proper order of argument declaration was a pain in the neck. So, we switched over to using cfinvoke for almost all of our method calls. It lends a little flexibility to the developer, and helps to make the code self-documenting. We do still have some component method calls done the inline way, but they are typically argument-less methods used in cfif tags, etc.: cfif server.hcpro.isCustomerSubscribed() DO STUFF /cfif Matt ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185587 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: Best way to access CFC's?
Barney Boisvert wrote: CFINVOKE and createObject are very different beasts. CFOBJECT and createObject are the same, but CFINVOKE creates and instance of the CFC, calls the specified method on it, and then lets the instance disappear, with no hope of holding on to it for future reuse. What if the method you call with cfinvoke returns an instance of the CFC? Jochem ~| Special thanks to the CF Community Suite Silver Sponsor - New Atlanta http://www.newatlanta.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185588 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: Best way to access CFC's?
Thanks. I was wondering if you had some trick up your sleeve. Andy -Original Message- From: Sean Corfield On Mon, 29 Nov 2004 11:05:44 -0800, Barney Boisvert [EMAIL PROTECTED] wrote: I'm curious. Why would you want to type this: cfinvoke component=#o# method=testMethod returnvariable=r cfinvokeargument ... / /cfinvoke as opposed to this: cfset r = o.testMethod( ... ) / Me? I wouldn't. I don't use cfinvoke at all, I just wanted to point out that cfinvoke doesn't automatically mean creating a new instance... -- ~| Special thanks to the CF Community Suite Silver Sponsor - RUWebby http://www.ruwebby.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185589 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: Flashpaper
I haven't tried Martin's tag, but I can tell you from using the free tag CF_HTML2PDF3 that also relies on HTMLdoc to convert to pdf's that its not quite perfect. Unfortunately, I can't use FOP because I am on ColdFusion 5 for the server where this is needed. It looks like FOP would be a better alternative if I were able to use that one. I would really love to see a flashpaper plugin too. That would be very welcomed. -Original Message- From: Martin Parry [mailto:[EMAIL PROTECTED] Sent: Friday, November 26, 2004 10:25 AM To: CF-Talk Subject: RE: OT: Flashpaper Hiya - I've posted a template which is part of my CMS for you. It relies on HTMLDoc and uses CFEXECUTE to convert inbound HTML passed as an attribute into a PDF file. The template is at http://www.beetrootstreet.com/_media/zip/PDFSaveContent.ZIP HTMLDOC is found at http://www.easysw.com/htmldoc/software.php?VERSION=1.8.24 Hope you can make good use of it. Martin Parry Macromedia Certified Developer http://www.BeetrootStreet.com -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 26 November 2004 13:54 To: CF-Talk Subject: RE: OT: Flashpaper H. The problem I have is that I need to convert a block of HTML which is in a variable (from cfsavecontent) into a PDF with the minimum of fuss, at the moment I have a few options but no real examples! The CFDJ article doesn't explain HTML to PDF does it? Thanks N -Original Message- From: Andy Allan [mailto:[EMAIL PROTECTED] Sent: 26 November 2004 13:42 To: CF-Talk Subject: Re: OT: Flashpaper http://xml.apache.org/fop/ is the link. And yeah, it's very good at at it. Bit more work involved than say Blackstone will require but it doesn't cost a penny. There was a couple of articles on using CFMX and FOP in the CFDJ earlier this year too. Andy On Fri, 26 Nov 2004 13:31:36 -, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Hey Andy, You got a link on that? Does it convert HTML to PDF with any degree of success? N -Original Message- From: Andy Allan [mailto:[EMAIL PROTECTED] Sent: 26 November 2004 13:15 To: CF-Talk Subject: Re: OT: Flashpaper Not Flashpaper, but I am using FOP to create PDFs Andy On Fri, 26 Nov 2004 13:01:54 -, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Anyone used or is using Flashpaper to convert HTML/HTM docs into PDF or SWF? N 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 ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185590 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: Scan Docs to Edit
Donna, Most scanners these days come with basic Optical Character Reader (OCR) software. Generally it does a very good job of converting scanned text from a page, back into editable text and corresponding images of things that can't be converted (for instance signatures or logos in letterhead). Once you have OCR'ed the document, you can add to it and then print it back out to a PDF file. (For which you'll need something like Adobe Acrobat Professional or even just one of the freeware software's around that do this sort of thing)... so the steps would be: 1) Scan the document 2) OCR it to turn it into editable text (Many scanners do this in one step) 3) Make changes 4) Print to PDF file Hope this helps -Original Message- From: dana tierney [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 4:51 PM To: CF-Talk Subject: Re: OT: Scan Docs to Edit you need to put text on top of the scanned image? Is Photoshop available? On Wed, 24 Nov 2004 15:41:11 -0600, Donna French [EMAIL PROTECTED] wrote: Okay, sorry for the OT post, but I'm trying to help a lawyer friend of mine and not real sure how to tackle this. I need to scan a document then allow them to enter text either on top of the scan, or scan in as a PDF or similar? Any help greatly appreciated. TIA, Donna -- Donna French [EMAIL PROTECTED] Blog: http://dgfrench.blogspot.com Site: http://www.dgfrenchdesigns.com ~| Special thanks to the CF Community Suite Silver Sponsor - New Atlanta http://www.newatlanta.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185591 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: Best way to access CFC's?
2. Having to maintain the proper order of argument declaration was a pain in the neck. You can pass arguments by name when calling UDFs and component methods using the dotted syntax: cfset myObject = createObject(component, test) cfset result = myObject.sayHello(message=Hello, name=ben) When naming your arguments, order is not important. In fact, you can build a collection of arguments and pass them in: cfset myObject = createObject(component, test) cfset args = structNew() cfset args.message = Hello cfset args.name = World cfset result = myObject.sayHello(argumentCollection=args) Ben Rogers http://www.c4.net v.508.240.0051 f.508.240.0057 ~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185592 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: Best way to access CFC's?
I did not know that, no. Thanks for the tip. Matt Do you know that you can name your arguments in the compenent.method(arg2=1, arg1=2)? ~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185593 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: Flashpaper
I haven't tried Martin's tag, but I can tell you from using the free tag CF_HTML2PDF3 that also relies on HTMLdoc to convert to pdf's that its not quite perfect. Unfortunately, I can't use FOP because I am on ColdFusion 5 for the server where this is needed. It looks like FOP would be a better alternative if I were able to use that one. I would really love to see a flashpaper plugin too. That would be very welcomed. -Original Message- From: Martin Parry [mailto:[EMAIL PROTECTED] Sent: Friday, November 26, 2004 10:25 AM To: CF-Talk Subject: RE: OT: Flashpaper Hiya - I've posted a template which is part of my CMS for you. It relies on HTMLDoc and uses CFEXECUTE to convert inbound HTML passed as an attribute into a PDF file. The template is at http://www.beetrootstreet.com/_media/zip/PDFSaveContent.ZIP HTMLDOC is found at http://www.easysw.com/htmldoc/software.php?VERSION=1.8.24 Hope you can make good use of it. Martin Parry Macromedia Certified Developer http://www.BeetrootStreet.com __ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185594 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: MX Methodologies (Mach2?? Fusebox??)
https://sourceforge.net/projects/cfobjects/ Since we're on the topic, talk of cfObjects is rarely mentioned anymore. I still use it for every major web application I build because it works for me. Version 4.0 of the package was just released with a new Dreamweaver toolbar, class/method wizards, and some other performance enhancements. It certainly doesn't get the marketing blitz and big-name support that FB and MachII get, but it still delivers and is easy to set up and maintain. I know that since the most recent CF server technologies use CFCs, that cfObjects may seem redundant, but with the extras that it gives you that CFCs don't support yet, I still think it's worth using. My 2 cents. -Original Message- From: Kwang Suh [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 2:47 PM To: CF-Talk Subject: Re: MX Methodologies (Mach2?? Fusebox??) And you have hit upon the true issue: When it comes to CF, almost 100% of the maintanance problems with an app are a result of the people that wrote it. This is actually the case with many modern languages (I'll exempt C++ - it's a major knives and daggers language). Blaming a framework is rather short sighted. As an example, I once worked with someone that loved to name his JavaScript functions x, y and z. When he had more than three functions on a page, he'd name then x1, x2, xx, etc. Lovely. I especially enjoyed when he'd do stuff like: x = x(); y = z(); xx1 = x2(); Now then, is that the fault of JavaScript, or the idiot programmer (I use that word loosely in his case)? Obviously, it was him. To blame the language is disingeneous. Same with blaming certain frameworks. ~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185595 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
cffile readbinary zip file
Hi all, I am using the following code to display/download files. During the upload I use file.ContentType / file.ContentSubType to set the mime type. This method allows me to upload, view and download html, gif, jpg, doc, pdf and exe files without any problems. However, I am having some troubles with viewing zip files. I can download (I mean save to local disk and open the zip file from there) with no problem, but if I try to view the zip files directly (by choosing open rather that save in IE's file download window) the zip file does not open currently. The correct filenames are displayed in the zip file but there icons are missing, and when I click on a file in the zip file nothing happens. Also when trying to extract the files from the zip file, I get the error no files to extract. Any idea you may have to help me solve this problem would be most appreciated. Thanks, Ian cfsetting enablecfoutputonly=Yes cfoutput query=qry_doc maxrows=1 cfheader name=content-disposition value=inline; filename=#d_filename# cfcontent type=#d_type# file=#docfileroot##dg_dir##d_filename# cffile action=readbinary file = #docfileroot##dg_dir##d_filename# variable = filecontent #tostring(tobinary(tobase64(filecontent)))# /cfoutput ~| Special thanks to the CF Community Suite Silver Sponsor - RUWebby http://www.ruwebby.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185596 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