Re: Targetting an instance
On 3/26/07, Jochem D wrote: Your webserver passes the request to CF. CF looks at the relative URL in the forwarded request and maps that to the known context roots (the list of them is in application.xml in the MEAT-INF directory). If there is a match the request is handled by that application and antyhing after the context root is appended to the location of the .war. Any virtual directories you need are in the xxx.web.jrun.xml file (xxx depends on the name of the application). I think the default web connector handles stuff a bit differently- And you say CF, but you mean JRun, right? The way I see it, and this is using apache for an example, but with the default web connector, you add a handler for the .cfm, .cfc, .jsp file types-- This means that if httpd sees a request for fun.htm, it serves it directly, but if it sees a request for fun.cfm, it lets JRun/CF handle it, and just returns whatever CF returns. Now, the reason I say black magic (earlier) is because if you don't use the jrun web connector, things work much the way explained above, where your CF files need to be below the CF application mapping (jrun/servers/instancename/). I'm using tomcat and jboss for one app, and the proxyPass directive as a connector, and it works that way. But by default, with the jrun web connector, your CF files can be located anywhere you like, and I assume your cf instance could be located where ever you want (/cfusion, for instance :P), and the connector takes care of the details. But it is a bit confusing, since CF is an app server, which runs on an app server... And you can deploy CF apps in their own CF instances... And how it's all set up can vary... Yeah... And as for charting and reports... I Like Jasperserver. =] ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273694 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Targetting an instance
Dinner wrote: On 3/26/07, Jochem D wrote: Your webserver passes the request to CF. CF looks at the relative URL in the forwarded request and maps that to the known context roots (the list of them is in application.xml in the MEAT-INF directory). If there is a match the request is handled by that application and antyhing after the context root is appended to the location of the .war. Any virtual directories you need are in the xxx.web.jrun.xml file (xxx depends on the name of the application). I think the default web connector handles stuff a bit differently- And you say CF, but you mean JRun, right? The way I see it, and this is using apache for an example, but with the default web connector, you add a handler for the .cfm, .cfc, .jsp file types-- IIRC the default configuration for the webserver connector is to add a wildcard mapping too. You would have to check though. This means that if httpd sees a request for fun.htm, it serves it directly Yes if it only add mappings for certain extensions, no if it adds the wildcard mapping. But by default, with the jrun web connector, your CF files can be located anywhere you like, and I assume your cf instance could be located where ever you want (/cfusion, for instance :P), and the connector takes care of the details. It is not the connector that does that. The connector just makes sure that the request is forwarded to a certain port on a certain IP address. After that it is all in the XML configuration files. But yes, you have considerable freedom to customize those configuration files. Jochem ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273695 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF (VMWare ESX Server Vs Physical Hardware)?
On Saturday 24 Mar 2007, James Blaha wrote: This past week I was asked if Iâd like to move a perfectly working CF MX Enterprise environment running dual CPUâs to a Huge VMWare ESX Server virtual server environment. The question for you as a CF developer boils down to if we changed the hardware spec from X to Y, would the app still run ?. There shouldn't be any real problem as long as the grunt of the slice of the ESX server you get is good enough. -- Tom Chiverton Helping to biannually seize viral relationships On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273696 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Just a question/discussion point RE: Web services..
On Friday 23 Mar 2007, James Holmes wrote: I don't know why this myth is perpetuating. Because it is still the case that the WSDL doesn't fully describe the output data types, if you return a Query. -- Tom Chiverton Helping to proactively improve market-driven market-growth on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273697 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: New Features In Scorpio
Are you saying I have to give a 0898 number out for CFEclipse support? GAH! Going from Application Architect to front line support in one swift demotion... great. MD On 23 Mar 2007, at 09:08, Tom Chiverton wrote: On Thursday 22 Mar 2007, Aaron Rouse wrote: I'd be curious how supported it really ends up being. Seems like a lot of CF support is just in the community anyway. I know the few times we have tried using official support that was paid for by our company we usually still got no solution or discovered the community could provide quicker or better support. I had a similar discussion last week :-) Free support might be better, but the fact you can turn to (your bosses bosses boss) and say 'it's OK to use X, if it goes wrong we can ring them up and they'll fix it' is a real deal winner sometimes. ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273698 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Web Server Configuration Tool
Anyone know if the Connector Tool type approach works with .NET as well? i.e. you have a .NET app in a data tier but the pages are actually being served via a front end webserver? -Original Message- From: Dinner [mailto:[EMAIL PROTECTED] Sent: 26 March 2007 03:05 To: CF-Talk Subject: Re: Web Server Configuration Tool On 3/25/07, Dave W wrote: I'm pretty sure the wsconfig.jar has a -gui option, that'll bring up a nice interface. Running it without any switches provides the GUI. Thanks, Dave. And I wonder... with apache httpd, you can just extract the .so and paste in a jrun conf section off the net... I bet there's a similar way with IIS... extract the DLL, tell IIS where to send stuff... check the jrun.xml file for the right ports to use... You can, but wsconfig will actually verify that the web server can talk to the application server, which is an important thing to test, especially in a distributed environment. Ah. I'm always running on a 64bit system, or a newer version of httpd, so it's never really worked for me. Always tested things the old fashioned way... does it work? :-) Never got any worthy error messages outta the wsconfig tool... By hand, and error logs, ho! [= ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273699 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: New Features In Scorpio
On Monday 26 Mar 2007, Mark Drew wrote: Are you saying I have to give a 0898 number out for CFEclipse support? Nope, not at all ! AFAIK there is no competition for CF IDE's, unlike, say, CFML engines. -- Tom Chiverton Helping to heterogeneously pursue open-source infrastructures on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273700 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF script to save BitmapData from Flash
Any examples out there? Ta. Adrian ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273701 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFOBJECT calling Word.Application for Spell checker problem
The reason it wouldn't uninstall was because there were 20 instances of WINWORD.EXE running in the background of the machine. I never actually opened it once manually so I'm guessing that CF was creating a new instance everytime I put in a request. Something to note if you try this with Office 2007. I've uninstalled it now though and 97 worked first time. Guess you have to expect a few hiccups when using a Macromedia language owned by Adobe running on a Sun platform which is trying to use Microsoft products :-) James On Friday 23 Mar 2007, James Buckingham wrote: Thanks Tom. Just looking into that as an option but I currently can't remove 2007 off the server. It's throwing errors in the uninstall so I thought I'd stick with it just now and see if I can get 07 to work with it. And people ask me why I prefer Linux servers :-) -- Tom Chiverton Helping to appropriately market viral markets On: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273702 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: POST
No sweat. Glad I could help. :o) Chris Matt Wendig wrote: That did it!, thanks! I figured it was something dumb. - Original Message - From: Christopher Jordan [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Friday, March 23, 2007 5:09 PM Subject: Re: POST Matt, I'm guessing that you're running this on a windows machine. So I have questions: 1. Are the services started? 2. Are you using the correct port in your local url? (i.e. http://localhost:8080/myapp/index.cfm) I'm guessing that the url is your problem. Be sure to use port 8080 as I've used it above. Tell us if that doesn't help. Also you may want to join the BlueDragon mailing list. I'm a member there too, and it's pretty active. Hope that helps, Chris Matt Wendig wrote: Hi, I am looking for help getting started using CF on my home computer. I downloaded Blue Dragon and I have dreamweaver. I know the code from a part time job but I don't know how to configure it all to actually read my code. My pages are simply displaying the code right now. I do have the obdc done for my db. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273703 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: You think you know OOP.. but you don't
I am writing in spaghetti code because the client is not paying me enough to do otherwise. When you get good at it, you can't help but write OO-inspired code for all but the most trivial applications. Writing good code (OO or otherwise) will always be faster than writing crap. (Assuming you want the program to work and you still have that job.) Stick with it and you'll get there. Mark -Original Message- From: Aaron Roberson [mailto:[EMAIL PROTECTED] Sent: Sunday, March 25, 2007 8:31 PM To: CF-Talk Subject: Re: You think you know OOP.. but you don't @Dean A self-posting form is a view page with a form on it that has the action set to itself (or left blank, which is the same). The problem with it is that 95% of the time people put business logic right into the view page, hence they are not separating out the logic from the view (separation of concerns). As Dinner has stated you can use cfincludes or even cflocation to keep the business logic on a separate page for better maintainability, but for most spaghetti coders the whole purpose of self-posting forms is to not have to create a new page. Spaghetti coders like to keep all the meatballs, noodles and sauce mixed together because it takes less time to plan and organize, which speeds up development, but makes it almost impossible to maintain. BTW, I have been a spaghetti coder all the way up until now and I am currently only working on one project where I have implemented OOP for the entire application. Also, I am not a computer science major (though I may minor in it eventually) but I am learning OOP just to get my AS at my local junior college. In fact, I am working on a website right now that I am writing in spaghetti code because the client is not paying me enough to do otherwise. -Aaron ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273704 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF script to save BitmapData from Flash
On Monday 26 Mar 2007, Adrian Lynch wrote: Any examples out there? Is your Flash Flex ? -- Tom Chiverton Helping to dynamically benchmark market-driven clusters on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273705 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF script to save BitmapData from Flash
Sorry I was a bit vague. It's Flash 8, AS2 and CF7. -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: 26 March 2007 13:50 To: CF-Talk Subject: Re: CF script to save BitmapData from Flash On Monday 26 Mar 2007, Adrian Lynch wrote: Any examples out there? Is your Flash Flex ? -- Tom Chiverton ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273706 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: POST
Also, and not to knock BD, but if you're just doing local dev to polish your skills you can download the developer's edition of CFMX 7. Just download and install the trial, it'll automatically convert after 30 days. Check out the ACME Guide on acidlabs for a great guide to setting up your CF dev environment. (Personal Note: ditch DW and learn how to use CFEclipse) Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Christopher Jordan wrote: Matt, I'm guessing that you're running this on a windows machine. So I have questions: 1. Are the services started? 2. Are you using the correct port in your local url? (i.e. http://localhost:8080/myapp/index.cfm) I'm guessing that the url is your problem. Be sure to use port 8080 as I've used it above. Tell us if that doesn't help. Also you may want to join the BlueDragon mailing list. I'm a member there too, and it's pretty active. Hope that helps, Chris Matt Wendig wrote: Hi, I am looking for help getting started using CF on my home computer. I downloaded Blue Dragon and I have dreamweaver. I know the code from a part time job but I don't know how to configure it all to actually read my code. My pages are simply displaying the code right now. I do have the obdc done for my db. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273707 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF (VMWare ESX Server Vs Physical Hardware)?
Which OS are we talking about? I've done this on small sites (using Virtual PC Server) for Windows and we use VMWare extensively at the office (large enterprise) and have never had a problem. The keys, I think are: +) Each VM slice get's a specific amount of RAM dedicated to it (no other VM or the host OS can use it). Make sure that this is enough. I'm not sure if this is true. I don't have a lot of experience with VMWare ESX, but running VMWare server on top of Windows, if I allocate 2GB to a VM, but the VM only uses 256mb, that's all that it will use, the host or other VMs can use the free RAM. Russ ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273708 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF script to save BitmapData from Flash
http://www.flash-db.com/Tutorials/snapshot/snapshot.php Backend is PHP with GD required - at least it will get you started. I tried to find CF code some time ago with little success. I suppose I'll have to do same thing in couple of month's time and will be probably looking into some Java classes that have similar functionality to GD. As you can see only tricky part of that example PHP is this: imagesetpixel ( $image , $x , $y , $color ); Hope this helps Tero Pikala -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: 26 March 2007 13:32 To: CF-Talk Subject: CF script to save BitmapData from Flash Any examples out there? Ta. Adrian ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273709 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Fusebox 5.1 + J2EE WAR deployment fails with encrypted templates.
Hi I'm testing Fusebox 5.1 application deployment as a WAR to JRun 4.0 I have recent FB 5.1 files and skeleton Fusebox 5.1 application from www.fusebox.org If I deploy it without encrypting source it works just fine. If I encrypt source I'm getting following error message: -- Element fusebox is undefined in a Java object of type class coldfusion.runtime.ApplicationScope referenced as The error occurred in C:\webroot\servletfilter\errortemplates\genericErrorMessage.cfm: line 2 Called from C:\webroot\servletfilter\errortemplates\fusebox.fuseboxXMLError.cfm: line 1 Called from C:\webroot\servletfilter\fusebox5\fuseboxApplication.cfc: line 541 Called from C:\webroot\servletfilter\fusebox5\fusebox5.cfm: line 198 Called from C:\webroot\servletfilter\index.cfm: line 2 1 : cfoutput 2 : h3This is the template #application[FUSEBOX_APPLICATION_KEY].errortemplatesPath##cfcatch.type#.cfm /h3 3 : h2An Error of type #cfcatch.type# has occurred/h2 4 : h4#cfcatch.message#/h4 -- Is anybody familiar with this? In its potential usage we would definitely prefer encrypted templates if it can be fixed easily. Thanks Tero Pikala ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273710 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF script to save BitmapData from Flash
Thanks Tero, that's all I could find also. Until looking in to it I'd assumed it was a fairly common thing to do and that there would be plenty of CF examples. I'll post if I find anything, or do it myself of course ;) -Original Message- From: Tero Pikala [mailto:[EMAIL PROTECTED] Sent: 26 March 2007 14:21 To: CF-Talk Subject: RE: CF script to save BitmapData from Flash http://www.flash-db.com/Tutorials/snapshot/snapshot.php Backend is PHP with GD required - at least it will get you started. I tried to find CF code some time ago with little success. I suppose I'll have to do same thing in couple of month's time and will be probably looking into some Java classes that have similar functionality to GD. As you can see only tricky part of that example PHP is this: imagesetpixel ( $image , $x , $y , $color ); Hope this helps Tero Pikala -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: 26 March 2007 13:32 To: CF-Talk Subject: CF script to save BitmapData from Flash Any examples out there? Ta. Adrian ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273711 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Java Resources
This is one of the best resources on the web for programmers getting into the Java world. http://www.javaranch.com/ Steve Brownlee http://www.fusioncube.net/ -Original Message- From: Jim Davis [mailto:[EMAIL PROTECTED] Sent: Sunday, March 25, 2007 1:43 PM To: CF-Talk Subject: RE: Java Resources -Original Message- From: Robert Rawlins [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 3:25 PM To: CF-Talk Subject: Java Resources Hey guys, Well today has been my first day of getting my head around Java, I'm looking to expand my programming knowledge and Java seemed to be the natural progression, considering i've got a demmand for event gateways comming up soon, I thought it made sense. I'm in the same boat. Starting a new job in a week and will probably need much more Java that I have (I say probably because honestly nobody's tol me what, exactly, I'll be working on...) I'm finding the Head First books by O'Reilly to be good. I have trouble learning without doing so I don't find any books all that great, but these are the best of those I've tried. Once I get over the hump of the basics I usually set myself some simple personal project and that's where things really pick up for me. My plans right now are to convert some of my JavaScript libraries into Java. Jim Davis ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273712 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Looping Over Array
Hello Guys, I've got an array sat in my ViewState that I'm trying to loop over it and output the elements, but I can't get it working, silly I know. cfif VARIABLES.ViewState.exists(Errors) cfloop from=1 to=#arrayLen(VARIABLES.ViewState.getValue(Errors))# index=i cfoutput#VARIABLES.ViewState.getValue(Errors)[i]#/cfoutputbr / /cfloop /cfif Any help would be greatly appreciated guys, Rob ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273713 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Looping Over Array
Do this before the loop cfdump var=#VARIABLES.ViewState.getValue(Errors)# Does it output an array? If so: cfoutput#ArrayLen(VARIABLES.ViewState.getValue(Errors))#/cfoutput Does it contain anything? (The dump would show this anyway, but...) What's not happening anyway? Adrian -Original Message- From: Robert Rawlins - Think Blue [mailto:[EMAIL PROTECTED] Sent: 26 March 2007 14:40 To: CF-Talk Subject: Looping Over Array Hello Guys, I've got an array sat in my ViewState that I'm trying to loop over it and output the elements, but I can't get it working, silly I know. cfif VARIABLES.ViewState.exists(Errors) cfloop from=1 to=#arrayLen(VARIABLES.ViewState.getValue(Errors))# index=i cfoutput#VARIABLES.ViewState.getValue(Errors)[i]#/cfoutputbr / /cfloop /cfif Any help would be greatly appreciated guys, Rob ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273714 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
date compare
I've tried many approaches to this, but cannot get it to work right. Below I have a date compare which just does not work correctly. I'm using Access with a date/time field. If this is not the best solution, should I work with SQL then? I'm trying to find a date match in our database, minus 7 days, with the current date. Would this compare work: Where '03/26/2007' = '03/26/2007'? Even though it matches Thanks. RO HWW cfquery name=Getnow datasource=trials Select * from trials_info /cfquery CFSET sevendaysback = DateAdd(d, -7, getnow.expiration) Select * from trials_info Where '#DateFormat(CreateODBCDate(now()), mm/dd/)#' = '#DateFormat(CreateODBCDate(sevendaysback), mm/dd/)#' /cfquery ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273716 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Looping Over Array
Hello Adrian, The Array defiantly contains some data, it seems to have an issue with my syntax, I get the following error. Message Invalid CFML construct found on line 10 at column 75. Detail ColdFusion was looking at the following text: [ The CFML compiler was processing: an expression beginning with VARIABLES.ViewState.getValue, on line 10, column 36.This message is usually caused by a problem in the expressions structure. The body of a cfoutput tag beginning on line 10, column 26. The body of a cfoutput tag beginning on line 10, column 26. The body of a cfoutput tag beginning on line 10, column 26. Thanks again. Rob -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: 26 March 2007 14:50 To: CF-Talk Subject: RE: Looping Over Array Do this before the loop cfdump var=#VARIABLES.ViewState.getValue(Errors)# Does it output an array? If so: cfoutput#ArrayLen(VARIABLES.ViewState.getValue(Errors))#/cfoutput Does it contain anything? (The dump would show this anyway, but...) What's not happening anyway? Adrian -Original Message- From: Robert Rawlins - Think Blue [mailto:[EMAIL PROTECTED] Sent: 26 March 2007 14:40 To: CF-Talk Subject: Looping Over Array Hello Guys, I've got an array sat in my ViewState that I'm trying to loop over it and output the elements, but I can't get it working, silly I know. cfif VARIABLES.ViewState.exists(Errors) cfloop from=1 to=#arrayLen(VARIABLES.ViewState.getValue(Errors))# index=i cfoutput#VARIABLES.ViewState.getValue(Errors)[i]#/cfoutputbr / /cfloop /cfif Any help would be greatly appreciated guys, Rob ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273715 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Looping Over Array
Try changing it to: cfif VARIABLES.ViewState.exists(Errors) cfset anArray = VARIABLES.ViewState.getValue(Errors) cfloop from=1 to=#arrayLen(anArray)# index=i #anArray[i]#br / /cfloop /cfif Adrian -Original Message- From: Robert Rawlins - Think Blue [mailto:[EMAIL PROTECTED] Sent: 26 March 2007 15:24 To: CF-Talk Subject: RE: Looping Over Array Hello Adrian, The Array defiantly contains some data, it seems to have an issue with my syntax, I get the following error. Message Invalid CFML construct found on line 10 at column 75. Detail ColdFusion was looking at the following text: [ The CFML compiler was processing: an expression beginning with VARIABLES.ViewState.getValue, on line 10, column 36.This message is usually caused by a problem in the expressions structure. The body of a cfoutput tag beginning on line 10, column 26. The body of a cfoutput tag beginning on line 10, column 26. The body of a cfoutput tag beginning on line 10, column 26. Thanks again. Rob ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273717 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: date compare
On Monday 26 Mar 2007, Orlini, Robert wrote: Would this compare work: Where '03/26/2007' = '03/26/2007'? Even though it matches You'll need to set the hours, minutes, seconds etc. to 0. -- Tom Chiverton Helping to appropriately customize third-generation markets on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273718 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: More questions on Multiple Instances
I don't know what the heck persistent storage is, but yes, JREE sessions are enabled on all instances in the cluster. ~Brad -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 1:23 AM To: CF-Talk Subject: Re: More questions on Multiple Instances Brad Wood wrote: I checked the box under Enterprise Manager Cluster Manager My instance called Replicate Sessions. Did you disable persistent storage? Have you enabled J2EE sessions? Jochem ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273719 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: date compare
Thanks. Is there a CF command for that? Is it createobdc? -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 10:57 AM To: CF-Talk Subject:Re: date compare On Monday 26 Mar 2007, Orlini, Robert wrote: Would this compare work: Where '03/26/2007' = '03/26/2007'? Even though it matches You'll need to set the hours, minutes, seconds etc. to 0. -- Tom Chiverton Helping to appropriately customize third-generation markets on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273720 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: date compare
On Monday 26 Mar 2007, Orlini, Robert wrote: Is there a CF command for that? Is it createobdc? DateAdd() ? -- Tom Chiverton Helping to paradigmatically expedite real-time networks on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273721 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: date compare
Just FIX the date: #Fix( your_date )# will convert the date to a float, and then cut off the hour/min/seconds... Then the CFQueryParam tag will convert the float back into a date/time object. cfqueryparam value=#Fix( Now() )# cfsqltype=CF_SQL_TIMESTAMP / This will give you todays date with NO time. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 11:04 AM To: CF-Talk Subject: RE: date compare Thanks. Is there a CF command for that? Is it createobdc? ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273722 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: New Features In Scorpio
Ben - Are there any screenshots available that depict the presentation layer appearance of the new ajaxified text editor? Thx! -j Yep, you are going to need cfform for this, and any related from controls. And I know that many loathe cfform because of the JavaScript it created way back when, but if you've not looked at it in a while, do so. It's not the same animal, and is far more usable and configurable than is used to be. Of course, it is not for everyone, just as the embedded rich text editor is not for everyone. There will always be CF developers who want more control and who thus prefer to do things themselves, but for many CFers, cfform is a great set of shortcuts. --- Ben -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 11:18 AM To: CF-Talk Subject: RE: New Features In Scorpio While I'm really excited about this stuff, you realize this means you're going to have to use CFFORM to gain access to these new features. Does Adobe have any plans to allow these features to be used with plain HTML elements? Obviously you could simply view source and copy and paste, but it would be much nice to just use a function or something. Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com -Original Message- From: David Hannum [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 8:56 AM To: CF-Talk Subject: New Features In Scorpio Ben Forta just showed a demo at Spring lt;br /gt; Conference 2007 that Scorpio will include Ajax Wigits!!! He showed Text Field suggestion boxes, a calendar wigit and the mind blower was the Ajax Rich Text Editor!!! What a show! And we saw it first at Spring lt;br /gt; Conference 2007. Tim Buntel is showing it at MXDU on Friday Morning there, but that this afternoon here See, you should'a been at Spring br / Conference 2007 ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273723 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: New Features In Scorpio
I have to disagree... there is notepad, textpad, insert name herepad MD On 26 Mar 2007, at 13:29, Tom Chiverton wrote: On Monday 26 Mar 2007, Mark Drew wrote: Are you saying I have to give a 0898 number out for CFEclipse support? Nope, not at all ! AFAIK there is no competition for CF IDE's, unlike, say, CFML engines. -- Tom Chiverton Helping to heterogeneously pursue open-source infrastructures on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273724 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: More questions on Multiple Instances
Brad Wood wrote: I don't know what the heck persistent storage is, but yes, JREE sessions are enabled on all instances in the cluster. In your jrun.xml, you can configure persistent storage. If it is enabled your sessions will be saved to disk when the instance goes down. The problem arises when the instance comes back up and stale session data is restored into the session and other cluster members. There is a KB article on the Adobe website about this. Jochem ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273725 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Targetting an instance
Your webserver passes the request to CF. CF looks at the relative URL in the forwarded request and maps that to the known context roots (the list of them is in application.xml in the MEAT-INF directory). If there is a match the request is handled by that application and antyhing after the context root is appended to the location of the .war. Any virtual directories you need are in the xxx.web.jrun.xml file (xxx depends on the name of the application). == OK, so when I hit IIS for an image, does it bother JRUN for it, or does it just serve it up? I was under the impression that IIS would automatically serve all static content. *-*-*-*-*-*-*-*-*-* Uhmm, it just works??? The default behaviour for the webserver connector for clusters is to provide sticky sessions based on the first 4 bytes of the J2EE sessionID. Have you enabled J2EE sessions? === Per my original post, I have disabled sticky sessions and do not intend to enable them. JREE sessions ARE enabled in each instance, and I am sharing sessions among instances in my cluster. My sessions are not, however, sticky. Now, since I have three instances in my cluster only 1 out of 3 cfcharts on a page work, since the other two hit another instance which is apparently not able to generate the .png for it the chart. (Round Robin) I don't know how I can make that any clearer. My question is WITHOUT enabling sticky sessions, how can I force my cfcharts to go back to the correct instance to retrieve the image. Or whatever else would work. Has anyone else EVER had their cfcharts break when they started using a cluster and didn't use sticky sessions? ~Brad ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273726 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: New Features In Scorpio
Not yet, but stay tuned ... --- Ben -Original Message- From: james carberry [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 11:18 AM To: CF-Talk Subject: Re: New Features In Scorpio Ben - Are there any screenshots available that depict the presentation layer appearance of the new ajaxified text editor? Thx! -j Yep, you are going to need cfform for this, and any related from controls. And I know that many loathe cfform because of the JavaScript it created way back when, but if you've not looked at it in a while, do so. It's not the same animal, and is far more usable and configurable than is used to be. Of course, it is not for everyone, just as the embedded rich text editor is not for everyone. There will always be CF developers who want more control and who thus prefer to do things themselves, but for many CFers, cfform is a great set of shortcuts. --- Ben -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 11:18 AM To: CF-Talk Subject: RE: New Features In Scorpio While I'm really excited about this stuff, you realize this means you're going to have to use CFFORM to gain access to these new features. Does Adobe have any plans to allow these features to be used with plain HTML elements? Obviously you could simply view source and copy and paste, but it would be much nice to just use a function or something. Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com -Original Message- From: David Hannum [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 8:56 AM To: CF-Talk Subject: New Features In Scorpio Ben Forta just showed a demo at Spring lt;br /gt; Conference 2007 that Scorpio will include Ajax Wigits!!! He showed Text Field suggestion boxes, a calendar wigit and the mind blower was the Ajax Rich Text Editor!!! What a show! And we saw it first at Spring lt;br /gt; Conference 2007. Tim Buntel is showing it at MXDU on Friday Morning there, but that this afternoon here See, you should'a been at Spring br / Conference 2007 ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273727 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: date compare
Firstly, what you have to keep in mind is that you said you have date/time fields. When you are trying: WHERE myDate = '03/26/2007' what you are really saying is: WHERE myDate = '2007-03-26 00:00:00.000' This comparison will fail on a record such as '2007-03-26 17:56:22.000'. To get around that you can convert the date/time field to get it to drop the time: CONVERT(char(8), myDate, 1) will give you '03/26/07' cfquery name=Getnow datasource=trials Select * from trials_info /cfquery CFSET sevendaysback = DateAdd(d, -7, getnow.expiration) Select * from trials_info Where '#DateFormat(CreateODBCDate(now()), mm/dd/)#' = '#DateFormat(CreateODBCDate(sevendaysback), mm/dd/)#' /cfquery I get from your code that you are trying to find all records that have an expiration column equal to 7 days ago. You could do this all in one query like the following (MSSQL syntax): SELECT * FROMtrials_info WHERE CONVERT(char(8), dateadd(dd, -7, expiration), 1) = CONVERT(CHAR(8), getDate(), 1) HTH, Rich Kroll ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273728 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: date compare
#Fix( your_date )# will convert the date to a float, and then cut off the hour/min/seconds... Then the CFQueryParam tag will convert the float back into a date/time object. I guess you learn something every day! Nice tip Ben Rich Kroll ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273729 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Targetting an instance
Yes. If you really want CF to have sources outside the EAR you need to create a mapping in jrun-web.xml, but I wouldn't bother. Are you suggesting that all my cfm files should always reside under jrun/servers/instance_name/... Right now, all my cfml is on an entirely separate drive. We did this because we wanted multiple instances to share the same code. In our environment we need the ability to deploy hot fixes any time throughout the day quickly and easily by simply moving a single file. Maybe, this is all possible and easy and we just don't know what we are doing (most likely scenario) but it seems that we would be greatly complicating our release process by having to create and deploy an EAR or something when all we need to update is a single line of code. From my experiences so far, creating and deploying WARs seems to be a very time consuming process. Thoughts? ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273730 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: You think you know OOP.. but you don't
Mark, You are absolutely right. Once I get a little more fluent with OO the client will not be able to pay me enough to write crappy code. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273731 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: New Features In Scorpio
On Monday 26 Mar 2007, Mark Drew wrote: I have to disagree... there is notepad, textpad, insert name herepad Those aren't IDEs :-) -- Tom Chiverton Helping to seamlessly transform one-to-one methodologies on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273732 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: date compare
OMG I never thought about that and it totally makes sense... Rich, thanks... that will help out in so many instances... ~Terry -Original Message- From: Richard Kroll [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 10:34 To: CF-Talk Subject: RE: date compare #Fix( your_date )# will convert the date to a float, and then cut off the hour/min/seconds... Then the CFQueryParam tag will convert the float back into a date/time object. I guess you learn something every day! Nice tip Ben Rich Kroll ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273733 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Targetting an instance
Brad Wood wrote: Your webserver passes the request to CF. CF looks at the relative URL in the forwarded request and maps that to the known context roots (the list of them is in application.xml in the MEAT-INF directory). If there is a match the request is handled by that application and antyhing after the context root is appended to the location of the .war. Any virtual directories you need are in the xxx.web.jrun.xml file (xxx depends on the name of the application). == OK, so when I hit IIS for an image, does it bother JRUN for it, or does it just serve it up? Do you have a wildcard mapping in IIS or not? I was under the impression that IIS would automatically serve all static content. Depends on the exact configuration. Take a look at the headers, usually you can see a JRun header if it is served from JRun. *-*-*-*-*-*-*-*-*-* Uhmm, it just works??? The default behaviour for the webserver connector for clusters is to provide sticky sessions based on the first 4 bytes of the J2EE sessionID. Have you enabled J2EE sessions? === Per my original post, I have disabled sticky sessions and do not intend to enable them. You said you had disabled them on the loadbalancer, not on the JRun connector. I don't know how I can make that any clearer. My question is WITHOUT enabling sticky sessions, how can I force my cfcharts to go back to the correct instance to retrieve the image. Not. Perhaps you can do it the other way around and have all instances share a common filesystem cache for cfchart images. Jochem ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273734 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
But it is a bit confusing, since CF is an app server, which runs on an app server... And you can deploy CF apps in their own CF instances... And how it's all set up can vary... Yeah... Dude-- seriously... lol That is why I asked for a definition of what people meant by application in the context of context roots. You just pointed out three different applications. BTW, I don't think anyone has answered that one yet. ~Brad ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273735 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
But by default, with the jrun web connector, your CF files can be located anywhere you like, and I assume your cf instance could be located where ever you want (/cfusion, for instance :P), and the connector takes care of the details. It is not the connector that does that. The connector just makes sure that the request is forwarded to a certain port on a certain IP address. After that it is all in the XML configuration files. But yes, you have considerable freedom to customize those configuration files. So, at what level does the cluster load balancing occur? Does the WS connector know what instances are in the cluster? If I have three instances on three separate servers with three separate IPs all in one cluster, and one web server is connected to that instance (heck let's say its on a separate server too), which IP address does it send the request to? What if one physical box goes down? Does the connector know all of the ip address for all of the instances in my cluster? ~Brad ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273736 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Targetting an instance
Brad Wood wrote: Yes. If you really want CF to have sources outside the EAR you need to create a mapping in jrun-web.xml, but I wouldn't bother. Are you suggesting that all my cfm files should always reside under jrun/servers/instance_name/... I am suggesting you put all your code in an EAR file and leave it there. Whether you create your instances under /jrun/servers/ or not is up to you. Right now, all my cfml is on an entirely separate drive. We did this because we wanted multiple instances to share the same code. In our environment we need the ability to deploy hot fixes any time throughout the day quickly and easily by simply moving a single file. Maybe, this is all possible and easy and we just don't know what we are doing (most likely scenario) but it seems that we would be greatly complicating our release process by having to create and deploy an EAR or something when all we need to update is a single line of code. Our scenario is designed to make it hard to mess with the contents of the application and change files. You get one EAR file, not a bunch of ..cfm/cfc files. And changing individual files is a bit hard if they are all compiled. We have had too many issues with people that alter our applications. From my experiences so far, creating and deploying WARs seems to be a very time consuming process. Depends on your definition of long. Generating an EAR straight from source control takes about 80 seconds for uncompiled and 120 seconds for compiled applications. For the more complicated applications running automated regression tests easily takes several hours. Deployment on a three node cluster takes 2 minutes if it is an incompatible change (old and new version can not be active at the same time due to incompatible database schema's) or up to an hour if we do a slow and controlled update of the cluster where we update one instance at a time. But our scenario is designed with a clearly different goal. Jochem ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273737 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Fusebox 5.1 + J2EE WAR deployment fails with encrypted templates.
Tero, It seems that you have encrypted fusebox.xml.cfm and other circuit.xml.cfmfiles. Those are essentially just XML which has a .cfm extension. HTH Qasim On 3/26/07, Tero Pikala [EMAIL PROTECTED] wrote: Hi I'm testing Fusebox 5.1 application deployment as a WAR to JRun 4.0 I have recent FB 5.1 files and skeleton Fusebox 5.1 application from www.fusebox.org If I deploy it without encrypting source it works just fine. If I encrypt source I'm getting following error message: -- Element fusebox is undefined in a Java object of type class coldfusion.runtime.ApplicationScope referenced as The error occurred in C:\webroot\servletfilter\errortemplates\genericErrorMessage.cfm: line 2 Called from C:\webroot\servletfilter\errortemplates\fusebox.fuseboxXMLError.cfm: line 1 Called from C:\webroot\servletfilter\fusebox5\fuseboxApplication.cfc: line 541 Called from C:\webroot\servletfilter\fusebox5\fusebox5.cfm: line 198 Called from C:\webroot\servletfilter\index.cfm: line 2 1 : cfoutput 2 : h3This is the template #application[FUSEBOX_APPLICATION_KEY].errortemplatesPath##cfcatch.type#.cfm /h3 3 : h2An Error of type #cfcatch.type# has occurred/h2 4 : h4#cfcatch.message#/h4 -- Is anybody familiar with this? In its potential usage we would definitely prefer encrypted templates if it can be fixed easily. Thanks Tero Pikala ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273738 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: More questions on Multiple Instances
In your jrun.xml, you can configure persistent storage. If it is enabled your sessions will be saved to disk when the instance goes down. The problem arises when the instance comes back up and stale session data is restored into the session and other cluster members. There is a KB article on the Adobe website about this. === Ahh, that makes sense. I have not started modifying any xml files yet. I guess I figured that if a setting was important enough, Adobe would make a checkbox for it in CFIDE somewhere. I guess that's probably not the case though. Could you as kind as to provide the link to that KB article? Of course, all this is TOTALLY off my original question which was this: Why the HECK does an XML document in session not support the serializable class (or whatever the heck it has to do to replicate). I mean, it's XML for crying out loud! :) ~Brad ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273739 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Targetting an instance
Brad Wood wrote: So, at what level does the cluster load balancing occur? Does the WS connector know what instances are in the cluster? Yes. If I have three instances on three separate servers with three separate IPs all in one cluster, and one web server is connected to that instance (heck let's say its on a separate server too), which IP address does it send the request to? It sends it to the instance that has a server.id that is identical to the first 4 bytes of the jsessionid. (See connector.properties in /SERVER-INF/ for the server.id.) If there is no jsessionid it picks one according to the defined algorithm. What if one physical box goes down? The connector will detect that and stop sending requests to that instance (for some types of failure setting a smaller TCPTimedWaitDelay can greatly increase the speed of failure detection, see the MS documentation and RFC 793 for the consequences). Does the connector know all of the ip address for all of the instances in my cluster? Yes. Check out some of the files in your wsconfig dir, they can be very enlightening. Jochem ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273740 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Targetting an instance
OK, so when I hit IIS for an image, does it bother JRUN for it, or does it just serve it up? Do you have a wildcard mapping in IIS or not? = Hmm, I will look. I assume the mappings are set up when I use wsconfig to connect my webserver to my instance or cluster? Is that what the Configure web server for ColdFusion MX applications option checkbox does? *-*-*-*-*-*-*-*-* Per my original post, I have disabled sticky sessions and do not intend to enable them. You said you had disabled them on the loadbalancer, not on the JRun connector. === I apologize if I used incorrect terminology. In my current set up, I am using a single web server which in connected to a JRun cluster. The only load balancing going on is inside of the JRun cluster. There is no other hardware or software load balancing going on anywhere in my test configuration. All references made to load balancer changes referred to the options made available to me by logging into CF Administrator, going to Enterprise Manager, and checking and unchecking boxes in the interface pertaining to my cluster. *-*-*-*-*-*- Perhaps you can do it the other way around and have all instances share a common filesystem cache for cfchart images. = That sort of makes sense, but how is that even possible? http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-a11.htm I don't see any settings at all for the cfchart tag where I can specify where it places the chart images or how it generates the HTML to include them. The image source looks like this: /CFIDE/GraphData.cfm?graphCache=wc50graphID=Images/8272318990100014.PNG How on would I control that, or force ColdFusion to write all images from all clusters to one location which was accessible by all? Heck, I don't even know when the actual image is made. Does the cfchart tag make the images, or is it actually generated when my browser requests the image? I still don't understand how I seem to be the only person in the world with this problem. Does nobody else running a cluster even use cfchart? I guess I figured trivial things like this would have been ran into a thousand times by now, and there would be known, documented workarounds. I suppose I'm just asking too much... :) ~Brad ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273741 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
But our scenario is designed with a clearly different goal. === It appears so. My software is all used internally by the same company I work for. We manage our own web servers and our releases. We also want the ability to hot fix anything at any time. Obscuring the code would serve no benefit here. ~Brad ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273742 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
OK, thanks Jochem. That takes care of several of my burning questions. I didn't understand that the connector itself is what implants the selected algorithm. I figured the connector simply tossed the request in the general direct of the cluster and JRun took care of the rest. That helps me to understanding better the role of the WS connector in the whole process. ~Brad -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 11:11 AM To: CF-Talk Subject: Re: Targetting an instance Brad Wood wrote: So, at what level does the cluster load balancing occur? Does the WS connector know what instances are in the cluster? Yes. If I have three instances on three separate servers with three separate IPs all in one cluster, and one web server is connected to that instance (heck let's say its on a separate server too), which IP address does it send the request to? It sends it to the instance that has a server.id that is identical to the first 4 bytes of the jsessionid. (See connector.properties in /SERVER-INF/ for the server.id.) If there is no jsessionid it picks one according to the defined algorithm. What if one physical box goes down? The connector will detect that and stop sending requests to that instance (for some types of failure setting a smaller TCPTimedWaitDelay can greatly increase the speed of failure detection, see the MS documentation and RFC 793 for the consequences). Does the connector know all of the ip address for all of the instances in my cluster? Yes. Check out some of the files in your wsconfig dir, they can be very enlightening. Jochem ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273743 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: OT - PHP Question
I'd personally suggest staying away from the $_Request global. It can make it difficult to pick up where the variables are actually coming from as it checks the URL, Sessions and the POST variables for that particular variable. !k -Original Message- From: Eric Haskins [mailto:[EMAIL PROTECTED] Sent: Sunday, March 25, 2007 9:41 PM To: CF-Talk Subject: Re: OT - PHP Question Use $_REQUEST['rec_ID'] or $_GET['rec_ID'] / $_POST['rec_ID'] Like so $sql=SELECT * FROM personal WHERE ID = ' . $_REQUEST['rec_ID'] . ' ; Most servers or hosts like me turn of Register Globals. DOnt forget to use strip_tags() or other form of input sanitation Eric On 3/25/07, Jochem van Dieten [EMAIL PROTECTED] wrote: Pete wrote: Hi All just wondering if anyone knows of a similar PHP message board. http://nl2.php.net/support.php And the second one (which should display the result however I keep getting an error message when I have $rec_ID below. It says : Sorry there is no information Back PHP Notice: Undefined variable: rec_ID in c:\Inetpub\wwwroot\personalphp\see_rec.php on line 8 http://nl2.php.net/manual/en/reserved.variables.php#reserved.variables.get Jochem ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273744 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Targetting an instance
It sends it to the instance that has a server.id that is identical to the first 4 bytes of the jsessionid. (See connector.properties in /SERVER-INF/ for the server.id.) If there is no jsessionid it picks one according to the defined algorithm. == Hey does that explain why whenever I changed a cluster setting in CFADMIN pertained to what algorithm was used, it seemed like I had to open wsconfig, delete and re-add the connector before it would pick up the changes? Is that documented anywhere? ~Brad ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273745 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: New Features In Scorpio
Can anyone tell me (a yes/no answer would be fine) if Scorpio adds any IMAP functionality? Thanks Pete On 3/26/07, Ben Forta [EMAIL PROTECTED] wrote: Not yet, but stay tuned ... --- Ben -Original Message- From: james carberry [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 11:18 AM To: CF-Talk Subject: Re: New Features In Scorpio Ben - Are there any screenshots available that depict the presentation layer appearance of the new ajaxified text editor? Thx! -j Yep, you are going to need cfform for this, and any related from controls. And I know that many loathe cfform because of the JavaScript it created way back when, but if you've not looked at it in a while, do so. It's not the same animal, and is far more usable and configurable than is used to be. Of course, it is not for everyone, just as the embedded rich text editor is not for everyone. There will always be CF developers who want more control and who thus prefer to do things themselves, but for many CFers, cfform is a great set of shortcuts. --- Ben -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 11:18 AM To: CF-Talk Subject: RE: New Features In Scorpio While I'm really excited about this stuff, you realize this means you're going to have to use CFFORM to gain access to these new features. Does Adobe have any plans to allow these features to be used with plain HTML elements? Obviously you could simply view source and copy and paste, but it would be much nice to just use a function or something. Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com -Original Message- From: David Hannum [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 8:56 AM To: CF-Talk Subject: New Features In Scorpio Ben Forta just showed a demo at Spring lt;br /gt; Conference 2007 that Scorpio will include Ajax Wigits!!! He showed Text Field suggestion boxes, a calendar wigit and the mind blower was the Ajax Rich Text Editor!!! What a show! And we saw it first at Spring lt;br /gt; Conference 2007. Tim Buntel is showing it at MXDU on Friday Morning there, but that this afternoon here See, you should'a been at Spring br / Conference 2007 ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273746 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF (VMWare ESX Server Vs Physical Hardware)?
Other than those items (which are really all configuration issues) there's really nothing different. Your VM will be seen as a real PC in every way that matters. I've been using VMWare since it's inception (Desktop) and currently have deployed apps on VMWare Player (for laptop-based demos on the go), VMWare Server (staging and internal apps), and ESX2.0 (for a client) so I'm all for this I'm curious though, since we're on the subject, if anyone has tried the VMWare Converter http://www.vmware.com/products/converter/ to convert a physical machine into a virtual one. Anyone? I'd love to hear about it. Parallels has a similar tool, btw, for their Mac Desktop users that's on my agenda as soon as the new MacBook comes in... -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273747 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: New Features In Scorpio
that is what I have been saying for 3 years! No one seems to believe me though MD On 26 Mar 2007, at 16:42, Tom Chiverton wrote: On Monday 26 Mar 2007, Mark Drew wrote: I have to disagree... there is notepad, textpad, insert name herepad Those aren't IDEs :-) ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273748 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Web Server Configuration Tool
On 3/26/07, Neil wrote: Anyone know if the Connector Tool type approach works with .NET as well? i.e. you have a .NET app in a data tier but the pages are actually being served via a front end webserver? While I seriously doubt that you could use the jrun connector, you could fer sure proxy it through the webserver. For Apache HTTPD, you can say http://your.web.server/netapp should come from http://your.net.appserver/netapp... Not sure if that's what you're thinking of or not... you can add conditional rewrites as well, so only *.someExt files get proxied, which allows for static content to be served by the webserver, and any live stuff via the proxy. Fun stuff! ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273749 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF (VMWare ESX Server Vs Physical Hardware)?
Yup, used it twice - once to convert a remote machine and once to convert the local machine. The remote machine failed but I suspect that was because of the old/strange raid storage it uses which I've heard can cause problems. The instance that did work is perfect. - Original Message - From: John Paul Ashenfelter [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, March 26, 2007 5:59 PM Subject: Re: CF (VMWare ESX Server Vs Physical Hardware)? Other than those items (which are really all configuration issues) there's really nothing different. Your VM will be seen as a real PC in every way that matters. I've been using VMWare since it's inception (Desktop) and currently have deployed apps on VMWare Player (for laptop-based demos on the go), VMWare Server (staging and internal apps), and ESX2.0 (for a client) so I'm all for this I'm curious though, since we're on the subject, if anyone has tried the VMWare Converter http://www.vmware.com/products/converter/ to convert a physical machine into a virtual one. Anyone? I'd love to hear about it. Parallels has a similar tool, btw, for their Mac Desktop users that's on my agenda as soon as the new MacBook comes in... -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273750 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Targetting an instance
Brad Wood wrote: OK, so when I hit IIS for an image, does it bother JRUN for it, or does it just serve it up? Do you have a wildcard mapping in IIS or not? Hmm, I will look. I assume the mappings are set up when I use wsconfig to connect my webserver to my instance or cluster? Is that what the Configure web server for ColdFusion MX applications option checkbox does? I have no idea how the GUI works. Batchfiles are reproducible and provide an audit trail, GUIs don't. That sort of makes sense, but how is that even possible? http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-a11.htm I don't see any settings at all for the cfchart tag where I can specify where it places the chart images or how it generates the HTML to include them. runtime.cfc in the Admin API has some methods that look promising. The image source looks like this: /CFIDE/GraphData.cfm?graphCache=wc50graphID=Images/8272318990100014.PNG How on would I control that, or force ColdFusion to write all images from all clusters to one location which was accessible by all? Heck, I don't even know when the actual image is made. Does the cfchart tag make the images, or is it actually generated when my browser requests the image? I assume the cfchart tag, else CF would have to keep the data series around until the next request. Disable image loading in your browser and find out :) I still don't understand how I seem to be the only person in the world with this problem. Does nobody else running a cluster even use cfchart? Until proven otherwise I believe cfchart is just a symptom, sessions not being sticky in the connector is the cause. Jochem ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273751 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Targetting an instance
Brad Wood wrote: Hey does that explain why whenever I changed a cluster setting in CFADMIN pertained to what algorithm was used, it seemed like I had to open wsconfig, delete and re-add the connector before it would pick up the changes? While I am not sure what you mean by cfadmin, the answer probably is yes. To change connector settings you need to restart IIS, not JRun. Jochem ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273752 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
I still don't understand how I seem to be the only person in the world with this problem. Does nobody else running a cluster even use cfchart? Until proven otherwise I believe cfchart is just a symptom, sessions not being sticky in the connector is the cause. === I have no doubt that the lack of sticky sessions is the cause. It just doesn't seem that I should have to settle with Adobe telling me the correct fix is simply to enable sticky sessions. That seems to undermine the whole purpose of sharing sessions and such. (with the exception of when an instance goes down). ~Brad ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273753 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
CFAdmin = ColdFusion Administrator /CFIDE/administrator/index.cfm ~Brad While I am not sure what you mean by cfadmin, the answer probably is yes. To change connector settings you need to restart IIS, not JRun. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273754 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Targetting an instance
Brad Wood wrote: Until proven otherwise I believe cfchart is just a symptom, sessions not being sticky in the connector is the cause. I have no doubt that the lack of sticky sessions is the cause. It just doesn't seem that I should have to settle with Adobe telling me the correct fix is simply to enable sticky sessions. The way I see it there are three possible solutions to the abstract problem posed by cfchart being a 2-request tag: - subsequent requests need to be directed to the same instance; - instances share a common cfgraph cache; - all data for all graphs needs to be present everywhere all the time. The first 2 options are available to you and IMHO the third option has such horrible consequences for performance that I am glad they didn't implement it. Or do you see any other theoretical solutions? Jochem ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273755 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Web Server Configuration Tool
Yeah, I didn't mean the web config tool :-) but you get the idea! This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Dinner To: CF-Talk Sent: Mon Mar 26 18:09:43 2007 Subject: Re: Web Server Configuration Tool On 3/26/07, Neil wrote: Anyone know if the Connector Tool type approach works with .NET as well? i.e. you have a .NET app in a data tier but the pages are actually being served via a front end webserver? While I seriously doubt that you could use the jrun connector, you could fer sure proxy it through the webserver. For Apache HTTPD, you can say http://your.web.server/netapp should come from http://your.net.appserver/netapp... Not sure if that's what you're thinking of or not... you can add conditional rewrites as well, so only *.someExt files get proxied, which allows for static content to be served by the webserver, and any live stuff via the proxy. Fun stuff! ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273756 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: date compare
Thanks Rich. Tried to implement but recevd errors with Convert. Where does this command go pls? In the where? Tried that but still got errors. -Original Message- From: Richard Kroll [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 11:33 AM To: CF-Talk Subject:RE: date compare Firstly, what you have to keep in mind is that you said you have date/time fields. When you are trying: WHERE myDate = '03/26/2007' what you are really saying is: WHERE myDate = '2007-03-26 00:00:00.000' This comparison will fail on a record such as '2007-03-26 17:56:22.000'. To get around that you can convert the date/time field to get it to drop the time: CONVERT(char(8), myDate, 1) will give you '03/26/07' cfquery name=Getnow datasource=trials Select * from trials_info /cfquery CFSET sevendaysback = DateAdd(d, -7, getnow.expiration) Select * from trials_info Where '#DateFormat(CreateODBCDate(now()), mm/dd/)#' = '#DateFormat(CreateODBCDate(sevendaysback), mm/dd/)#' /cfquery I get from your code that you are trying to find all records that have an expiration column equal to 7 days ago. You could do this all in one query like the following (MSSQL syntax): SELECT * FROMtrials_info WHERE CONVERT(char(8), dateadd(dd, -7, expiration), 1) = CONVERT(CHAR(8), getDate(), 1) HTH, Rich Kroll ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273757 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Web Server Configuration Tool
Anyone know if the Connector Tool type approach works with .NET as well? i.e. you have a .NET app in a data tier but the pages are actually being served via a front end webserver? If I recall correctly, ASP.NET web applications are not run by a separate service, but as in-process applications. I'm sure there are ways to get to the same place essentially, but not like this. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273758 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Targetting an instance
OK, so when I hit IIS for an image, does it bother JRUN for it, or does it just serve it up? I was under the impression that IIS would automatically serve all static content. That is a common misconception. By default, when you install the web server connector, it creates a wildcard mapping as Jochem mentioned. This allows JRun/CF to process generic servlet requests, which have no file extension. By default, also, the default context root is /, which of course is common to every request. So, when someone requests a static file, the connector forwards the request to JRun, which quickly determines that it's a static file and returns that request to the web server for processing. (At least, that's my understanding of how the process works; I could very well be wrong on some of the details.) Per my original post, I have disabled sticky sessions and do not intend to enable them. JREE sessions ARE enabled in each instance, and I am sharing sessions among instances in my cluster. My sessions are not, however, sticky. Now, since I have three instances in my cluster only 1 out of 3 cfcharts on a page work, since the other two hit another instance which is apparently not able to generate the .png for it the chart. (Round Robin) I don't know how I can make that any clearer. My question is WITHOUT enabling sticky sessions, how can I force my cfcharts to go back to the correct instance to retrieve the image. Or whatever else would work. Has anyone else EVER had their cfcharts break when they started using a cluster and didn't use sticky sessions? I would not expect anything which depends on the creation of a file at runtime, to work by default in a non-sticky clustered environment. You should expect that you'll have to take special measures in those cases. In this particular case, you could use a different instance just for handling these requests; this instance would presumably be hooked to a separate web server instance, and would guarantee that requests that generate charts are only run from one place. Jochem may well have some better alternatives up his sleeve; I haven't read through the entire thread yet. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273759 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Targetting an instance
I think the default web connector handles stuff a bit differently- And you say CF, but you mean JRun, right? The way I see it, and this is using apache for an example, but with the default web connector, you add a handler for the .cfm, .cfc, .jsp file types-- This means that if httpd sees a request for fun.htm, it serves it directly, but if it sees a request for fun.cfm, it lets JRun/CF handle it, and just returns whatever CF returns. While the handler is there in httpd.conf, my experience with Apache and CF/JRun has been that JRun will be able to handle other requests, such as requests for servlets (which aren't mapped to any file extension at all). This indicates that JRun is able to examine every request, whether it matches one of the listed extensions or not. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273760 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
The way I see it there are three possible solutions to the abstract problem posed by cfchart being a 2-request tag: - subsequent requests need to be directed to the same instance; - instances share a common cfgraph cache; - all data for all graphs needs to be present everywhere all the time. The first 2 options are available to you and IMHO the third option has such horrible consequences for performance that I am glad they didn't implement it. The first 2 options are available to you I don't know that I would go that far. Just because some people on the list *think* something may be possible, but it will involve hacking XML files, and jumping through hoops using lightly documented cfcs doesn't necessarily make it a viable option worth the time of researching it. I have yet to hear from a single person so far who has: 1) Found themselves in this situation 2) Successfully implemented either of your first two suggestions. You would think that somewhere in the live docs next to the description of the enable sticky connections checkbox, there would be note somewhere saying Oh by the way, if you use cfchart of any other 2 request tag, they will not work when this is unchecked. I suppose I expected there to be a more elegant BUILT-IN method for working around this. I hate for the fact that I have a handful of cfcharts on my site to dictate how I must configure my cluster. It just doesn't seem right. ~Brad ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273761 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
Maybe I missed a part of the thread, but what exactly is the reason that you don't want to enable sticky sessions? Russ -Original Message- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 2:21 PM To: CF-Talk Subject: RE: Targetting an instance The way I see it there are three possible solutions to the abstract problem posed by cfchart being a 2-request tag: - subsequent requests need to be directed to the same instance; - instances share a common cfgraph cache; - all data for all graphs needs to be present everywhere all the time. The first 2 options are available to you and IMHO the third option has such horrible consequences for performance that I am glad they didn't implement it. The first 2 options are available to you I don't know that I would go that far. Just because some people on the list *think* something may be possible, but it will involve hacking XML files, and jumping through hoops using lightly documented cfcs doesn't necessarily make it a viable option worth the time of researching it. I have yet to hear from a single person so far who has: 1) Found themselves in this situation 2) Successfully implemented either of your first two suggestions. You would think that somewhere in the live docs next to the description of the enable sticky connections checkbox, there would be note somewhere saying Oh by the way, if you use cfchart of any other 2 request tag, they will not work when this is unchecked. I suppose I expected there to be a more elegant BUILT-IN method for working around this. I hate for the fact that I have a handful of cfcharts on my site to dictate how I must configure my cluster. It just doesn't seem right. ~Brad ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273762 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: date compare
Thanks Rich. Tried to implement but recevd errors with Convert. Where does this command go pls? In the where? Tried that but still got errors. Rich noted the example uses MSSQL syntax. I don't know if Access has the convert() function. I'm kinda' rusty but try one of these two WHERE dateDiff('d', expiration, date()) = 7 WHERE expiration = dateAdd('d', -7, date()) AND expiration dateAdd('d', -6, date()) ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273763 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF (VMWare ESX Server Vs Physical Hardware)?
+) Each VM slice get's a specific amount of RAM dedicated to it (no +other VM or the host OS can use it). Make sure that this is enough. I'm not sure if this is true. I don't have a lot of experience with VMWare ESX, but running VMWare server on top of Windows, if I allocate 2GB to a VM, but the VM only uses 256mb, that's all that it will use, the host or other VMs can use the free RAM. This is the default behavior for ESX 3 as well, I think. However, you can't dynamically increase the amount of memory that a guest OS will use; you must set a maximum, which is what the guest will think is the actual physical memory. To change the maximum, you must stop the VM, edit its settings, then restart it. Within ESX, memory management can get pretty complicated. While this was written for a previous version of ESX, it's a good explanation for how memory management works within ESX: http://www.waldspurger.org/carl/papers/esx-mem-osdi02.pdf (PDF version) http://72.14.209.104/search?q=cache:xvUNqOqWAdQJ:www.waldspurger.org/carl/pa pers/esx-mem-osdi02.pdf+vmware+esx+guest+memory+allocationhl=enct=clnkcd= 3gl=usclient=firefox-a (HTML from Google cache) Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273764 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
Well, I supposed the primary reason why I was hoping not to use them is they just don't make sense. The idea of load balancing to me is that my CURRENT traffic load would be evenly spread across the servers. In light of that concept, the whole idea of taking each user, lassoing them down, and tying them to one server just seems to fly in the face of evenly proportioned traffic. If 8 users logon to a site clustered in round robin fashion to two instances, and then the 4 on one server all log off that leaves 100% of remaining traffic bound to one and only one server. That just doesn't seem right. Why should my traffic 2 hours ago determine the server load now. (On our internal site the average session lasts all day long-- from when people come to work and log in, till when they go home and log off.) We have had very poor load spread here with our current hardware load balancer which divides traffic up between 5 single instance installs of CF. Sticky sessions are enabled on the HW Load Balancer and somehow I think they might be to blame for some of the lop-sided traffic. For instance, right at this very moment according to my live SeeFusion stats one of my web servers has served 45% of all page hits today, and another server has only served 5%!! What the heck? So, when we decided to move to Enterprise, I thought GREAT now I can share sessions amongst the servers and never have to worry about our servers being lopsided again. But now, every problem I run into enable sticky sessions is the bloody answer! Enabling sticky sessions seems to completely undo pretty much all the good I was hoping to gain from replicating my session and letting the users jump from one server to another as they used the site. Of course, what frustrates be about BOTH are hardware balancer and a JRun cluster, is that they are not aware of things like CPU usage on the servers. They just keep round robining traffic as long as the server/instance is up regardless of how many other requests that server may still be churning through. I would definitely like suggestions on how to make our load balancing more aware. I know our hardware balancer (Foundry ServerIron) supports checking a hear-beat page, but to my understanding that only tells it that the application server is running-- not how busy it is. ~Brad -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 1:33 PM To: CF-Talk Subject: RE: Targetting an instance Maybe I missed a part of the thread, but what exactly is the reason that you don't want to enable sticky sessions? Russ ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273765 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: date compare
Thanks Rich. Tried to implement but recevd errors with Convert. Where does this command go pls? In the where? Tried that but still got errors. As Janet noted, that syntax is for MSSQL. I did a quick test in Access, and you can get similar results using the following: WHERE Format(myDate, 'mm/dd/') = '03/26/2005'; HTH, Rich Kroll ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273766 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Targetting an instance
On 3/26/07, Dave W wrote: I think the default web connector handles stuff a bit differently- And you say CF, but you mean JRun, right? The way I see it, and this is using apache for an example, but with the default web connector, you add a handler for the .cfm, .cfc, .jsp file types-- This means that if httpd sees a request for fun.htm, it serves it directly, but if it sees a request for fun.cfm, it lets JRun/CF handle it, and just returns whatever CF returns. While the handler is there in httpd.conf, my experience with Apache and CF/JRun has been that JRun will be able to handle other requests, such as requests for servlets (which aren't mapped to any file extension at all). This indicates that JRun is able to examine every request, whether it matches one of the listed extensions or not. JRun's handling of requests is kinda separate from Apache HTTPD, as it is a server in it's own right, so maybe that's part of the servelet handling and whatnot. Because if you turn off CF, HTTPD still serves out static content. But try for a extension handled by the jrun handler... and 500 error... I'm pretty sure that the JRun connector does some magic to get the request evaluated in the context of the web root, vs. the CF instance- well, I know it does, otherwise there would be a bunch of entries in those config files that Jochem talks about, and there isn't. There are no like, virtual directories for every place HTTPD serves CF content from (which can be anywhere, with the JRun connector). How this all ties into clustering, I don't know. Very intertwined tho, obviously, as I'm getting into this stuff because I'm trying to run on jboss/tomcat, not for CF clustering (although tomcat has clustering... I wonder if anyone has done a comparison...) ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273767 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: New Features In Scorpio
As of beta 1, Scorpio does NOT have IMAP support. There has been quite a hoo-ha about it, so I'm not sure if a later beta will support IMAP. I wouldn't count on it at this point. M!ke -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 11:46 AM To: CF-Talk Subject: Re: New Features In Scorpio Can anyone tell me (a yes/no answer would be fine) if Scorpio adds any IMAP functionality? Thanks Pete ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273768 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
What actually happens is mod_jrun passes the request to the jrun connector. If it is a cfm file or some other file that JRUN handles, then JRUN returns true, and handles the request. If it's a file that JRUN doesn't handle, then it returns false, and apache looks for another module that can handle the request. You can see this in action if you enable the verbose logging. Russ -Original Message- From: Dinner [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 3:06 PM To: CF-Talk Subject: Re: Targetting an instance On 3/26/07, Dave W wrote: I think the default web connector handles stuff a bit differently- And you say CF, but you mean JRun, right? The way I see it, and this is using apache for an example, but with the default web connector, you add a handler for the .cfm, .cfc, .jsp file types-- This means that if httpd sees a request for fun.htm, it serves it directly, but if it sees a request for fun.cfm, it lets JRun/CF handle it, and just returns whatever CF returns. While the handler is there in httpd.conf, my experience with Apache and CF/JRun has been that JRun will be able to handle other requests, such as requests for servlets (which aren't mapped to any file extension at all). This indicates that JRun is able to examine every request, whether it matches one of the listed extensions or not. JRun's handling of requests is kinda separate from Apache HTTPD, as it is a server in it's own right, so maybe that's part of the servelet handling and whatnot. Because if you turn off CF, HTTPD still serves out static content. But try for a extension handled by the jrun handler... and 500 error... I'm pretty sure that the JRun connector does some magic to get the request evaluated in the context of the web root, vs. the CF instance- well, I know it does, otherwise there would be a bunch of entries in those config files that Jochem talks about, and there isn't. There are no like, virtual directories for every place HTTPD serves CF content from (which can be anywhere, with the JRun connector). How this all ties into clustering, I don't know. Very intertwined tho, obviously, as I'm getting into this stuff because I'm trying to run on jboss/tomcat, not for CF clustering (although tomcat has clustering... I wonder if anyone has done a comparison...) ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273769 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
JRun's handling of requests is kinda separate from Apache HTTPD, as it is a server in it's own right, so maybe that's part of the servelet handling and whatnot. Yes, but unless you're using the JRun Web Server, that doesn't really matter. Apache receives HTTP requests, and forwards them to JRun. Some part of JRun (the web connector, JRun proper, both; I'm not sure) figures out whether JRun should handle the request or not. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273770 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Targetting an instance
The first 2 options are available to you I don't know that I would go that far. Just because some people on the list *think* something may be possible, but it will involve hacking XML files, and jumping through hoops using lightly documented cfcs doesn't necessarily make it a viable option worth the time of researching it. I have yet to hear from a single person so far who has: 1) Found themselves in this situation 2) Successfully implemented either of your first two suggestions. You can be the first! You might also find this useful, from a very knowledgeable guy here on the list: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:38887 His solution was to write the file yourself somewhere, instead of letting CF do it for you. You would think that somewhere in the live docs next to the description of the enable sticky connections checkbox, there would be note somewhere saying Oh by the way, if you use cfchart of any other 2 request tag, they will not work when this is unchecked. You can add the note! That's what livedocs is all about! I suppose I expected there to be a more elegant BUILT-IN method for working around this. I hate for the fact that I have a handful of cfcharts on my site to dictate how I must configure my cluster. It just doesn't seem right. Clusters make everything more complicated. If you think this is difficult, I invite you to check out WebSphere, which constantly baffles me to no end every time I work with it. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273772 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Targetting an instance
Of course, what frustrates be about BOTH are hardware balancer and a JRun cluster, is that they are not aware of things like CPU usage on the servers. They just keep round robining traffic as long as the server/instance is up regardless of how many other requests that server may still be churning through. I would definitely like suggestions on how to make our load balancing more aware. I know our hardware balancer (Foundry ServerIron) supports checking a hear-beat page, but to my understanding that only tells it that the application server is running-- not how busy it is. I don't know about ServerIron specifically, but I do know that some hardware load balancers can pull metric data if it's in a heartbeat page. If so, you could use CF to provide that data using the GetMetricData function. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273771 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Captivate2 Export Data CF
Just a general inquiry regarding resources for exporting Data w/ CF using Captivate2. I've reviewed the RoboDemo tutorial (Captivate). Looking for more info. If anyone has experience to share please post. Thanks ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273773 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Targetting an instance
In most environments, when you are load balancing, you will have a large amount of users, and thus the traffic will be proportionally distributed even with sticky sessions. It seems that you are running high intensity web applications with few users. In this scenario, it's possible that traffic will be lopsided. If this affects user performance for you, then perhaps sticky sessions are not the answer. Personally, I would set up a shared directory that both servers can write their CFCHARTS to as has been suggested by other members. If you want fairer load balancing that takes into account CPU utilization, perhaps you can set up a health check page that returns the CPU utilization (which doesn't seem to be very easy, but you can return the number of currently running requests, or number of current sessions, etc), and have ServerIron distribute the requests based on those values. I haven't personally tried this, but I'm guessing it should be possible. Russ -Original Message- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 3:01 PM To: CF-Talk Subject: RE: Targetting an instance Well, I supposed the primary reason why I was hoping not to use them is they just don't make sense. The idea of load balancing to me is that my CURRENT traffic load would be evenly spread across the servers. In light of that concept, the whole idea of taking each user, lassoing them down, and tying them to one server just seems to fly in the face of evenly proportioned traffic. If 8 users logon to a site clustered in round robin fashion to two instances, and then the 4 on one server all log off that leaves 100% of remaining traffic bound to one and only one server. That just doesn't seem right. Why should my traffic 2 hours ago determine the server load now. (On our internal site the average session lasts all day long-- from when people come to work and log in, till when they go home and log off.) We have had very poor load spread here with our current hardware load balancer which divides traffic up between 5 single instance installs of CF. Sticky sessions are enabled on the HW Load Balancer and somehow I think they might be to blame for some of the lop-sided traffic. For instance, right at this very moment according to my live SeeFusion stats one of my web servers has served 45% of all page hits today, and another server has only served 5%!! What the heck? So, when we decided to move to Enterprise, I thought GREAT now I can share sessions amongst the servers and never have to worry about our servers being lopsided again. But now, every problem I run into enable sticky sessions is the bloody answer! Enabling sticky sessions seems to completely undo pretty much all the good I was hoping to gain from replicating my session and letting the users jump from one server to another as they used the site. Of course, what frustrates be about BOTH are hardware balancer and a JRun cluster, is that they are not aware of things like CPU usage on the servers. They just keep round robining traffic as long as the server/instance is up regardless of how many other requests that server may still be churning through. I would definitely like suggestions on how to make our load balancing more aware. I know our hardware balancer (Foundry ServerIron) supports checking a hear-beat page, but to my understanding that only tells it that the application server is running-- not how busy it is. ~Brad -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 1:33 PM To: CF-Talk Subject: RE: Targetting an instance Maybe I missed a part of the thread, but what exactly is the reason that you don't want to enable sticky sessions? Russ ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273774 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Targetting an instance
Dinner wrote: I'm pretty sure that the JRun connector does some magic to get the request evaluated in the context of the web root, vs. the CF instance- well, I know it does, otherwise there would be a bunch of entries in those config files that Jochem talks about, and there isn't. There are no like, virtual directories for every place HTTPD serves CF content from (which can be anywhere, with the JRun connector). IIRC it works 2 ways. The webserver forwards the request to JRun and lets JRun do its thing based on the configuration in web.xml (for the wildcard handler). But the webserver also translates the path according to its own virtaul directories and sends the translated path along as a cgi variable (for extensions). That gives JRun another option to figure out which template to run. (You could really see this with the 'cacherealpath' issue in CF 6 where one CGI variable was translated and another wasn't.) But isn't the Apache connector open source? Just examine the source and settle this for once and for all (or at least until Scorpio). Jochem ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273775 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Targetting an instance
Brad Wood wrote: I don't know that I would go that far. Just because some people on the list *think* something may be possible, but it will involve hacking XML files, and jumping through hoops using lightly documented cfcs doesn't necessarily make it a viable option worth the time of researching it. I have yet to hear from a single person so far who has: 1) Found themselves in this situation 2) Successfully implemented either of your first two suggestions. You would think that somewhere in the live docs next to the description of the enable sticky connections checkbox, there would be note somewhere saying Oh by the way, if you use cfchart of any other 2 request tag, they will not work when this is unchecked. Perhaps that is because the people that really use clustering do not depend on the rather limited options in the GUI but familiarize themselves with the underlying configuration options in JRun and the XML files. To be honest, I didn't even know you could configure a cluster from the CF admin, I just set up the most basic cluster from the JRun admin and do the rest directly in the configuration files. I suppose I expected there to be a more elegant BUILT-IN method for working around this. Like what? We know how HTTP works. We know how HTML works. How could you possibly handle this even if those where the only 2 constraints? Jochem ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273776 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFDOCUMNET and print orientation
Hey All, I bet the answer is you're out of luck, but here goes Is there any way to force printing to occur in the same orientation as the layout of a file created by CFDOCUMENT? So if viewing a Flash Paper doc in landscape, can it be printed in landscape without having to change the printing prefs (or default them to landscape)? I suspect the same issues that have always existed with printing from the web apply herebut I can always hope ;-) TIA 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 Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273777 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT - PHP Question
Yeah I know I only use it for specific things such as an action or mode which I reserve for my apps I use $_GET or $_POST for most. Eric On 3/26/07, Kevin Aebig [EMAIL PROTECTED] wrote: I'd personally suggest staying away from the $_Request global. It can make it difficult to pick up where the variables are actually coming from as it checks the URL, Sessions and the POST variables for that particular variable. !k -Original Message- From: Eric Haskins [mailto:[EMAIL PROTECTED] Sent: Sunday, March 25, 2007 9:41 PM To: CF-Talk Subject: Re: OT - PHP Question Use $_REQUEST['rec_ID'] or $_GET['rec_ID'] / $_POST['rec_ID'] Like so $sql=SELECT * FROM personal WHERE ID = ' . $_REQUEST['rec_ID'] . ' ; Most servers or hosts like me turn of Register Globals. DOnt forget to use strip_tags() or other form of input sanitation Eric On 3/25/07, Jochem van Dieten [EMAIL PROTECTED] wrote: Pete wrote: Hi All just wondering if anyone knows of a similar PHP message board. http://nl2.php.net/support.php And the second one (which should display the result however I keep getting an error message when I have $rec_ID below. It says : Sorry there is no information Back PHP Notice: Undefined variable: rec_ID in c:\Inetpub\wwwroot\personalphp\see_rec.php on line 8 http://nl2.php.net/manual/en/reserved.variables.php#reserved.variables.get Jochem ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273778 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
In most environments, when you are load balancing, you will have a large amount of users, and thus the traffic will be proportionally distributed even with sticky sessions. It seems that you are running high intensity web applications with few users. In this scenario, it's possible that traffic will be lopsided. If this affects user performance for you, then perhaps sticky sessions are not the answer. == I think you are correct. We serve up about 100,000 page hits a day, but probably have around 250 users on the site. *-*-*-*-* Personally, I would set up a shared directory that both servers can write their CFCHARTS to as has been suggested by other members. === I agree. The old thread Dave Watts gave me was very helpful and I think just might work. ~Brad ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273779 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
csv importing problem and setting existing query column type
Hi all, I am having problems with a couple cfx tags I'm using for importing a csv file into a query. Not really a problem with them but rather the fact that they don't set the column types for the queries they create. This is a problem because when I go to do a query of query, ColdFusion guesses that a field is a number and later errors when a row has the field blank instead of 0 or null. Does anyone know how to set the type of a column outside of recreating the query (slow) or CAST in cfquery (errors due to guessing type)? And/Or any suggestions for other techniques to quickly import large csv files with the column type set? Other ideas? Thanks ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273780 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
If you want fairer load balancing that takes into account CPU utilization, perhaps you can set up a health check page that returns the CPU utilization (which doesn't seem to be very easy, but you can return the number of currently running requests, or number of current sessions, etc), and have ServerIron distribute the requests based on those values. I haven't personally tried this, but I'm guessing it should be possible. CPU utilization isn't directly accessible from Java, but there are ways to get that information into Java (assuming you're using Windows - on Unix there are other ways, I'm sure): http://www.javaworld.com/javaworld/jw-11-2004/jw-1108-windowspm.html Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273781 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Captivate2 Export Data CF
Just a general inquiry regarding resources for exporting Data w/ CF using Captivate2. I've reviewed the RoboDemo tutorial (Captivate). Looking for more info. If anyone has experience to share please post. Thanks You might get a little farther by trying to explain what exactly you want to do. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273782 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Targetting an instance
If you want fairer load balancing that takes into account CPU utilization, perhaps you can set up a health check page that returns the CPU utilization (which doesn't seem to be very easy, but you can return the number of currently running requests, or number of current sessions, etc), and have ServerIron distribute the requests based on those values. I haven't personally tried this, but I'm guessing it should be possible. == Actually, I would be more interested in learning how to make my JRun clustering aware of things like CPU usage. I think what I might do is use the hardware load balancer to load balance my IIS installs (one copy of IIS running on each web server) and then each IIS install will be bound to my JRun cluster. I could care less how balanced the web servers are-- we could probably use a single install of IIS and it wouldn't break a sweat at our traffic levels. I just like have multiples for fail-over. I am more concerned with the CF Instances being proportionate. I always thought that JRun handled the clustering algorithm for your instances but from what Jochem was telling me today, that is actually handled by the Web server connectors between IIS and JRun. I would absolutely love to know if I can organize my cluster balancing to be aware of CPU etc. ~Brad ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273783 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Targetting an instance
I always thought that JRun handled the clustering algorithm for your instances but from what Jochem was telling me today, that is actually handled by the Web server connectors between IIS and JRun. I would absolutely love to know if I can organize my cluster balancing to be aware of CPU etc. I don't think that's possible with JRun. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273784 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
This is actually what I meant, having a health check page on each instance that you can hit with the load balancer and see what the current CPU utilization is. As far as having JRUN handle this with IIS, I think you're pretty much SOL. IIS connector is not open source, so unless you get Adobe to implement it for you, which isn't likely to happen unless they decide to release something like this in Scorpio. You can of course use Apache instead of IIS, and modify the connector source and compile your own connector. I am not sure, however, if JRUN returns any sort of metrics data that you would be able to use. You might be able to solve this with some JRUN modules, but my guess is this solution is way overkill for what you're trying to achieve. A simple health check that works with the hardware loadbalancer that returns metrics data should work, assuming your loadbalancer supports this. Russ -Original Message- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 4:32 PM To: CF-Talk Subject: RE: Targetting an instance If you want fairer load balancing that takes into account CPU utilization, perhaps you can set up a health check page that returns the CPU utilization (which doesn't seem to be very easy, but you can return the number of currently running requests, or number of current sessions, etc), and have ServerIron distribute the requests based on those values. I haven't personally tried this, but I'm guessing it should be possible. == Actually, I would be more interested in learning how to make my JRun clustering aware of things like CPU usage. I think what I might do is use the hardware load balancer to load balance my IIS installs (one copy of IIS running on each web server) and then each IIS install will be bound to my JRun cluster. I could care less how balanced the web servers are-- we could probably use a single install of IIS and it wouldn't break a sweat at our traffic levels. I just like have multiples for fail-over. I am more concerned with the CF Instances being proportionate. I always thought that JRun handled the clustering algorithm for your instances but from what Jochem was telling me today, that is actually handled by the Web server connectors between IIS and JRun. I would absolutely love to know if I can organize my cluster balancing to be aware of CPU etc. ~Brad ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273785 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: New Features In Scorpio
On 3/22/07, Aaron Rouse [EMAIL PROTECTED] wrote: Isn't the mind blowing rich text editor just the FCK(?) free editor that could be integrated into any online form regardless of CF being there or not? I haven't played with that feature yet but I would think they used KTML for that since they own it now... ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273786 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
Perhaps that is because the people that really use clustering do not depend on the rather limited options in the GUI but familiarize themselves with the underlying configuration options in JRun and the XML files. To be honest, I didn't even know you could configure a cluster from the CF admin, I just set up the most basic cluster from the JRun admin and do the rest directly in the configuration files. = Apparently. Trust me, I do hope to eventually get to that point, but currently as I dive into clustering for the first time I am sticking to the GUIs for now until I feel a bit more comfortable with how everything works. *-*-*-*-*- I suppose I expected there to be a more elegant BUILT-IN method for working around this. Like what? We know how HTTP works. We know how HTML works. How could you possibly handle this even if those where the only 2 constraints? = Well, since you asked, I would have expected there to be a setting you could send in through the URL which would force the web server to hand your request to a specific instance. Then would expect an attribute of the cfchart tag called forcesameinstance=true or something which would generate a fully qualified URL for the img src which specified the same instance which was currently processing the cfchart tag. That makes sense to me anyway. ~Brad ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273787 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
CPU utilization isn't directly accessible from Java, but there are ways to get that information into Java (assuming you're using Windows - on Unix there are other ways, I'm sure): http://www.javaworld.com/javaworld/jw-11-2004/jw-1108-windowspm.html Yeah, this is the reason SeeFusion doesn't show any CPU usage because it would be platform specific to write code to get it. I am kind of curious why the JVM doesn't have a way to access that. ~Brad ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273788 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
Yeah, this is the reason SeeFusion doesn't show any CPU usage because it would be platform specific to write code to get it. I am kind of curious why the JVM doesn't have a way to access that. Presumably, because different OSs have different ways of exposing it, or may not expose it at all to programs (and that's all the VM is, a program). Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273789 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Targetting an instance
I always thought that JRun handled the clustering algorithm for your instances but from what Jochem was telling me today, that is actually handled by the Web server connectors between IIS and JRun. I would absolutely love to know if I can organize my cluster balancing to be aware of CPU etc. I don't think that's possible with JRun. If that is true, it makes me very sad. Maybe I am setting my sites too high again, but having actual load-aware clustering seems like one of those bread-and-butter pieces of load balancing-- I'm kind of surprised an Enterprise Level app such as JRun would not support it. Let me guess, I would have to start deploying my app on another J2EE app server like IBM WebSphere to get functionality like that? ~Brad ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273790 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Targetting an instance
Brad Wood wrote: Well, since you asked, I would have expected there to be a setting you could send in through the URL which would force the web server to hand your request to a specific instance. Then would expect an attribute of the cfchart tag called forcesameinstance=true or something which would generate a fully qualified URL for the img src which specified the same instance which was currently processing the cfchart tag. That makes sense to me anyway. So how would that work if CF were deployed on a J2EE server that is not JRun? Jochem ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273791 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Targetting an instance
A simple health check that works with the hardware loadbalancer that returns metrics data should work, assuming your loadbalancer supports this. Not from my understanding-- though I could be very wrong. It is my understanding that if I have a group of servers running IIS, and a separate group of clustered servers running CF, then I have load balancing going on at two different levels. The first level is between the user and IIS, and the second level is between IIS and my CF Instances. My Hardware load balancer only sits between the user and the servers running IIS. Keep in mind CF might not even be installed on those servers. Now once IIS gets the request from the hardware load balancer, the web server connector uses my cluster algorithm (Let's say Round Robin) to choose an instance in the cluster (assuming it is not static content being served).At this point the hardware load balancer is out of the picture. It is also at this point that I want my balancing to be based on things like CPU. From what people are telling me though, the IIS connectors aren't smart enough to do that. ~Brad ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273792 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Web Service Complex Data
Anyone want to try To handle THIS ODFL Freight SHipping Issue? Please email me or call me if you want to try pick this project up really quick. Thanks Sean [EMAIL PROTECTED] 678-528-9606 ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273793 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4