Charles Robertson
01/06/2023, 10:31 AMthis.webAdminPassword
At least, we could read this out of a file or just expose it directly. But, if a malicious user got hold of the hash, it still wouldn’t allow them to get into the Administrator UI.Adam Cameron
lucee/lucee:5.3.9.166-nginx
).
Requests are timing out @ 50sec, which is the default in server admin. But... we're setting setting requesttimeout=300
at the beginning of the script in question.
Same code using a ortussolutions/commandbox
container and getting it to strum-up a Lucee 5.3.9.166 instance respects the 300
timeout as one would expect.
I've not dug into this much yet, but is that setting off any recollection with anyone?zackster
01/08/2023, 1:14 PMthisOldDave
01/09/2023, 12:44 PMAdam Cameron
jamiejackson
01/12/2023, 8:11 PMjakobward
01/12/2023, 9:58 PMzackster
01/14/2023, 2:22 PMtranslate=no
to lucee docs, makes for a better experience if you want to read the docs in another language https://github.com/lucee/lucee-docs/commit/d906a58ddf62de83724827ea34c79a64db434b5c
@Andreas has built a nice language editor for the Lucee admin https://github.com/andreasRu/lucee-admin-language-editor perhaps the new Spanish Ortus office might like to contribute a Spanish translation @lmajano?Anders Lars
01/16/2023, 3:02 AM"ERROR","Thread-220217","01/12/2023","15:56:39","controler","java.lang.NullPointerException;java.lang.NullPointerException
at lucee.runtime.PageSourcePool.clearUnused(PageSourcePool.java:165)
at lucee.runtime.MappingImpl.clearUnused(MappingImpl.java:300)
at lucee.runtime.functions.system.PagePoolClear.clear(PagePoolClear.java:93)
at lucee.runtime.functions.system.PagePoolClear.clear(PagePoolClear.java:85)
at lucee.runtime.functions.system.PagePoolClear.clear(PagePoolClear.java:65)
at lucee.runtime.engine.Controler.doClearPagePools(Controler.java:470)
at lucee.runtime.engine.Controler.control(Controler.java:375)
at lucee.runtime.engine.Controler.control(Controler.java:249)
at lucee.runtime.engine.Controler.access$000(Controler.java:58)
at lucee.runtime.engine.Controler$ControlerThread.run(Controler.java:113)
I have 4 identical nodes, 3 get most of the traffic each and the 4th a small level of traffic. Only the 4th node get these errors.
every 2 days I have to restart tomcat so they don't clog the logs - as it doesn't really make sense to set the log level above error.
Not the end of the world, but just mentioning in case anyone else is seeing this and /or has ideas on stopping.
Thanks!cubortea
01/16/2023, 6:53 AMzackster
01/18/2023, 11:26 AMMarc Funaro
01/18/2023, 7:50 PMlucee/lucee:5.3.9.160-light-nginx
Docker containers, and I'm wondering (1) if the Lucee organization is actively addressing them already, and (2) if anyone else here (or perhaps in another channel) has encountered this same type of situation and what remedy(ies) might have been implemented... or (3) if what Snyk identifies should be reported through an official channel / bug reporting.zackster
01/20/2023, 3:00 PMskip="true"
if skip=true
isn't set, it then throws out a nice error
https://luceeserver.atlassian.net/browse/LDEV-4379Simone
01/21/2023, 12:20 AMCharles Robertson
01/23/2023, 11:43 AMcacheRegionNew()
cacheRegionExists()
Because, a web admin password would be required in Lucee, otherwise.
Does anyone know a way to emulate the functionality of:
cacheRegionRemove()
https://docs.lucee.org/reference/functions/cacheregionremove.html
In Lucee, because this is the third & final method that requires a web admin password? I don't want to use the administrator GUI. This needs to be done programmatically?
I was thinking perhaps something along the lines of:
variables.szCacheName = "CONFIGSETTINGS";
variables.szApplicationName = "LA-EPORTFOLIO";
variables.szPropertiesCachename = ucase(variables.szApplicationName) & "_" & ucase(variables.szCacheName);
variables.stuCacheProps = {
CLEARONFLUSH = true,
DISKPERSISTENT = true,
ETERNAL = true,
MAXELEMENTSINMEMORY = 1000000,
MAXELEMENTSONDISK = 0,
OBJECTTYPE = "OBJECT",
OVERFLOWTODISK = true,
STATISTICS = true,
TIMETOLIVESECONDS = 0,
TIMETOIDLESECONDS = 0
};
variables.cacheExists = StructKeyExists(this,"cache") AND StructKeyExists(this.cache,"connections") AND StructKeyExists(this.cache.connections,variables.szPropertiesCachename) ? true : false;
if(NOT variables.cacheExists){
this.cache.connections[variables.szPropertiesCachename] = {
class: 'org.lucee.extension.cache.eh.EHCache',
custom: variables.stuCacheProps,
default: 'object'
};
this.cache.object = 'default';
}
variables.isDeleted = StructDelete( this.cache.connections, variables.szPropertiesCachename, true );
But, would this actually destroy the cache connection?Scott Steinbeck
01/25/2023, 10:46 PMpublic void function testPrecisionEvaluateString(){
var p1 = 23.74;
var p2 = 37.05;
var pe = precisionEvaluate('p1 + p2'); //works correctly
assertEquals( pe, 60.79 );
}
public void function testPrecisionEvaluate(){
var p1 = 23.74;
var p2 = 37.05;
var pe = precisionEvaluate(p1 + p2); //returns trailing decimal place .7900000001
assertEquals( pe, 60.79 );
}
What is the actual difference that could cause this?zackster
01/26/2023, 7:48 AMzackster
01/27/2023, 3:44 PMgsr
01/29/2023, 4:04 PMrodyon
01/30/2023, 5:01 PMAdam Cameron
try {
throw "hi";
} catch (any e) {
writeDump(cfcatch.message); // should be e, but still works
}
On CF it - correctly - errors.
Probs doesn't matter too much. Just spotted it in a pull request here and was thinking "that shouldn't work..."jamiejackson
01/31/2023, 3:54 PMjava.lang.ArrayIndexOutOfBoundsException:Index 0 out of bounds for length 0;lucee.runtime.exp.NativeException: java.lang.ArrayIndexOutOfBoundsException:Index 0 out of bounds for length 0
at lucee.extension.io.cache.util.Coder.isGzip(Coder.java:153)
at lucee.extension.io.cache.util.Coder.evaluate(Coder.java:67)
at lucee.extension.io.cache.redis.RedisCache.getCacheEntry(RedisCache.java:260)
at lucee.extension.io.cache.redis.CacheSupport.getValue(CacheSupport.java:98)
at lucee.runtime.functions.cache.CacheGet._call(CacheGet.java:96)
at lucee.runtime.functions.cache.CacheGet.call(CacheGet.java:88)
at cache.provider.cachelucee_cfc$cf.udfCall(/mura/cache/provider/cacheLucee.cfc:34)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:696)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:584)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1931)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1775)
at cache.cacheadvanced_cfc$cf.udfCall(/mura/cache/cacheAdvanced.cfc:30)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:696)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:584)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1931)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1775)
at core.modules.v1.alturl.model.handlers.handler_cfc$cf.udfCall(/muraWRM/core/modules/v1/alturl/model/handlers/handler.cfc:12)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:584)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1945)
at lucee.runtime.tag.Invoke.doComponent(Invoke.java:209)
at lucee.runtime.tag.Invoke.doEndTag(Invoke.java:186)
at plugin.pluginmanager_cfc$cf.udfCall4_000060(/mura/plugin/pluginManager.cfc:1733)
at plugin.pluginmanager_cfc$cf.udfCall4(/mura/plugin/pluginManager.cfc:1720)
at plugin.pluginmanager_cfc$cf.udfCall(/mura/plugin/pluginManager.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:804)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:866)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1794)
at plugin.pluginmanager_cfc$cf.udfCall3(/mura/plugin/pluginManager.cfc:1244)
at plugin.pluginmanager_cfc$cf.udfCall(/mura/plugin/pluginManager.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:584)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1950)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:866)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1794)
at handler.standardeventshandler_cfc$cf.udfCall3(/mura/Handler/standardEventsHandler.cfc:257)
at handler.standardeventshandler_cfc$cf.udfCall(/mura/Handler/standardEventsHandler.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:584)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1945)
at lucee.runtime.tag.Invoke.doComponent(Invoke.java:209)
at lucee.runtime.tag.Invoke.doEndTag(Invoke.java:186)
at utility_cfc$cf.udfCall8(/mura/utility.cfc:1470)
at utility_cfc$cf.udfCall(/mura/utility.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:584)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1950)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:866)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1794)
at plugin.pluginstandardeventwrapper_cfc$cf.udfCall(/mura/plugin/pluginStandardEventWrapper.cfc:45)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:696)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:584)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1931)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1775)
at content.contentserver_cfc$cf.udfCall2(/mura/content/contentServer.cfc:928)
at content.contentserver_cfc$cf.udfCall(/mura/content/contentServer.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:786)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1775)
at content.contentserver_cfc$cf.udfCall1(/mura/content/contentServer.cfc:224)
at content.contentserver_cfc$cf.udfCall(/mura/content/contentServer.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:786)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1775)
at content.contentserver_cfc$cf.udfCall1(/mura/content/contentServer.cfc:314)
at content.contentserver_cfc$cf.udfCall(/mura/content/contentServer.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:584)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1950)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:866)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1794)
at content.contentserver_cfc$cf.udfCall2(/mura/content/contentServer.cfc:754)
at content.contentserver_cfc$cf.udfCall(/mura/content/contentServer.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:696)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:584)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1931)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1775)
at index_cfm$cf.call(/index.cfm:1)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1056)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:948)
at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:219)
at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2493)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2478)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2449)
at lucee.runtime.engine.Request.exe(Request.java:45)
at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1216)
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1162)
at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:97)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
...
Peter Hoopes
01/31/2023, 5:21 PMjamiejackson
01/31/2023, 5:58 PMDavid Rogers
02/01/2023, 9:41 PMDavid Rogers
02/02/2023, 2:34 AMrodyon
02/02/2023, 12:09 PMAdam Cameron
Sven
02/02/2023, 2:33 PMexport JAVA_OPTS=“-Xms1024m -Xmx1024m”Anyone has an advise how to do this best on debian?
jamiejackson
02/02/2023, 5:50 PM