arturobernalg opened a new pull request, #637: URL: https://github.com/apache/jspwiki/pull/637
The portable of master-2.x does not start (JSPWIKI-1372, same cause as JSPWIKI-1207): EhcacheCachingManager only looked for the configuration file with its own class loader. In the portable builds the jars are in a library shared by the web applications, so that class loader does not see the classes folder of each wiki, the URL is null and the contexts /personal and /department fail with "Error configuring from null". The class loader of the thread is now tried when the first one does not find the file. Run on this change: a new test in EhcacheCachingManagerTest fails without it with that error and passes with it; `mvn clean package` with all the tests passes (1179 tests); the portable of 2.12.6-SNAPSHOT starts with its own Tomcat 9, the two wikis answer 200 with the cache enabled and no SEVERE in the log. @spyhunter99 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
