./lang/lucee [JVM-based scripting language for web apps (open-source CFML)]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 5.3.5.92, Package name: lucee-5.3.5.92
Maintained by: Stuart Henderson
Master sites:
Description
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 fully compatible with the CFML Script and Tag
Language.

Lucee is a JVM language and runs on the JVM as a servlet and will work
with any servlet container (e.g. Apache Tomcat, Eclipse Jetty) or
application server (e.g. JBoss AS, GlassFish). This package is setup
to run Lucee under Tomcat.

README
$OpenBSD: README,v 1.5 2019/06/29 13:35:48 sthen Exp $

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

Configuring Tomcat to support Lucee
===================================
Lucee is a Java-based CFML engine. It runs as a servlet in a container;
this package is designed to work with the Apache Tomcat servlet container,
you will need to make a few configuration changes to tomcat to use it.
If you have not yet modified Tomcat's configuration, this readme includes
a patch which can be used:

# patch -d ${CATALINA_BASE}/conf < \
${LOCALBASE}/share/doc/pkg-readmes/${PKGSTEM}

Then skip to the next section in this file, "Starting the service
and online configuration".

If you have already modified Tomcat's configuration and need to edit
manually, there are two possible ways to proceed.

1. Insert the contents of ${PREFIX}/conf/web-lucee.xml in Tomcat's
${CATALINA_BASE}/conf/web.xml file. This will need to be kept up-to-date
with future Lucee releases.

-or-

2. Modify Tomcat configuration to include web-lucee.xml itself; this is
the method used by the patch below, initial setup is slightly more complex
but ongoing maintenance is reduced.

a) Change the line in ${CATALINA_BASE}/conf/context.xml to read
.

b) Add lines after the first line at the top of
${CATALINA_BASE}/conf/web.xml, so it looks like this:



]>

c) Towards the bottom of web.xml, add the CFML-related file extensions
to the section:


index.cfm
index.html
index.htm
index.jsp


d) Add "&lucee;" at the bottom of the section to include
the "lucee" xml entity defined above. This tells Tomcat to include
the contents of the web-lucee.xml file containing the Lucee-related
settings.

&lucee;


Starting the service and online configuration
=============================================

# rcctl enable tomcat

- If you need to set JVM options you can do so like this:
# rcctl set tomcat flags -Xms256m -Xmx1024m -XX:MaxPermSize=128m

# rcctl restart tomcat

- Connect to the server and web administration pages. At first run of
a successful new installation, you will be prompted to set passwords.

http://localhost:8080/lucee/admin/server.cfm
http://localhost:8080/lucee/admin/web.cfm

- The package places the default "welcome" pages in a separate directory,
${CATALINA_BASE}/webapps/lucee-default; copy them to ${CATALINA_BASE}/webapps/ROOT
if you want to see them when you connect to http://localhost:8080/.

- Reference documentation is available at http://localhost:8080/lucee/doc/.

- You can add pages to /var/tomcat/webapps/ROOT to be used for "localhost".
Additional host configurations can be added to ${CATALINA_BASE}/conf/server.xml.
Use the localhost configuration as a template; the _tomcat user will need to be
able to write to /ROOT/WEB-INF, so set ownership and permissions
accordingly.

- Log files are kept in several locations. Consult them if things don't work
as expected, and don't forget to rotate/archive them as appropriate.

${CATALINA_BASE}/logs
${CATALINA_BASE}/lucee/config/server/lucee-server/context/logs
${CATALINA_BASE}/lucee/config/web/*/logs (various dirs, per-context)

Patch to unmodified Tomcat sample configuration
===============================================

--- context.xml.orig Sat Jun 29 13:13:37 2019
+++ context.xml Sat Jun 29 13:13:37 2019
@@ -16,7 +16,7 @@
limitations under the License.
-->

-
+



--- web.xml.orig Sat Jun 29 13:13:37 2019
+++ web.xml Sat Jun 29 13:13:37 2019
@@ -1,4 +1,8 @@

+ +
+]>
+



+ index.cfm
index.html
index.htm
index.jsp


+&lucee;



Filesize: 67286.129 KB
Version History (View Complete History)
  • (2020-03-27) Updated to version: lucee-5.3.5.92
  • (2020-02-20) Updated to version: lucee-5.3.4.77
  • (2020-01-13) Updated to version: lucee-5.3.3.62
  • (2016-11-15) Updated to version: lucee-5.1.0.34
  • (2016-11-12) Updated to version: lucee-4.5.3.020
  • (2016-09-14) Package added to openports.se, version lucee-4.5.3.018 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2020-03-27 09:59:56 by Stuart Henderson | Files touched by this commit (2)
Log message:
update to lucee-5.3.5.92
   2020-02-20 09:15:55 by Stuart Henderson | Files touched by this commit (2)
Log message:
update to lucee-5.3.4.77
   2019-09-10 08:04:25 by Stuart Henderson | Files touched by this commit (2)
Log message:
update to lucee-5.3.3.62
   2019-06-29 07:35:48 by Stuart Henderson | Files touched by this commit (3)
Log message:
update to Lucee 5.3.3.60-RC
   2019-06-26 15:19:56 by Stuart Henderson | Files touched by this commit (1)
Log message:
https MASTER_SITES
   2019-06-03 10:06:58 by Stuart Henderson | Files touched by this commit (153)
Log message:
s/PERMIT_PACKAGE_CDROM/PERMIT_PACKAGE/ and some light whitespace tidying
in ports which I maintain
   2019-05-28 07:40:40 by Stuart Henderson | Files touched by this commit (2)
Log message:
update to lucee-5.3.2.77
   2019-03-30 08:47:12 by Stuart Henderson | Files touched by this commit (3)
Log message:
update to lucee-5.3.1.102
- fix pkg-readme while there (missing FULLPKGNAME->PKGSTEM)
   2018-09-04 06:46:28 by Marc Espie | Files touched by this commit (918)
Log message:
convert to PKGSTEM
   2018-08-10 06:06:33 by Stuart Henderson | Files touched by this commit (3)
Log message:
update to lucee-5.2.8.50
   2018-03-15 02:08:51 by Stuart Henderson | Files touched by this commit (1)
Log message:
switch MASTER_SITES
   2018-03-13 05:20:40 by Stuart Henderson | Files touched by this commit (3)
Log message:
update to Lucee 5.2.6.59
   2017-07-27 06:42:21 by Stuart Henderson | Files touched by this commit (4)
Log message:
update to lucee-5.2.1.9
   2017-06-06 08:17:44 by Stuart Henderson | Files touched by this commit (2)
Log message:
update to lucee-5.1.4.19
   2016-11-14 10:31:39 by Stuart Henderson | Files touched by this commit (4)
Log message:
update to lucee-5.1.0.34 (moving to the 5.1-stable branch).
   2016-11-12 08:55:22 by Stuart Henderson | Files touched by this commit (2)
Log message:
update to Lucee 4.5.3.020