Questions tagged [lucee]

Lucee is a light-weight dynamic scripting language for the JVM that enables the rapid development of simple to highly sophisticated web applications.

Lucee is a modern dynamic scripting language for the JVM that enables the rapid development of simple to highly sophisticated web applications.

The Lucee language supports multiple development paradigms, including object orientation with inheritance and interfaces, and functional constructs like higher-order functions, closures, map(), and reduce().

The Lucee application server includes built-in functionality, through tags and functions, to address many of the common requirements of web application development. These include session management, image manipulation, PDF creation, XML generation and processing, security, date manipulation, and more.

Lucee versions

Current Stable Version: 5.2.7.62 // Release Date: 4 May 2018

Previous Stable Version: 5.2.6.60 // Release Date: 15 Mar 2018

It is recommended to use the latest stable released version.

Features

Database access

Lucee has built-in support for the following databases:

  • DB2
  • Firebird
  • H2 Database Engine in Embedded and Server Mode
  • Hypersonic SQL Database
  • Microsoft SQL Server
  • MySQL
  • JDBC-ODBC Bridge
  • Sybase
  • Oracle
  • PostgreSQL

Lucee also supports any database for which a JDBC driver is available.

Web services

Lucee has built-in support for calling, and consuming data returned from, existing web services, along with the ability to easily configure and expose web services to be consumed. Lucee supports three types of web services:

ORM

Lucee has built-in support for the object relational mapping (ORM) framework Hibernate, facilitating Hibernate usage from Lucee code without complex and explicit configuration.

Caching

Lucee has built-in support for multiple caching systems, including Infinispan, Ehcache, and Memcached, and can be extended with additional systems.

Cache implementations can be configured within the Lucee server, then used within an application -- both explicitly and implicitly -- for the caching of database results, function call results, external HTTP request results, serialized session storage, and as a flexible backing store for an in-process RAM-based file-system abstraction.

Virtual filesystems

Lucee supports multiple virtual file systems -- built-in abstractions of various local and remote resources -- including zip, HTTP, FTP, S3, and RAM. These allow the Lucee server and developer to treat access to an abstracted resource in the same manner as a local file system.

Sample Lucee code

Lucee is derived from the ColdFusion Markup Language (CFML) and therefore has support for both the tag-based and script-based based versions of CFML:

Tag example

<cfset myVar = "Hello World">
<cfoutput>#myVar#</cfoutput>

Script example

myVar = "Hello World";
echo(myVar);

Both the above examples will assign the string "Hello World" as the value of the variable myVar, then output that value to the response buffer, typically for display in a web browser.

480 questions
0
votes
1 answer

Empty catalina.out log file - "operation not permitted"

I'm trying to empty the catalina.out log file by using command "echo > catalina.out", but I keep getting response "-bash: catalina.out: Operation not permitted". Any help?
Ben Bernards
  • 187
  • 1
  • 3
  • 12
0
votes
1 answer

Installed MuraCMS, now can't connect to Tomcat?

I've installed Tomcat and Lucee and was able to see them running on localhost:8080. I just installed the latest version of MuraCMS, and upon completing the installer it goes to a webpage (to finish the installation) but says it can't connect to the…
Ben Bernards
  • 187
  • 1
  • 3
  • 12
0
votes
0 answers

Rewrite file in Tomcat, default Lucee instance, Configure SES for FW/1

I run Coldfusion on my IIS box, but I have an instance of Lucee running for testing. I have it running as http://127.0.0.1:8888 I've replaced the files in the default root (tomcat/webapps/root/*)to be my application. The main page loads, but…
pendo
  • 792
  • 2
  • 5
  • 27
0
votes
1 answer

How to remove Lucee / Tomcat / Mura?

We're experimenting with Lucee / Tomcat / Mura and would like to remove the installed files. Which folders should we be looking in to make sure we have taken out everything? Any tips for wiping out the install completely?
Ben Bernards
  • 187
  • 1
  • 3
  • 12
0
votes
1 answer

