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

    Gareth

    05/05/2022, 5:46 AM
    Is Lucee 6 a big architecture change , and does it bring a lot of performance benefits ?
    b
    • 2
    • 2
  • g

    gratzc

    05/05/2022, 4:51 PM
    does anyone know on an arrayEach with threads, do the variables created outside the thread but used inside get duplicated within each thread? Seeing a bit of a memory issue when i use the threaded arrayEach, it was working but until i added a large variable that was needed to be used inside the loop.
    b
    • 2
    • 13
  • d

    danlance

    05/05/2022, 4:57 PM
    Hi. Got a bit of a strange one here… We are using Lucee 5.3.7.47 We have 2 CFML applications running on separate instances. One of those instances makes a SOAP call to a CFC on the other server:
    Copy code
    local.wsObject = createobject("webservice", "https://[host]/[cfcname].cfc?wsdl");
    local.response = local.wsObject.[methodname]([parameters]);
    This has worked without issue across multiple Lucee versions and Java versions, for several years. We are just in the process of testing the latest Java 11 release - current environment is running on jdk-11.0.14.1+1 - and we are testing on jdk-11.0.15+10 When testing on jdk-11.0.15+10, all our calls to this web service fail on line 2 in the above sample code We see a GET request logged on our web server to https://[host]/[cfcname].cfc?wsdl We do not see any subsequent POST requests (which would normally be the case. Within the exception log we see the error “java.net.ConnectException: Connection timed out (Connection timed out)”
    Copy code
    "FaultCode": {
             "Prefix": "",
             "LocalPart": "Server.userException",
             "NamespaceURI": "<http://schemas.xmlsoap.org/soap/envelope/>"
          }
    With the 1st line in the stack trace being the 2nd line in the previous code sample where we are attempting to call a method on the object. If we switch back to jdk-11.0.14.1+1, then the request completes succesfully. I did compare the WSDL for the CFC being referenced from instances running both Java versions. The only difference (other than hostname between 2 instances) was that for the working (jdk-11.0.14.1+1) instance, the self referential namespace references were pointing to https://[host]/[cfcname].cfc and for the non working (jdk-11.0.15+10) version, it is pointing to http://[host]/[cfcname].cfc i.e. switched from http`s` to http. It should be noted that SSL is implemented on the level 7 load balancer (AWS Application Load Balancer) with traffic between load balancer and nginx proxy, and between nginx proxy and Lucee server (WildFly / Undertow / Commandbox) being via http. Our nginx proxy is configured to redirect any incoming http:// requests to the same URL via https:// I have review load balancer logs, and determined that no incoming requests to [host]/[cfcname].cfc have been made via http - all are via https No idea if the above is the cause, or if there is some other issue… SOAP web service requests complete successfully from a jdk-11.0.15+10 instance to a jdk-11.0.14.1+1 instance, but do not complete successfully if the destination instance is running jdk-11.0.15+10 Is anyone able to shed any light on the above? ps - I’ll also note that the instances running jdk-11.0.14.1+1 are running on CommandBox 5.4.2 whereas the jdk-11.0.15+10 instances are running on CommandBox 5.5.1 (just in case that is relevant)
    • 1
    • 1
  • r

    redtopia

    05/05/2022, 8:20 PM
    @bdw429s @zackster Have you ever been unable to login to the Lucee atlassian issue tracker? I can't on FF or Chrome. When I click the login button, the page is refreshed and nothing happens. I've cleared my cache and everything... looking at the console I get a ton of 401 errors on resources. I sent an email to atlassian support and they told me that you guys are the admins and to contact you lol! 🙂
    b
    d
    z
    • 4
    • 10
  • z

    zackster

    05/09/2022, 8:12 AM
    5.3.9.133 is up on maven, took ages to index, but it's finally there
    d
    • 2
    • 3
  • a

    Adam Cameron

    05/09/2022, 6:54 PM
    Hey I just went to add an example for https://docs.lucee.org/reference/tags/static.html#examples. I can see how to add/edit examples if there's already at least one. How do I add a first one?
    s
    z
    • 3
    • 53
  • g

    Gareth

    05/10/2022, 4:07 AM
    is it possible the lucee update to v5.3.9.133 reset my request timeouts ?
    z
    • 2
    • 6
  • a

    Adam Cameron

    05/10/2022, 6:15 PM
    Why has the Lucee docs website hijacked CTRL-LEFT-CLICK?
    😆 1
    z
    • 2
    • 5
  • a

    Adam Cameron

    05/11/2022, 11:47 AM
    Question re a "behavioural change" that's happened between 5.3.7.47 and 5.3.9.133. I think it's due to the fix for https://luceeserver.atlassian.net/browse/LDEV-3615 (so ping @bdw429s). Lucee used to preserve the row order of the original queries when UNIONing via QoQ. It no longer does this. Now... it is completely legit to NOT preserve the order, because as far as SQL goes there's no guarantee of ordering unless there's an ORDER BY. But... it is a behaviour change. Should this be noted somewhere?
    d
    p
    • 3
    • 2
  • a

    Adam Cameron

    05/11/2022, 4:00 PM
    Is there a native way to add log file config to lucee other than a) via the admin ui; b) hacking the
    lucee-server.xml
    file directly c) using
    <cfadmin>
    which I... think... is not really supposed to be something user-land is supposed to use? Can't use cfconfig or anything to do with commandbox in this situation, unfortunately.
    b
    c
    • 3
    • 12
  • c

    cwigginton

    05/11/2022, 4:50 PM
    any thoughts on this, works fine in CF 2021, fails in Lucee 5.3.8/5.3.9. The init method is failing on passing in fileReader.
    Copy code
    csvFile ="#expandPath('.')#/csv_data/addresses.csv";
        csvData = [];
    
        fileReader = createobject("java","java.io.FileReader").init(csvFile);
    
        writeDump(fileReader);
     
        csvReader = createObject("java","com.opencsv.CSVReader").init(fileReader);
        writeDump(csvReader);
        csvData = csvReader.readAll();
        writeDump(csvData);
    b
    c
    e
    • 4
    • 17
  • g

    gsr

    05/11/2022, 5:52 PM
    anyone know how can i convert this java.util.linkedhasmap to coldfusion json https://prnt.sc/BcIls9QYw5p0
    b
    • 2
    • 7
  • g

    gsr

    05/11/2022, 11:17 PM
    anyone know what is equivalent of the contains in cf2018, this code only seems working in cf2021
    Copy code
    if(element.data().contains("edge_media")) {
    error i am getting on 2018 is:
    g
    a
    • 3
    • 4
  • z

    zackster

    05/12/2022, 7:46 AM
    https://twitter.com/zackster/status/1524657244373241856
    🎉 2
    • 1
    • 1
  • d

    dswitzer

    05/12/2022, 12:58 PM
    Is there any trick to getting ehCache configured in a clustered environment? I'm running into the same issue indicated here: https://luceeserver.atlassian.net/browse/LDEV-3279
  • j

    johnfarrar

    05/12/2022, 3:42 PM
    OK, not even once a month... but... 🙂 Lucee 6 Updates Please!
    m
    • 2
    • 3
  • t

    thisOldDave

    05/13/2022, 8:49 AM
    which redis extension are people using and what if any are the differences between the two?
    z
    • 2
    • 2
  • z

    zackster

    05/13/2022, 11:01 AM
    https://dev.lucee.org/t/lucee-5-3-9-141-rc-released/10162
    👏 2
    s
    • 2
    • 8
  • d

    dswitzer

    05/13/2022, 11:09 AM
    Anyone know how I can enable trace logging for the
    lucee.runtime.osgi.EnvClassLoader
    class? I need to enable this as startup. I'm trying to troubleshoot why ehCache no longer works in distributed mode in Lucee (it broke in 5.3.5.25-SNAPSHOT). https://dev.lucee.org/t/enable-trace-debugging-for-lucee/10158
  • d

    dick

    05/13/2022, 11:26 AM
    Is there a way to restart an instance from the
    /lucee/admin/web.cfm
    interface?
    g
    • 2
    • 2
  • d

    dswitzer

    05/13/2022, 4:47 PM
    I'm having an issue building the Lucee's 5.3.9.133 source code. The error I'm getting is:
    Copy code
    javax.servlet.ServletException: java.lang.RuntimeException: Lucee is missing the Bundle jar, javax.mail.activation:1.6.2.0000L, and has been prevented from downloading it. If this jar is not a core jar, it will need to be manually downloaded and placed in the {{lucee-server}}/context/bundles directory.
    It feels like I'm missing some dependency (even though I've checked out the code from Github). I've attached the full stack trace.
    lucee_build_error.txt
    b
    z
    • 3
    • 25
  • z

    zackster

    05/13/2022, 5:46 PM
    here's an interesting thread about the lucee build process, if you're interested about learning a bit more about how we make the sausage https://dev.lucee.org/t/general-question-about-snapshots/10151
    👍 2
  • j

    jumpmaster

    05/13/2022, 10:35 PM
    Does anyone have experience connecting a postgres db to lucee running on heroku? All I can access is the connection string as an environment var, but when I try to add the db and run a query I just get
    java.lang.NullPointerException
    .
    z
    b
    • 3
    • 25
  • a

    Adam Cameron

    05/14/2022, 8:07 PM
    I know Lucee struggles with optional semi-colons, but wondering if this is a known one:
    Copy code
    <cfscript>
    cfhttp(method="get", url="<https://example.com>", result="httpResponse")
    </cfscript>
    Copy code
    Syntax Error, Invalid Construct
    Obvs there is not a syntax error in that. And it works fine in CF. I could not find a bug in Jira that covers anything like this, but I'm certain it's been raised before. (and before anyone starts, yes I know there are other Lucee-only constructs to achieve the same ends. This is not relevant here. It's that code that should work).
    b
    m
    • 3
    • 16
  • g

    Gareth

    05/16/2022, 3:39 AM
    are snapshots supposed to appear on the lucee.org download page ?
  • g

    Gareth

    05/16/2022, 3:40 AM
    also, whats the goal for maven, will you continue to publish versions to maven ?
  • a

    Adam Cameron

    05/16/2022, 10:36 AM
    Checking something. I am seeing this:
    Copy code
    component {
    	private static function f(){
    	}		
    
    	private function g() {
    		f() // 5.3.9.133: works fine; 5.3.7.47: errors with No matching function [F] found
    	}
    }
    Is this because of https://luceeserver.atlassian.net/browse/LDEV-3334 ("static function cannot be used with dot notation") It's not explicit in the ticket that internal calls to static methods don't need to be called on the class, but I guess it follows.
  • g

    gavinbaumanis

    05/16/2022, 12:34 PM
    Hi Everyone, I am getting a really weird issue on my local-dev fresh install of Lucee 5.3.8.206 on Windows 10/IIS When attempting the first request, I get the following error (below) - which makes no sense to me at all; (I have truncated a bunch of pre and post entries in the entity list "..." - just to make the message more concise.)
    ERROR","ajp-nio-127.0.0.1-8009-exec-4","05/16/2022","22:17:01","","entity [question] with cfc name [gsncfc.db.webSurvey.question] does not exist, existing  entities are [answer, ..., question, ...], surveyRecipientState, surveySpec];
    I don't get it - the CFC it is saying doesn't exist - is in the existing entities list it provides! All my mappings / datasources / etc are all correct and match our Staging / Prod servers. The code on my machine hasn't changed - just the uninstall and reinstall of Lucee.
    b
    • 2
    • 4
  • z

    zackster

    05/17/2022, 9:43 AM
    We are going to release 5.3.9.141 today, nobody else has found any other last minute regressions?
    🙌 1
    👏 1
    🎉 2
    c
    a
    +3
    • 6
    • 15
  • d

    dswitzer

    05/18/2022, 3:10 PM
    Is anyone else finding that objectSave() and serialize() are broken in 5.3.9.133+? When I try to serialize a component, I end up with a stack trace that looks like:
    Copy code
    lucee.runtime.exp.NativeException: can't serialize Object of type [ org.apache.tomcat.util.log.SystemLogHandler ]
     	at lucee.runtime.converter.ScriptConverter._serialize(ScriptConverter.java:562)
     	at lucee.runtime.converter.ScriptConverter._serializeStruct(ScriptConverter.java:204)
     	at lucee.runtime.converter.ScriptConverter._serialize(ScriptConverter.java:519)
     	at lucee.runtime.converter.ScriptConverter._serializeComponent(ScriptConverter.java:351)
     	at lucee.runtime.converter.ScriptConverter._serialize(ScriptConverter.java:512)
     	at lucee.runtime.converter.ScriptConverter._serializeStruct(ScriptConverter.java:204)
     	at lucee.runtime.converter.ScriptConverter._serialize(ScriptConverter.java:519)
     	at lucee.runtime.converter.ScriptConverter._serializeStruct(ScriptConverter.java:204)
     	at lucee.runtime.converter.ScriptConverter._serialize(ScriptConverter.java:519)
     	at lucee.runtime.converter.ScriptConverter._serializeComponent(ScriptConverter.java:351)
     	at lucee.runtime.converter.ScriptConverter._serialize(ScriptConverter.java:512)
     	at lucee.runtime.converter.ScriptConverter._serializeStruct(ScriptConverter.java:204)
     	at lucee.runtime.converter.ScriptConverter._serialize(ScriptConverter.java:519)
     	at lucee.runtime.converter.ScriptConverter._serializeComponent(ScriptConverter.java:351)
     	at lucee.runtime.converter.ScriptConverter._serialize(ScriptConverter.java:512)
     	at lucee.runtime.converter.ScriptConverter._serializeStruct(ScriptConverter.java:204)
     	at lucee.runtime.converter.ScriptConverter._serialize(ScriptConverter.java:519)
     	at lucee.runtime.converter.ScriptConverter._serializeComponent(ScriptConverter.java:351)
     	at lucee.runtime.converter.ScriptConverter._serialize(ScriptConverter.java:512)
     	at lucee.runtime.converter.ScriptConverter._serializeComponent(ScriptConverter.java:351)
     	at lucee.runtime.converter.ScriptConverter._serialize(ScriptConverter.java:512)
     	at lucee.runtime.converter.ScriptConverter._serializeStruct(ScriptConverter.java:204)
     	at lucee.runtime.converter.ScriptConverter._serialize(ScriptConverter.java:519)
     	at lucee.runtime.converter.ScriptConverter._serializeComponent(ScriptConverter.java:351)
     	at lucee.runtime.converter.ScriptConverter._serialize(ScriptConverter.java:512)
     	at lucee.runtime.converter.ScriptConverter.serialize(ScriptConverter.java:611)
     	at lucee.runtime.functions.dynamicEvaluation.Serialize.call(Serialize.java:35)
    I'm not sure why
    org.apache.tomcat.util.log.SystemLogHandler
    is trying to be serialized, but it appears to be related to how the component gets compiled.
    z
    b
    • 3
    • 37
1...456...32Latest