http://coldfusion.com logo
Docs
Join the conversationJoin Slack
Channels
adobe
advent-of-code
auwcl
aws
books
bot-dev
box-products
cfeclipse
cfkrauts
cflint
cfml-beginners
cfml-general
cfml-tuning
cfsummit2022
cfwheels
ci
community_courses
css
devops-general
docker
docker-commandbox
documentation
events
friday-puzzle
fusion-reactor
fw1
ide
java-and-jvm
javascript
jobs
jobs-non-us
linen-dev
lucee
masacms
meta
migrations
mura
music
nosql
object-oriented
orm
perf-monitor
prog-general
slack-help
sql
taffy
testing
version-control
vuejs
water-cooler
Powered by Linen
lucee
  • b

    Brandon Brown

    02/24/2023, 4:34 PM
    It also seems odd that I would see that line in the logs more than once since it is only 1 request but maybe that is just the way it works.
  • j

    John Liljegren

    02/24/2023, 9:13 PM
    When warming up the CommandBox Docker image for Lucee, I don't think it updates the extensions based on the LUCEE_EXTENSIONS environment variable - it does that when the server runs. Is this correct? Is there a better way to get the image to contain the updated extensions?
    1 reply · 1 participant
  • j

    Jonas Eriksson

    02/25/2023, 7:17 AM
    This has probably been asked before but I can only search so far back on Slack - has someone set up Lucee or Commandbox to work on GitHub Code Spaces for dev/client preview work? It looks like it could be useful to avoid having to start a DigitalOcean or similar servlet just for those things, but I am not a CI/server dude really (just have to be sometimes). If at all possible, I believe some repository or script as a starting point set up by any one of the pro's here would be beneficial to the adoption of Lucee in general - once people start with any of the other "1-click starting pre-prepared platforms" (React/Next etc.) I think it will be unlikely they switch over to CFML. no? What I find lacking today is something similar on GitHub/DigitalOcean etc. where a new programmer can just "go" with CFML - it's available for everything else on the planet. (EDIT: obviously for just "go" with CFML locally using CommandBox - and it is awesome and easy. But if you need to share it with a client far away, it's install work from some bare bones VPS required afaik.) Thanks for any thoughts & concrete feedback on this :-) https://docs.github.com/en/codespaces
    r
    b
    +2
    6 replies · 5 participants
  • g

    gsr

    02/26/2023, 3:19 PM
    is there any alternative which i can instal to run cffile upload a flash component,
  • g

    gsr

    02/26/2023, 3:19 PM
    or is there anything which replicates same kind of functionality, don't want to change code written for ahndling upoloads
    m
    e
    5 replies · 3 participants
  • d

    danlance

    02/27/2023, 5:16 PM
    Hi, Is there a straightforward way of seeing what tasks are remaining before Lucee 5.4 hits RC status - or any guideline as to expected release schedule?
  • b

    bhartsfield

    02/28/2023, 3:56 PM
    Seems like a bug in all Lucee versions (and Railo) available on trycf.com) (good luck searching existing issues for the word "format". I can't even find the function in Lucee or ACF docs any more) https://trycf.com/gist/94923a9b2e3420fa0c1c6eeaf83bf7c4/lucee5?theme=monokai Basically, in Lucee, string.format( string, [1,2,3,4] ) converts those numeric token values to decimals (1.0, 2.0, 3.0, 4.0, ...) where all ACF versions on trycf.com display them as they should be.
    a
    e
    +1
    12 replies · 4 participants
  • z

    zackster

    03/01/2023, 9:32 AM
    breaking change for lucee6? just throw an error like ACF? https://dev.lucee.org/t/different-cfqueryparam-behavior-between-acf-and-lucee/2836/14?u=zackster
    e
    1 reply · 2 participants
  • r

    richard.herbert

    03/02/2023, 1:02 PM
    Is this a error message coming from the Lucee engine?
    Sorry this site is not setup correctly on our platform.
    I have an ancient Lucee site that seems to have stopped working. There's no
    WEB-INF
    folder in the webroot.
  • s

    sknowlton

    03/02/2023, 7:06 PM
    Strange issue with Redis cache gets, Lucee redis extension 3.0.0.48: https://github.com/lucee/extension-redis/issues/13
    z
    d
    9 replies · 3 participants
  • p

    Prashant S

    03/03/2023, 11:12 AM
    @Prashant S has left the channel
  • r

    romanstr

    03/07/2023, 9:06 AM
    Hi, folks. I modified ACF debug template using cfdebug_queries.stackTrace to show stack trace for each query (see attachement). That's really useful for our team on debugging. Now we moved some of our products on Lucee and I would like to do the same modifies, but can't find out the way to do it. Any ideas?
  • b

    bdw429s

    03/08/2023, 5:05 PM
    I haven't dug into the code yet, but does anyone know where the unique ID for a Lucee installation is stored? The one you get from
    getLuceeID().server.id
    a
    4 replies · 2 participants
  • m

    Marc Funaro

    03/09/2023, 6:12 PM
    Topic: Lucee Docker Image and Snyk Q: We are currently using docker image
    lucee/lucee:5.3.9.160-light-nginx
    and Snyk is reporting 190 vulnerabilities (12 critical, 17 high, 8 medium, and 85 low) -- all apparently the result of the BASE image,
    tomcat:9.0.65-jdk11-openjdk-bullseye
    . The Snyk interface reports an "Alternative upgrade" base image,
    tomcat:9-jdk11
    , having only 3 medium vulnerabilities and 9 low. Is anyone else encountering this, and do you have any resolution advice?
    1 reply · 1 participant
  • a

    Anders Lars

    03/10/2023, 2:28 AM
    Hey - Need some luceedebug config help. Running latest commandbox with lucee 5.3.10 on windows; jdk 11.0.18; IIS and boncode. Site itself runs fine w/o luceedebug. I am probably misunderstanding the config. is debughost and debugport (mentioned here - https://github.com/softwareCobbler/luceedebug#vs-code-extension-configuration) the host and port of the site you are debugging, or some special port that the debug process needs? when i add the jvm args (with a correct path to the luceedebug.jar) per the luceedebug docs, commandbox won't start. I get the error below. any pointers would be awesome? @jamiejackson thanks!
    [INFO ] Runwar: Creating deployment [default] in C:\Source\X
    [INFO ] [luceedebug] Loaded luceedebug.coreinject.DebugManager@3b9632d1 with ClassLoader 'lucee.core [49]'
    [INFO ] [luceedebug] attempting jdwp self connect to jdwp on 127.0.0.1:9999...
    [ERROR] java.lang.NoClassDefFoundError: com/sun/jdi/Bootstrap
    [ERROR]         at luceedebug.coreinject.DebugManager.getConnector(DebugManager.java:74)
    [ERROR]         at luceedebug.coreinject.DebugManager.jdwpSelfConnect(DebugManager.java:87)
    [ERROR]         at luceedebug.coreinject.DebugManager.spawnWorker(DebugManager.java:60)
    [ERROR]         at luceedebug.LuceeTransformer.transform(LuceeTransformer.java:108)
    [ERROR]         at java.instrument/java.lang.instrument.ClassFileTransformer.transform(Unknown Source)
    [ERROR]         at java.instrument/sun.instrument.TransformerManager.transform(Unknown Source).....
    b
    d
    +2
    11 replies · 5 participants
  • a

    Adam Cameron

    03/12/2023, 6:43 PM
    Hey @bdw429s remember that dumb-arse situation on Lucee where it will interpret file-system paths like
    /var/tmp
    as being with in the webroot (eg so Lucee thinks I mean
    /var/www/var/tmp
    when obviously I clearly don't). I can't find the issue in Jira. I found this one: https://luceeserver.atlassian.net/browse/LDEV-2893, which is similar (and probably same root cause), but not the exact issue.
    b
    5 replies · 2 participants
  • d

    David Rogers

    03/13/2023, 9:04 PM
    I have an image from org.lucee.extension.image that
    writedump(img)
    does "the right thing" and I get a typical dump, including a nice rendering of the image. but
    img.getBlob()
    throws "missing format definition". I really want that blob! is there something I'm missing?
    1 reply · 1 participant
  • m

    Marc Funaro

    03/15/2023, 3:56 PM
    Greetings all, another security related question. There are some "high" and "medium" vulnerabilities in the Tomcat version shipped even with the latest Lucee version:
    FROM lucee/lucee:5.3.10.120-light-nginx-tomcat9.0-jdk11-openjdk-2303
    Snyk has identified that fixes for the following are available:
    org.apache.tomcat:tomcat-catalina
    org.apache.tomcat:tomcat-util
    org.apache.tika:tika-core
    Would this be a matter of simply overwriting the files that currently exist, using new files (downloaded from...?) during the Docker build? Has anyone else manually attempted to update elements of tomcat server for security in context of Lucee?
  • c

    Cory Howitz

    03/15/2023, 7:30 PM
    is there a way to get trustServerCertificate set via cfconfig?
    b
    8 replies · 2 participants
  • t

    Tony Weeg

    03/15/2023, 7:37 PM
    Hello friends. I can connect to this datasource with these settings (changed for privacy) from my local machine, with Dbeav, on the same machine that has lucee running and I am getting this error when trying to setup the datasoure. What am I boneheadedly doing? Props to the Jedimaster for his lighthouse app. (Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)
    p
    2 replies · 2 participants
  • c

    Cory Howitz

    03/15/2023, 8:02 PM
    is that host shortened?
  • j

    jclausen

    03/16/2023, 12:35 PM
    Which MySQL bundle is installed? You might need to move to bundle 8
  • e

    Erik Jespersen

    03/16/2023, 5:35 PM
    Hi all - coming up with a strange problem around the treatment of remote function arguments - I think I have locused the issue down to our Lucee install (latest) Given a remote cfc (not rest-enabled, just old school access="remote") the following difference between CF2016 and Lucee 5.latest when using FORM data (encoded as
    x-www-form-urlencoded
    ) My code expects an argument of type 'struct' which CF2016 is parsing from raw
    getHTTPRequestData().content
    <cffunction name="setThing" access="remote" output="false" httpMethod="POST" returntype="struct" returnformat="JSON" description="Updates Thing">
            <cfargument name="obj" required="true" type="struct" hint="JSON-parsable object />
    Lucee does not transform the
    getHTTPRequestData().content
    and keeps it as a string, so the call errors out
    Invalid call of the function [setThing], first Argument [obj] is of invalid type, Cannot cast String [{"a":"Port Jarrett","b":"6235 Dena Dam","c":10036,"d":"Bode Light...] to a value of type [struct]*
    Again, CF2016 has no trouble converting the exact same argument/parameter data and I do not need to independently parse it Is this something to do with a server setting I could no longer recall? I certainly would know how to work around it from several angles, but want to know what's up ;)
    *note: fake data
  • j

    jclausen

    03/16/2023, 6:06 PM
    Lucee isn’t going to auto-deserialize the JSON for you, so you will need to make the typing of that argument “any” and the deserialize that data if it’s not a struct
  • e

    Erik Jespersen

    03/16/2023, 7:36 PM
    Dagnabbit! And here I thought Lucee was more courteous! 😉 Thank for you the clarity, though, @jclausen !
    🙂 1
  • a

    Adam Cameron

    03/17/2023, 3:38 PM
    Lucee, what are you _like_:
    writeDump([
        createTimeSpan(1,0,0,0),
        createTimeSpan(0,0,1440,0)
    ])

    https://i.paste.pics/c777ed1931d1ac61f5770331eb8de5f8.png▾

    🤔 1
  • j

    jamiejackson

    03/17/2023, 8:23 PM
    i might be having issues with the ortus redis extension. i wanted to take a look at the changelogs to see if there's anything interesting in the latest patch release, but i'm not finding a current changelog. (this seems old https://www.forgebox.io/view/5C558CC6-1E67-4776-96A60F9726D580F1/version/2.0.0-snapshot#changeLog) happen to know where i can find a current changelog? (attn: @bdw429s)
    j
    l
    7 replies · 3 participants
  • b

    bdw429s

    03/18/2023, 9:58 PM
    @zackster The Lucee Java Docs available here appear to only be for the Lucee Loader https://javadoc.lucee.org/ Do you know if Lucee has Javadocs for the core classes? For example,
    lucee.runtime.type.dt.DateTimeImpl
    ?
  • a

    abram

    03/20/2023, 10:13 PM
    Hey all, just a quick update that I've added Lucee 6 Beta to TryCF.com. I'm waaaay behind on any other improvements (new job and not a lot of time to focus on it much lately). Hopefully can start pushing some improvements soon.
    ⭐ 4
    👍 2
  • j

    jakobward

    03/21/2023, 2:25 AM
    Is there a way to bulk delete failed “Tasks” from the Lucee admin? I was unable to locate a spool file.
    r
    2 replies · 2 participants
Powered by Linen
Title
j

jakobward

03/21/2023, 2:25 AM
Is there a way to bulk delete failed “Tasks” from the Lucee admin? I was unable to locate a spool file.
r

ryan

03/21/2023, 2:33 AM
I don't believe there is a way to do that within Lucee Admin. However, you might be able to achieve a bulk delete of failed tasks using some code like the following.
<cfscript>
    // Access the Task Scheduler
    taskService = createObject("component", "lucee.runtime.schedule.TaskService");

    // Get all tasks
    tasks = taskService.listAll();

    // Loop through tasks and delete failed tasks
    for (task in tasks) {
        if (task.status == "failed") {
            taskService.remove(task.id);
        }
    }
</cfscript>
🙌 1
🙌🏻 1
j

jakobward

03/21/2023, 2:54 PM
I’ll give it a shot. Thanks so much!
View count: 1