On start of Lucee service, error: The resources may not be accessed if they are not currently started

Description

Across multiple servers, and versions of Lucee, the service will occasionally throw a "The resources may not be accessed if they are not currently started" after a restart or service recycle.

Reviewing the logs, it appears that Lucee cannot access certain tags that are in the server context/library/tag folder. For us, it is normally Dump.cfc. However, depending on the code base it can also be other tags in that folder.

For a stack trace, see this article:
https://dev.lucee.org/t/lucee-server-error-the-resources-may-not-be-accessed-if-they-are-not-currently-started/2268

If you stop the Lucee service, and then start it, the problem will go away.

It is very difficult to replicate the problem because it doesn't happen all of the time. From my observation, it's more likely to happen with a service recycle than a stop/start.

Environment

Windows 2016, Lucee 5.2.9.35, Tomcat 8

Activity

Show:

Michael Sprague 20 May 2020 at 18:17

This issue was reported for 5.3.2.9. It does still happen on our current production version 5.3.3.62. We’ve just learned to Stop, wait, and then Start instead of using recycle in Windows. It rarely happens when you do that. If it does happen, we just try again and it goes away. It’s an annoyance, but nothing critical.

Zac Spitzer 20 May 2020 at 18:08

4.5 is end of life...

Tim Holt 20 May 2020 at 17:47

By datasource logging. Are you asking if we log errors to a database table? If so, then yes. We are doing that. We log the last 2 weeks of errors.

Tim Holt 20 May 2020 at 17:46

We are not using datasource logging.

Lucee: 4.5.2.018 final
Java: 1.8.0_66
Stack Trace:

Zac Spitzer 20 May 2020 at 06:59

Lucee and java version? got a stack trace? are you using datasource logging?

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 9 April 2019 at 12:55
Updated 20 May 2020 at 18:17