Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Luis MajanoLuis MajanoReporter
Ryan AlbrechtRyan AlbrechtComponents
Affects versions
Priority
Major
Details
Details
Assignee
Luis Majano
Luis MajanoReporter
Ryan Albrecht
Ryan AlbrechtComponents
Affects versions
Priority
Sentry
Sentry
Sentry
Created August 29, 2024 at 7:23 PM
Updated August 30, 2024 at 2:38 AM
I ran into an issue when using the coldbox scheduler.
It seems like the application context is not preserved when a task is executed. Most noticeably is that wirebox is unable to find class instances as wirebox will call
expandPath( "/" & CFCName )
to try and locate a cfc. However expandPath will return the path to the coldfusion webroot, which in my case isC:\ColdFusion2021\cfusion\wwwroot\
.This issue does not occur when using a commandbox server.
For the sake for preservation I have attached the slack discussion (albeit inelegantly copy pasted) regarding the issue
My exact environment setup is as follows:
Windows Server 2019 Standard
ColdFusion Standard 2021.0.15.330303
Tomcat Version is listed as 9.0.93.0
Java Version 11.0.11
IIS configure using the ‘Web Server Configuration Tool’
Coldbox-7.3.0+16