Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ColdFusion - Enabling ORM stops onApplicationStart from running

New Here ,
Feb 21, 2020 Feb 21, 2020

I just ran into a problem yesterday after restaring CF 2018 Ent. running on a Win 2012 R2 server.

The CF site has been running for 6 years without any problems, and all of a sudden

using ORM (this.ormenabled = "true") breaks the application.

After pulling the application appart, I was left with the application.cfc and index.cfm file.

I discovered that the code within the onApplicationStart and the onSessionStart event are not beeing triggered. Changing this.ormenabled to "false" resolves the proble, as long as I stay away from the new modules that uses ORM. 

Has anyone seen the same behaviour?

TOPICS
Advanced techniques , Database access , Server administration
806
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 21, 2020 Feb 21, 2020
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 24, 2020 Feb 24, 2020
LATEST

You will likely find the cause in {CF_INSTALL_DIR}/cfusion/logs/hibernatesql.log.

Could you share the error with the forum?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources