Error when migrating if EHCache is defined

Description

When you migrate from Railo to Lucee and you have an EHCache defined, either at server or web context level, Lucee then fails to start up and gets stuck in an infinite loop with the following error repeatedly in the catalina.out file:

```
SEVERE: Servlet threw load() exception
java.lang.ClassNotFoundException: railo.commons.io.cache.Cache
```

Along with a stack trace.

Workaround is to change the EHCache's defined to RAMCache's before migrating to Lucee and then changing them back to EHCache's after.

Environment

None

Activity

Show:

Michael Offner 4 February 2015 at 16:10

Michael Offner 4 February 2015 at 16:10

forget the question, problem only happens when the ehcache extension was installed

https://bitbucket.org/lucee/lucee/commits/49658670896993a3b8bfdb7b36c53dc6e2f74fba

Michael Offner 4 February 2015 at 15:51

I just try to reproduce with no luck, do you have EHCache installed as an extension?
Because it was earlier an extension and is noe part of the core ...

Fixed

Details

Assignee

Reporter

Priority

Labels

Fix versions

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

Created 31 January 2015 at 20:03
Updated 8 May 2020 at 19:47
Resolved 4 February 2015 at 16:10