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

Intermittent Application not found in Rest CF2023

Explorer ,
Mar 08, 2024 Mar 08, 2024

Copy link to clipboard

Copied

Does not seem to be a rhyme or reason to this, but every once in a while I get

javax.servlet.ServletException:Application v1 could not be found.

The App CFC in the dir has the name

 

component {
  this.name = "v1";
  this.applicationTimeout = createTimeSpan(1, 0, 0, 0);
 
I saw some other answers that could be the application timing out, but it happens more than once a day.

Views

141

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 ,
Apr 02, 2024 Apr 02, 2024

Copy link to clipboard

Copied

LATEST

Some suggestions:

  1.  Confirm that the service v1 is registered on the Rest Services page in the ColdFusion Administrator. If it is, click on the button to edit the service, and then press the Update Service button.
    If it isn't, then Houston, Houston, we've got a problem!
  2.  Verify whether there are any related errors in the logs. In particular, ensure that the Application.cfc never generates errors and is always accessible to the REST cfc.
  3.  Go to the Caching page in the ColdFusion Administrator and press the button to clear the component cache. (In case ColdFusion used a cached class instead of a freshly generated class.)
  4.  Verify whether the start times of the rest service are registered in restservice.log. To test, restart ColdFusion (at a convenient time, of course), and verify whether the start time of the rest service is registered in restservice.log during the restart.
  5.  If, following all of above, the issue persists, then temporarily increase the application timeout to 2 days, and monitor.

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