HTTP Status 500 - can't create directory /var/lib/tomcat7/webapps/ROOT/WEB-INF/lucee

I'm new to Linux (Ubuntu 16.04)and working on trying to setup Lucee 5, Ubuntu, Tomcat, and nginx. I feel like I'm close to it working, but getting this error 500 when going to the page (sometestfile.cfm) in my browser. HTTP Status 500 - can't…
user1669296
  • 425
  • 1
  • 6
  • 13
0
votes
1 answer

cfquery to queryExecute: if inside SQL string

what is the best way to do what I did in even in queryExecute cfquery SELECT * FROM tbl_products WHERE filed1 = 1 AND filed2 = 2 ORDER BY id…
Ivan
  • 515
  • 3
  • 7
  • 22
0
votes
1 answer

Global functions in Lucee/Coldfusion

I am trying to create global functions in Lucee. I have followed the directions here and have it "Kind of" working. Inside of Application.cfc I placed the following code: public void function onRequest() { URL.IsInternalUser = function() {…
Yamaha32088
  • 4,125
  • 9
  • 46
  • 97
0
votes
1 answer

Mura setup does not show Mura admin page, instead shows Lucee welcome page

Mura setup is done as per documentation From Mura setup page, I am not able to access the Mura admin page Setup gives the Lucee welcome page Can anyone suggest how I might fix this?
Guru
  • 11
  • 2
0
votes
1 answer

Mura Setup not shows Mura Admin page

Mura setup is done as per documentation. From Mura setup page not able to get Mura admin page Setup gives some page where i can not go for other menu Mura Setup image the default button goes to Lucee welcome page settings.ini has mode=production,…
Guru
  • 11
  • 2
0
votes
0 answers

Complete Gibberish Error Message

I'm getting a really error message from Lucee: ‹Ä½írÛH’(úûöS`5'ÚîØ–D|zÚž (ÊR[”´$m¹gcc"!-à dyïØw¸¿nÄ9/·Or3I PdÖÌ9Û–å¬Bf}äweþð뿜^g¿ßŒ”e¼ò”›O'—CåàðøøVŸÎN•/ç³ñ¥¢u”Yhû‘»o{ÇÇ£«å`Çë_ŽŸŸŸžõ£ |8žMŽ¿â\... The whole page is nothing but this gibberish. I'm…
Jack Pilowsky
  • 2,275
  • 5
  • 28
  • 38
0
votes
1 answer

Ignored default value in Lucee Orm

I set my persistent component with this property: Now, if I save an entity by not specifying its created_at value, I get an error: not-null property references a…
Manaus
  • 431
  • 5
  • 17
0
votes
0 answers

Memory in Tomcat when running Railo/Lucee

Im looking at this post about Pulling Used PermGen Space Programmatically while trying to figure out how to tweak my Railo/Lucee/Tomcat environment arguments and I was wondering if the information that generates can help me? This is my current…
Andy Jarrett
  • 863
  • 2
  • 9
  • 26
0
votes
1 answer

Lucee CFCs throw an XML error

I'm running Lucee 4.5.1.023 on Ubuntu 14.04.3 LTS. When I create a .cfm file and do an cfoutput or a cfdump, the output is as you'd expect. However, when I use a function within a CFC and have the function set to output="true" and do a cfoutput or…
scoDubblT
  • 391
  • 1
  • 2
  • 10
0
votes
1 answer

Is cfstoredproc.statusCode returned?

When ReturnCode=true, it should populate cfstoredproc.statusCode with the status code returned by the stored procedure. But I can only see cached and executionTime.
Phillip Senn
  • 46,771
  • 90
  • 257
  • 373
0
votes
1 answer

Installing Cassandra Java Driver on Lucee

I'm not very seasoned on Java, but I'm trying to setup Cassandra as Datasource in Lucee using "Other OBDC," And I'm hitting some road blocks. I believe I need to install this - https://github.com/datastax/java-driver on my server, but I'm…
TheJason
  • 494
  • 6
  • 18