Questions tagged [railo]

Railo is an Open Source (LGPL) rapid application development platform implementing the general-purpose CFML language, compatible with Adobe ColdFusion's implementation but with various extensions/updates. Don't forget to also use the `cfml` tag for any Railo questions involving the CFML language or any general CFML concepts.

Railo is an Open Source server-side rapid application development platform which implements the general-purpose CFML language, partnered with JBoss, and compatible with Adobe ColdFusion's implementation but with various extensions/updates.

When asking Railo-related questions, remember to indicate which servlet engine you are using (e.g. ,,,etc), which installation method used, and any CFML frameworks you might be using. Documentation can be found at http://railodocs.org

Don't forget to also use the tag for any Railo questions involving general CFML concepts. If your question/code is for both Railo and ColdFusion, use both and tags.

446 questions
6
votes
1 answer

Does server.railo exist on a Lucee instance or not?

I have this code: And it outputs top-level keys for coldfusion, java, lucee, os, separator, servlet. Note that railo is not listed there. However if I do this: It then outputs the usual struct one…
Adam Cameron
  • 29,677
  • 4
  • 37
  • 78
6
votes
2 answers

Array parameter, empty by default

I want to pass an optional array parameter to a function. If the parameter is not provided, the array should be empty. I tried the following: But I get the following…
Michael
  • 1,557
  • 2
  • 18
  • 38
6
votes
3 answers

Verify mail server connection programmatically in ColdFusion

I'm using custom SMTP servers and would like to verify the connection when user enters his own server credentials. Exactly the same type of check as Adobe CF and Railo allow to do when adding mail server. Sure, this does not guarantee that delivery…
Sergey Galashyn
  • 6,946
  • 2
  • 19
  • 39
6
votes
1 answer

Shouldn't dot and square bracket notation behave the same in CF?

With this code: Railo passes ok (all True) while CF throws an exception on the last…
Henry
  • 32,689
  • 19
  • 120
  • 221
6
votes
2 answers

Tomcat possible memory leak

The university I work at uses a Tomcat/Railo server to render ColdFusion pages. For about 6 months (before I was hired) the servers have been randomly crashing at different times, usually runnign service railo_ctl restart has fixed hte issue,…
Jeremy Spencer
  • 250
  • 1
  • 6
  • 15
6
votes
3 answers

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…
ethyreal
  • 3,659
  • 2
  • 21
  • 25
6
votes
2 answers

Components mapping in Railo

I would like to put all of my CFC into /components folder and be able to call them from different places in application eg. from /forums/index.cfm. How would I go about setting the mappings?
Eleeist
  • 6,891
  • 10
  • 50
  • 77
5
votes
2 answers

Where does Railo store files created by ?

Where does Railo store files created by when using the file attribute? I.e. The 'Tag Reference' in the Web Administrator does not give an indication, and neither does…
Guy C
  • 6,970
  • 5
  • 30
  • 30
5
votes
6 answers

How do I discard a row from a ColdFusion query?

Given a query (pseudo-code): SELECT * FROM stuff How do I get rid of the first record? In this case, altering the SQL is not an option. I have tried: myquery.RemoveRows(0,1); but received an error: No matching…
Jordan Sitkin
  • 2,303
  • 3
  • 26
  • 35
5
votes
1 answer

Including interface functions in cfc from cfml files on lucee or railo

I'm trying to add a interface to a cfc that includes some functions in a cfml file however it throws a error with the message "component [...] does not implement the function [..] of the interface" the function it's complaining about is implemented…
Snipzwolf
  • 533
  • 1
  • 8
  • 22
5
votes
1 answer

CFQuery Getting GeneratedKey from Multiple Insert into SQL Server

I am trying to get generated keys (or identitycol) of rows I am inserting using the multiple insert syntax. CREATE TABLE TempPerson ( PersonID INT NOT NULL IDENTITY (1,1) PRIMARY KEY, LastName…
user2943775
  • 263
  • 3
  • 8
5
votes
2 answers

Lucee URI encoding issue (cyrillic)

I just moved one of our core apps from Windows+IIS+Coldfusion to Ubuntu+Apache+Lucee. The first big problem is the URI encoding for exotic alphabets. For example, trying to reach this url…
Fabio B.
  • 9,138
  • 25
  • 105
  • 177
5
votes
1 answer

Using onMissingMethod cannot access object variables

In CF10, I want to access a variable Test object using onMissingMethod function in TestHelper object, but I am getting an error. Test.cfc component { public Any function init(){ instance = { x = 1 }; return this; } public numeric function…
user2943775
  • 263
  • 3
  • 8
5
votes
3 answers

Railo Query of Query returning incorrect results

I'm running the following two statements: First is A) which does what it needs to do and works: SELECT itemColumn ,valueColumn ,label FROM rstCombinedChartData UNION ALL SELECT itemColumn ,CAST(valueColumn AS INTEGER) AS valueColumn …
GrantU
  • 6,325
  • 16
  • 59
  • 89
5
votes
0 answers

Railo to talk to XMPP/Jabber/Google Talk from within Railo?

I have implemented ColdFusion XMPP Event Gateway in coldfusion server 10 and it is working fine with google talk. The same thing i want to implement in Railo server but no luck to find something. Please suggest something to "Railo to talk to…
Arun
  • 215
  • 3
  • 11
1 2
3
29 30