Problem connecting to MS Exchange 2007 on SBS 2008
I am having problems connecting to Exchange via cfexchangeconnection. Our ColdFusion environment is CF9 Enterprise on Win 2008, and the Exchange host is Win SBS 2008 (which uses IIS7). After having worked through the documentation and following all procedures outlined at http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec14f31-7fed.html plus googling intensively, we have the following method to test the connection cfexchangeconnection action=open connection=thisExchangeConnection server=portal.mydomain.com protocol=https formBasedAuthentication=true formBasedAuthenticationURL=https://portal.mydomain.com/owa/auth/owaauth.dll; mailboxname=myMailBox username=myUsername password=myPassword / cfdump var=#thisExchangeConnection# cfexchangeconnection action=close connection=thisExchangeConnection / The IIS7 implementation in SBS 2008 is quite a lot different to Win 2008, so there are some question marks around some steps in the above documentation. However, we have made sure that:- 1) you can use the credentials above to login via a web browser 2) WebDav is on in IIS 3) there is no IWA and forms based authentication is on 4) certificates are installed correctly on both the CF and Exchange servers 5) the myUsernameaccount has correct permissions in iis/owa/exchange Despite this, the net result is always Access to the Exchange server denied. Ensure that the user name and password are correct. From research it seems that a lot of people have issues where the underlying problem is actually an Exchange 440 timeout error where the password in the IUSR_servername and IWAM_servername (IIS/Active Directory) is out of sync. I was pinning my hopes on the above being the problem but now I find that in SBS 2008 there is no IWAM_servername server account. All this leads me to ask is SBS 2008 actually compatible with the cfexchange tags in CF9? There is nothing in the documentation that I can find that syays that it isn't, but given the amount of time we've spent on what should be straightforward I am wondering if we are on a hiding to nothing. Anyone from Adobe care to comment? If anyone has managed to get this to work specifically with SBS 2008, or has any advice I'd be grateful to here from you. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339803 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Memory Usage Question
I wish I could see WHAT was taking up the ram, i.e a specific array, cfc instances, etc etc It can be done but it's not easy. Basically you need to do a heap dump of the CF process (you can do that without shutting down the server) and then analyze the heap dump using MAT for Eclipse. MAT can tell you what are the objects on the heap, etc. -- Mack ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339804 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Schedule task more frequent than 1 inute
Thanks for all the replies. Some background info. My app converts Office documents and each conversion may run for a few minutes which is why I did not want to run this 'inline' but break the upload away from the conversion. For this reason I have a scheduled task that checks the database for new uploads and then converts them. 99% of the time there will not be a new file, but when there is then I'd like to minimise the time between upload and conversion start. I considered threads but heard that there is a limit on CF Standard - potential headache if things get busy. Schedule the same task as many times per minute you need, starting at different times. I thought that too but what happens on server restart? Do all tasks re-init themselves at the same time? In the end I think once a minute is ok, but I will also ping now the page that handles the conversion shortly after the upload is complete. Out of interest: am I correct in thinking that if one task is running a conversion and the scheduled task fires again then this second process will not have to wait for the first conversion process to complete? So in essence I can achieve a level of multithreading in this way? Regards, Stefan ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339805 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Memory Usage Question
Java byte code - that is what is going to be in memory. I expect a CFC etc would relate to a particular Java object however while I can dump what is in RAM have not learned how to understand the output and join a CFM to an object. I might be wrong but I don't think you can dump the permanent JVM space so you don't have access to the actual bytecode. I think you can use jmap -permstat to see what classes are loaded and that might give you an idea of what CFC are loaded, etc I wish I could see WHAT was taking up the ram, i.e a specific array, cfc instances, etc etc I think JVM logging or even Java Dev Kit programs like Jconsole and Jvisualvm will perhaps show which Java memory buffer (New/Tenure/Perm) is being consumed. CF monitor will probably help you see what CFM CFC etc is running. So once you know which buffer is being consumed perhaps you can allocate more to that until your able to short out which CFM etc is taking the RAM. Jvisualm is a good suggestion and gives you some of insight into the JVM. -- Mack ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339806 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfinvoke smartermails webservices
cfdump var=#wsResults.getListNames()# ? I think usually web service responses are Java objects that are accessed via getters (for example if you have listNames in your response then you can access it with getListNames(), etc). -- Mack ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339807 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Schedule task more frequent than 1 inute
Out of interest: am I correct in thinking that if one task is running a conversion and the scheduled task fires again then this second process will not have to wait for the first conversion process to complete? So in essence I can achieve a level of multithreading in this way? This is generally true for CF processes. However, it may not be true for things like converting documents - those things rely on functionality outside of CF that may well be single-threaded. Honestly, I don't know enough about how document conversion is handled in CF to answer that definitively, but if there are any problems you'll see them in testing. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339808 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Schedule task more frequent than 1 inute
This sounds like you need a directory watcher gateway. I know it is available with CF8 Enterprise but I don't know about other versions. Sent from my iPhone ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339809 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Schedule task more frequent than 1 inute
On Mon, Dec 6, 2010 at 8:44 AM, Steven Durette st...@durette.org wrote: This sounds like you need a directory watcher gateway. I know it is available with CF8 Enterprise but I don't know about other versions. IEvent Gateway's are not restricted to CF Enterprise anymore, they're part of the standard feature set - don't know when they did that, but they are available in CF8 Standard. DirectoryWatcher is a specific type of gateway... the Simple Interval Gateway is a custom gateway written in java that you put on the server, then in the admin console go to Gateway T ypes and add it, THEN go to Gateway Instances and add the specific instance of the gateway for your purpose. Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339810 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Split String
I have a string like this: thislocation/thisdir/thissite/thispage.cfm/var1/var2/var3/var4 I want to split the string to get just that data that follows .cfm/, which would be var1/var2/var3/var4. Tried all the list function I can think of, but that's not the right approach. How can all get only the data that follows the literal .cfm/? Thanks Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339811 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Split String
listrest(listlast(thestring, .), /\) should give you 'var1/var2/var3/var4' Azadi On 06/12/2010 23:06 , Robert Harrison wrote: I have a string like this: thislocation/thisdir/thissite/thispage.cfm/var1/var2/var3/var4 I want to split the string to get just that data that follows .cfm/, which would be var1/var2/var3/var4. Tried all the list function I can think of, but that's not the right approach. How can all get only the data that follows the literal .cfm/? Thanks Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be. Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339812 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Split String
ListRest(yourList,/) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339813 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Split String
How about this... cfset mylist = reReplace(mylist,.*?\.cfm/,,ONE) seems to work. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339814 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Split String
I love that about this list.. you can always learn something new.. I used: cfset foorl = thislocation/thisdir/thissite/thispage.cfm/var1/var2/var3/var4 cfset length = len(foorl)+1 / cfset pos = find(.cfm/, foorl) + len(.cfm/)/ cfset foo = mid(foorl, pos, length) / cfoutput#foo#/cfoutput On Mon, Dec 6, 2010 at 9:23 AM, Rick Root rick.r...@gmail.com wrote: How about this... cfset mylist = reReplace(mylist,.*?\.cfm/,,ONE) seems to work. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339815 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Choosing between ColdFusion Builder and IntelliJ
Thank you to all for the replies so far. Very helpful. Now that I've had some time to evaluate CFBuilder, I'd like to revisit this thread. I'm not bashing on CFB here - honest questions: considering that I'm not starting from scratch but already have the functionality of DreamWeaver at my disposal, I'm struggling to figure out the *incremental* value of CFB. Things I like about CFB are the code completion (member functions, etc. although it doesn't always work), the *idea* of a community of extensions, and easy refactoring. Things I wonder about: - I see RDS but I don't understand how that can compete with having SSMS in another window. - I see the TailView but I'm used to opening 'tail -f' in another shell window. - I see the plugin for Subversion integration but I have TortoiseSVN hooked into Windows Explorer. - So far the idea of extensions are great but I can run things like varscoper standalone without much effort and (correct me if I'm wrong!) but Apptacular is meant for the ORM features in CF9 and I have customers on CF8 so I'll keep using PU-36 standalone. In short, what I see from CFB is a lot of tools integrated into one window. It feels tidy but I'm not convinced there's *real* value there (beyond what I get with DW). What am I missing? Thanks, db ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339816 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Split String
listrest(listlast(thestring, .), /\) should give you 'var1/var2/var3/var4' This seems to be working. Thanks for the assist. Now I'll share the results. What I wanted to do was break any url containing obfuscated vars into into elements I could work with for queries, etc. This now seems to be working to do just that, regardless of the URL structure. Now I can use urls like ... http://mypage.cfm/var1/var2/var3 instead of urls like http://mypage.cfm?var1=value1var2=value2var3=value3 Much better for SEO. cfset url_vars=#listrest(listlast(cgi.REQUEST_URI, .), /\)# / !--- strips the variables obfuscated as '/' delmited values from the URI string --- cfset url_var_count=#listlen(url_vars, /)# !--- counts the number of variables --- cfif url_var_count gt 0 cfloop from=1 to=#url_var_count# index=i cfset url_var#i#=#listGetAt(url_vars, i, /)# !--- extracts variables and assigns each a numbered value 'url_varX' --- /cfloop /cfif !--- below is only used to see output list of created variables; not really needed to use the variables --- cfif url_var_count gt 0 cfoutput cfloop from=1 to=#url_var_count# index=i Variable#i#=#evaluate(url_var#i#)#br / /cfloop /cfoutput cfelse No / delimited variables found in URL string /cfif Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339817 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Choosing between ColdFusion Builder and IntelliJ
Thank you to all for the replies so far. Very helpful. Now that I've had some time to evaluate CFBuilder, I'd like to revisit this thread. I'm not bashing on CFB here - honest questions: considering that I'm not starting from scratch but already have the functionality of DreamWeaver at my disposal, I'm struggling to figure out the *incremental* value of CFB. Things I like about CFB are the code completion (member functions, etc. although it doesn't always work), the *idea* of a community of extensions, and easy refactoring. Things I wonder about: - I see RDS but I don't understand how that can compete with having SSMS in another window. - I see the TailView but I'm used to opening 'tail -f' in another shell window. - I see the plugin for Subversion integration but I have TortoiseSVN hooked into Windows Explorer. - So far the idea of extensions are great but I can run things like varscoper standalone without much effort and (correct me if I'm wrong!) but Apptacular is meant for the ORM features in CF9 and I have customers on CF8 so I'll keep using PU-36 standalone. In short, what I see from CFB is a lot of tools integrated into one window. It feels tidy but I'm not convinced there's *real* value there (beyond what I get with DW). What am I missing? Tidiness has intrinsic value for many people. To me, the value is largely that I don't have to deal with all the extra stuff Dreamweaver brings to the table, and I get all those tools nicely integrated. Plus, because it's Eclipse, I can easily switch to other perspectives to do related non-CF work. And I'm sure more extensions will be coming. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339818 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: .NET errors after CF 9.01 Update
I don't know why, but this only worked ONCE after the reboot and I can't get it to work anymore. I've even updated my version of the dot net framework on the server.. I was using .NET 2 and now I'm using .NET 4 ... I've rebooted, re-installed the dot net service over and over again, deleted cached files... etc... argh! On Sun, Dec 5, 2010 at 8:31 AM, Rick Root rick.r...@gmail.com wrote: A reboot resolved this problem for me as well On Sat, Dec 4, 2010 at 10:58 PM, Rick Root rick.r...@gmail.com wrote: On Wed, Dec 1, 2010 at 11:24 AM, Stefan Richter ste...@flashcomguru.comwrote: E so I tried rebooting the server... now getting a blank page which is much, much better. Will keep you posted but it seems ok now. So by blank page you mean you're successfully claling .NET dll's now? I'm having the exact same issue... we only use one .NET call, to create virtual directories in IIS automatically... but it quit working... Pete Freitag's blog entry helped me figure out that I needed to copy the neo-dotnetproxy.config file to each instance, which got me to the error you were seeing. I got a little more error information from the error.log in C:\Coldfusion9DotNetService (but it really isn't helpful to me) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339819 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFHEADER on Chrome to download an Excel CSV / Mime Type problem
I've been using the following code for years with no problems on IE,FF,Safari to force the download of a CSV file that will be associated with and opened by Excel: cfheader name=Content-Disposition value=attachment;filename=myExport.csv charset=utf-8 cfcontent type=application/vnd.Microsoft Excel Comma Seperated Values File; charset=utf-8 However, this code in Chrome results in the actual template filename being used without any association (ie. Download.cfm gets pushed to the user). I can get a straight up XLS file to be downloaded and recognized by Chrome, but no dice on the CSV formatted excel document. Has anyone got this to work in Chrome? I have of course googled this and not been able to find anything that works... Brook ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339820 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Virtual Directories and IIS
I'm wondering if there's a better way to do what we're doing. Currently, we have about 12,000 web sites, each of which uses a virtual directory that refers to the web root www.mydomain.com/mywebsite1 www.mydomain.com/mywebsite2 etc Some of these sites end up buying domains and they just end up going to www.mywebsite1.com .. but the virtual directory still works. So yeah, we've got 12,000 virtual directories (back in the old days, we actually had 2,000 physical subdirectories with 2,000 identical copies of the files, so the virtual directory method was a vast improvement) that being said, I'm having problems getting my dot net calls to work (a topic for another thread) but this got me thinking.. is there a better way? Could I somehow have a catch-all virtual directory that would prevent me from having to create unique virtual directories for every site? like, in the case www.mydomain.com/mywebsite1/foo.cfm, if there ws no /mywebsite1/ physical directory, then look for foo.cfm in the web root.. but do not REDIRECT (because we rely on /mywebsite1/ being in the URL so we know which site they're accessing) rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339821 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFHEADER on Chrome to download an Excel CSV / Mime Type problem
Have you tried using this mime type instead? application/msexcel On Mon, Dec 6, 2010 at 1:42 PM, Brook Davies cft...@logiforms.com wrote: I've been using the following code for years with no problems on IE,FF,Safari to force the download of a CSV file that will be associated with and opened by Excel: cfheader name=Content-Disposition value=attachment;filename=myExport.csv charset=utf-8 cfcontent type=application/vnd.Microsoft Excel Comma Seperated Values File; charset=utf-8 However, this code in Chrome results in the actual template filename being used without any association (ie. Download.cfm gets pushed to the user). I can get a straight up XLS file to be downloaded and recognized by Chrome, but no dice on the CSV formatted excel document. Has anyone got this to work in Chrome? I have of course googled this and not been able to find anything that works... Brook ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339822 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Virtual Directories and IIS
Not sure if this helps, but a simple custom 404.cfm would work. Update the Custom Errors in IIS, create a custom 404.cfm page that looks in a DB for the missing/unfounded URL. For instance you could place in the DB MyWebSite1 will map to www.mydomain.com/mywebsite1, then do a cfLocation in the 404.cfm file to the real URL. We do this with a lot of success. Makes it easy to bring on new clients without having to create those virtual directories. Again, this only works if you have access to IIS/Web Server custom errors. If you need more info, just ask! Brian -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: Monday, December 06, 2010 1:44 PM To: cf-talk Subject: Virtual Directories and IIS I'm wondering if there's a better way to do what we're doing. Currently, we have about 12,000 web sites, each of which uses a virtual directory that refers to the web root www.mydomain.com/mywebsite1 www.mydomain.com/mywebsite2 etc Some of these sites end up buying domains and they just end up going to www.mywebsite1.com .. but the virtual directory still works. So yeah, we've got 12,000 virtual directories (back in the old days, we actually had 2,000 physical subdirectories with 2,000 identical copies of the files, so the virtual directory method was a vast improvement) that being said, I'm having problems getting my dot net calls to work (a topic for another thread) but this got me thinking.. is there a better way? Could I somehow have a catch-all virtual directory that would prevent me from having to create unique virtual directories for every site? like, in the case www.mydomain.com/mywebsite1/foo.cfm, if there ws no /mywebsite1/ physical directory, then look for foo.cfm in the web root.. but do not REDIRECT (because we rely on /mywebsite1/ being in the URL so we know which site they're accessing) rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339823 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Monster Regex
Been whacking at this one for a while, and it eludes me. ((T ACC) (I ATT) (T ACT) (P CCA) (E GAA) (T ACT) (S TCC) (R CGT) (P CCA) (I ATC) ;0-9 (T ACT) (M ATG) (D GAT) (H CAC) (L CTG) (E GAG) (K AAA) (N AAC) (E GAA) ;1210-1218) remove only single leading paren ( remove only trailing single paren ) leave all others remove ;xxx-yyy at the end of each line (unix line) where xxx is a number and yyy is a number so that the result looks like: (T ACC) (I ATT) (T ACT) (P CCA) (E GAA) (T ACT) (S TCC) (R CGT) (P CCA) (I ATC) (T ACT) (M ATG) (D GAT) (H CAC) (L CTG) (E GAG) (K AAA) (N AAC) (E GAA) You will advance the state of genomic science !!! (yuck ... I hate RE ...) Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339824 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFHEADER on Chrome to download an Excel CSV / Mime Type problem
That works in every other browser (that I tested..) except Chrome. Chrome just downloads the CFM template... -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: December-06-10 10:50 AM To: cf-talk Subject: Re: CFHEADER on Chrome to download an Excel CSV / Mime Type problem Have you tried using this mime type instead? application/msexcel On Mon, Dec 6, 2010 at 1:42 PM, Brook Davies cft...@logiforms.com wrote: I've been using the following code for years with no problems on IE,FF,Safari to force the download of a CSV file that will be associated with and opened by Excel: cfheader name=Content-Disposition value=attachment;filename=myExport.csv charset=utf-8 cfcontent type=application/vnd.Microsoft Excel Comma Seperated Values File; charset=utf-8 However, this code in Chrome results in the actual template filename being used without any association (ie. Download.cfm gets pushed to the user). I can get a straight up XLS file to be downloaded and recognized by Chrome, but no dice on the CSV formatted excel document. Has anyone got this to work in Chrome? I have of course googled this and not been able to find anything that works... Brook ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339825 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Monster Regex
cfset str = reReplace(str,^\(,) cfset str = reReplace(str,;\d+-\d+\),) On Mon, Dec 6, 2010 at 12:03 PM, Rick Colman rcol...@cox.net wrote: Been whacking at this one for a while, and it eludes me. ((T ACC) (I ATT) (T ACT) (P CCA) (E GAA) (T ACT) (S TCC) (R CGT) (P CCA) (I ATC) ;0-9 (T ACT) (M ATG) (D GAT) (H CAC) (L CTG) (E GAG) (K AAA) (N AAC) (E GAA) ;1210-1218) remove only single leading paren ( remove only trailing single paren ) leave all others remove ;xxx-yyy at the end of each line (unix line) where xxx is a number and yyy is a number so that the result looks like: (T ACC) (I ATT) (T ACT) (P CCA) (E GAA) (T ACT) (S TCC) (R CGT) (P CCA) (I ATC) (T ACT) (M ATG) (D GAT) (H CAC) (L CTG) (E GAG) (K AAA) (N AAC) (E GAA) You will advance the state of genomic science !!! (yuck ... I hate RE ...) Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339826 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Virtual Directories and IIS
Rick, What is the purpose of all these sub directories, is each site actually different? What are you actually trying to achieve. Russ -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: 06 December 2010 18:44 To: cf-talk Subject: Virtual Directories and IIS I'm wondering if there's a better way to do what we're doing. Currently, we have about 12,000 web sites, each of which uses a virtual directory that refers to the web root www.mydomain.com/mywebsite1 www.mydomain.com/mywebsite2 etc Some of these sites end up buying domains and they just end up going to www.mywebsite1.com .. but the virtual directory still works. So yeah, we've got 12,000 virtual directories (back in the old days, we actually had 2,000 physical subdirectories with 2,000 identical copies of the files, so the virtual directory method was a vast improvement) that being said, I'm having problems getting my dot net calls to work (a topic for another thread) but this got me thinking.. is there a better way? Could I somehow have a catch-all virtual directory that would prevent me from having to create unique virtual directories for every site? like, in the case www.mydomain.com/mywebsite1/foo.cfm, if there ws no /mywebsite1/ physical directory, then look for foo.cfm in the web root.. but do not REDIRECT (because we rely on /mywebsite1/ being in the URL so we know which site they're accessing) rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339827 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFHEADER on Chrome to download an Excel CSV / Mime Type problem FIXED
We fixed it! Turned out to be a missing quote around the filename, this works: cfheader name=Content-Disposition value=attachment;filename=#filename# charset=utf-8 Brook -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: December-06-10 10:50 AM To: cf-talk Subject: Re: CFHEADER on Chrome to download an Excel CSV / Mime Type problem Have you tried using this mime type instead? application/msexcel On Mon, Dec 6, 2010 at 1:42 PM, Brook Davies cft...@logiforms.com wrote: I've been using the following code for years with no problems on IE,FF,Safari to force the download of a CSV file that will be associated with and opened by Excel: cfheader name=Content-Disposition value=attachment;filename=myExport.csv charset=utf-8 cfcontent type=application/vnd.Microsoft Excel Comma Seperated Values File; charset=utf-8 However, this code in Chrome results in the actual template filename being used without any association (ie. Download.cfm gets pushed to the user). I can get a straight up XLS file to be downloaded and recognized by Chrome, but no dice on the CSV formatted excel document. Has anyone got this to work in Chrome? I have of course googled this and not been able to find anything that works... Brook ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339828 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
re: Monster Regex
Try this, where x is your original string: clean = replaceList(reReplace(x, \s*;\d+-\d+, , all), ((,)), (,)) From: Rick Colman rcol...@cox.net Sent: Monday, December 06, 2010 2:04 PM To: cf-talk cf-talk@houseoffusion.com Subject: Monster Regex Been whacking at this one for a while, and it eludes me. ((T ACC) (I ATT) (T ACT) (P CCA) (E GAA) (T ACT) (S TCC) (R CGT) (P CCA) (I ATC) ;0-9 (T ACT) (M ATG) (D GAT) (H CAC) (L CTG) (E GAG) (K AAA) (N AAC) (E GAA) ;1210-1218) remove only single leading paren ( remove only trailing single paren ) leave all others remove ;xxx-yyy at the end of each line (unix line) where xxx is a number and yyy is a number so that the result looks like: (T ACC) (I ATT) (T ACT) (P CCA) (E GAA) (T ACT) (S TCC) (R CGT) (P CCA) (I ATC) (T ACT) (M ATG) (D GAT) (H CAC) (L CTG) (E GAG) (K AAA) (N AAC) (E GAA) You will advance the state of genomic science !!! (yuck ... I hate RE ...) Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339829 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
are queries in CFC methods not allowed to be cached?
put a cachedWithin in my cffunction and it never retrieves the cached version. even when i'm hitting F5 back to back. what's the deal? haven't found anything in docs saying u can't query cache in CFC ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339830 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: are queries in CFC methods not allowed to be cached?
Yuilang, On Mon, Dec 6, 2010 at 2:46 PM, Yuliang Ruan yuliangr...@hotmail.comwrote: put a cachedWithin in my cffunction and it never retrieves the cached version. even when i'm hitting F5 back to back. what's the deal? haven't found anything in docs saying u can't query cache in CFC You can certainly cache a query within a CFC. Perhaps you could share the code that creates the cachespan and runs the query, along with an explanation of how you know a cached version is not being used. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339831 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: are queries in CFC methods not allowed to be cached?
ahhh n/m brain fart. reason it wasn't caching is cause have date parameter with now() as the value. DURR :P ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339832 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: RE: Virtual Directories and IIS
Yes, each is managed and customized by different people. On Dec 6, 2010 2:18 PM, Russ Michaels r...@michaels.me.uk wrote: Rick, What is the purpose of all these sub directories, is each site actually different? What are you actually trying to achieve. Russ -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: 06 December 2010 18:44 To: cf-talk Subject: Virtual Directories and IIS I'm wondering if there's a better way to do what we're doing. Currently, we have about 12,000 web s... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339833 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Monster Regex
this mostly worked, but did not remove one of the last trailing double )) results like: (T ACT) (N AAC) (D GAT) (T ACT) (A GCT) (T ACT) (M ATG) (D GAT) (H CAC) (L CTG) (E GAG) (K AAA) (N AAC) (E GAA) ) On 12/6/2010 11:26 AM, Jason Fisher wrote: clean = replaceList(reReplace(x, \s*;\d+-\d+, , all), ((,)), (,)) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339834 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Monster Regex
this removed the leading parent, but did not remove the ;xxx-yyy numbers at the end of each line or the final trailing paren ) like (T ACT) (M ATG) (D GAT) (H CAC) (L CTG) (E GAG) (K AAA) (N AAC) (E GAA) ;1210-1218 ) On 12/6/2010 11:16 AM, Jacob Munson wrote: cfset str = reReplace(str,^\(,) cfset str = reReplace(str,;\d+-\d+\),) On Mon, Dec 6, 2010 at 12:03 PM, Rick Colmanrcol...@cox.net wrote: Been whacking at this one for a while, and it eludes me. ((T ACC) (I ATT) (T ACT) (P CCA) (E GAA) (T ACT) (S TCC) (R CGT) (P CCA) (I ATC) ;0-9 (T ACT) (M ATG) (D GAT) (H CAC) (L CTG) (E GAG) (K AAA) (N AAC) (E GAA) ;1210-1218) remove only single leading paren ( remove only trailing single paren ) leave all others remove ;xxx-yyy at the end of each line (unix line) where xxx is a number and yyy is a number so that the result looks like: (T ACC) (I ATT) (T ACT) (P CCA) (E GAA) (T ACT) (S TCC) (R CGT) (P CCA) (I ATC) (T ACT) (M ATG) (D GAT) (H CAC) (L CTG) (E GAG) (K AAA) (N AAC) (E GAA) You will advance the state of genomic science !!! (yuck ... I hate RE ...) Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339835 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: RE: Virtual Directories and IIS
Simple rewrite rule using a rewrite ISAPI filter. Either the free Ionic one or paid for Helicon: http://www.isapirewrite.com/ http://www.isapirewrite.com/http://iirf.codeplex.com/ http://iirf.codeplex.com/Your rewrite rule might look something like (there will surely be some better regex for your use cases): RewriteRule /(+*?)/(.*)$ /index.cfm?site=$1params=$2 [I,L] or perhaps: RewriteRule ^/(+*?)/(.*)$ /$2/?site=$1 [I,L] (etc) HTH Dominic On 6 December 2010 20:19, Rick Root rick.r...@gmail.com wrote: Yes, each is managed and customized by different people. On Dec 6, 2010 2:18 PM, Russ Michaels r...@michaels.me.uk wrote: Rick, What is the purpose of all these sub directories, is each site actually different? What are you actually trying to achieve. Russ -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: 06 December 2010 18:44 To: cf-talk Subject: Virtual Directories and IIS I'm wondering if there's a better way to do what we're doing. Currently, we have about 12,000 web s... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339836 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Monster Regex
Just add a space checker inside the '))', then, something like this: clean = reReplace(replace(reReplace(x, \s*;\d+-\d+, , all), ((, (, all), )\s*), ), all) From: Rick Colman rcol...@cox.net Sent: Monday, December 06, 2010 3:28 PM To: cf-talk cf-talk@houseoffusion.com Subject: Re: Monster Regex this mostly worked, but did not remove one of the last trailing double )) results like: (T ACT) (N AAC) (D GAT) (T ACT) (A GCT) (T ACT) (M ATG) (D GAT) (H CAC) (L CTG) (E GAG) (K AAA) (N AAC) (E GAA) ) On 12/6/2010 11:26 AM, Jason Fisher wrote: clean = replaceList(reReplace(x, \s*;\d+-\d+, , all), ((,)), (,)) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339837 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Monster Regex
It worked in my test, but I now notice that you've got a space before the trailing parens. Try this for the second code bit: cfset str = reReplace(str,;\d+-\d+\s*\),) Sent with my Droid On Dec 6, 2010 1:34 PM, Rick Colman rcol...@cox.net wrote: this removed the leading parent, but did not remove the ;xxx-yyy numbers at the end of each line or the final trailing paren ) like (T ACT) (M ATG) (D GAT) (H CAC) (L CTG) (E GAG) (K AAA) (N AAC) (E GAA) ;1210-1218 ) On 12/6/2010 11:16 AM, Jacob Munson wrote: cfset str = reReplace(str,^\(,) cfset str = reReplace(str,;\d+-\d+\),) On Mon, Dec 6, 2010 at 12:03 PM, Rick Colmanrcol...@cox.net wrote: Been whacking at this one for a while, and it eludes me. ((T ACC) (I ATT) (T ACT) (P CCA) (E GAA) (T ACT) (S TCC) (R CGT) (P CCA) (I ATC) ;0-9 (T ACT) (M ATG) (D GAT) (H CAC) (L CTG) (E GAG) (K AAA) (N AAC) (E GAA) ;1210-1218) remove only single leading paren ( remove only trailing single paren ) leave all others remove ;xxx-yyy at the end of each line (unix line) where xxx is a number and yyy is a number so that the result looks like: (T ACC) (I ATT) (T ACT) (P CCA) (E GAA) (T ACT) (S TCC) (R CGT) (P CCA) (I ATC) (T ACT) (M ATG) (D GAT) (H CAC) (L CTG) (E GAG) (K AAA) (N AAC) (E GAA) You will advance the state of genomic science !!! (yuck ... I hate RE ...) Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339838 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: RE: Virtual Directories and IIS
Well if each site is different and have its own files then you need a unique URL and a folder in which to store the files, so I can't see how you can avoid either a real or a virtual directory. However if every site uses the same codebase, then you could use some url rewriting to allow your code to handle the different sites. e.g. www.domain1.com rewrite to www.primarydomain.com/?siteid=site1 www.doamin2.com rewrites to www.primarydomain.com?siteid=site2 URL rewriting is built right into IIS7, otherwise you can use ISAPI_REWRITE Russ -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: 06 December 2010 20:19 To: cf-talk Subject: Re: RE: Virtual Directories and IIS Yes, each is managed and customized by different people. On Dec 6, 2010 2:18 PM, Russ Michaels r...@michaels.me.uk wrote: Rick, What is the purpose of all these sub directories, is each site actually different? What are you actually trying to achieve. Russ -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: 06 December 2010 18:44 To: cf-talk Subject: Virtual Directories and IIS I'm wondering if there's a better way to do what we're doing. Currently, we have about 12,000 web s... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339839 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Monster Regex
getting malformed regular expression )\s*) thank you ! On 12/6/2010 12:41 PM, Jason Fisher wrote: Just add a space checker inside the '))', then, something like this: clean = reReplace(replace(reReplace(x, \s*;\d+-\d+, , all), ((, (, all), )\s*), ), all) From: Rick Colmanrcol...@cox.net Sent: Monday, December 06, 2010 3:28 PM To: cf-talkcf-talk@houseoffusion.com Subject: Re: Monster Regex this mostly worked, but did not remove one of the last trailing double )) results like: (T ACT) (N AAC) (D GAT) (T ACT) (A GCT) (T ACT) (M ATG) (D GAT) (H CAC) (L CTG) (E GAG) (K AAA) (N AAC) (E GAA) ) On 12/6/2010 11:26 AM, Jason Fisher wrote: clean = replaceList(reReplace(x, \s*;\d+-\d+, , all), ((,)), (,)) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339840 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Choosing between ColdFusion Builder and IntelliJ
Variable completion for me is the huge win. This is the biggest time saver that I have ever had, and the biggest reason I use CFB. Secondly is the integrated debugger. I pull this out when I need to debug some seriously complex code, and it's a g-d send. It's one of those tools that you may not need 90% of the time, but those 10% you do need it, it's awesome. Extensions are very useful. Crazy useful in fact (especially looking at what they have demo'd in CFB2). Being able to right click on a folder/file in an IDE and make your IDE do something is very useful. I've written at least 1 extension that has saved me hours of work. That all being said - CFEclipse is free, both IntelliJ and CFB have trials. Give them all a shot for a few days of development. See which one fits you. ( Side note - you can see my review of the CFML Plugin for IntelliJ IDE here: http://www.compoundtheory.com/?action=displayPostID=498 ) Mark On Tue, Dec 7, 2010 at 2:58 AM, Dave Burns cft...@burnsorama.com wrote: - So far the idea of extensions are great but I can run things like varscoper standalone without much effort and (correct me if I'm wrong!) but Apptacular is meant for the ORM features in CF9 and I have customers on CF8 so I'll keep using PU-36 standalone. -- E: mark.man...@gmail.com T: http://www.twitter.com/neurotic W: www.compoundtheory.com cf.Objective(ANZ) - Nov 18, 19 - Melbourne Australia http://www.cfobjective.com.au Hands-on ColdFusion ORM Training www.ColdFusionOrmTraining.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339841 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CFWDDX Serialization and Deserialization
It has recently (and very painfully) come to my attention that cfwddx serialize doesn't encapsulate strings in CDATA markers. This removes your ability to have HTML/XML markup in a string that is part of a struct you are trying to serialize/deserialize with out paying special attention to each string at serialization and deserialization time. Is there something I'm missing? This would seem to be an incredibly useful feature that would save tons of work and make the serialization feature tons more useful. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339842 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Monster Regex
Ah, yep, forgot to escape the ) when I changed the outer function to REReplace: clean = reReplace(replace(reReplace(x, \s*;\d+-\d+, , all), ((, (, all), \)\s*\), ), all) From: Rick Colman rcol...@cox.net Sent: Monday, December 06, 2010 3:55 PM To: cf-talk cf-talk@houseoffusion.com Subject: Re: Monster Regex getting malformed regular expression )\s*) thank you ! On 12/6/2010 12:41 PM, Jason Fisher wrote: Just add a space checker inside the '))', then, something like this: clean = reReplace(replace(reReplace(x, \s*;\d+-\d+, , all), ((, (, all), )\s*), ), all) From: Rick Colmanrcol...@cox.net Sent: Monday, December 06, 2010 3:28 PM To: cf-talkcf-talk@houseoffusion.com Subject: Re: Monster Regex this mostly worked, but did not remove one of the last trailing double )) results like: (T ACT) (N AAC) (D GAT) (T ACT) (A GCT) (T ACT) (M ATG) (D GAT) (H CAC) (L CTG) (E GAG) (K AAA) (N AAC) (E GAA) ) On 12/6/2010 11:26 AM, Jason Fisher wrote: clean = replaceList(reReplace(x, \s*;\d+-\d+, , all), ((,)), (,)) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339843 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Monster Regex
worked!! thank you. On 12/6/2010 1:24 PM, Jason Fisher wrote: Ah, yep, forgot to escape the ) when I changed the outer function to REReplace: clean = reReplace(replace(reReplace(x, \s*;\d+-\d+, , all), ((, (, all), \)\s*\), ), all) From: Rick Colmanrcol...@cox.net Sent: Monday, December 06, 2010 3:55 PM To: cf-talkcf-talk@houseoffusion.com Subject: Re: Monster Regex getting malformed regular expression )\s*) thank you ! On 12/6/2010 12:41 PM, Jason Fisher wrote: Just add a space checker inside the '))', then, something like this: clean = reReplace(replace(reReplace(x, \s*;\d+-\d+, , all), ((, (, all), )\s*), ), all) From: Rick Colmanrcol...@cox.net Sent: Monday, December 06, 2010 3:28 PM To: cf-talkcf-talk@houseoffusion.com Subject: Re: Monster Regex this mostly worked, but did not remove one of the last trailing double )) results like: (T ACT) (N AAC) (D GAT) (T ACT) (A GCT) (T ACT) (M ATG) (D GAT) (H CAC) (L CTG) (E GAG) (K AAA) (N AAC) (E GAA) ) On 12/6/2010 11:26 AM, Jason Fisher wrote: clean = replaceList(reReplace(x, \s*;\d+-\d+, , all), ((,)), (,)) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339844 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CF9/Win7 64 bit issues
I have banging my head on this for the past couple of days. I cannot get CF9 (either 64 bit or 32 bit) to install properly on a fresh install of Win7 Ultimate 64 bit. It adds the .cfm doc, but there isn't an entry for the handler. If I fire up the connector program to add it, it acts like it is already there, but no connectors are listed and when I try to add, if I go to put in the directory, it is greyed out and won't let me add it, and the site is listed as None and that is the only option. I have tried uninstalling CF.uninstalling both cf and IIS7 and then reinstalling (IIS then CF).no joy. When I get done with the installation and it directs you to the administrator, even though I am going to the right path, I get a 404 error. If I try to go to a html page using the same path, it comes up with no issues. Any ideas or does anyone know of a site that has info? I am totally stumped. Usually this just works. I just reinstalled my OS to clean up some stuff and it was previously installed and running with no issues prior to the reinstallation. Thanks! Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339845 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: RE: Virtual Directories and IIS
On Mon, Dec 6, 2010 at 3:50 PM, Russ Michaels r...@michaels.me.uk wrote: Well if each site is different and have its own files then you need a unique URL and a folder in which to store the files, so I can't see how you can avoid either a real or a virtual directory. However if every site uses the same codebase, then you could use some url rewriting to allow your code to handle the different sites. Each site uses the same code base, and tt already handles it because I currently use 12,000 virtual directories that point back to the code base in the web root. The code itself gets the site information from the name it finds in the cgi SCRIPT_NAME variable. Here's an example: www.classcreator.com/Saline-MI-1990 I was thinking about using ISAPI Rewrite, as suggested by someone else, but I'm afraid that would actually cause the site name Saline-MI-1990 to be invisible to Coldfusion (would it still be part of the cgi.script_name?) Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339846 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF9/Win7 64 bit issues
I'm not a pro in this field, but I know a few tricks. First, did you install the IIS 6 management console? If not, CF has trouble connecting to IIS7. I think you just have to have it installed, you can still manage via IIS7 tools. Second, you can always use the built-in web server. You can enable it through an XML file somewhere, but I find it's easier to reinstall CF and turn on the internal web server in the installer. Finally, my last trick is the wsconfig app, Web Services Configuration Tool in your start menu. You should be able to delete and recreate the connection to your web server. As for debugging, I wonder if your CF server thinks somehow it has a different context root other than just / - you could look for that and who knows, maybe you will find your /inetpub/wwwroot/*.cfm files answer to localhost/cfusion/*.cfm. Weird, but I guess possible. nathan strutz [http://www.dopefly.com/] [http://hi.im/nathanstrutz] On Mon, Dec 6, 2010 at 2:29 PM, Eric Roberts ow...@threeravensconsulting.com wrote: I have banging my head on this for the past couple of days. I cannot get CF9 (either 64 bit or 32 bit) to install properly on a fresh install of Win7 Ultimate 64 bit. It adds the .cfm doc, but there isn't an entry for the handler. If I fire up the connector program to add it, it acts like it is already there, but no connectors are listed and when I try to add, if I go to put in the directory, it is greyed out and won't let me add it, and the site is listed as None and that is the only option. I have tried uninstalling CF.uninstalling both cf and IIS7 and then reinstalling (IIS then CF).no joy. When I get done with the installation and it directs you to the administrator, even though I am going to the right path, I get a 404 error. If I try to go to a html page using the same path, it comes up with no issues. Any ideas or does anyone know of a site that has info? I am totally stumped. Usually this just works. I just reinstalled my OS to clean up some stuff and it was previously installed and running with no issues prior to the reinstallation. Thanks! Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339847 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF9/Win7 64 bit issues
There were a ton of issues with CF8 and IIS7 on 64 bit windows.. very complicated to set up. I was under the impression that they'd resolved those issues with CF9 - I recently uninstalled CF8 and installed CF9 with no problem (Win7, 64 bit).. but I'd already made all those configuration changes for CF8 to IIS so I don't know for sure. Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339848 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF9/Win7 64 bit issues
I previously had this installed on the same machine before I reinstalled the OS and it was running with no probs and the installation was as seamless as usual. Eric -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: Monday, December 06, 2010 15:52 To: cf-talk Subject: Re: CF9/Win7 64 bit issues There were a ton of issues with CF8 and IIS7 on 64 bit windows.. very complicated to set up. I was under the impression that they'd resolved those issues with CF9 - I recently uninstalled CF8 and installed CF9 with no problem (Win7, 64 bit).. but I'd already made all those configuration changes for CF8 to IIS so I don't know for sure. Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339849 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF9/Win7 64 bit issues
Let me try that...thx :-D -Original Message- From: Nathan Strutz [mailto:str...@gmail.com] Sent: Monday, December 06, 2010 15:48 To: cf-talk Subject: Re: CF9/Win7 64 bit issues I'm not a pro in this field, but I know a few tricks. First, did you install the IIS 6 management console? If not, CF has trouble connecting to IIS7. I think you just have to have it installed, you can still manage via IIS7 tools. Second, you can always use the built-in web server. You can enable it through an XML file somewhere, but I find it's easier to reinstall CF and turn on the internal web server in the installer. Finally, my last trick is the wsconfig app, Web Services Configuration Tool in your start menu. You should be able to delete and recreate the connection to your web server. As for debugging, I wonder if your CF server thinks somehow it has a different context root other than just / - you could look for that and who knows, maybe you will find your /inetpub/wwwroot/*.cfm files answer to localhost/cfusion/*.cfm. Weird, but I guess possible. nathan strutz [http://www.dopefly.com/] [http://hi.im/nathanstrutz] On Mon, Dec 6, 2010 at 2:29 PM, Eric Roberts ow...@threeravensconsulting.com wrote: I have banging my head on this for the past couple of days. I cannot get CF9 (either 64 bit or 32 bit) to install properly on a fresh install of Win7 Ultimate 64 bit. It adds the .cfm doc, but there isn't an entry for the handler. If I fire up the connector program to add it, it acts like it is already there, but no connectors are listed and when I try to add, if I go to put in the directory, it is greyed out and won't let me add it, and the site is listed as None and that is the only option. I have tried uninstalling CF.uninstalling both cf and IIS7 and then reinstalling (IIS then CF).no joy. When I get done with the installation and it directs you to the administrator, even though I am going to the right path, I get a 404 error. If I try to go to a html page using the same path, it comes up with no issues. Any ideas or does anyone know of a site that has info? I am totally stumped. Usually this just works. I just reinstalled my OS to clean up some stuff and it was previously installed and running with no issues prior to the reinstallation. Thanks! Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339850 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Split String
I'd use CF's underlying java core in this case, as in: cfset theList = thislocation/thisdir/thissite/thispage.cfm/var1/var2/var3/var4 cfset theOtherPart = theList.split(.cfm) / cfset theLastPart = theOtherPart[2] / cfset request.cfdumpinited = false / cfdump label=theOtherPart var=#theOtherPart# expand=true / cfdump label=theLastPart var=#theLastPart# expand=false / cfabort / hth, larry I have a string like this: thislocation/thisdir/thissite/thispage. cfm/var1/var2/var3/var4 I want to split the string to get just that data that follows .cfm/, which would be var1/var2/var3/var4. Tried all the list function I can think of, but that's not the right approach. How can all get only the data that follows the literal . cfm/? Thanks Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339851 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Gigya?
Anyone integrated Gigya with CF yet? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339852 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF9/Win7 64 bit issues
You da man Nathan :-D I turned on IIS6 compatibility and it worked. Thanks!! -Original Message- From: Nathan Strutz [mailto:str...@gmail.com] Sent: Monday, December 06, 2010 15:48 To: cf-talk Subject: Re: CF9/Win7 64 bit issues I'm not a pro in this field, but I know a few tricks. First, did you install the IIS 6 management console? If not, CF has trouble connecting to IIS7. I think you just have to have it installed, you can still manage via IIS7 tools. Second, you can always use the built-in web server. You can enable it through an XML file somewhere, but I find it's easier to reinstall CF and turn on the internal web server in the installer. Finally, my last trick is the wsconfig app, Web Services Configuration Tool in your start menu. You should be able to delete and recreate the connection to your web server. As for debugging, I wonder if your CF server thinks somehow it has a different context root other than just / - you could look for that and who knows, maybe you will find your /inetpub/wwwroot/*.cfm files answer to localhost/cfusion/*.cfm. Weird, but I guess possible. nathan strutz [http://www.dopefly.com/] [http://hi.im/nathanstrutz] On Mon, Dec 6, 2010 at 2:29 PM, Eric Roberts ow...@threeravensconsulting.com wrote: I have banging my head on this for the past couple of days. I cannot get CF9 (either 64 bit or 32 bit) to install properly on a fresh install of Win7 Ultimate 64 bit. It adds the .cfm doc, but there isn't an entry for the handler. If I fire up the connector program to add it, it acts like it is already there, but no connectors are listed and when I try to add, if I go to put in the directory, it is greyed out and won't let me add it, and the site is listed as None and that is the only option. I have tried uninstalling CF.uninstalling both cf and IIS7 and then reinstalling (IIS then CF).no joy. When I get done with the installation and it directs you to the administrator, even though I am going to the right path, I get a 404 error. If I try to go to a html page using the same path, it comes up with no issues. Any ideas or does anyone know of a site that has info? I am totally stumped. Usually this just works. I just reinstalled my OS to clean up some stuff and it was previously installed and running with no issues prior to the reinstallation. Thanks! Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339853 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF9/Win7 64 bit issues
FYI: You need the IIS6 management console for CF9.0 but NOT for 9.01 Andy On 6 December 2010 21:54, Eric Roberts ow...@threeravensconsulting.com wrote: You da man Nathan :-D I turned on IIS6 compatibility and it worked. Thanks!! -Original Message- From: Nathan Strutz [mailto:str...@gmail.com] Sent: Monday, December 06, 2010 15:48 To: cf-talk Subject: Re: CF9/Win7 64 bit issues I'm not a pro in this field, but I know a few tricks. First, did you install the IIS 6 management console? If not, CF has trouble connecting to IIS7. I think you just have to have it installed, you can still manage via IIS7 tools. Second, you can always use the built-in web server. You can enable it through an XML file somewhere, but I find it's easier to reinstall CF and turn on the internal web server in the installer. Finally, my last trick is the wsconfig app, Web Services Configuration Tool in your start menu. You should be able to delete and recreate the connection to your web server. As for debugging, I wonder if your CF server thinks somehow it has a different context root other than just / - you could look for that and who knows, maybe you will find your /inetpub/wwwroot/*.cfm files answer to localhost/cfusion/*.cfm. Weird, but I guess possible. nathan strutz [http://www.dopefly.com/] [http://hi.im/nathanstrutz] On Mon, Dec 6, 2010 at 2:29 PM, Eric Roberts ow...@threeravensconsulting.com wrote: I have banging my head on this for the past couple of days. I cannot get CF9 (either 64 bit or 32 bit) to install properly on a fresh install of Win7 Ultimate 64 bit. It adds the .cfm doc, but there isn't an entry for the handler. If I fire up the connector program to add it, it acts like it is already there, but no connectors are listed and when I try to add, if I go to put in the directory, it is greyed out and won't let me add it, and the site is listed as None and that is the only option. I have tried uninstalling CF.uninstalling both cf and IIS7 and then reinstalling (IIS then CF).no joy. When I get done with the installation and it directs you to the administrator, even though I am going to the right path, I get a 404 error. If I try to go to a html page using the same path, it comes up with no issues. Any ideas or does anyone know of a site that has info? I am totally stumped. Usually this just works. I just reinstalled my OS to clean up some stuff and it was previously installed and running with no issues prior to the reinstallation. Thanks! Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339854 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Choosing between ColdFusion Builder and IntelliJ
Dave, Let's look at some of the things you have listed. - RDS is just not datasources, it is also file views and extensions and also about the Editor as well. Without the RDS you don't' get a lot of the intellisense help etc. - TailView is very handy because you can open up a number of views an watch the different errors, as well as color code the errors as well. - SVN Plugin does far more than what you think it does, and combined with mylyn it is an invaluable tool at your disposal. Now the one thing to note, which a lot of people seem to misunderstand is productivity. When you have everything at your finger tips witout having to switch windows and applications all the time, and you setup your Eclipse views to a way that makes sense for you then your productivity gets increased by about 500%. So the question you need to ask yourself is do you want to be productive and have it all at your finger tips, or are you happy to plot along switching windows and applications all time? Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Dave Burns [mailto:cft...@burnsorama.com] Sent: Tuesday, 7 December 2010 2:58 AM To: cf-talk Subject: Re: Choosing between ColdFusion Builder and IntelliJ Thank you to all for the replies so far. Very helpful. Now that I've had some time to evaluate CFBuilder, I'd like to revisit this thread. I'm not bashing on CFB here - honest questions: considering that I'm not starting from scratch but already have the functionality of DreamWeaver at my disposal, I'm struggling to figure out the *incremental* value of CFB. Things I like about CFB are the code completion (member functions, etc. although it doesn't always work), the *idea* of a community of extensions, and easy refactoring. Things I wonder about: - I see RDS but I don't understand how that can compete with having SSMS in another window. - I see the TailView but I'm used to opening 'tail -f' in another shell window. - I see the plugin for Subversion integration but I have TortoiseSVN hooked into Windows Explorer. - So far the idea of extensions are great but I can run things like varscoper standalone without much effort and (correct me if I'm wrong!) but Apptacular is meant for the ORM features in CF9 and I have customers on CF8 so I'll keep using PU-36 standalone. In short, what I see from CFB is a lot of tools integrated into one window. It feels tidy but I'm not convinced there's *real* value there (beyond what I get with DW). What am I missing? Thanks, db ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339855 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Virtual Directories and IIS
I have done this and it works a treat, which also means I no longer need to run scripts to setup IIS VDirs anymore. I also use SES so it might be a bit different if you aren't doing this. But I always treat the first in the list for example /myvdir/foo.cfm would be myvdir as a virtual directory, then try to look it up against known clients. If it doesn't match then it must be a dir, and continue. All this info is in the url string so it is easy to work out. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: Tuesday, 7 December 2010 5:44 AM To: cf-talk Subject: Virtual Directories and IIS I'm wondering if there's a better way to do what we're doing. Currently, we have about 12,000 web sites, each of which uses a virtual directory that refers to the web root www.mydomain.com/mywebsite1 www.mydomain.com/mywebsite2 etc Some of these sites end up buying domains and they just end up going to www.mywebsite1.com .. but the virtual directory still works. So yeah, we've got 12,000 virtual directories (back in the old days, we actually had 2,000 physical subdirectories with 2,000 identical copies of the files, so the virtual directory method was a vast improvement) that being said, I'm having problems getting my dot net calls to work (a topic for another thread) but this got me thinking.. is there a better way? Could I somehow have a catch-all virtual directory that would prevent me from having to create unique virtual directories for every site? like, in the case www.mydomain.com/mywebsite1/foo.cfm, if there ws no /mywebsite1/ physical directory, then look for foo.cfm in the web root.. but do not REDIRECT (because we rely on /mywebsite1/ being in the URL so we know which site they're accessing) rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339856 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Split String
How is that any different to listGetAt(list, 2, '.cfm/') and its shorter code. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Larry Lyons [mailto:larrycly...@gmail.com] Sent: Tuesday, 7 December 2010 9:01 AM To: cf-talk Subject: Re: Split String I'd use CF's underlying java core in this case, as in: cfset theList = thislocation/thisdir/thissite/thispage.cfm/var1/var2/var3/var4 cfset theOtherPart = theList.split(.cfm) / cfset theLastPart = theOtherPart[2] / cfset request.cfdumpinited = false / cfdump label=theOtherPart var=#theOtherPart# expand=true / cfdump label=theLastPart var=#theLastPart# expand=false / cfabort / hth, larry I have a string like this: thislocation/thisdir/thissite/thispage. cfm/var1/var2/var3/var4 I want to split the string to get just that data that follows .cfm/, which would be var1/var2/var3/var4. Tried all the list function I can think of, but that's not the right approach. How can all get only the data that follows the literal . cfm/? Thanks Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~~ ~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion- Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf- talk/message.cfm/messageid:339851 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf- talk/unsubscribe.cfm ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339857 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF9/Win7 64 bit issues
Which may confuse people seeing as you have to install cf9 first then cf9.0.1, so you cannot install CF to IIS during the initial install, you have to update to 9.0.1 then use the web config tool. Russ -Original Message- From: Andy Allan [mailto:andy.al...@gmail.com] Sent: 06 December 2010 22:52 To: cf-talk Subject: Re: CF9/Win7 64 bit issue FYI: You need the IIS6 management console for CF9.0 but NOT for 9.01 Andy On 6 December 2010 21:54, Eric Roberts ow...@threeravensconsulting.com wrote: You da man Nathan :-D I turned on IIS6 compatibility and it worked. Thanks!! -Original Message- From: Nathan Strutz [mailto:str...@gmail.com] Sent: Monday, December 06, 2010 15:48 To: cf-talk Subject: Re: CF9/Win7 64 bit issues I'm not a pro in this field, but I know a few tricks. First, did you install the IIS 6 management console? If not, CF has trouble connecting to IIS7. I think you just have to have it installed, you can still manage via IIS7 tools. Second, you can always use the built-in web server. You can enable it through an XML file somewhere, but I find it's easier to reinstall CF and turn on the internal web server in the installer. Finally, my last trick is the wsconfig app, Web Services Configuration Tool in your start menu. You should be able to delete and recreate the connection to your web server. As for debugging, I wonder if your CF server thinks somehow it has a different context root other than just / - you could look for that and who knows, maybe you will find your /inetpub/wwwroot/*.cfm files answer to localhost/cfusion/*.cfm. Weird, but I guess possible. nathan strutz [http://www.dopefly.com/] [http://hi.im/nathanstrutz] On Mon, Dec 6, 2010 at 2:29 PM, Eric Roberts ow...@threeravensconsulting.com wrote: I have banging my head on this for the past couple of days. I cannot get CF9 (either 64 bit or 32 bit) to install properly on a fresh install of Win7 Ultimate 64 bit. It adds the .cfm doc, but there isn't an entry for the handler. If I fire up the connector program to add it, it acts like it is already there, but no connectors are listed and when I try to add, if I go to put in the directory, it is greyed out and won't let me add it, and the site is listed as None and that is the only option. I have tried uninstalling CF.uninstalling both cf and IIS7 and then reinstalling (IIS then CF).no joy. When I get done with the installation and it directs you to the administrator, even though I am going to the right path, I get a 404 error. If I try to go to a html page using the same path, it comes up with no issues. Any ideas or does anyone know of a site that has info? I am totally stumped. Usually this just works. I just reinstalled my OS to clean up some stuff and it was previously installed and running with no issues prior to the reinstallation. Thanks! Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339858 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: RE: Virtual Directories and IIS
Rick, If www.classcreator.com/Saline-MI-1990 is what you want CF to see then this is simply what you need to rewrite the URL to. So user requests www.saline-mi.com and gets rewritten to www.classcreator.com/Saline-MI-1990 If the vDir matchs the domain name then it should be fairly easy rules, if the vDir name has nothing to do with the domain name, then you will have to create a new rule for each site. Russ -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: 06 December 2010 21:43 To: cf-talk Subject: Re: RE: Virtual Directories and IIS On Mon, Dec 6, 2010 at 3:50 PM, Russ Michaels r...@michaels.me.uk wrote: Well if each site is different and have its own files then you need a unique URL and a folder in which to store the files, so I can't see how you can avoid either a real or a virtual directory. However if every site uses the same codebase, then you could use some url rewriting to allow your code to handle the different sites. Each site uses the same code base, and tt already handles it because I currently use 12,000 virtual directories that point back to the code base in the web root. The code itself gets the site information from the name it finds in the cgi SCRIPT_NAME variable. Here's an example: www.classcreator.com/Saline-MI-1990 I was thinking about using ISAPI Rewrite, as suggested by someone else, but I'm afraid that would actually cause the site name Saline-MI-1990 to be invisible to Coldfusion (would it still be part of the cgi.script_name?) Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339859 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF9/Win7 64 bit issues
Shouldn't the download be 9.01? I guess the better question should be when was 9.01 released. I downloaded the installer maybe a month ago. -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Monday, December 06, 2010 17:33 To: cf-talk Subject: RE: CF9/Win7 64 bit issues Which may confuse people seeing as you have to install cf9 first then cf9.0.1, so you cannot install CF to IIS during the initial install, you have to update to 9.0.1 then use the web config tool. Russ -Original Message- From: Andy Allan [mailto:andy.al...@gmail.com] Sent: 06 December 2010 22:52 To: cf-talk Subject: Re: CF9/Win7 64 bit issue FYI: You need the IIS6 management console for CF9.0 but NOT for 9.01 Andy On 6 December 2010 21:54, Eric Roberts ow...@threeravensconsulting.com wrote: You da man Nathan :-D I turned on IIS6 compatibility and it worked. Thanks!! -Original Message- From: Nathan Strutz [mailto:str...@gmail.com] Sent: Monday, December 06, 2010 15:48 To: cf-talk Subject: Re: CF9/Win7 64 bit issues I'm not a pro in this field, but I know a few tricks. First, did you install the IIS 6 management console? If not, CF has trouble connecting to IIS7. I think you just have to have it installed, you can still manage via IIS7 tools. Second, you can always use the built-in web server. You can enable it through an XML file somewhere, but I find it's easier to reinstall CF and turn on the internal web server in the installer. Finally, my last trick is the wsconfig app, Web Services Configuration Tool in your start menu. You should be able to delete and recreate the connection to your web server. As for debugging, I wonder if your CF server thinks somehow it has a different context root other than just / - you could look for that and who knows, maybe you will find your /inetpub/wwwroot/*.cfm files answer to localhost/cfusion/*.cfm. Weird, but I guess possible. nathan strutz [http://www.dopefly.com/] [http://hi.im/nathanstrutz] On Mon, Dec 6, 2010 at 2:29 PM, Eric Roberts ow...@threeravensconsulting.com wrote: I have banging my head on this for the past couple of days. I cannot get CF9 (either 64 bit or 32 bit) to install properly on a fresh install of Win7 Ultimate 64 bit. It adds the .cfm doc, but there isn't an entry for the handler. If I fire up the connector program to add it, it acts like it is already there, but no connectors are listed and when I try to add, if I go to put in the directory, it is greyed out and won't let me add it, and the site is listed as None and that is the only option. I have tried uninstalling CF.uninstalling both cf and IIS7 and then reinstalling (IIS then CF).no joy. When I get done with the installation and it directs you to the administrator, even though I am going to the right path, I get a 404 error. If I try to go to a html page using the same path, it comes up with no issues. Any ideas or does anyone know of a site that has info? I am totally stumped. Usually this just works. I just reinstalled my OS to clean up some stuff and it was previously installed and running with no issues prior to the reinstallation. Thanks! Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339860 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFWDDX Serialization and Deserialization
Could you use CFJSON instead http://cfjson.riaforge.org/ Russ -Original Message- From: Dan Baughman [mailto:dan.baugh...@gmail.com] Sent: 06 December 2010 21:24 To: cf-talk Subject: CFWDDX Serialization and Deserialization It has recently (and very painfully) come to my attention that cfwddx serialize doesn't encapsulate strings in CDATA markers. This removes your ability to have HTML/XML markup in a string that is part of a struct you are trying to serialize/deserialize with out paying special attention to each string at serialization and deserialization time. Is there something I'm missing? This would seem to be an incredibly useful feature that would save tons of work and make the serialization feature tons more useful. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339861 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF9/Win7 64 bit issues
You would think so wouldn't you. The reason I read it isn't is because this would require re-testing the installer on all platforms, which is too time consuming, Russ -Original Message- From: Eric Roberts [mailto:ow...@threeravensconsulting.com] Sent: 06 December 2010 23:19 To: cf-talk Subject: RE: CF9/Win7 64 bit issues Shouldn't the download be 9.01? I guess the better question should be when was 9.01 released. I downloaded the installer maybe a month ago. -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Monday, December 06, 2010 17:33 To: cf-talk Subject: RE: CF9/Win7 64 bit issues Which may confuse people seeing as you have to install cf9 first then cf9.0.1, so you cannot install CF to IIS during the initial install, you have to update to 9.0.1 then use the web config tool. Russ -Original Message- From: Andy Allan [mailto:andy.al...@gmail.com] Sent: 06 December 2010 22:52 To: cf-talk Subject: Re: CF9/Win7 64 bit issue FYI: You need the IIS6 management console for CF9.0 but NOT for 9.01 Andy On 6 December 2010 21:54, Eric Roberts ow...@threeravensconsulting.com wrote: You da man Nathan :-D I turned on IIS6 compatibility and it worked. Thanks!! -Original Message- From: Nathan Strutz [mailto:str...@gmail.com] Sent: Monday, December 06, 2010 15:48 To: cf-talk Subject: Re: CF9/Win7 64 bit issues I'm not a pro in this field, but I know a few tricks. First, did you install the IIS 6 management console? If not, CF has trouble connecting to IIS7. I think you just have to have it installed, you can still manage via IIS7 tools. Second, you can always use the built-in web server. You can enable it through an XML file somewhere, but I find it's easier to reinstall CF and turn on the internal web server in the installer. Finally, my last trick is the wsconfig app, Web Services Configuration Tool in your start menu. You should be able to delete and recreate the connection to your web server. As for debugging, I wonder if your CF server thinks somehow it has a different context root other than just / - you could look for that and who knows, maybe you will find your /inetpub/wwwroot/*.cfm files answer to localhost/cfusion/*.cfm. Weird, but I guess possible. nathan strutz [http://www.dopefly.com/] [http://hi.im/nathanstrutz] On Mon, Dec 6, 2010 at 2:29 PM, Eric Roberts ow...@threeravensconsulting.com wrote: I have banging my head on this for the past couple of days. I cannot get CF9 (either 64 bit or 32 bit) to install properly on a fresh install of Win7 Ultimate 64 bit. It adds the .cfm doc, but there isn't an entry for the handler. If I fire up the connector program to add it, it acts like it is already there, but no connectors are listed and when I try to add, if I go to put in the directory, it is greyed out and won't let me add it, and the site is listed as None and that is the only option. I have tried uninstalling CF.uninstalling both cf and IIS7 and then reinstalling (IIS then CF).no joy. When I get done with the installation and it directs you to the administrator, even though I am going to the right path, I get a 404 error. If I try to go to a html page using the same path, it comes up with no issues. Any ideas or does anyone know of a site that has info? I am totally stumped. Usually this just works. I just reinstalled my OS to clean up some stuff and it was previously installed and running with no issues prior to the reinstallation. Thanks! Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339862 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF9/Win7 64 bit issues
On Mon, Dec 6, 2010 at 6:19 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Shouldn't the download be 9.01? I guess the better question should be when was 9.01 released. I downloaded the installer maybe a month ago. Yeah, I discovered this weekend that the download was 9.0 - but not until I applied the 901 CHF and had it not fix my problems. That's when I discovered/noticed that the installer had only installed 9.0.0. Grr! I haven't made *ANY* IIS changes since upgrading from CF8 to CF9.0.0 to CF9.0.1 - didn't have to remove the IIS6 compat stuff. Maybe that's why my .NET stuff isn't working... Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339863 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Split String
First my earlier post completely disregarded the fact that you'd have / chars BEFORE the .cfm, so sorry about neglecting that tid bit. Secondly I'd like to recommend not using so many #'s where they aren't needed. I've worked the code below to illustrate what I mean. Also, to avoid #'s on the left hand side of assignment as well as reducing the use of evaluate I'd recommend using either a struct or an array for storing your url_var vars. cfset url_vars = listrest(listlast(cgi.REQUEST_URI, .), /\) / !--- strips the variables obfuscated as '/' delmited values from the URI string --- cfset ary_vars = ListToArray(url_vars,/,true) / !--- Create array of vars --- !--- below is only used to see output list of created variables; not really needed to use the variables --- cfif ArrayLen(ary_vars) cfoutput cfloop from=1 to=#ArrayLen(ary_vars)# index=i Variable#i# = #ary_vars[i]#br / /cfloop /cfoutput cfelse No / delimited variables found in URL string /cfif ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339864 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF9/Win7 64 bit issues
Really? I thought if you got the latest download from Adobe that it was v9.0.1 Sent from my iPhone On Dec 6, 2010, at 6:33 PM, Russ Michaels r...@michaels.me.uk wrote: Which may confuse people seeing as you have to install cf9 first then cf9.0.1, so you cannot install CF to IIS during the initial install, you have to update to 9.0.1 then use the web config tool. Russ -Original Message- From: Andy Allan [mailto:andy.al...@gmail.com] Sent: 06 December 2010 22:52 To: cf-talk Subject: Re: CF9/Win7 64 bit issue FYI: You need the IIS6 management console for CF9.0 but NOT for 9.01 Andy On 6 December 2010 21:54, Eric Roberts ow...@threeravensconsulting.com wrote: You da man Nathan :-D I turned on IIS6 compatibility and it worked. Thanks!! -Original Message- From: Nathan Strutz [mailto:str...@gmail.com] Sent: Monday, December 06, 2010 15:48 To: cf-talk Subject: Re: CF9/Win7 64 bit issues I'm not a pro in this field, but I know a few tricks. First, did you install the IIS 6 management console? If not, CF has trouble connecting to IIS7. I think you just have to have it installed, you can still manage via IIS7 tools. Second, you can always use the built-in web server. You can enable it through an XML file somewhere, but I find it's easier to reinstall CF and turn on the internal web server in the installer. Finally, my last trick is the wsconfig app, Web Services Configuration Tool in your start menu. You should be able to delete and recreate the connection to your web server. As for debugging, I wonder if your CF server thinks somehow it has a different context root other than just / - you could look for that and who knows, maybe you will find your /inetpub/wwwroot/*.cfm files answer to localhost/cfusion/*.cfm. Weird, but I guess possible. nathan strutz [http://www.dopefly.com/] [http://hi.im/nathanstrutz] On Mon, Dec 6, 2010 at 2:29 PM, Eric Roberts ow...@threeravensconsulting.com wrote: I have banging my head on this for the past couple of days. I cannot get CF9 (either 64 bit or 32 bit) to install properly on a fresh install of Win7 Ultimate 64 bit. It adds the .cfm doc, but there isn't an entry for the handler. If I fire up the connector program to add it, it acts like it is already there, but no connectors are listed and when I try to add, if I go to put in the directory, it is greyed out and won't let me add it, and the site is listed as None and that is the only option. I have tried uninstalling CF.uninstalling both cf and IIS7 and then reinstalling (IIS then CF).no joy. When I get done with the installation and it directs you to the administrator, even though I am going to the right path, I get a 404 error. If I try to go to a html page using the same path, it comes up with no issues. Any ideas or does anyone know of a site that has info? I am totally stumped. Usually this just works. I just reinstalled my OS to clean up some stuff and it was previously installed and running with no issues prior to the reinstallation. Thanks! Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339865 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF9/Win7 64 bit issues
Nope. Downloaded mine on Friday. On Mon, Dec 6, 2010 at 6:40 PM, Steven Durette st...@durette.org wrote: Really? I thought if you got the latest download from Adobe that it was v9.0.1 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339866 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF9/Win7 64 bit issues
We had a similar scenario recently - first installed 9.0 on 64bit / iis 7, then had to upgrade to 9.01 (which I think has been out since July). This was complicated by the question of how to handle the IIS 7 connection. CF 9 has the IIS 6 compatibility tool, as I recall, but 9.01 can use that or not. If you choose not to use that, which we did, then there was an uninstall process that included some items in IIS7 itself. It was more complicated than I would have liked, and not as well documented as I would have liked, but in the end it seems to have worked pretty well. If you need more details about this, feel free to email me off list and I can try to dig up the notes on what we did. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339867 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF9/Win7 64 bit issues
I didn't even notice but you're right, it DID ask me if I wanted to do something to IIS - I thoguht all it did was disable 32 bit applications. Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339868 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF9/Win7 64 bit issues
But that *WAS* on the 9.0 install, not the 9.0.1 updater On Mon, Dec 6, 2010 at 7:39 PM, Rick Root rick.r...@gmail.com wrote: I didn't even notice but you're right, it DID ask me if I wanted to do something to IIS - I thoguht all it did was disable 32 bit applications. Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339869 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFWDDX Serialization and Deserialization
Yea I'm remembering why I chose to use cfwddx when I build this specific app, but I'm wishing I had used something else like that. Have you used that much with international or special character sets, writing to database, etc? Before I change serialization techniques I want to find the right one this time. On Mon, Dec 6, 2010 at 4:43 PM, Russ Michaels r...@michaels.me.uk wrote: Could you use CFJSON instead http://cfjson.riaforge.org/ Russ -Original Message- From: Dan Baughman [mailto:dan.baugh...@gmail.com] Sent: 06 December 2010 21:24 To: cf-talk Subject: CFWDDX Serialization and Deserialization It has recently (and very painfully) come to my attention that cfwddx serialize doesn't encapsulate strings in CDATA markers. This removes your ability to have HTML/XML markup in a string that is part of a struct you are trying to serialize/deserialize with out paying special attention to each string at serialization and deserialization time. Is there something I'm missing? This would seem to be an incredibly useful feature that would save tons of work and make the serialization feature tons more useful. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339870 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFWDDX Serialization and Deserialization
I haven't used it in that way no, but as JSON is so widely used (JQUERY for example) I would imagine it can cope with anything. Russ -Original Message- From: Dan Baughman [mailto:dan.baugh...@gmail.com] Sent: 07 December 2010 00:43 To: cf-talk Subject: Re: CFWDDX Serialization and Deserialization Yea I'm remembering why I chose to use cfwddx when I build this specific app, but I'm wishing I had used something else like that. Have you used that much with international or special character sets, writing to database, etc? Before I change serialization techniques I want to find the right one this time. On Mon, Dec 6, 2010 at 4:43 PM, Russ Michaels r...@michaels.me.uk wrote: Could you use CFJSON instead http://cfjson.riaforge.org/ Russ -Original Message- From: Dan Baughman [mailto:dan.baugh...@gmail.com] Sent: 06 December 2010 21:24 To: cf-talk Subject: CFWDDX Serialization and Deserialization It has recently (and very painfully) come to my attention that cfwddx serialize doesn't encapsulate strings in CDATA markers. This removes your ability to have HTML/XML markup in a string that is part of a struct you are trying to serialize/deserialize with out paying special attention to each string at serialization and deserialization time. Is there something I'm missing? This would seem to be an incredibly useful feature that would save tons of work and make the serialization feature tons more useful. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339871 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF9/Win7 64 bit issues
There are other reasons to install the IIS6 management tools, such as if you plan to use windows built in SMTP server which requires it. Russ -Original Message- From: Nick Gleason [mailto:n.glea...@citysoft.com] Sent: 07 December 2010 00:33 To: cf-talk Subject: RE: CF9/Win7 64 bit issues We had a similar scenario recently - first installed 9.0 on 64bit / iis 7, then had to upgrade to 9.01 (which I think has been out since July). This was complicated by the question of how to handle the IIS 7 connection. CF 9 has the IIS 6 compatibility tool, as I recall, but 9.01 can use that or not. If you choose not to use that, which we did, then there was an uninstall process that included some items in IIS7 itself. It was more complicated than I would have liked, and not as well documented as I would have liked, but in the end it seems to have worked pretty well. If you need more details about this, feel free to email me off list and I can try to dig up the notes on what we did. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339872 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF9/Win7 64 bit issues
On Mon, Dec 6, 2010 at 8:03 PM, Russ Michaels r...@michaels.me.uk wrote: There are other reasons to install the IIS6 management tools, such as if you plan to use windows built in SMTP server which requires it. God help those people. Worst. SMTP Server. Ever. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339873 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFWDDX Serialization and Deserialization
I'm pretty sure I've stored HTML fragments inside WDDX packets just fine, and never had an issue. Mind you, I haven't use WDDX in probably ~8 years ;o) Mark On Tue, Dec 7, 2010 at 12:01 PM, Russ Michaels r...@michaels.me.uk wrote: I haven't used it in that way no, but as JSON is so widely used (JQUERY for example) I would imagine it can cope with anything. Russ -Original Message- From: Dan Baughman [mailto:dan.baugh...@gmail.com] Sent: 07 December 2010 00:43 To: cf-talk Subject: Re: CFWDDX Serialization and Deserialization Yea I'm remembering why I chose to use cfwddx when I build this specific app, but I'm wishing I had used something else like that. Have you used that much with international or special character sets, writing to database, etc? Before I change serialization techniques I want to find the right one this time. On Mon, Dec 6, 2010 at 4:43 PM, Russ Michaels r...@michaels.me.uk wrote: Could you use CFJSON instead http://cfjson.riaforge.org/ Russ -Original Message- From: Dan Baughman [mailto:dan.baugh...@gmail.com] Sent: 06 December 2010 21:24 To: cf-talk Subject: CFWDDX Serialization and Deserialization It has recently (and very painfully) come to my attention that cfwddx serialize doesn't encapsulate strings in CDATA markers. This removes your ability to have HTML/XML markup in a string that is part of a struct you are trying to serialize/deserialize with out paying special attention to each string at serialization and deserialization time. Is there something I'm missing? This would seem to be an incredibly useful feature that would save tons of work and make the serialization feature tons more useful. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339874 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFWDDX Serialization and Deserialization
If it's valid XHTML with no high ASCII it works. Sent from my mobile device On Dec 6, 2010, at 7:16 PM, Mark Mandel mark.man...@gmail.com wrote: I'm pretty sure I've stored HTML fragments inside WDDX packets just fine, and never had an issue. Mind you, I haven't use WDDX in probably ~8 years ;o) Mark On Tue, Dec 7, 2010 at 12:01 PM, Russ Michaels r...@michaels.me.uk wrote: I haven't used it in that way no, but as JSON is so widely used (JQUERY for example) I would imagine it can cope with anything. Russ -Original Message- From: Dan Baughman [mailto:dan.baugh...@gmail.com] Sent: 07 December 2010 00:43 To: cf-talk Subject: Re: CFWDDX Serialization and Deserialization Yea I'm remembering why I chose to use cfwddx when I build this specific app, but I'm wishing I had used something else like that. Have you used that much with international or special character sets, writing to database, etc? Before I change serialization techniques I want to find the right one this time. On Mon, Dec 6, 2010 at 4:43 PM, Russ Michaels r...@michaels.me.uk wrote: Could you use CFJSON instead http://cfjson.riaforge.org/ Russ -Original Message- From: Dan Baughman [mailto:dan.baugh...@gmail.com] Sent: 06 December 2010 21:24 To: cf-talk Subject: CFWDDX Serialization and Deserialization It has recently (and very painfully) come to my attention that cfwddx serialize doesn't encapsulate strings in CDATA markers. This removes your ability to have HTML/XML markup in a string that is part of a struct you are trying to serialize/deserialize with out paying special attention to each string at serialization and deserialization time. Is there something I'm missing? This would seem to be an incredibly useful feature that would save tons of work and make the serialization feature tons more useful. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339875 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: COLD FUSION DEVELOPER - FALLS CHURCH, VA
You know XXX, copying a job posting from XXX's website and reposting it here is kind of a XXX move. I mean, I'm sure XXX would be kind of XXX at you XXX their XXX and claiming it for XXX. Try to be more XXX next time and actually XXX items that have to do with your XXX. Have a XXX day. :) On Mon, Dec 6, 2010 at 2:20 PM, Ryan Campbell ryan.campb...@mortonconsulting.com wrote: Position Summary: XXX is one of the nation's strongest and most dynamic systems solutions providers. XXX IT specializes in the acquisition, design, engineering, evaluation, and development of advanced IT systems and data communications networks for information systems and applications. Our long tradition of success is attributable to the bright, driven professionals at XXX. XXX has an immediate opening for Cold Fusion 9 Software Developer with Microsoft 2008 SQL experience located in Falls Church, VA. XXX IT seeks a Software engineer / developer to join our team. Were currently seeking an experienced developer in Cold Fusion 9 and in Java web services to be responsible for developing hard-core technical components that a drive multi-tier service-oriented architecture. This person will create applications, services, back and front-end APIs and be responsible for design and development of various aspects of the core services platform. Our software development organization plays a critical role in development, day-to-day operations, support, and strategy of a 24x7x365 mission-critical systems. You will apply knowledge of Cold fusion programming and production NOE environments and Microsoft SQL 2008 administration/developer with your ability to develop and deliver quality applications on-time and on-budget to support that effort. Our expectation is that the candidate will: · be hardworking, enthusiastic, and dedicated to superior performance * Have an understanding of Microsoft SQL 2008 administration and development skills. · have an understanding of SOA and related tools, frameworks, and technologies, along with Cold Fusion 9 applications development and production environments · be able to work with a minimum of technical supervision and supplemental engineering support, while responding efficiently to multiple program priorities Responsibilities: · Translate complex functional and technical requirements into detailed architecture and design. · Work with engineering team by leading architecture decisions, participating in designs, design review, code review, and implementation.. · Develop solutions using Java, XML, HTTP, Web Services, SOAP, SOA, and other Web technologies and well as using cold fusion environments. · Maintain current technical knowledge to support rapidly changing technology, always on a look out for new technologies and work with management and development team in bringing new technologies. · Document designs with sequence and class diagrams using UML.. * Perform Microsoft DB SQL administration/development. Requirements Minimum Education/Experience: BS or equivalent; 7 years of experience. Required Skills/Abilities: * Minimum 7 years experience with hands-on software development; 3+ years enterprise software experience, B.S. in Computer Science or related field. * Experience with large distributed applications and building/operating highly available systems * Deep understanding of web services software architectural and design issues. * Core competencies in cold fusion 9 * Some competency in Java, XML, HTTP, Web Services, SOAP, JAX-B, and WSDL. * Strong knowledge of modern design patterns and architectural paradigms, re-factoring, and loosely coupled and abstracted software elements. * Strong experience implementing transaction management and persistence using lightweight frameworks such as Spring and Hibernate, preferably with Oracle and SQLServer databases. * UI development experience using JSF, RichFaces, JSP, HTML, and JavaScript. * Experience with NetBeans (preferably Suns JavaCAPS environment) and Subversion. * Excellent verbal and written communication skills. * Cold fusion 9 (8 is acceptable as core with working knowledge of 99). * Microsoft DB SQL administration/developer. (Basic knowledge). Desired Skills/Abilities: * Project Management / portfolio management experience * Criminal Justice System applications * Cold Fusion 9, Java, SOA, JEE, JSF, Web Services, JAX-B, SOAP, Hibernate, Oracle, HTML, XML, JavaScript, JSP, RichFaces * Microsoft DB SQL 2008 Security Clearance: Applicant selected will be subject to a government security
Re: COLD FUSION DEVELOPER - FALLS CHURCH, VA
I was going to tell them about the perfect fit for that position. He is available for immediate hire. His name is XX and can be reached at xx...@xxx.com. On Mon, Dec 6, 2010 at 5:38 PM, Phillip Vector vec...@mostdeadlygame.com wrote: You know XXX, copying a job posting from XXX's website and reposting it here is kind of a XXX move. I mean, I'm sure XXX would be kind of XXX at you XXX their XXX and claiming it for XXX. Try to be more XXX next time and actually XXX items that have to do with your XXX. Have a XXX day. :) On Mon, Dec 6, 2010 at 2:20 PM, Ryan Campbell ryan.campb...@mortonconsulting.com wrote: Position Summary: XXX is one of the nation's strongest and most dynamic systems solutions providers. XXX IT specializes in the acquisition, design, engineering, evaluation, and development of advanced IT systems and data communications networks for information systems and applications. Our long tradition of success is attributable to the bright, driven professionals at XXX. XXX has an immediate opening for Cold Fusion 9 Software Developer with Microsoft 2008 SQL experience located in Falls Church, VA. XXX IT seeks a Software engineer / developer to join our team. Were currently seeking an experienced developer in Cold Fusion 9 and in Java web services to be responsible for developing hard-core technical components that a drive multi-tier service-oriented architecture. This person will create applications, services, back and front-end APIs and be responsible for design and development of various aspects of the core services platform. Our software development organization plays a critical role in development, day-to-day operations, support, and strategy of a 24x7x365 mission-critical systems. You will apply knowledge of Cold fusion programming and production NOE environments and Microsoft SQL 2008 administration/developer with your ability to develop and deliver quality applications on-time and on-budget to support that effort. Our expectation is that the candidate will: · be hardworking, enthusiastic, and dedicated to superior performance * Have an understanding of Microsoft SQL 2008 administration and development skills. · have an understanding of SOA and related tools, frameworks, and technologies, along with Cold Fusion 9 applications development and production environments · be able to work with a minimum of technical supervision and supplemental engineering support, while responding efficiently to multiple program priorities Responsibilities: · Translate complex functional and technical requirements into detailed architecture and design. · Work with engineering team by leading architecture decisions, participating in designs, design review, code review, and implementation.. · Develop solutions using Java, XML, HTTP, Web Services, SOAP, SOA, and other Web technologies and well as using cold fusion environments. · Maintain current technical knowledge to support rapidly changing technology, always on a look out for new technologies and work with management and development team in bringing new technologies. · Document designs with sequence and class diagrams using UML.. * Perform Microsoft DB SQL administration/development. Requirements Minimum Education/Experience: BS or equivalent; 7 years of experience. Required Skills/Abilities: * Minimum 7 years experience with hands-on software development; 3+ years enterprise software experience, B.S. in Computer Science or related field. * Experience with large distributed applications and building/operating highly available systems * Deep understanding of web services software architectural and design issues. * Core competencies in cold fusion 9 * Some competency in Java, XML, HTTP, Web Services, SOAP, JAX-B, and WSDL. * Strong knowledge of modern design patterns and architectural paradigms, re-factoring, and loosely coupled and abstracted software elements. * Strong experience implementing transaction management and persistence using lightweight frameworks such as Spring and Hibernate, preferably with Oracle and SQLServer databases. * UI development experience using JSF, RichFaces, JSP, HTML, and JavaScript. * Experience with NetBeans (preferably Suns JavaCAPS environment) and Subversion. * Excellent verbal and written communication skills. * Cold fusion 9 (8 is acceptable as core with working knowledge of 99). * Microsoft DB SQL administration/developer. (Basic knowledge). Desired Skills/Abilities: * Project Management / portfolio management experience * Criminal