Hi Everyone, I am getting a really weird issue on ...
# lucee
g
Hi Everyone, I am getting a really weird issue on my local-dev fresh install of Lucee 5.3.8.206 on Windows 10/IIS When attempting the first request, I get the following error (below) - which makes no sense to me at all; (I have truncated a bunch of pre and post entries in the entity list "..." - just to make the message more concise.)
ERROR","ajp-nio-127.0.0.1-8009-exec-4","05/16/2022","22:17:01","","entity [question] with cfc name [gsncfc.db.webSurvey.question] does not exist, existing  entities are [answer, ..., question, ...], surveyRecipientState, surveySpec];
I don't get it - the CFC it is saying doesn't exist - is in the existing entities list it provides! All my mappings / datasources / etc are all correct and match our Staging / Prod servers. The code on my machine hasn't changed - just the uninstall and reinstall of Lucee.
b
I don't see that error message anywhere in the Lucee source code. Is this coming from the ORM extension?
g
Fantastic question : I have absolutely no idea, sorry!
A quick google of my error message does indeed show the same message in some Java threads - so it would seem highly likely this is produced by Hibernate. I have posted to the Hibernate forums, too - just now... but my code IS working in our staging server - and was working before. The only change was - I uninstalled Lucee and reinstalled it. - Then started to get this issue. So I feel it is a "me" issue - in that I have simply missed something in my reinstall... But all the mappings are present, the datasources created. (I use MariaDB - so I have tried with the MySQL and MariaDB drivers - to see if that change makes a difference - it does not) The install is on Windows - with the IIS connector and mod_cfml valve, too.
Definitely an IIS / Lucee config issue. I have used a docker container instead for Lucee and the application works fine. Still haven't the faintest idea of what it is, mind you...