railo

Is OpenBD or Railo a viable replacement for ColdFusion?

Has anyone here had any experience with running OpenBD or Railo in production? We have some legacy CF6.1 apps that need to be hosted somewhere and I'm wondering if OpenBD or Railo is stable enough for production use, won't require a great deal effort to migrate to, etc. ...

Railo, Tomcat IIS7 and default documents.

I've set up Railo v3.1 using Tomcat v6 - on a Windows 2008 (32bit) server. Everything seems to work fine, except that no matter what I try, I can't get it to recognise my default document (index.cfm) So: http://localhost/index.cfm = fine http://localhost = 404.3 error If I look at the error, it seems that IIS7 is using the static fil...

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 ...

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...

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. ...

JBoss 4.2.3 EAR and Apache 2.2 virtual hosts with jk_mod serving blank white page

I have an EAR file I am trying to deploy alongside various WAR deployments on JBoss 4.2.3 The individual standalone WAR deployments are all working fine and are just a copy of the same application that is contained inside the EAR but the EAR deployment and it's included WAR(s) does not work correctly. I am receiving a blank white page ...

Model Glue and Railo Application.cfc

I am trying to launch a test MG app on Railo and am hitting a snag. When I visit the MG app I get: Railo 3.1.0.012 Error (Java.lang.classformaterror) Message Invalid index 16 in LocalVariableTable in class file application_cfc$cf Java Stacktrace Invalid index 16 in LocalVariableTable in class file application_cfc $cf at...

What pitfalls await me when i migrate from CF6.1 to CF8 or Railo3.1?

Google does not really deliver much content (or my query sucks). Has anyone made the switch and can share the experience? ...

Setting up Railo in the same way as Multiple Instance Adobe CF

I'm looking to install Railo in the same way we currently do for Adobe CF. At present we run Adobe CF8 on top of JRUN 4, in a multiple instance setup. On our local sandboxes we use Apache as the web server. We then use Apache Virtual Directories to point to our codebase which exists outside of the CF Context. This gives us ultimate fle...

Scheduling a Task in Railo

I recently decided to move one of my simpler apps over to Railo. So far so good. One Problem, it's a scheduled task. How/where does one set them up? Under Railo Express I clicked in Tasks under both administrator and web admin sites, and no dice.. It only seems to show tasks which did not exceed ala an exception list. I just want so...

Testing for existance of FORM scope / struct in ColdFusion

Problem: When requesting the WSDL for a CFC, I get the following error: Variable FORM is undefined. It happens in this line of code, in the OnRequestStart method in application.cfc <cfif structKeyExists(form,'resetappvars')> <cfset OnApplicationStart() /> </cfif> If I request a specific method, it works fine. I have considered using...

CFML Design Pattern resources?

As with all development, CFML via ColdFusion, Railo or OpenBD we run into common programming problems. For these problems must programmer turn to patterns (or anti-patterns). However the classic resources like GOF and the modern Head First books both tend to focus on Java. While java is beautiful in its own right, all three cfml eng...

What's the best way to write engine-specific CFML code?

Sometimes it is necessary to write different code for Adobe ColdFusion vs Railo vs OpenBD, due to differences in implementation. Do people have a specific method that they use for this? For example, switching on ProductName is one option: <cfswitch expression="#Server.ColdFusion.ProductName#"> <cfcase value="ColdFusion Server"> ...

Error when creating a railo datasource in a local environment

I'm running railo locally on top of tomcat. but when I try to add a datasource in the admin: http://localhost:8080/railo-context/admin/web.cfm I keep getting this error: : input contained no data Any ideas? This shouldn't be that hard. When I deploy the environment to a production server, I can add a datasource simple as pie. But be...

mod_jk help with apache2 tomcat6 and railo3 on ubuntu server 9.04

Hello I am trying to setup the coldfusion server railo on tomcat6 and using apache2 to connect to tomcat via mod_jk. I've gotten everything setup except that i would like to be able to have my railo webapp use the /var/www (my default apache directory) as its home directory since not every file need to be processed by railo. What is the ...

Coldfusion popularity

Hi, I've heard of Coldfusion being a server side technology for web app dev. Are there any statistics as to how widely it is used as opposed to PHP, Java Servlets and JSP or ASP.NET? Are there any special features in coldfusion that make learning it worth the while? Thanks, jrh PS: please don't close this question as argumentative. ...

Why doesn't railo read the customtag path like cfmx 6.1 does?

Hello, i am trying to migrate from cfmx61 to railo 3.1. I have customtags in this directory for cfmx61 C:\cfusionmx\customtags\myapp i copied the directory to {railo-web}/customtags/ and added this mapping through the railo administrator and also enabled the "Search subdirectories" setting. I get this error the moment i try to a...

Glassfish, railo and coldbox - messed up links?

I am new to ColdFusion and ColdBox (and programming). I tried to setup ColdBox but some of the links in the sample applications are broken. My configuration is a GlassFish v3 installation with the current Railo OSS. I access my site through Apache 2.2.14. So instead of http://127.0.0.1:8080/railo/ I access my environment trough http://...

How does one convert from a Java resultset to ColdFusion query in Railo?

The following works fine in CFMX 7 and CF8, and I'd assume CF9 as well: <!--- 'conn' is a JDBC connection ---> <cfset stat = conn.createStatement() /> <cfset rs = stat.executeQuery(trim(arguments.sql)) /> <!--- convert this Java resultset to a CF query recordset ---> <cfset queryTable = CreateObject("java", "coldfusion.sql.QueryTable")...

Running Railo and Adobe Coldfusion Server on the same server.

I have several Coldfusion sites on a Win 2K3 IIS6 server and I wanted to ease into Railo. I was hoping to install Railo on the same server and just set up a particular IIS virtual host to use Railo instead of Adobe CF server. It seems Adobe CF Server will still process the request for .cfm files even though I pointed the isapi mapping t...