Gareth
05/05/2022, 5:46 AMgratzc
05/05/2022, 4:51 PMdanlance
05/05/2022, 4:57 PMlocal.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)”
"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)redtopia
05/05/2022, 8:20 PMzackster
05/09/2022, 8:12 AMAdam Cameron
Gareth
05/10/2022, 4:07 AMAdam Cameron
Adam Cameron
Adam Cameron
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.cwigginton
05/11/2022, 4:50 PMcsvFile ="#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);
gsr
05/11/2022, 5:52 PMgsr
05/11/2022, 11:17 PMif(element.data().contains("edge_media")) {
error i am getting on 2018 is:zackster
05/12/2022, 7:46 AMdswitzer
05/12/2022, 12:58 PMjohnfarrar
05/12/2022, 3:42 PMthisOldDave
05/13/2022, 8:49 AMzackster
05/13/2022, 11:01 AMdswitzer
05/13/2022, 11:09 AMlucee.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/10158dick
05/13/2022, 11:26 AM/lucee/admin/web.cfm
interface?dswitzer
05/13/2022, 4:47 PMjavax.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.zackster
05/13/2022, 5:46 PMjumpmaster
05/13/2022, 10:35 PMjava.lang.NullPointerException
.Adam Cameron
<cfscript>
cfhttp(method="get", url="<https://example.com>", result="httpResponse")
</cfscript>
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).Gareth
05/16/2022, 3:39 AMGareth
05/16/2022, 3:40 AMAdam Cameron
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.gavinbaumanis
05/16/2022, 12:34 PMERROR","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.zackster
05/17/2022, 9:43 AMdswitzer
05/18/2022, 3:10 PMlucee.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.