CF2018 Sandbox Security database connections only work when using IP addresses in datasources
Just restricting CFExecute and CFRegistry for now in the website and custom tags directory. All datasources are allowed, and nothing else is restricted.
When using names for datasources (which works Sandbox Security unchecked), I get the following upon restart:
Error [ajp-nio-127.0.0.1-8018-exec-1] - Error Executing Database Query.''
This is on localhosts with Windows 11. One Windows 10 localhost appears to work fine with server names in the datasources, although there might be something else going on with that setup that isn't obvious.
The most I could track down with this is that it appears that Java Security Manager takes over database connections once Sandbox Security is enabled. Maybe Java Security Manager just allows IPs? I couldn't find anything related to that.
I don't want to apply this on our live server without understanding why only IPs work, if this is the case, or if something more serious is set up incorrectly with our servers.
Any help on this would be greatly appreciated.
