arturobernalg opened a new pull request, #636:
URL: https://github.com/apache/jspwiki/pull/636

   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 wiki does not start. The cache was disabled in 
the portable builds as a temporary fix (JSPWIKI-1207). The class loader of the 
thread is now tried when the first one does not find the file, the cache is 
enabled again in the two wikis of the portable, and the configuration file of 
the department wiki gets the `.xml` extension it was missing.
   
   Run on this change: a new test in EhcacheCachingManagerTest fails without it 
with "Error configuring from null" and passes with it; `mvn clean package` with 
all the tests passes (1446 tests); the portable starts with its own Tomcat, the 
two wikis answer 200 and each one reads its own ehcache file, with 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]

Reply via email to