Hello,
a run a new CFTHREAD in a script, and i want to check it’s state from another script.
Before, a used in ACF 11 this object :
allThreads = new CFIDE.adminapi.servermonitoring().getAllActiveCFThreads();
and search the name of my thread in the CFTHREADNAME attribute.
But now in Lucee, i use :
allStackTraces = createObject(“java”, “java.lang.Thread”).getAllStackTraces();
And when i list the names of the threads, i only find a lot of “cfthread-999”, but NEVER the given name for my CFTHREAD (all scripts share the same Lucee context, if it’s important ?)
How can i do ?