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

    rodyon

    02/03/2023, 12:15 PM
    Hello, is 'roles' have no meaning in Lucee?
    a
    z
    • 3
    • 14
  • s

    salted

    02/08/2023, 5:06 PM
    Has anyone used the argon2 bif in lucee?
  • s

    salted

    02/08/2023, 5:06 PM
    I’m wondering if the recommended approach is to save the whole resulting string in the db or whether I should split the arguments (parallelism, memory, iterations)
    e
    m
    a
    • 4
    • 10
  • z

    zackster

    02/08/2023, 10:58 PM
    Lucee 5.3.10.120 is out https://dev.lucee.org/t/lucee-5-3-10-120-stable-release/12111
    🎉 3
    👍 2
    👍🏼 1
  • t

    Travis

    02/09/2023, 10:27 PM
    Is there anyone here that can help with a lucee websocket gateway implementation?
    j
    b
    e
    • 4
    • 16
  • a

    Adam Cameron

    02/11/2023, 8:47 PM
    I just got this:
    Attribute [datasource] is required when attribute [dbtype] is not [query] and no default datasource is defined
    However my
    this.datasource
    is set in Application.cfc. And my CF2021 instance using the same codebase is running the code fine. The error goes on to say:
    you can define a default datasource as attribute [defaultdatasource] of the tag cfapplication or as data member of the Application.cfc (this.defaultdatasource="mydatasource";)
    But it shouldn't be
    defaultdatasource
    . That's not a thing. It should just be
    datasource
    . And indeed this is what we use all day, every day in our production code. Granted this is on a different Lucee instance that @ work, but it's always been
    this.datasource
    , has it not?
    Lucee 5.3.9.166
    .
    • 1
    • 4
  • z

    zackster

    02/14/2023, 12:36 AM
    So, who's running 5.3.10.120 in production? are there any blockers for people to upgrade?
    m
    a
    • 3
    • 8
  • p

    Peter Bennett

    02/14/2023, 10:09 AM
    Hi, not sure if this is the right place to post. My code (running in Lucee) regularly connects to a remote server using secure FTP. However the remote servers owners have changed their secure key, so it no longer matches our cached version. I can find lots of examples of how to manually accept the new key if connecting via an ftp client. However, I am only able to access our linux production box via shell. And I am not sure how to do this via shell access , so that lucee can pick up the changes. Any help / pointers would be really appreciated, Thank you very much
  • w

    websolete

    02/14/2023, 2:48 PM
    is it a known issue that getSystemFreeMemory() and getSystemTotalMemory() return incorrect values when the server is a VM? When running these bifs in commandbox on my laptop i get accurate memory values, but when running on commandbox on a server which is actually a VM i get skewed values. VM has 16gb allocated and getSystemTotalMemory() returns 4gb. it's not critical, i was just wondering if this is known and if there's an explanation
  • d

    dswitzer

    02/14/2023, 6:26 PM
    While trying to troubleshoot a performance issue with one of my queries, I discovered a behavior which certainly looks like a bug to me. When I execute the following code in Lucee
    Copy code
    <cfquery name="text">
    	select <cfqueryparam cfsqltype="CF_SQL_CHAR" value="2" />
    </cfquery>
    And then I monitored the actual SQL that SQL Server executes, I'm seeing the cached plan end up as:
    Copy code
    exec sp_executesql N'select @P0',N'@P0 nvarchar(4000)',N'2'
    Notice that instead of
    2
    being cast as
    char(1)
    it's cast as an
    nvarchar(4000)
    . Any of the string values are behaving the same way. Shouldn't the executed SQL look like this instead:
    Copy code
    exec sp_executesql N'select @P0',N'@P0 char(1)','2'
    p
    s
    +2
    • 5
    • 18
  • d

    David Rogers

    02/15/2023, 6:19 PM
    transaction savepoint q:
    • 1
    • 6
  • a

    Adam Cameron

    02/15/2023, 9:46 PM
    A longwinded way of wondering if there's an issue here: https://blog.adamcameron.me/2023/02/cfml-runasync-doesnt-seem-very.html
    m
    d
    • 3
    • 8
  • a

    Adam Cameron

    02/16/2023, 9:24 PM
    Bug with static / final in Lucee 5.3.10.120. Repro case: https://blog.adamcameron.me/2023/02/lucee-bug-surfaced-by-cfwheelss.html & explanation.
    👍 1
    z
    e
    • 3
    • 23
  • a

    Adam Cameron

    02/17/2023, 3:53 PM
    Question re vulnerability checking of Lucee docker images...
    m
    b
    • 3
    • 8
  • n

    nyahgfx

    02/20/2023, 8:35 AM
    hi all, we need profesional lucee support..... what is the best way to get in contact with the devs ? is the contact form onthe lucee website ok ?
    a
    b
    g
    • 4
    • 4
  • s

    Sebastiaan Naafs - van Dijk

    02/20/2023, 4:05 PM
    Question: when following this guideline (https://docs.lucee.org/guides/installing-lucee/securing-webinf.html) , how to access the server and web admins? Now we do a Deny access directive in IIS to https://my.domain/lucee/admin/* and hence can access the Admins via these URL's when removing this directive in IIS. We've been advised by a security company performing PEN-tests of our webapps to follow the above mentioned Lucee guideline.
    e
    z
    • 3
    • 24
  • m

    Matt Dyer

    02/21/2023, 4:02 PM
    We have some lucee servers using a MySQL database. We recently updated the database from 5.6 to 5.7. We will be updating to 8.0 at some point this year. We have some error messages related to the database and in the error there is an 'additional' section that shows the query that was run, and some other information. I've seen these kinds of errors before. The messages show the DatabaseVersion as 5.6 still. I'm wondering where that information comes from. Would restarting the lucee servers cause them to show the correct version? I'm pretty sure they were restarted already after the update.
    d
    w
    z
    • 4
    • 16
  • z

    zackster

    02/22/2023, 12:31 AM
    The Lucee team is proud to announce the Lucee 6 BETA - 6.0.0.346-BETA I'll be posting release notes later today (there's quite a list of tickets to sort into a meaningful list). Remember this is a BETA, so it's not production ready, what we are looking for in this first BETA release , is for people to try and run your apps / test suites in locally and see how it goes This is the board for the 6.0 release, if you find an issue, please check for existing tickets and if you can't find one, please drop a new thread here or on https://dev.lucee.org/ https://luceeserver.atlassian.net/jira/software/c/projects/LDEV/boards/10 PLEASE DON'T JUST FILE NEW TICKETS, let the Lucee team help triage problems first Lucee Docs has been updated, the full changelog for updated tags and functions are here https://docs.lucee.org/reference/changelog.html
    ❤️ 8
    🙌 3
    s
    s
    +2
    • 5
    • 17
  • c

    chapmandu

    02/22/2023, 5:29 AM
    Hi All.. I am seeing this lucee@5.3.10.120 log4j lock regularly cause requests to run for 30+ seconds.. This is about all the info I can get from FusionReactor and am not sure if it's an application code issue, or something within Lucee.. It appears to me to be some logging after a cfquery has run.. Is anyone able to give me some hints on where to look next? The snippet below is from the FR Profiler.. 96.7% - 49.225s lucee.runtime.tag.Query.doEndTag(Query.java) 96.7% - 49.225s lucee.runtime.tag.Query._doEndTag(Query.java) 96.7% - 49.225s lucee.commons.io.log.log4j2.LogAdapter.info(LogAdapter.java) 96.7% - 49.225s lucee.commons.io.log.log4j2.LogAdapter.log(LogAdapter.java) ... 96.7% - 49.225s org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java) 96.7% - 49.225s lucee.commons.io.log.log4j2.appender.ResourceAppender.append(ResourceAppender.java) 83.9% - 42.733s Waiting on lock <0x78304b16> (a java.lang.String) 12.8% - 6.492s lucee.commons.io.res.type.file.FileResource.length(FileResource.java) 4 Collapsed Methods (show) 12.8% - 6.492s Waiting on lock <0x351c5e57> (a lucee.commons.lang.SerializableObject)
    b
    z
    +2
    • 5
    • 38
  • j

    jc

    02/22/2023, 9:57 PM
    Hello, I just upgraded Lucee to 5.3.10.120 and I am getting an error when
    GetApplicationMetadata()
    is executed. The error is
    Copy code
    Lucee 5.3.10.120 Error (java.lang.NoSuchMethodError)
    has anyone experienced this and know how to fix?
    b
    • 2
    • 6
  • z

    zackster

    02/23/2023, 12:47 AM
    the amazing and constantly vigilant @pothys-mitrahsoft has found a minor regex regression with Lucee 6. https://luceeserver.atlassian.net/browse/LD-163
    🙂 2
    👍 1
    • 1
    • 1
  • j

    jakobward

    02/23/2023, 1:04 AM
    @jakobward has left the channel
  • a

    Asher Densmore-Lynn

    02/23/2023, 3:36 PM
    Comparison of two hexadecimal strings in Lucee failed oddly, and I eventually worked out what was going wrong. What's the accepted way to compare these strings as strings, instead of "zero in scientific notation" and "zero with extra steps"?
    r
    a
    +3
    • 6
    • 17
  • c

    chapmandu

    02/24/2023, 3:22 AM
    Would this be considered a Lucee6 bug or an expected breaking change? It seems that using the map member function on a list in Lucee6 uses each character as the iterator whereas in Lucee5 (example below), each comma delimited value is used as the iterator. https://trycf.com/gist/6aa865b62211f2c2cd929e773079c220/lucee5?theme=monokai
    b
    • 2
    • 6
  • j

    John Liljegren

    02/24/2023, 3:43 AM
    Has anyone ever noticed the commandbox docker image running extremely slowly? Specifically in podman? I'm running podman on a RHEL 9 host but it seems like all the box commands are extremely slow, like minutes to respond and 30+ minutes to do a full start. I don't see the same behavior when I create a VM myself; the client's VM is the one that is is experiencing this issue. I installed it on 2 separate VMs in the client's infrastructure and experienced the same issue.
    b
    • 2
    • 10
  • c

    chapmandu

    02/24/2023, 3:50 AM
    It seems Lucee6 is handling the cfqueryparam null attribute differently.. and I don't see any mention of it in the breaking change list.
    Copy code
    <cfquery datasource="mydsn">
    UPDATE mytable
    SET mycolumn = <cfqueryparam cfsqltype="cf_sql_integer" value="" null="true">
    where id = 1;
    </cfquery>
    The code above now throws: Invalid data [''] for CFSQLTYPE in CFQUERYPARAM whereas Lucee5 would ignore the value if the null attribute is true.
    b
    z
    • 3
    • 12
  • j

    John Liljegren

    02/24/2023, 8:37 AM
    I'm running into an issue attempting to connect to a PostgreSQL datasource. I have the latest version of the PostgreSQL Lucee extension installed. Lucee is running in a container built from the CommandBox Docker image via podman on a RHEL 9 host. The database I'm trying to connect to is an Amazon Aurora cluster. The error I receive is: "The authentication type 10 is not supported. Check that you have configured the pg_hba.conf file to include the client's IP address or subnet, and that it is using an authentication scheme supported by the driver." Has anyone run into this? I can connect to the database via pgAdmin running in a Docker container on the same host, so the IP rules should be set up correctly. I'm wondering if I need to update the JDBC driver to the latest PostgreSQL version, which is higher than what the Lucee extension is pulling in. What is the best way to go about doing that?
    e
    • 2
    • 6
  • b

    Brandon Brown

    02/24/2023, 4:33 PM
    I am having a strange issue with Lucee 5.3.8.206 and clustered sessions using the latest Redis extension. Random requests seem to lose all of their session variables. I set all logging to trace level to help troubleshoot it. I noticed a pattern in the scope.log, when all session variables are kept there are only 3 lines for the single request, however when the session variables are lost there are 4 lines for the single request. Success
    Copy code
    "DEBUG","http-nio-8888-exec-6","02/24/2023","10:28:37","scope-context","create new session scope for TEST/12429c6b-35e9-4d0a-9ae1-5b647e88676f in cache [redissession]"
    "DEBUG","http-nio-8888-exec-6","02/24/2023","10:28:37","scope-context","create new session scope for TEST/12429c6b-35e9-4d0a-9ae1-5b647e88676f in cache [redissession]"
    "DEBUG","http-nio-8888-exec-6","02/24/2023","10:28:37","scope-context","create new session scope for TEST/12429c6b-35e9-4d0a-9ae1-5b647e88676f in cache [redissession]"
    Failure
    Copy code
    "DEBUG","http-nio-8888-exec-2","02/24/2023","10:29:10","scope-context","create new session scope for TEST/bdadbe7a-ead9-4d2d-97c2-1b43e0c56c2d in cache [redissession]"
    "DEBUG","http-nio-8888-exec-2","02/24/2023","10:29:10","scope-context","create new session scope for TEST/bdadbe7a-ead9-4d2d-97c2-1b43e0c56c2d in cache [redissession]"
    "DEBUG","http-nio-8888-exec-2","02/24/2023","10:29:10","scope-context","create new session scope for TEST/bdadbe7a-ead9-4d2d-97c2-1b43e0c56c2d in cache [redissession]"
    "DEBUG","http-nio-8888-exec-2","02/24/2023","10:29:10","scope-context","create new session scope for TEST/bdadbe7a-ead9-4d2d-97c2-1b43e0c56c2d in cache [redissession]"
    I am wondering if anyone has experienced something similar before? I found a lot of old bug tickets and blog posts but the bug tickets have been resolved and the blogs are more than a decade old. I don't know if locking the
    session
    scope is still a thing or not but I did try it and it did not seem to fix it.
    z
    • 2
    • 1
  • 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
    • 1
1...212223...32Latest