Fritz
07/11/2022, 6:07 PMcubortea
07/12/2022, 10:59 AMcubortea
07/12/2022, 11:05 AMcubortea
07/12/2022, 1:08 PMlmajano
07/12/2022, 1:59 PMlmajano
07/12/2022, 1:59 PMbdw429s
07/12/2022, 4:08 PMbdw429s
07/12/2022, 4:09 PMbdw429s
07/12/2022, 4:10 PMAdam Cameron
simiane
07/14/2022, 9:22 AMget
function in DiskStore.cfc
. There is an exclusive lock, which throws an error like this:
"A timeout occurred while attempting to lock DiskStore.814767090.image_3081_3145ee96fbf2496f0de48c0efbbba15a."
I'm not sure how to go about debugging this... Presumably I should update my version, and clearly I could benefit from some graceful handling of the problem... but I can't see why the it occurs in the first place, and there seems to be no pattern to it. Anyone have any thoughts?lmajano
07/14/2022, 2:28 PMlmajano
07/14/2022, 2:28 PMlmajano
07/14/2022, 2:28 PMlmajano
07/14/2022, 2:28 PMsimiane
07/14/2022, 2:52 PMobjectMarshaller.cfc
at line 70: The parameter 1 of function ToBinary, which is now xxxx must be a base-64 encoded string.
I'm trying to set up a test case, but this looks to be a similar scenario whereby the error only happens occasionally and the majority of calls are successful.simiane
07/14/2022, 3:17 PMgetCache('MyCacheName').get('MyCacheKey')
a bunch of times (I'm doing it 10,000 times in a loop), I can get the error to appear.
I assume it's some kind of race condition. Cachebox is instantiated as a singleton in the server scope and called by multiple sites.dbinott
07/14/2022, 6:10 PMDaniel Mejia
07/14/2022, 10:17 PM2022-07-14 14:58:50 coldbox.system.cache.providers.CacheBoxColdBoxProvider Starting to reap CacheBoxProvider: quickMeta, id: 777526668
2022-07-14 14:58:50 coldbox.system.cache.providers.CacheBoxColdBoxProvider Finished reap in 1ms for CacheBoxProvider: quickMeta, id: 777526668
2022-07-14 14:58:56 coldbox.system.cache.providers.CacheBoxColdBoxProvider Starting to reap CacheBoxProvider: default, id: 650428702
2022-07-14 14:58:56 coldbox.system.cache.providers.CacheBoxColdBoxProvider Starting to reap CacheBoxProvider: TEMPLATE, id: 1236036316
2022-07-14 14:58:56 coldbox.system.cache.providers.CacheBoxColdBoxProvider Finished reap in 1ms for CacheBoxProvider: default, id: 650428702
2022-07-14 14:58:56 coldbox.system.cache.providers.CacheBoxColdBoxProvider Finished reap in 1ms for CacheBoxProvider: TEMPLATE, id: 1236036316
2022-07-14 14:59:15 coldbox.system.cache.providers.CacheBoxColdBoxProvider Starting to reap CacheBoxProvider: quickMeta, id: 1292892883
2022-07-14 14:59:15 coldbox.system.cache.providers.CacheBoxColdBoxProvider Finished reap in 1ms for CacheBoxProvider: quickMeta, id: 1292892883
David Rogers
07/15/2022, 2:18 PMcte = getInstance("QueryBuilder@qb").with("cte", (q) => {
q.from("t1").select("c1")
}).from("target").update(values={
"target.c1": getInstance("QueryBuilder@qb").from("cte").select("c1")
}, toSql=true)
// exactly `UPDATE [target] SET [c1] = cte.c1`
// expected `;with cte as (select c1 from t1) UPDATE ...` ?
writedump(cte);
Peter Hoopes
07/16/2022, 12:46 AMapplication
scope makes sense, but in the demos (and in the docs) the pages create a new log
object from application.LogBox
and then run its methods. Do I have to create a new log
object on each page or can there be something else in a broader scope? I’d like to just be able to call the log.error();
commands where needed. Either I’m dumb and should know that I have to create the log
object or there’s another place to put it. Any pointers would be appreciated.elpete
07/16/2022, 1:31 AMCategories
video. 🙂elpete
07/16/2022, 1:31 AMlog
in the application
scope is fine, but LogBox allows you to create multiple loggers for logging granularity.elpete
07/16/2022, 1:32 AMelpete
07/16/2022, 1:33 AMTyler Clendenin
07/19/2022, 3:33 PMUnable to make public boolean sun.nio.ch.FileLockImpl.isValid() accessible: module java.base does not "exports <http://sun.nio.ch|sun.nio.ch>" to unnamed module @35390ee3
caused by: java.lang.reflect.InaccessibleObjectException
Unable to make public boolean sun.nio.ch.FileLockImpl.isValid() accessible: module java.base does not "exports <http://sun.nio.ch|sun.nio.ch>" to unnamed module @35390ee3
seems to not be an issue with an earlier JDK (the bundled one)Aubrey C.
07/19/2022, 4:25 PM12:14:51 | | Found OS environment variable [cfconfig_web_adminPassword]
12:14:51 | | Found OS environment variable [cfconfig_adminPassword]
12:14:51 | | Found OS environment variable [cfconfig_adminPasswordDefault]
12:14:51 | | Found OS environment variable [cfconfig_web_adminPassword]
12:14:51 | | Found OS environment variable [cfconfig_adminPassword]
12:14:51 | | Found OS environment variable [cfconfig_adminPasswordDefault]
12:14:51 | | Importing into [luceeweb]...
12:14:51 | | [adminPassword] set.
12:14:51 | | Importing into [luceeserver]...
12:14:51 | | [adminPassword] set.
12:14:51 | | [adminPasswordDefault] set.
However, I’m still getting an error when the app runs.
The key [CFCONFIG_ADMINPASSWORD] does not exist, only the following keys are available: APP, APP_DIR, AWS_EXECUTION_ENV, BIN_DIR, BOX_SERVER_APP_CFENGINE ...
anyone know how to resolve this?cfvonner
07/19/2022, 11:01 PM=>
) expression. Here's my cbValidation code:
cbValidation.validateOrFail(
target = rc,
constraints = {
facilityid : {
required : true,
requiredMessage : "A {field} (FID) must be provided."
type : "integer",
typeMessage : "The {field} must be a whole number greater than 1.",
min : "1",
minMessage : "The {field} must be a whole number greater than 1.",
udf : function ( value, target ) {
if( isNull( arguments.value ) ) return false;
return ecFacilityService.getByFacilityID( facilityid = arguments.value, lazyload = true ).len() > 0;
},
udfMessage : "There are no facilities with a {field} value of {rejectedValue}."
}
}
);
This throws a ColdFusion "Invalid Construct: Either argument or name is missing". Not sure what I'm doing wrong.