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

Request lands in Tomcat's catch-all instead of the desired host

After setting up a new install of Nginx and Lucee on an OpenSuse VM I've now reached a point where I can access the Lucee admin via the internal IP and Tomcat port, but if I try to access the little test page I've set up, I end up on the catch-all…
mz_01
  • 495
  • 3
  • 13
0
votes
0 answers

Railo/Lucee EHCache SessionStorage not synchronizing

I have two multihomed, web-balanced webservers running Lucee and I'm having issues getting the session to replicate across EHCache instances. I'm not even sure if auto discovery works Here is my setup and config: OS setup Multicast setup for both…
dwkd
  • 2,716
  • 1
  • 17
  • 17
0
votes
1 answer

contentbox integration with oracle on lucee server

I installed the following software in my machine successfully. Virtual Machine (VM). Ubuntu 12.04 32bit. Oracle 10g Express edition 32bit. Lucee (lucee-4.5.1.000-pl0-linux-installer.run) Contentbox After above all installation I go…
Yasir
  • 1
  • 1
0
votes
2 answers

Login failed for user 'sa' while trying to create datasource with Railo

So I'm trying to setup Railo and I want to add a datasource. For the database I'm using Microsoft SQL server Management Studio. But now I've run into the classical problem: "Login failed for user 'sa'.…
max_eddy
  • 3
  • 4
-1
votes
1 answer

decontructing a coldfusion array loop

I am trying to deconstruct an array loop created by some one and they had instructions on how to call but if I do that value, I am being ended up in an error Here is the code
naz
  • 31
  • 4
-1
votes
1 answer

cfldap useTLS failing and providing no information why it is failing

I am trying to use useTLS="true" with cfldap but the error i am getting is not very helpful. It just says error connecting to ldap server. no logs and nothing, I am using CF2021. This is my first time using cfldap and i am not sure what needs to be…
Adam
  • 1
-1
votes
1 answer

MySQL Update Error - Cannot find what is wrong

I am working on a CFML project with a MySQL backend. I have a function that contains an SQL update statement. The cfquery looks like this:
-1
votes
1 answer

How can I evaluate Active Directory lastlogondatetimestamp in Lucee 5.x?

Looking for some help with Active Directory datetime format, specifically the attribute lastlogondatetimestamp. According to google, The LastLogonTimeStamp attribute of the Active Directory stores the last logon timestamp value in the System.Int64…
HPWD
  • 2,232
  • 4
  • 31
  • 61
-1
votes
1 answer

problem locating the xml within the xml search of the code

I have defined the xml as below with all information in it. CRUD Generator User 1 Beta Generate ColdFusion Components based on Database Tables
Rqs
  • 21
  • 3
-1
votes
1 answer

http error saying unable to make an https connection

I have this Java code but when i run it, it says the https connection cannot be made to https something is wrong in this i am trying to use this because of webdav functionality try{ socket.init(this.host, this.port); } catch(Object e){ …
simone
  • 1
  • 2
-1
votes
1 answer

loop over a query to create an Manual ArryOfStructs Data

I am have a query data and want to create a manual array of structs with it, i am using this code but it seems wrong. what i am missing here what should do it here for(i in myquery) { st['Contact'][#i#]['ID'] = i.id; …
miz
  • 3
  • 3
-1
votes
3 answers

Use of Valuelist in cfscript is not working

I'm using the iCalUS function from cflib.org which uses cfscript to generate iCal for a calendar. It is possible that an activity has more then one location. The locations are coming from a different table, so I want to use a Valuelist to get a…
Samall
  • 117
  • 9
-1
votes
1 answer

coldfusion 11 loop in rightful way

i see this code in one of the pages, seems annoying, it can be shorted, if i am on Coldfusion 11 https://trycf.com/gist/701515844d5e41549a7b6e61dfafeaa0/lucee5?theme=monokai Here is the code how its looks like
muaa
  • 1
  • 1
-1
votes
1 answer

islistinlist function for coldfusion 11

I have this function and running flawless on coldfusion 2016 and lucee but wen i run in cf11, it fails. i am trying to understand how can i make it work with cf11 private any function isListInList(list1, list2, returnBoolean = true){ var rv…
Jim
  • 49
  • 4
-1
votes
2 answers

php code which i am trying to change in CF

I am working on something which unfortunately does not have anything in CF, so there are few things which i am trying to do to convert but some functions which i am not sure what is the equivalent of those in Coldfusion, any guidance will be…
Jhing
  • 41
  • 4
1 2 3
31
32