http://coldfusion.com logo
Join Slack
Powered by
# lucee
  • m

    Mauro caresimo

    06/19/2023, 9:13 AM
    Does TomCat have production ready security configurations like IIS? Can we have TomCat is to listen on localhost only and then using IIS as a proxy to proxy the request through to TomCat.
    z
    • 2
    • 12
  • m

    Mauro caresimo

    06/19/2023, 9:27 AM
    Also if moving to a Linux VM which is a better alternative to run Lucee - CentreOS or Ubuntu?
    p
    c
    • 3
    • 2
  • d

    dswitzer

    06/19/2023, 1:23 PM
    Is there a way to get a single query to return null values? I know I can enable it for an entire site/application, but curious if there's a way to get a single Query to return it's null values instead of casting them to a string.
    z
    b
    • 3
    • 26
  • a

    Adam Cameron

    06/19/2023, 3:43 PM
    isitup.org sez it's OK, but is anyone else having hassles getting to https://docs.lucee.org/reference/tags/http.html ATM?
    b
    z
    +2
    • 5
    • 15
  • z

    zackster

    06/21/2023, 9:43 AM
    https://dev.lucee.org/t/lucee-5-4-0-80-stable-release/12714
    ❤️ 2
    🎉 2
    👍🏼 1
  • a

    Adam Cameron

    06/21/2023, 10:35 AM
    When using the "light" version of Lucee, I'm gonna need to install a few extensions. I see the docs here: https://docs.lucee.org/guides/cookbooks/Extension-Installation.html#extension-installation-via-lex-file. If I want to manage this via my Dockerfile, is the correct approach to stick the various .lex files in the
    lucee-server/deploy/
    , as per those docs? I only ask cos that mechanism seems to be a way of installing an extension "on the fly" rather than "at install time"? I'd like the extensions I need "already installed" in my Docker image, rather than it being another step I need to wait to run when the container starts up (if that makes sense). EG: I wanna do it once when I create the image, not every time I start a new container.
    z
    i
    +3
    • 6
    • 46
  • j

    jamiejackson

    06/21/2023, 6:01 PM
    speaking of light versions of lucee, i'm trying to migrate to it (from the fat version). i'm running into exceptions in one of my lucee images. in this image, the only extension installed is s3. everything's fine until i add an s3 mapping (via
    lucee-web.xml.cfm
    in the docker container). without a
    s3://...
    lucee mapping, i have this shown in the bundle page:
    s3.extension 2.0.0.112 Jun 21, 2023 122kb S3 Resource Extension active
    with a
    s3://...
    lucee mapping defined, an old version of the s3 extension appears (along with some of its dependencies):
    s3.extension 2.0.0.112 Jun 21, 2023 122kb S3 Resource Extension active
    s3.extension 0.9.4.114 Sep 8, 2017 65kb loaded
    this ends up leading to OSGI errors in the app logs. could someone help me understand what's happening and how to avoid it?
    z
    • 2
    • 5
  • r

    Robert Zehnder

    06/21/2023, 6:13 PM
    Does
    queryExecute
    no longer return the generatedKey? I am not seeing the value returned in query results
    j
    • 2
    • 21
  • z

    zackster

    06/22/2023, 9:00 AM
    https://github.com/lucee/CFCamp2023
  • a

    Adam Cameron

    06/22/2023, 12:15 PM
    Heads up for @zackster re potential 5.4 bug. Seeing an issue with using
    IFNULL
    in QoQ with data from a MySQL DB. Cannot tie down what the actual issue is yet, but am getting
    there is a problem to execute sql statement on query
    (nice English, btw) and
    incompatible data type in operation
    as the detail. The columns in question are both
    varchar(100)
    in the DB. And in the dataset I'm seeing it on, there are no nulls, or anything else quirky about the data. I will look more into it a bit later, just thought I'd let you know. This is a show stopper for us upgrading to 5.4. TBC...
    r
    z
    +2
    • 5
    • 22
  • s

    Simone

    06/22/2023, 5:05 PM
    i thought doing a union between two queries will get me distinct records, even in both queries i have one column being returned and almost same data but to be sure, i tried to use union but it got me everything
    Copy code
    <cfquery name="getCompiled" dbtype="query">
            select distinct num1 from getAssignments 
            union 
            select distinct num1 from getCompleted
        </cfquery>
    m
    b
    a
    • 4
    • 6
  • a

    Adam Cameron

    06/23/2023, 7:39 AM
    Hey @zackster / @justincarter https://hub.docker.com/r/lucee/lucee should have a nudge to say "5.4" rather than "5.3" yeah?
  • j

    jamiejackson

    06/23/2023, 9:41 PM
    i'm trying out lucee light docker images and i'm already using the ortus redis extension. i'm getting
    cache [session] is not enabled to be used as a session/client storage, you have to enable it in the Lucee administrator.
    i went to check on the configuration in the lucee admin and saw this: https://gist.github.com/jamiejackson/f700efc410e9b708ea80b76076aae58d (attn: @bdw429s)
    b
    l
    +2
    • 5
    • 21
  • a

    Adam Cameron

    06/24/2023, 1:50 PM
    Being a bit lazy here. Is there a page in the Lucee docs somewhere that list all native CFML functionality that are only implemented via specific extensions (eg:
    <cfimage>
    request the Image extension, etc)? It'd be a sitter for them to be listed in this doc: https://download.lucee.org/; or if each extension had its own page perhaps.
    z
    • 2
    • 2
  • z

    zackster

    06/25/2023, 9:07 AM
    This is really cool https://github.com/lucee/task-event-gateway
    a
    • 2
    • 1
  • z

    zackster

    06/25/2023, 9:38 AM
    one mystery i found whilst showing procmon on windows to @micha at CFCAMP, why do .TIFF files get written out a byte at a time by all codecs? I wouldn't be surprised if apache which is old does it, but it seems all the codecs do, even twelve monkeys
    • 1
    • 5
  • z

    zackster

    06/25/2023, 11:13 AM
    https://twitter.com/zackster/status/1672925836746301440
  • z

    zackster

    06/25/2023, 11:21 AM
    initial 6 RC1 release notes https://dev.lucee.org/t/lucee-6-0-0-481-release-candidate/12731
  • z

    zackster

    06/25/2023, 1:12 PM
    @alexpixl8 found a Lucee 6 regression at CFCAMP, just knocked out a test case https://luceeserver.atlassian.net/browse/LDEV-4582
  • z

    zackster

    06/26/2023, 7:52 AM
    I've just backported this to 5.4.0.82 configurable template cache max pagePool size
  • d

    Dirk

    06/26/2023, 12:39 PM
    Hi, I'm new on Lucee. I defined a datasource into Application.cfc
    _this_.datasource = 'my_db'
    Is it possible to access to this value inside my code directly? I mean only the datasource name, not the datasorce configuration.
    z
    r
    e
    • 4
    • 6
  • z

    zackster

    06/26/2023, 8:30 PM
    https://twitter.com/aandrewdixon/status/1673417220754403335
  • t

    tattva5

    06/27/2023, 5:23 AM
    I'm runnning Lucee-5.3.3.60-RC and getting an error when running a coldbox app:
    Copy code
    /home/tomcat/server/webapps/ROOT/coldbox/system/logging/util/FileRotator.cfc: line 55
    53: <cfset zipFileName = getDirectoryFromPath(logFullPath) & fileName & "." & dateformat(now(),"yyyymmdd") & "." & timeformat(now(),"HHmmss") & ".zip">
    54: <!--- Zip it --->
    55: <cfzip action="zip"
    56: file="#zipFileName#"
    57: overwrite="true"
    
    StackTrace:
    lucee.runtime.exp.TemplateException: undefined tag [cfzip]
      at lucee.transformer.cfml.tag.CFMLTransformer.tag(CFMLTransformer.java:634)
      at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:376)
      at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:384)
    b
    z
    • 3
    • 5
  • b

    brettpr

    06/27/2023, 10:55 AM
    @zackster - I might have found a Lucee 5.4 regression issue... With 5.3.10.120 I am able to connect to a secure ftp server but with 5.4.0.80 (and 5.4.1.1-snapshot) the connection fails with the error "com.jcraft.jsch.JSchAlgoNegoFailException: Algorithm negotiation fail: algorithmName="server_host_key" jschProposal="ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256" serverProposal="ssh-dss"
    z
    a
    • 3
    • 15
  • a

    Adam Cameron

    06/27/2023, 1:14 PM
    Was doing some hasty "debugging" and ended up with this in my code:
    Copy code
    now()throw "this should be the exception I see";
    Lucee gives
    Missing [;] or [line feed] after expression on line 2
    cos it's not parsing the code properly. I expect what CF does:
    this should be the exception I see on line 2
    . If CF can work out that the statement ends at
    now()
    , then Lucee oughta be able to as well, yeah? NB: sticking a line break in sorted me out, but still thing my laziness ought to be indulged here. Also perhaps points towards a general glitch in the code parser anyhow.
    z
    a
    g
    • 4
    • 27
  • s

    seandaniels

    06/27/2023, 10:48 PM
    Anybody know how/if it's possible to read session data from a database backed session cache back into native session structs? The data appears to be stored as a binary encoded string.
    b
    z
    • 3
    • 48
  • h

    harryk

    06/28/2023, 1:15 PM
    Are there known regressions with QoQ in 5.4.0.80? I encountered an issue and will report the Bug soon in detail
    z
    • 2
    • 13
  • r

    rodyon

    06/28/2023, 2:10 PM
    My Lucee installation not seem to pick up virtualhosts from Apache, even if mod_cfml enabled, shared key is set, servers restarted... as I understand, the valve in tomcat should update tomcat virtualhosts configuratoin - so I may not update it manually
    z
    • 2
    • 9
  • z

    zackster

    06/29/2023, 7:36 AM
    I'm switching the hsqldb qoq support to use an in memory database as fixing a regression for supporting $ in column names https://luceeserver.atlassian.net/browse/LDEV-4593 the expectation is that QoQ is in memory right?
    b
    • 2
    • 5
  • z

    zackster

    06/29/2023, 6:12 PM
    try { .... } finally { ... }
    is a thought crime
    b
    a
    • 3
    • 3
1...2829303132Latest