Skip to main content
Participant
February 21, 2020
Question

ColdFusion - Enabling ORM stops onApplicationStart from running

  • February 21, 2020
  • 1 reply
  • 786 views

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?

This topic has been closed for replies.

1 reply

amigaNORAuthor
Participant
February 21, 2020
BKBK
Community Expert
Community Expert
February 25, 2020

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

Could you share the error with the forum?