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

ColdFusion - Enabling ORM stops onApplicationStart from running

New Here ,
Feb 21, 2020 Feb 21, 2020

Copy link to clipboard

Copied

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

Views

708

Translate

Translate

Report

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

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

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

Could you share the error with the forum?

Votes

Translate

Translate

Report

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
Documentation