coldfusion

Is it possible to deploy Coldfusion code on Google App Engine for Java?

Since ColdFusion is itself Java-based, I would imagine it's not too much of a stretch to suggest that CFML code could be deployed on Google App Engine. Blue Dragon is a commercial solution for deploying CFML code on Java servers. Are there any open source alternatives that could be used for App Engine? ...

re-direct / re-write my domain

firstly, i have already spents the past few hours trying to find a solution for this, but have had nothing but non-working solutions :( it's pretty simple - i'm pointing the DNS of a new domain to my current hosting. but when i visit the new domain, i'm just viewing my original site (the one i got with my hosting). let's say my origina...

Site renders differently in CFM vs HTML on Chrome

Ok, so this is very odd. I have a site that I am breaking out into several ColdFusion documents for header/footer/etc. The footer of my site is affixed to the bottom using a jQuery plugin. When I go to the index.cfm page (in chrome) to view the results, the footer placement is off. I then "right-click...view source" and highlight all...

Where does Railo store files created by <cflog>?

Where does Railo store files created by when using the file attribute? I.e. <cflog file="mylogfile" text="SOME ALERT HERE"> The 'Tag Reference' in the Web Administrator does not give an indication, and neither does http://wiki.getrailo.org/wiki/3-1-Tags:CFLog ...

In ColdFusion, is there a way to determine what server the code is running on?

Is there any way in ColdFusion code to determine on what server the code is executing? I have few load-balanced ColdFusion servers. I want to be able to know on which server the code is running when I catch an exception, so I can include that information in the logging / reporting code. The servers are Windows 2003/IIS, if that matters....

ColdFusion 8.01 not responding... How to investigate what's wrong?

About once in 1 or 2 months, my 32bit CF8.01 (with cumulative hot fix 2) on Windows 2003 Server + IIS6 would somehow freeze for an unknown reason. The Task Manager reported Jrun using ~600mb (far from the ~1.2gb limit). CPU is close to 0%. I checked the /log, and the latest updated log doesn't have anything particularly interesting go...

How do I stop charset being set in the HTTP headers of a Railo application?

I am using Railo 3.0 for a web application (setup exactly the same as this excellent guide). I have a CFM page that serves up some old HTML files using the cfcontent tag. This content is in various character sets (all defined as meta tags in the HTML). The problem is that all my CFM pages are getting sent out with UTF-8 set in the HTTP r...

How can you access a secondary calendar with cfexchangeconnection?

I have an exchange account with multiple calendars defined. Is it possible to query a secondary calendar with cfexchangeconnection? Here's the code that I use to get the primary calendar, but I don't see any options in CF8 to talk to the secondary calendar "AltCal" in my profile. <cfexchangeConnection action="open" username="#theuserna...

What rendering engine does cfdocument use for HTML->PDF conversion?

Simple question: Does anyone know what CF8 uses to render HTML into PDF? More specifically, I'd like to know the version and if there's a complete description of what styles it does/doesn't support. (for example, it doesn't support CSS page breaking - you need to use cfdocumentitem which isn't as flexible) ...

ColdFusion - Inserting form field into SQL Server MONEY

I'm trying to insert a value from a form field into a SQL Server MONEY field using ColdFusion. If the amount is just dollars, or if the cents are more than 12, the insert goes fine. But if the cents amount is less than 12, according to the error that's thrown, the system appears to be converting the money amount into a date format befor...

Setting Coldfusion dynamic application variables from a query

I was horsing around and figured it would be nice to move my application variables into a table that can be loaded onApplicationStart. My intent is to allow ANT to roll out the app, and change a few settings in the database and the proverbial presto.. In my test code, the application.cfc has a simple query to call all the variable na...

301 Redirect

Hi all, i need to rediret my site from say http://www.foo.com/index.cfm to http://www.foo.com. In this application index.cfm is my default page that i have made in IIS. When i am trying 301 redirect i am getting redirect loop error. Whole app is in coldfusion. i am doing this setting in iis on my index.cfm page. Please give some advice o...

Query of queries outside ColdFusion

Hello. My experience of using Adobe ColdFusion, even if still somewhat limited, was absolutely joyful and pleasant. Of all good things I could say about ColdFusion, one feature completely blew me off my feet. It might be neither very effective, or useful in production, but anyway, I am talking about the so-called "query of queries" fe...

AUTH_USER and REMOTE_USER cgi variables

The docs aren't entirely clear on this - is there a difference between these variables? On IIS at least they appear to be identical, but I don't want to rely on that if it might be different under other servers. ...

xsd for wsdl in coldfusion

How to generate an xsd from the wsdl generated in Coldusion? I'm no sure how the xsd is useful for creating SOAP stub but someone needs it so need to find a way to generate one. I tried using some online tools for this but it says "inline definitions". Hopefully some one knows how to do this. ...

Is there a solution to this cfqueryparam memory leak?

Updates: I have submitted the bug to Adobe and referenced this SO question In my real-world code where the problem occurred I decided to just remove my use of cfqueryparam. I am now using a custom function to format the param based on type. There are security and speed concerns that I will have to deal with but it gets the particular p...

Additional ColdFusion XML manipulation functions/libraries

It seems to me that the XML manipulation functions in ColdFusion 8 are not as mature as those for manipulating arrays and structures. Do you have any suggestions for additional functions/tags which make it more straightforward to manipulate a parsed XML document? (I've come across XML2Struct but as I'm going to write the manipulated XM...

coldfusion: Invoke cffunction from the same component

This question might be naive as I'm new to ColdFusion programming. I have a task for which I have written a function, f1, inside a component. I want to call f1 from another function, f2 defined in the same component. f2 is being called in a cfm file. My question - Is this the right way to do it? Can I invoke f1 from f2? I can as well...

CF8's CFFEED quirks?

Anything one should watch out for when using CF8's CFFEED tag? Oh, here's a list... Yet another post on cffeed and columnMap : Raymond Camden's ColdFusion Blog anything else? ...

Get the name of a file before uploading coldfusion

How can I get the filename of a file before I call the <cffile action = "upload"> ? I can get the filename of the temp file, but not of the actual filename. In PHP land I can use the $_FILES superglobal to get what I want - but as far as I can tell no such thing exists in coldfusion. I can get the filename client-side but would real...